ping - oraccha/omicron GitHub Wiki
Packet InterNet Groper の略?
- Mike Muuss 氏は否定しているけど.
ICMP ECHO リクエストを使って IP reachability をテストするツール.
1983 年,DARPA ミーティングでの Dave Mills 氏の思い付きを [http://ftp.arl.mil/~mike/ Mike Muuss] 氏が 4.2a BSD に実装した.
- [http://ftp.arl.mil/~mike/ping.html The Story of the PING Program]
ping を使って traceroute を実装してみる.
-
TTL を一つづつ増やしながら ping すれば OK だよね.
-
見かけはさておき,とりあえずこんな感じか. {{{ #!/bin/bash max=32 for i in
seq 1 32
; do ping -c 1 -t $i $1 if [ $? == 0 ]; then break fi done }}} -
PHP で書いてみた.なんで "$out = null;" がいるのかなぁ.何か間違っている? {{{
}}}
- [http://www-iepm.slac.stanford.edu/pinger/ PingER] (SLAC)
#comment
Fri Mar 30 18:37:03 2007 http://linux-net.osdl.org/index.php/IPv4 . Q: Why can I ping an IP address when the interface is down? . A: Linux uses a "host based" addressing model, IP addresses are owned by the host, not individual interfaces. So as long as the IP address is configured to some interface, we will accept packets destinated to that IP address as our's. . Wed Apr 26 11:03:09 2006 りょうせい アドレスを「数字+.」表記で指定した場合,数字の先頭に0があると8進数に解釈されるので,ping 192.168.0.08とか実行すると,動かない.これは,IPアドレスをバイナリ値に変換するinet_aton関数は,0で始まると8進,0xで始まると16進に解釈するから.08,09は不正な値なので,さらにgethostbyname関数で名前が引かれ,unknown hostエラーになる. . Mon Feb 6 10:07:41 2006 りょうせい [http://www.packetfactory.net/libnet/ libnet] はいろいろ楽しめそうだな.Snort でも使われているみたい. . Mon Feb 6 01:35:24 2006 りょうせい [http://www.vdberg.org/~richard/tcpping.html tcpping].[http://michael.toren.net/code/tcptraceroute/ tcptraceroute].ICMP パケットがフィルタリングされている場合に,ひょっとして便利? . Fri Nov 4 14:57:08 2005 りょうせい [http://www.gnist.org/~lars/code/ping/ping.html ping.py] . Sat Mar 19 22:41:42 2005 りょうせい ping -b で ping をブロードキャストできるんだ.arp と組み合わせて LAN 内の MAC アドレスを調べるとかに使えそう. . Mon Sep 23 05:41:46 2002 りょうせい ping に反応する'''メカニカル'''カウンタ.[http://www.embeddedether.net/mhc.html Mechanical Hit Counter] . Fri Sep 20 10:50:25 2002 りょうせい ping の情報ありがとうございました.とりあえず必要じゃなくなったんですが,ping only のページってのも熱いですね. . Tue Sep 17 20:21:47 2002 ふじさわ その昔pingのソースを探してたときに見つけたページですが・・・使えるかな?(http://www.ping127001.com/pingpage.htm) . Tue Sep 17 14:41:34 2002 りょうせい ping で -f オプション(flood ping) を使いたかったんですが,Cygwin のパッケージにはそもそも ping がないし,Windows の ping にもない.Net::Ping でいけるのかな? . Mon Sep 16 01:12:40 2002 Hayakawa Net::Pingではだめ? . Sun Sep 15 11:20:45 2002 りょうせい Cygwin 用の ping ないかな.iputils とかがコンパイルできればいいんだけど. .