Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!newsfeed.btnis.ad.jp!nspixp!spinnews!spinykh!newspepper!tjsysgw!kappa.hangi.tjsys.co.jp!hangi.tjsys.co.jp!nagasaki
From: nagasaki@hangi.tjsys.co.jp (Koji Nagasaki)
Subject: Re: Watching network interface
In-Reply-To: midbook@hiroshima-cdas.or.jp's message of 7 Oct 1997 10:22:39 GMT
Message-ID: <NAGASAKI.97Oct8112148@scorpio.hangi.tjsys.co.jp>
Sender: news@hangi.tjsys.co.jp
Organization: Semiconductor Engineering Department, TOSHIBA Information Systems
	Co., (Japan)
References: <61d2hf$oek@ns1.hiroshima-cdas.or.jp>
Date: Wed, 8 Oct 1997 02:21:48 GMT
Lines: 25
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:7555
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=7555&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$BD9:j!wEl<G>pJs%7%9%F%`$G$9!#(B

>> On 7 Oct 1997 10:22:39 GMT, midbook@hiroshima-cdas.or.jp (Tsukasa Matsubara) said:
In article <61d2hf$oek@ns1.hiroshima-cdas.or.jp> midbook@hiroshima-cdas.or.jp (Tsukasa Matsubara) writes:
Tsukasa> $B>>86$H$$$$$^$9!#(B
Tsukasa> Unix (FreeBSD$BKt$O(BSunOS)$B>e$G!V%M%C%H%o!<%/%$%s%?%U%'!<%9$r4F;k$7$F!"(B
Tsukasa> $B%Q%1%C%H$,$"$k>r7o$K%^%C%A$9$l$P30It$N%W%m%0%i%`$r<B9T$9$k!W$J$s$F(B
Tsukasa> $B$f$&NI$$J}K!$J$$$G$9$+!#(B

Tsukasa> $BNc$($P(B tcpdump -i ep0 dst xxx.xxx.xxx.xxx $B$G%$%s%?%U%'!<%9$r4F;k$9$k(B
Tsukasa> $B$3$H$O$G$-$k$N$G$9$,!"%^%C%A$7$?$i(B find $B$_$?$$$K(B $B30It%W%m%0%i%`$r(B
Tsukasa> exec $B$G$-$k$H$+!#(B

$BNc$($P!"(Bperl $B$G$3$s$J46$8$N$O$I$&$G$7$g$&!#(B
==============================================
open (FP,"tcpdump |") ;
while ( <FP> ) {
    system("Program") if /xxx\.xxx\.xxx\.xxx/ ;
}
==============================================

--
#      Koji Nagasaki   E-mail : nagasaki@hangi.tjsys.co.jp
#-#        Semiconductor System Division
#-#-#          TOSHIBA Information Systems Co., (Japan)
