ipresend - IP
¥Ñ¥±¥Ã¥È¤ò¥Í¥Ã¥È¥ï¡¼¥¯¤ËºÆÁ÷¤¹¤ë
ipresend [ -EHPRSTX ] [ -d <device> ] [ -g
<gateway> ] [ -m <MTU> ] [ -r
<filename> ]
ipresend
¤Ï¡¢¥Æ¥¹¥È¤ÎºÝ¤Ë¡¢°ìÅÙ¼õÍý¤·¤¿¥Ñ¥±¥Ã¥È¤ò¡¢¥Í¥Ã¥È¥ï¡¼¥¯¤ËÂФ·¤Æ
ºÆÁ÷¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤ËÀ߷פµ¤ì¤Þ¤·¤¿¡£ipresend
¤Ï¡¢
ÆþÎϤȤ·¤Æ¡¢snoop/tcpdump
¤¬¥»¡¼¥Ö¤·¤¿¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤ò´Þ¤à¡¢
¤¤¤¯¤Ä¤«¤Î¥Õ¥¡¥¤¥ë·Á¼°¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£
- -d <interface>
- »ØÄꤷ¤¿Ì¾Á°¤ò¥¤¥ó¥¿¥Õ¥§¡¼¥¹Ì¾¤È¤·¤ÆÀßÄꤷ¤Þ¤¹¡£
¤³¤ì¤Ï -P, -S, -T, -E
¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¡¢¤Ä¤Þ¤ê¡¢
¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î»ØÄê¤Ê¤·¤Ç¤Ï¥Ñ¥±¥Ã¥È¤ò¤¢¤ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ËÂбþÉÕ¤±
¤Ç¤¤Ê¤¤¾ì¹ç¤Ë»ÈÍѤ¹¤ë¤ÈͱפǤ¹¡£ÉáÄ̤Ρ֥ƥ¥¹¥È¥Ñ¥±¥Ã¥È¡×¤Ï
¤³¤ÎÀßÄê¤ò¾å½ñ¤¤¹¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
- -g <gateway>
- ¥Ñ¥±¥Ã¥È¤òÄ̤¹¥²¡¼¥È¥¦¥§¥¤¤Î¥Û¥¹¥È̾¤ò»ØÄꤷ¤Þ¤¹¡£Á÷½Ð¤·¤è¤¦¤È¤¹¤ë
¥Û¥¹¥È¤ÈƱ°ì¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤ËľÀÜÀܳ¤µ¤ì¤Æ¤¤¤Ê¤¤¥Û¥¹¥È¤ò½ªÅÀ¤È¤¹¤ë¾ì¹ç¤Ï¡¢
¤Ä¤Í¤Ë¤³¤Î¥ª¥×¥·¥ç¥ó¤¬É¬ÍפǤ¹¡£
- -m <MTU>
- ¥Ñ¥±¥Ã¥È¤òÁ÷½Ð¤¹¤ëºÝ¤Ë»ÈÍѤ¹¤ë
MTU
¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò
»È¤¦¤³¤È¤Ç¡¢¼ÂºÝ¤È°Û¤Ê¤ë
MTU
¤òÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢
¼ÂºÝ¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î
MTU
¤ò¾®¤µ¤¯ÀßÄꤷ¤Ê¤¯¤Æ¤â¡¢
¾®¤µ¤Ê MTU
¤ò»ý¤Ä¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò¥·¥ß¥å¥ì¡¼¥È¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
- -r <filename>
- ÆþÎϤòÆÀ¤ë¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ïɸ½àÆþÎϤǤ¹¡£
- -E
- ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î·Á¼°¤ò
etherfind
¤Î¥Æ¥¥¹¥È½ÐÎϤÈÁÛÄꤷ¤Þ¤¹¡£
¸½ºß¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¥Æ¥¥¹¥È·Á¼°¤Ï¡¢¼¡¤Î
etherfind
¥ª¥×¥·¥ç¥ó¤Î
ÁȤ߹ç¤ï¤»¤Î·ë²ÌÀ¸À®¤µ¤ì¤ë¤â¤Î¤Ç¤¹¡£
etherfind -n
etherfind -n -t
- -H
- ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î·Á¼°¤ò¡¢¥Ñ¥±¥Ã¥È¤ò·ÁÀ®¤¹¤ë¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤òɽ¤¹
16 ¿Ê¿ô¤È
ÁÛÄꤷ¤Þ¤¹¡£IP
¥Ø¥Ã¥À¤Ë´Ö°ã¤Ã¤¿Ä¹¤µ¤¬ÃÖ¤«¤ì¤Æ¤¤¤Æ¤â¡¢Ä¹¤µÊäÀµ¤Ï
¹Ô¤Ê¤¤¤Þ¤»¤ó¡£
- -P
- -i
¤Ç»ØÄꤷ¤¿ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ï
libpcap (¤¹¤Ê¤ï¤Á
tcpdump
¥Ð¡¼¥¸¥ç¥ó
3)
¤òÍѤ¤¤ÆÀ¸À®¤µ¤ì¤¿¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤«¤é¥Ñ¥±¥Ã¥È¤¬
ÆþÎϤȤ·¤ÆÆɤ߹þ¤Þ¤ì¤Þ¤¹(¤è¤¯»È¤ï¤ì¤Þ¤¹)¡£
- -R
- ¥Ñ¥±¥Ã¥È¤òÁ÷½Ð¤¹¤ëºÝ¤Ë¡¢À¸¥Ç¡¼¥¿¤È¤·¤Æ
(¼õ¿®¤·¤¿¤½¤Î¤Þ¤Þ¤ò)
Á÷½Ð¤·¤Þ¤¹¡£
¤³¤³¤ÇËÜÅö¤Ë½ÅÍפʤ³¤È¤Ï¡¢Á÷½Ð¤¹¤ë
IP
¥Ñ¥±¥Ã¥È¤ÎÁ°¤Ë
¥ê¥ó¥¯ÁØ
(¤Ä¤Þ¤ê¥¤¡¼¥µ¥Í¥Ã¥È)
¥Ø¥Ã¥À¤òÉÕ¤±¤ë¤³¤È¤¬É¬Íפʤ³¤È¤Ç¤¹¡£
- -S
- ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î·Á¼°¤ò¡¢"snoop"
¤Î·Á¼° (RFC 1761
»²¾È)
¤ÈÁÛÄꤷ¤Þ¤¹¡£
¥Ñ¥±¥Ã¥È¤Ï¤³¤Î¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤Þ¤ì¡¢¤É¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ÎÆþÎϤȤ·¤Æ¤â
ÍѤ¤¤é¤ì¤Þ¤¹¡£¸½ºß¤Ç¤ÏºÇ¤âͱפʷÁ¼°¤Ç¤·¤ç¤¦¡£
- -T
- ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î·Á¼°¤ò¡¢tcpdump
¤Î¥Æ¥¥¹¥È½ÐÎÏ·Á¼°¤ÈÁÛÄꤷ¤Þ¤¹¡£
¸½ºß¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¥Æ¥¥¹¥È·Á¼°¤Ï¡¢°Ê²¼¤Î
tcpdump
¥ª¥×¥·¥ç¥ó¤ÎÁȤ߹ç¤ï¤»¤Î
·ë²ÌÀ¸À®¤µ¤ì¤ë¤â¤Î¤Ç¤¹¡£
tcpdump -n
tcpdump -nq
tcpdump -nqt
tcpdump -nqtt
tcpdump -nqte
-X
ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ï¡¢IP
¥Ñ¥±¥Ã¥È¤Î¥Æ¥¥¹¥Èµ½Ò¤«¤é¤Ê¤ê¤Þ¤¹¡£
snoop(1m), tcpdump(8), etherfind(8c), ipftest(1), ipresend(1), iptest(1),
bpf(4), dlpi(7p)
root
¤Ç¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
ÆþÎÏ·Á¼°¤Ë¤è¤Ã¤Æ¤Ï¡¢¥Æ¥¹¥È¤Ëͱפʤ³¤È¤¬¤é¤¹¤Ù¤Æ¤ò¥«¥Ð¡¼¤Ç¤¤ë¤Û¤É
½½Ê¬¤Ë¿¼ï¿Íͤʥѥ±¥Ã¥È¤òɽ¸½¤Ç¤¤Þ¤»¤ó¡£
¤Ê¤Ë¤«¤ªµ¤¤Å¤¤ÎÅÀ¤¬¤¢¤ì¤Ð¡¢darrenr@pobox.com
¤Þ¤Ç¥á¡¼¥ë²¼¤µ¤¤¡£