Changeset View
Changeset View
Standalone View
Standalone View
head/en_US.ISO8859-1/articles/ipsec-must/article.xml
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | <para>Suppose you could measure the entropy of the data to- and | ||||
even if some of the data in <quote>encrypted mode</quote> was | even if some of the data in <quote>encrypted mode</quote> was | ||||
not encrypted---as the outermost IP header must be if the | not encrypted---as the outermost IP header must be if the | ||||
packet is to be routable.</para> | packet is to be routable.</para> | ||||
<sect2 xml:id="MUST"> | <sect2 xml:id="MUST"> | ||||
<title>MUST</title> | <title>MUST</title> | ||||
<para>Ueli Maurer's <quote>Universal Statistical Test for Random | <para>Ueli Maurer's <quote>Universal Statistical Test for Random | ||||
Bit Generators</quote>(<link xlink:href="http://www.geocities.com/SiliconValley/Code/4704/universal.pdf"> | Bit Generators</quote>(<link xlink:href="https://web.archive.org/web/20011115002319/http://www.geocities.com/SiliconValley/Code/4704/universal.pdf"> | ||||
<acronym>MUST</acronym></link>) quickly measures the entropy | <acronym>MUST</acronym></link>) quickly measures the entropy | ||||
of a sample. It uses a compression-like algorithm. <link linkend="code">The code is given below</link> for a variant | of a sample. It uses a compression-like algorithm. <link linkend="code">The code is given below</link> for a variant | ||||
which measures successive (~quarter megabyte) chunks of a | which measures successive (~quarter megabyte) chunks of a | ||||
file.</para> | file.</para> | ||||
</sect2> | </sect2> | ||||
<sect2 xml:id="tcpdump"> | <sect2 xml:id="tcpdump"> | ||||
<title>Tcpdump</title> | <title>Tcpdump</title> | ||||
▲ Show 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | <sect1 xml:id="kernel"> | ||||
<programlisting>device bpf</programlisting> | <programlisting>device bpf</programlisting> | ||||
</sect1> | </sect1> | ||||
<sect1 xml:id="code"> | <sect1 xml:id="code"> | ||||
<title>Maurer's Universal Statistical Test (for block size=8 | <title>Maurer's Universal Statistical Test (for block size=8 | ||||
bits)</title> | bits)</title> | ||||
<para>You can find the same code at <link xlink:href="http://www.geocities.com/SiliconValley/Code/4704/uliscanc.txt"> | <para>You can find the same code at <link xlink:href="https://web.archive.org/web/20031204230654/http://www.geocities.com:80/SiliconValley/Code/4704/uliscanc.txt"> | ||||
this link</link>.</para> | this link</link>.</para> | ||||
<programlisting>/* | <programlisting>/* | ||||
ULISCAN.c ---blocksize of 8 | ULISCAN.c ---blocksize of 8 | ||||
1 Oct 98 | 1 Oct 98 | ||||
1 Dec 98 | 1 Dec 98 | ||||
21 Dec 98 uliscan.c derived from ueli8.c | 21 Dec 98 uliscan.c derived from ueli8.c | ||||
▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines |