Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (33 sloc) 1.54 KB
* $B35MW(B
ruby-pcap $B$O(B Ruby $B$+$i(B LBL $B$N(B libpcap (Packet Capture library) $B$X%"%/(B
$B%;%9$9$k$?$a$N3HD%%i%$%V%i%j$G$9!#(BTCP/IP$B$N%X%C%@$N>pJs$K%"%/%;%9$9$k$?(B
$B$a$N%/%i%9$b4^$s$G$$$^$9!#(B
* $B%$%s%9%H!<%k(B
$BI,MW$J$b$N(B:
- ruby-1.4.x
- libpcap (http://www.tcpdump.org/)
$B%3%s%Q%$%k(B:
ruby $B$,3HD%%i%$%V%i%j$N%@%$%J%_%C%/%j%s%/$r%5%]!<%H$7$F$$$k>l9g$O!"(B
$B0J2<$N<j=g$G%$%s%9%H!<%k$G$-$^$9!#(B
ruby extconf.rb [options]
make
make install
'ruby extconf.rb'$B$r<B9T$9$k;~$K$O0J2<$N%*%W%7%g%s$r;XDj$G$-$^$9!#(B
`--with-pcap-dir=PREFIX'
libpcap$B$,%$%s%9%H!<%k$5$l$F$$$k%G%#%l%/%H%j$r;XDj$7$^$9!#(B
$B%G%U%)%k%H$O(B'/usr/local'$B$G$9!#(B
$B%@%$%J%_%C%/%j%s%/$,;H$($J$$>l9g$O(B ruby $B$K@EE*$K%j%s%/$7$F2<$5$$!#(B
$B$=$N>l9g$O(B ruby $B%=!<%9Cf$N(B 'ext' $B%G%#%l%/%H%j$N2<$G(B ruby-pcap $B$rE83+$7(B
$B$F$+$i(B ruby $B$r%S%k%I$7$F2<$5$$!#(B
* $B;H$$J}(B
doc $B$*$h$S(B doc-ja $B%G%#%l%/%H%j0J2<$K$"$k%U%!%$%k$r8+$F2<$5$$!#(B
examples $B%G%#%l%/%H%j$K4JC1$J%5%s%W%k%9%/%j%W%H$,$"$j$^$9!#(B
* $B:n<T(B
$BJ!Eh@55!(B <fukusima@goto.info.waseda.ac.jp>
ruby-pcap$B$OJ!Eh@55!$,Cx:n8"$rJ];}$9$k(B free software $B$G$9!#(B
ruby-pcap$B$O(BGPL(GNU GENERAL PUBLIC LICENSE)$B$K=>$C$F:FG[I[$^$?$O(B
$BJQ99$9$k$3$H$,$G$-$^$9!#(BGPL$B$K$D$$$F$O(BCOPYING$B%U%!%$%k$r;2>H$7$F(B
$B$/$@$5$$!#(B
ruby-pcap$B$OL5J]>Z$G$9!#:n<T$O(Bruby-pcap$B$N%P%0$J$I$+$iH/@8$9$k(B
$B$$$+$J$kB;32$KBP$7$F$b@UG$$r;}$A$^$;$s!#>\:Y$K$D$$$F$O(B GPL $B$r(B
$B;2>H$7$F$/$@$5$$!#(B