|
|
| |
IPTEST(1) |
FreeBSD General Commands Manual |
IPTEST(1) |
iptest - IP
??ǽ?ڤ??뤿???Υѥ??åȤ???ư????????
iptest [ -1234567 ] [ -d <device> ] [ -g
<gateway> ] [ -m <MTU> ] [ -p
<pointtest> ] [ -s <source> ]
<destination>
- -1
- IP ?ƥ??ȥ??롼?? #1 ???¹Ԥ??ޤ???
???Υƥ??ȥ??롼?פ??????????ѥ??åȤϡ?
?ѥ??åȤ?¾???????????????????ͤȤ??Ƥ????????ͤ?
IP ?إå??ե??????ɤ????ꤵ???ޤ???
?ݥ????ȤȤʤ??ƥ??Ȥϼ????̤??Ǥ?:
1 (ip_hl < ip_len)?? 2 (ip_hl > ip_len)?? 3 (ip_v < 4)?? 4 (ip_v
> 4)?? 6 (ip_len >
?ѥ??åȥ???????û???ѥ??å?)?? 7
(Ĺ?? 0 ?Υե饰??????)?? 8
(?ƥ??????֥????Υѥ??å?Ĺ?? 64k
?ʾ?)?? 9 (MSB ?????åȤ??줿 IP
???ե??å?)?? 10 (ttl
?ΥХꥨ????????)??
- -2
- IP ?ƥ??ȥ??롼?? #2 ???¹Ԥ??ޤ???
???Υƥ??ȥ??롼?פ??????????ѥ??åȤϡ?
?ѥ??åȤ?¾???????????????????ͤȤ??Ƥ????????ͤ?
?Ѥ??ƺ??????줿 IP
???ץ????????ޤߤޤ???
?ݥ????ȤȤʤ??ƥ??Ȥϼ????̤??Ǥ?:
1 (???ץ?????Ĺ > ?ѥ??å?Ĺ)?? 2
(???ץ?????Ĺ = 0)??
- -3
- IP ?ƥ??ȥ??롼?? #3 ???¹Ԥ??ޤ???
???Υƥ??ȥ??롼?פ??????????ѥ??åȤϡ?
ICMP
?إå??ե??????ɤ???ɸ???ͤˤʤäƤ??ޤ???
?ݥ????ȤȤʤ??ƥ??Ȥϼ????̤??Ǥ?:
1 (ICMP ?????? 0-31 ?? 255)?? 2 (?????? 3 ?ǥ????? 0 - 31)?? 3
(?????? 4 ?ǥ????? 0, 127, 128, 255)?? 4 (?????? 5 ?ǥ????? 0,
127, 128, 255)?? 5 (?????? 8-10, 13-18 ?ǥ????? 0, 127, 128, 255)??
6 (?????? 12 ?ǥ????? 0, 127, 128, 129, 255)?? 7 (?????? 3
?ǥ????? 9-10, 13-14, 17-18 -
û?̤??줿?ѥ??å?)??
- -4
- IP ?ƥ??ȥ??롼?? #4 ???¹Ԥ??ޤ???
???Υƥ??ȥ??롼?פ??????????ѥ??åȤϡ?
UDP
?إå??ե??????ɤ???ɸ???ͤˤʤäƤ??ޤ???
?ݥ????ȤȤʤ??ƥ??Ȥϼ????̤??Ǥ?:
1 (UDP Ĺ > ?ѥ??åȥ?????)?? 2 (UDP Ĺ
< ?ѥ??åȥ?????)?? 3 (sport = 0, 1, 32767, 32768,
65535)?? 4 (dport = 0, 1, 32767, 32768, 65535)?? 5 (sizeof(struct ip)
<= MTU <= sizeof(struct udphdr) + sizeof(struct ip))??
- -5
- IP ?ƥ??ȥ??롼?? #5 ???¹Ԥ??ޤ???
???Υƥ??ȥ??롼?פ??????????ѥ??åȤϡ?
TCP
?إå??ե??????ɤ???ɸ???ͤˤʤäƤ??ޤ???
?ݥ????ȤȤʤ??ƥ??Ȥϼ????̤??Ǥ?:
1 (TCP
?ե饰?ΥХꥨ?????????٤Ƥ??Ȥ߹??碌)??
2 (seq = 0, 0x7fffffff, 0x8000000, 0xa0000000, 0xffffffff)?? 3 (ack = 0,
0x7fffffff, 0x8000000, 0xa0000000, 0xffffffff)?? 4 (???????ɥ? 0,
32768, 65535 ?? SYN ?ѥ??å?)?? 5
(?۵ޥݥ??? 1, 0x7fff, 0x8000, 0xffff ??????)??
6 (?ǡ??????ե??å?)?? 7 (sport = 0, 1, 32767, 32768,
65535)?? 8 (dport = 0, 1, 32767, 32768, 65535)??
- -6
- IP ?ƥ??ȥ??롼?? #6 ???¹Ԥ??ޤ???
???Υƥ??ȤǤϡ????̤Υե饰?????Ȥ????????ơ?
???˺ƥ??????֥뤹?뤿???˥ѥ??åȤ??ݻ????뤿????
?ͥåȥ???Хåե??????줵???褦?Ȥ??ޤ???
?ٹ?:
?оݥۥ??Ȥ??å??夵?????ꡢ
?ѥե????ޥ????????㲼?????뤫?⤷???ޤ?????
- -7
- IP ?ƥ??ȥ??롼?? #7 ???¹Ԥ??ޤ???
???Υƥ??ȤǤϡ?1024
?ĤΥ????????? IP
?ѥ??åȤ????????ޤ???
???Υѥ??åȤϡ? IP
?С??????????å????ࡢĹ????IP
???ե??åȤΥե??????ɤΤߤ????ʤ??ޤ???
- -d <interface>
- ???ե?????̾?????ꤵ?줿???Τ????ꤷ?ޤ???
- -g <gateway>
- ?ѥ??åȤη?ϩ?Ȥʤ륲???ȥ??????Υۥ???̾?????ꤷ?ޤ???
?????ۥ??Ȥ???
?ѥ??åȤ????Ф????ۥ??Ȥ?Ʊ???Υͥåȥ????ľ????³?????Ƥ??ʤ??????ˤϡ?
???ʤ餺ɬ?פȤʤ??ޤ???
- -m <MTU>
- ?ѥ??åȤ????Ф????ݤ˻??Ѥ???
MTU ?????ꤷ?ޤ??????Υ??ץ???????
?Ȥ????Ȥǡ??ºݤȰۤʤ?
MTU
?????ꤹ?뤳?Ȥ??Ǥ??ޤ????????ˤ??ꡢ
?ºݤ˥ͥåȥ?????ե???????
MTU ???????ꤷ?ʤ??Ƥ⡢ ?????? MTU
?????ĥ??ե??????ߥ??졼?Ȥ??뤳?Ȥ??Ǥ??ޤ???
- -p <test>
- ???ꤷ?????Τ??¹?...
ipsend(1), ipresend(1), bpf(4), ipsend(5), dlpi(7p)
iptest
?¹Ի??ˤϡ????ͥƥ??ȥ??ץ???????
1 ?ĤΤ?????ǽ?Ǥ???
root
?Ȥ??Ƽ¹Ԥ???ɬ?פ??????ޤ???
?Х????ߤĤ????顢darrenr@cyber.com.au
???Żҥ???????äƤ?????????
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |