Miscellaneous markup fixes, among which: use <screen> and

<programlisting> properly, and UNIX -> unix,
This commit is contained in:
Dima Dorfman 2001-07-29 09:52:55 +00:00
parent ee5a0d9393
commit f5b86578d6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10088

View file

@ -1,7 +1,7 @@
<!-- <!--
The FreeBSD Documentation Project The FreeBSD Documentation Project
$FreeBSD$ $FreeBSD: doc/en_US.ISO8859-1/articles/ipsec-must/article.sgml,v 1.6 2001/07/29 09:47:40 dd Exp $
--> -->
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ <!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
@ -88,13 +88,11 @@
interface in your <link linkend="kernel">kernel's config interface in your <link linkend="kernel">kernel's config
file</link>.</para> file</link>.</para>
<para>The command <para>The command</para>
<screen> <screen><userinput><command>tcpdump</command> -c 4000 -s 10000 -w <replaceable>dumpfile.bin</replaceable></userinput></screen>
<userinput><command>tcpdump</command> -c 4000 -s 10000 -w <replaceable>dumpfile.bin</replaceable></userinput>
</screen>
will capture 4000 raw packets to <para>will capture 4000 raw packets to
<replaceable>dumpfile.bin</replaceable>. Up to 10,000 bytes per <replaceable>dumpfile.bin</replaceable>. Up to 10,000 bytes per
packet will be captured in this example.</para> packet will be captured in this example.</para>
</sect2> </sect2>
@ -116,8 +114,8 @@
</step> </step>
<step> <step>
<para>In the <quote>secure</quote> window, run the UNIX <para>In the <quote>secure</quote> window, run the Unix
command &man.yes.1;, which will stream the <quote>y</quote> command &man.yes.1;, which will stream the <literal>y</literal>
character. After a while, stop this. Switch to the character. After a while, stop this. Switch to the
insecure window, and repeat. After a while, stop.</para> insecure window, and repeat. After a while, stop.</para>
</step> </step>
@ -130,8 +128,7 @@
the <quote>normal</quote> connection has 29% (2.1) of the the <quote>normal</quote> connection has 29% (2.1) of the
expected value.</para> expected value.</para>
<screen> <screen>&prompt.user; <userinput>tcpdump -c 4000 -s 10000 -w <replaceable>ipsecdemo.bin</replaceable></userinput>
&prompt.user; <userinput>tcpdump -c 4000 -s 10000 -w <replaceable>ipsecdemo.bin</replaceable></userinput>
&prompt.user; <userinput>uliscan <replaceable>ipsecdemo.bin</replaceable></userinput> &prompt.user; <userinput>uliscan <replaceable>ipsecdemo.bin</replaceable></userinput>
Uliscan 21 Dec 98 Uliscan 21 Dec 98
@ -144,8 +141,7 @@ Expected value for L=8 is 7.1836656
6.4100 --------------------------------------------------- 6.4100 ---------------------------------------------------
2.1101 ----------------- 2.1101 -----------------
2.0838 ----------------- 2.0838 -----------------
2.0983 ----------------- 2.0983 -----------------</screen>
</screen>
</step> </step>
</procedure> </procedure>
</sect1> </sect1>
@ -186,21 +182,19 @@ Expected value for L=8 is 7.1836656
<para>A comprehensive guide on running IPsec on FreeBSD is <para>A comprehensive guide on running IPsec on FreeBSD is
provided in <ulink provided in <ulink
url="http://www.freebsd.org/handbook/ipsec.html">FreeBSD url="../../books/handbook/ipsec.html">FreeBSD
Handbook</ulink>.</para> Handbook</ulink>.</para>
</sect1> </sect1>
<sect1 id="kernel"> <sect1 id="kernel">
<title>usr/src/sys/i386/conf/KERNELNAME</title> <title>src/sys/i386/conf/KERNELNAME</title>
<para>This needs to be present in the kernel config file in order <para>This needs to be present in the kernel config file in order
to be able to capture network data with &man.tcpdump.1;. Be sure to be able to capture network data with &man.tcpdump.1;. Be sure
to run &man.config.8; after adding this, and rebuild and to run &man.config.8; after adding this, and rebuild and
reinstall.</para> reinstall.</para>
<programlisting> <programlisting>device bpf</programlisting>
device bpf
</programlisting>
</sect1> </sect1>
<sect1 id="code"> <sect1 id="code">
@ -211,8 +205,7 @@ device bpf
url="http://www.geocities.com/SiliconValley/Code/4704/uliscanc.txt"> url="http://www.geocities.com/SiliconValley/Code/4704/uliscanc.txt">
this link</ulink>.</para> this link</ulink>.</para>
<programlisting> <programlisting>/*
/*
ULISCAN.c ---blocksize of 8 ULISCAN.c ---blocksize of 8
1 Oct 98 1 Oct 98
@ -339,7 +332,6 @@ char **argv;
} }
} }
} }
} }</programlisting>
</programlisting>
</sect1> </sect1>
</article> </article>