From owner-man-jp-reviewer@jp.freebsd.org  Sun Oct 11 00:50:39 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id AAA01768;
	Sun, 11 Oct 1998 00:50:39 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from mail.yk.rim.or.jp (root@mail.yk.rim.or.jp [202.247.130.37])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id AAA01763
	for <man-jp-reviewer@jp.freebsd.org>; Sun, 11 Oct 1998 00:50:37 +0900 (JST)
	(envelope-from k-horik@yk.rim.or.jp)
Received: from localhost (ppp180.yk.rim.or.jp [202.247.134.180])
	by mail.yk.rim.or.jp (8.8.5/3.6W-RIMNET-98-06-09) with ESMTP id AAA23818
	for <man-jp-reviewer@jp.freebsd.org>; Sun, 11 Oct 1998 00:50:32 +0900 (JST)
To: man-jp-reviewer@jp.freebsd.org
X-Mailer: Mew version 1.93 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19981011004951U.k-horik@yk.rim.or.jp>
Date: Sun, 11 Oct 1998 00:49:51 +0900
From: Kazuo Horikawa <k-horik@yk.rim.or.jp>
X-Dispatcher: imput version 980905(IM100)
Lines: 195
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: man-jp-reviewer 549
Subject: [man-jp-reviewer 549] iptest.1
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org

 $BKY@n$G$9!#(B

 iptest.1 $BK]Lu$G$9!#(B

--- iptest.1.eng	Sat Oct 10 03:00:33 1998
+++ iptest.1	Sat Oct 10 23:07:39 1998
@@ -1,102 +1,135 @@
 .TH IPTEST 1
 .\" jpman %Id: iptest.1,v 0.0 1998/09/12 16:02:09 horikawa Stab %
