суббота, 5 марта 2011 г.

rpcapd on unix (FreeBSD 8.2 Amd64 winpcap)

How to get rpcapd on FreeBSD?

1. Download WinPCAP sources ( http://www.winpcap.org/archive/4.1beta5_WpcapSrc.zip )
2. Unzip it: unzip -a 4.1beta5_WpcapSrc.zip
3. Install gcc46 (optional but recommended)
4. Install libpcap-1.1.1 from ports
5. cd to the (winpcap sources)/wpcap/libpcap/rpcapd
6. Edit Makefile
line 6: add -DHAVE_STRLCPY
(optional) line 5: change CC to gcc46
7. Save Makefile
8. make
9. Enjoy rpcapd.

Don't forget to add rules in the ipfw!

Комментариев нет:

Отправить комментарий