Ulogd

Z Wiki UnArt Slavičín
Skočit na navigaciSkočit na vyhledávání
apt-get install bzip2 libnfnetlink-dev libmysqlclient-dev libpcap-dev
wget http://www.netfilter.org/projects/libmnl/files/libmnl-1.0.3.tar.bz2
tar xjvf libmnl-1.0.3.tar.bz2
cd libmnl-1.0.3
./configure
make
make install
wget http://www.netfilter.org/projects/libnetfilter_acct/files/libnetfilter_acct-1.0.0.tar.bz2
tar xjvf libnetfilter_acct-1.0.0.tar.bz2
cd libnetfilter_acct-1.0.0/
./configure
make
make install
wget http://www.netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-1.0.1.tar.bz2
tar xjvf libnetfilter_conntrack-1.0.1.tar.bz2
cd libnetfilter_conntrack-1.0.1/
./configure
make
make install
wget http://www.netfilter.org/projects/libnetfilter_log/files/libnetfilter_log-1.0.1.tar.bz2
tar xjvf libnetfilter_log-1.0.1.tar.bz2
cd libnetfilter_log-1.0.1/
./configure
make
make install
wget http://www.netfilter.org/projects/ulogd/files/ulogd-2.0.0.tar.bz2
tar jxvf ulogd-2.0.0.tar.bz2
http://wiki.slavicin.unart.cz/images/1/17/ulogd_filter_makefile_am_dulik.patch
patch -p0 filter/Makefile.am ulogd_filter_makefile_am_dulik.patch
cd ulogd-2.0.0/
cd filter
wget http://wiki.slavicin.unart.cz/images/1/17/Ulogd_filter_BYTES.c
rm Makefile.in
cd ../
autoheader && aclocal && automake && autoconf && autoreconf