-.SH NAME
-iptest \- automatically generate a packets to test IP functionality
-.SH SYNOPSIS
+.SH $BL>>N(B
+iptest \- IP $B5!G=$r8!>Z$9$k$?$a$N%Q%1%C%H$r<+F0@8@.$9$k(B
+.SH $B=q<0(B
 .B iptest
 [
 .B \-1234567
 ] [
 .B \-d
 <device>
 ] [
 .B \-g
 <gateway>
 ] [
 .B \-m
 <\fIMTU\fP>
 ] [
 .B \-p
 <\fIpointtest\fP>
 ] [
 .B \-s
 <\fIsource\fP>
 ] <destination>
-.SH DESCRIPTION
+.SH $B2r@b(B
 .PP
 \fBiptest\fP ...
-.SH OPTIONS
+.SH $B%*%W%7%g%s(B
 .TP
 .B \-1
-Run IP test group #1.  This group of tests generates packets with the IP
-header fields set to invalid values given other packet characteristics.
-The point tests are: 1 (ip_hl < ip_len), 2 (ip_hl > ip_len),
-3 (ip_v < 4), 4 (ip_v > 4), 5 (ip_len < packetsize, long packets),
-6 (ip_len > packet size, short packets), 7 (Zero length fragments),
-8 (packet > 64k after reassembly), 9 (IP offset with MSB set), 10 (ttl
-variations).
+IP $B%F%9%H%0%k!<%W(B #1 $B$r<B9T$7$^$9!#(B
+$B$3$N%F%9%H%0%k!<%W$,@8@.$9$k%Q%1%C%H$O!"(B
+IP $B%X%C%@%U%#!<%k%I$,IT@5$JCM$K@_Dj$5$l!"(B
+$BB>$N%Q%1%C%H$NFC<A$OM?$($i$l$^$9!#(B
+$B%]%$%s%H$H$J$k%F%9%H$O<!$NDL$j$G$9(B:
+1 (ip_hl < ip_len)$B!"(B
+2 (ip_hl > ip_len)$B!"(B
+3 (ip_v < 4)$B!"(B
+4 (ip_v > 4)$B!"(B
+5 (ip_len < $B%Q%1%C%H%5%$%:!"D9$$%Q%1%C%H(B)$B!"(B
+6 (ip_len > $B%Q%1%C%H%5%$%:!"C;$$%Q%1%C%H(B)$B!"(B
+7 ($BD9$5(B 0 $B$N%U%i%0%a%s%H(B)$B!"(B
+8 ($B:F%"%;%s%V%k8e$N%Q%1%C%HD9$,(B 64k $B0J>e(B)$B!"(B
+9 (MSB $B$,%;%C%H$5$l$?(B IP $B%*%U%;%C%H(B)$B!"(B
+10 (ttl $B$N%P%j%(!<%7%g%s(B)$B!#(B
 .TP
 .B \-2
-Run IP test group #2.  This group of tests generates packets with the IP
-options constructed with invalid values given other packet characteristics.
-The point tests are: 1 (option length > packet length), 2 (option length = 0).
+IP $B%F%9%H%0%k!<%W(B #2 $B$r<B9T$7$^$9!#(B
+$B$3$N%F%9%H%0%k!<%W$,@8@.$9$k%Q%1%C%H$O!"(B
+IP $B%*%W%7%g%s$,IT@5$JCM$K@_Dj$5$l!"(B
+$BB>$N%Q%1%C%H$NFC<A$OM?$($i$l$^$9!#(B
+$B%]%$%s%H$H$J$k%F%9%H$O<!$NDL$j$G$9(B:
+1 ($B%*%W%7%g%sD9(B > $B%Q%1%C%HD9(B)$B!"(B
+2 ($B%*%W%7%g%sD9(B = 0)$B!#(B
 .TP
 .B \-3
-Run IP test group #3.  This group of tests generates packets with the ICMP
-header fields set to non-standard values.  The point tests are: 1 (ICMP types
-0-31 & 255), 2 (type 3 & code 0 - 31), 3 (type 4 & code 0, 127, 128, 255),
-4 (type 5 & code 0, 127, 128, 255), 5 (types 8-10,13-18 with codes 0, 127,
-128 and 255), 6 (type 12 & code 0, 127, 128, 129, 255) and 7 (type 3 & codes
-9-10, 13-14 and 17-18 - shortened packets).
+IP $B%F%9%H%0%k!<%W(B #3 $B$r<B9T$7$^$9!#(B
+$B$3$N%F%9%H%0%k!<%W$,@8@.$9$k%Q%1%C%H$O!"(B
+ICMP $B%X%C%@%U%#!<%k%I$,HsI8=`CM$K$J$C$F$$$^$9!#(B
+$B%]%$%s%H$H$J$k%F%9%H$O<!$NDL$j$G$9(B:
+1 (ICMP $B%?%$%W(B 0-31 $B$H(B 255)$B!"(B
+2 ($B%?%$%W(B 3 $B$G%3!<%I(B 0 - 31)$B!"(B
+3 ($B%?%$%W(B 4 $B$G%3!<%I(B 0, 127, 128, 255)$B!"(B
+4 ($B%?%$%W(B 5 $B$G%3!<%I(B 0, 127, 128, 255)$B!"(B
+5 ($B%?%$%W(B 8-10, 13-18 $B$G%3!<%I(B 0, 127, 128, 255)$B!"(B
+6 ($B%?%$%W(B 12 $B$G%3!<%I(B 0, 127, 128, 129, 255)$B!"(B
+7 ($B%?%$%W(B 3 $B$G%3!<%I(B 9-10, 13-14, 17-18 - $BC;=L$5$l$?%Q%1%C%H(B)$B!#(B
 .TP
 .B \-4
-Run IP test group #4.  This group of tests generates packets with the UDP
-header fields set to non-standard values.  The point tests are: 1 (UDP length
-> packet size), 2 (UDP length < packetsize), 3 (sport = 0, 1, 32767, 32768,
-65535), 4 (dport = 0, 1, 32767, 32768, 65535) and 5 (sizeof(struct ip) <= MTU
-<= sizeof(struct udphdr) + sizeof(struct ip)).
+IP $B%F%9%H%0%k!<%W(B #4 $B$r<B9T$7$^$9!#(B
+$B$3$N%F%9%H%0%k!<%W$,@8@.$9$k%Q%1%C%H$O!"(B
+UDP $B%X%C%@%U%#!<%k%I$,HsI8=`CM$K$J$C$F$$$^$9!#(B
+$B%]%$%s%H$H$J$k%F%9%H$O<!$NDL$j$G$9(B:
+1 (UDP $BD9(B > $B%Q%1%C%H%5%$%:(B)$B!"(B
+2 (UDP $BD9(B < $B%Q%1%C%H%5%$%:(B)$B!"(B
+3 (sport = 0, 1, 32767, 32768, 65535)$B!"(B
+4 (dport = 0, 1, 32767, 32768, 65535)$B!"(B
+5 (sizeof(struct ip) <= MTU <= sizeof(struct udphdr) + sizeof(struct ip))$B!#(B
 .TP
 .B \-5
-Run IP test group #5.  This group of tests generates packets with the TCP
-header fields set to non-standard values.  The point tests are: 1 (TCP flags
-variations, all combinations), 2 (seq = 0, 0x7fffffff, 0x8000000, 0xa0000000,
-0xffffffff),  3 (ack = 0, 0x7fffffff, 0x8000000, 0xa0000000, 0xffffffff),
-4 (SYN packet with window of 0, 32768, 65535), 5 (set urgent pointer to 1,
-0x7fff, 0x8000, 0xffff), 6 (data offset), 7 (sport = 0, 1, 32767, 32768,
-65535) and 8 (dport = 0, 1, 32767, 32768, 65535).
+IP $B%F%9%H%0%k!<%W(B #5 $B$r<B9T$7$^$9!#(B
+$B$3$N%F%9%H%0%k!<%W$,@8@.$9$k%Q%1%C%H$O!"(B
+TCP $B%X%C%@%U%#!<%k%I$,HsI8=`CM$K$J$C$F$$$^$9!#(B
+$B%]%$%s%H$H$J$k%F%9%H$O<!$NDL$j$G$9(B:
+1 (TCP $B%U%i%0$N%P%j%(!<%7%g%s!"$9$Y$F$NAH$_9g$o$;(B)$B!"(B
+2 (seq = 0, 0x7fffffff, 0x8000000, 0xa0000000, 0xffffffff)$B!"(B
+3 (ack = 0, 0x7fffffff, 0x8000000, 0xa0000000, 0xffffffff)$B!"(B
+4 ($B%&%#%s%I%&(B 0, 32768, 65535 $B$N(B SYN $B%Q%1%C%H(B)$B!"(B
+5 ($B6[5^%]%$%s%?$r(B 1, 0x7fff, 0x8000, 0xffff $B$K@_Dj(B)$B!"(B
+6 ($B%G!<%?%*%U%;%C%H(B)$B!"(B
+7 (sport = 0, 1, 32767, 32768, 65535)$B!"(B
+8 (dport = 0, 1, 32767, 32768, 65535)$B!#(B
 .TP
 .B \-6
-Run IP test group #6.  This test generates a large number of fragments in
-an attempt to exhaust the network buffers used for holding packets for later
-reassembly.  WARNING: this may crash or cause serious performance degradation
-to the target host.
+IP $B%F%9%H%0%k!<%W(B #6 $B$r<B9T$7$^$9!#(B
+$B$3$N%F%9%H$G$O!"BgNL$N%U%i%0%a%s%H$r@8@.$7$F!"(B
+$B8e$K:F%"%;%s%V%k$9$k$?$a$K%Q%1%C%H$rJ];}$9$k$?$a$N(B
+$B%M%C%H%o!<%/%P%C%U%!$r0n$l$5$;$h$&$H$7$^$9!#(B
+$B7Y9p(B: $BBP>]%[%9%H$r%/%i%C%7%e$5$;$?$j!"(B
+$B?<9o$J@-G=Nt2=$r@8$8$5$;$k$+$b$7$l$^$;$s!#(B
 .TP
 .B \-7
-Run IP test group #7.  This test generates 1024 random IP packets with only
-the IP version, checksum, length and IP offset field correct.
+IP $B%F%9%H%0%k!<%W(B #7 $B$r<B9T$7$^$9!#(B
+$B$3$N%F%9%H$G$O!"(B1024 $B8D$N%i%s%@%`$J(B IP $B%Q%1%C%H$r@8@.$7$^$9!#(B
+$B$3$N%Q%1%C%H$O!"(B
+IP $B%P!<%8%g%s!"%A%'%C%/%5%`!"D9$5!"(BIP $B%*%U%;%C%H$N%U%#!<%k%I$N$_$+$i$J$j$^$9!#(B
 .TP
 .BR \-d \0<interface>
-Set the interface name to be the name supplied.
+$B%$%s%?%U%'!<%9L>$r;XDj$5$l$?$b$N$K@_Dj$7$^$9!#(B
 .TP
 .BR \-g \0<gateway>
-Specify the hostname of the gateway through which to route packets.  This
-is required whenever the destination host isn't directly attached to the
-same network as the host from which you're sending.
+$B%Q%1%C%H$N7PO)$H$J$k%2!<%H%&%'%$$N%[%9%HL>$r;XDj$7$^$9!#(B
+$B08@h%[%9%H$,!"(B
+$B%Q%1%C%H$rAw=P$9$k%[%9%H$HF10l$N%M%C%H%o!<%/$KD>@\@\B3$5$l$F$$$J$$>l9g$K$O!"(B
+$B$+$J$i$:I,MW$H$J$j$^$9!#(B
 .TP
 .BR \-m \0<MTU>
-Specify the MTU to be used when sending out packets.  This option allows you
-to set a fake MTU, allowing the simulation of network interfaces with small
-MTU's without setting them so.
+$B%Q%1%C%HAw=P;~$K;HMQ$5$l$k(B MTU $B$r;XDj$7$^$9!#(B
+$B$3$N%*%W%7%g%s$K$h$j56$N(B MTU $B$r@_Dj$9$k$3$H$K$h$j!"(B
+MTU $B$,>.$5$$$K$b$+$+$o$i$:!"(B
+$B$=$N$h$&$K@_Dj$5$l$F$$$J$$%M%C%H%o!<%/%$%s%?%U%'!<%9$r(B
+$B%7%_%e%l!<%H$G$-$k$h$&$K$7$^$9!#(B
 .TP
 .B \-p <test>
-Run a...
+$B;XDj$7$?$b$N$r<B9T(B...
 .DT
-.SH SEE ALSO
+.SH $B4XO"9`L\(B
 ipsend(1), ipresend(1), bpf(4), ipsend(5), dlpi(7p)
-.SH DIAGNOSTICS
-Only one of the numeric test options may be given when \fIiptest\fP is run.
+.SH $B?GCG(B
+\fIiptest\fP $B<B9T;~$K$O!"?tCM%F%9%H%*%W%7%g%s$O(B 1 $B$D$N$_;XDj2DG=$G$9!#(B
 .PP
-Needs to be run as root.
-.SH BUGS
+root $B$H$7$F<B9T$9$kI,MW$,$"$j$^$9!#(B
+.SH $B%P%0(B
 .PP
-If you find any, please send email to me at darrenr@pobox.com
+$B%P%0$r$_$D$1$?$i!"(Bdarrenr@cyber.com.au $B$KEE;R%a!<%k$rAw$C$F$/$@$5$$!#(B
