Miscellaneous markup fixes, among which: use <screen> and
<programlisting> properly, and UNIX -> unix,
This commit is contained in:
parent
ee5a0d9393
commit
f5b86578d6
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10088
1 changed files with 13 additions and 21 deletions
|
@ -1,7 +1,7 @@
|
|||
<!--
|
||||
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" [
|
||||
|
@ -88,13 +88,11 @@
|
|||
interface in your <link linkend="kernel">kernel's config
|
||||
file</link>.</para>
|
||||
|
||||
<para>The command
|
||||
<para>The command</para>
|
||||
|
||||
<screen>
|
||||
<userinput><command>tcpdump</command> -c 4000 -s 10000 -w <replaceable>dumpfile.bin</replaceable></userinput>
|
||||
</screen>
|
||||
<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
|
||||
packet will be captured in this example.</para>
|
||||
</sect2>
|
||||
|
@ -116,8 +114,8 @@
|
|||
</step>
|
||||
|
||||
<step>
|
||||
<para>In the <quote>secure</quote> window, run the UNIX
|
||||
command &man.yes.1;, which will stream the <quote>y</quote>
|
||||
<para>In the <quote>secure</quote> window, run the Unix
|
||||
command &man.yes.1;, which will stream the <literal>y</literal>
|
||||
character. After a while, stop this. Switch to the
|
||||
insecure window, and repeat. After a while, stop.</para>
|
||||
</step>
|
||||
|
@ -130,8 +128,7 @@
|
|||
the <quote>normal</quote> connection has 29% (2.1) of the
|
||||
expected value.</para>
|
||||
|
||||
<screen>
|
||||
&prompt.user; <userinput>tcpdump -c 4000 -s 10000 -w <replaceable>ipsecdemo.bin</replaceable></userinput>
|
||||
<screen>&prompt.user; <userinput>tcpdump -c 4000 -s 10000 -w <replaceable>ipsecdemo.bin</replaceable></userinput>
|
||||
&prompt.user; <userinput>uliscan <replaceable>ipsecdemo.bin</replaceable></userinput>
|
||||
|
||||
Uliscan 21 Dec 98
|
||||
|
@ -144,8 +141,7 @@ Expected value for L=8 is 7.1836656
|
|||
6.4100 ---------------------------------------------------
|
||||
2.1101 -----------------
|
||||
2.0838 -----------------
|
||||
2.0983 -----------------
|
||||
</screen>
|
||||
2.0983 -----------------</screen>
|
||||
</step>
|
||||
</procedure>
|
||||
</sect1>
|
||||
|
@ -186,21 +182,19 @@ Expected value for L=8 is 7.1836656
|
|||
|
||||
<para>A comprehensive guide on running IPsec on FreeBSD is
|
||||
provided in <ulink
|
||||
url="http://www.freebsd.org/handbook/ipsec.html">FreeBSD
|
||||
url="../../books/handbook/ipsec.html">FreeBSD
|
||||
Handbook</ulink>.</para>
|
||||
</sect1>
|
||||
|
||||
<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
|
||||
to be able to capture network data with &man.tcpdump.1;. Be sure
|
||||
to run &man.config.8; after adding this, and rebuild and
|
||||
reinstall.</para>
|
||||
|
||||
<programlisting>
|
||||
device bpf
|
||||
</programlisting>
|
||||
<programlisting>device bpf</programlisting>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="code">
|
||||
|
@ -211,8 +205,7 @@ device bpf
|
|||
url="http://www.geocities.com/SiliconValley/Code/4704/uliscanc.txt">
|
||||
this link</ulink>.</para>
|
||||
|
||||
<programlisting>
|
||||
/*
|
||||
<programlisting>/*
|
||||
ULISCAN.c ---blocksize of 8
|
||||
|
||||
1 Oct 98
|
||||
|
@ -339,7 +332,6 @@ char **argv;
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</programlisting>
|
||||
}</programlisting>
|
||||
</sect1>
|
||||
</article>
|
||||
|
|
Loading…
Reference in a new issue