'dumpcap' - je vhodné mu nastavit 'sticky bit''–enable-have-remote'djbuldog@Pharaon:~$ dumpcap -i rpcap://veneto.liberouter.org/eth0 The capture session could not be initiated (SIOCGIFHWADDR: No such device). Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.
Následující balíky budou ODSTRANĚNY: arp-scan arping ettercap iftop kismet libnids-dev libnids1.21 libpcap0.8 mz network-manager-pptp network-manager-pptp-gnome nmap ppp pptp-linux tcpdump tshark vde2 wireshark wireshark-common
rpm -i http://www.liberouter.org/nific/usecases/rpcap/libpcap-1.1.1-903.x86_64.rpm
'–force''rpm -U' jenomže balíček 'ppp' byl stavěný přesně na default verzi libpcap :('source' balíček a sám si jej zkompiluji s 'have remote'$ cd /tmp/ $ tar libpcap-1.1.1.tar.gz $ cd libpcap-1.1.1 $ ./configure && make
make: yacc: Command not found apt-get install bison
make install // ale uz ne??? -> && make install-rpcapd
$ ldd `type dumpcap` .. libpcap.so.0.8 => /usr/lib/libpcap.so.0.8 ..
$ ls -la /usr/lib/libpcap.so.0.8 lrwxrwxrwx 1 root root 16 3. kvě 21.09 /usr/lib/libpcap.so.0.8 -> libpcap.so.1.1.1
ln --force -s /usr/local/lib/libpcap.so.1.1.1 /usr/lib/libpcap.so.0.8
$ ln -s /usr/local/lib/libpcap.so.1 /usr/lib/
tar -xf wireshark-1.2.7.tar.bz2 sudo ./configure --help | grep pcap --enable-text2pcap build text2pcap. [default=yes] --enable-dumpcap build dumpcap. [default=yes] --enable-setuid-install install dumpcap as setuid [default=no] --enable-airpcap use airpcap in wireshark. [default=no] --with-pcap[=DIR] use libpcap for packet capturing. [default=yes] --with-pcap-remote use libpcap remote capturing (requires libpcap)
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
$ ./configure --enable-setuid-install --with-pcap-remote $ make
'/usr/local/include/pcap/pcap.h:413:24: error: remote-ext.h: Adresář nebo soubor neexistuje''libpcap-1.1.1/remote-ext.h' (není nikde v /usr/local/*)cp /usr/src/libpcap-1.1.1/remote-ext.h /usr/local/include/
sudo ./dumpcap -i rpcap://veneto.liberouter.org:2002/sze0
[root@localhost wireshark-1.2.7]# repoquery -l libpcap-devel
/usr/include/pcap-bpf.h
/usr/include/pcap-namedb.h
/usr/include/pcap.h
gcc -pthread -DHAVE_REMOTE -DHAVE_SNPRINTF -D_GNU_SOURCE -g -D_REENTRANT -I../ -o rpcapd rpcapd.o daemon.o utils.o fileconf.o pcap-remote.o sockutils.o pcap-new.o -L../ -lpcap -lcrypt ..//libpcap.so: undefined reference to `pcap_parse'
wireshark 1.2.7 ze source sestaveny na x86_64 debianu, rpcapd na veneto se zkompilovanym openvpn dle wiki
The other end system asked to close the connection. I'm exiting from the child loop
Error while capturing packets: select(): Interrupted system call (code 4) Please report this to the Wireshark developers. (This is not a crash; please do not report it as such.)
Can't get list of interfaces: Is the server properly installed on 10.3.0.1? connect() failed: Spojení bylo příliš dlouho neaktivní (code 110)