[tcpdump-workers] filters do not work in my program

2016-12-06 Thread ikuzar RABE
Hi all, I work on Debian 8, with linux version 3.16.0-4-amd64, libpcap.1.8.1, gcc-4.9.2 I write a little program in C langage which reads a pcap file, apply filter, and write the result into a new pcap file. The problem: all filters do not work (I use capture filters and not display filters). the

Re: [tcpdump-workers] libpcap: fatal flex scanner internal error--end of buffer missed

2016-06-07 Thread ikuzar RABE
4022ce in capture_packet (param=0xe20060) at ../src/capture.c:111 #4 0x779540a4 in start_thread (arg=0x76125700) at pthread_create.c:309 #5 0x7744804d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 2016-06-06 18:16 GMT+02:00 ikuzar RABE : > Hi all,

[tcpdump-workers] libpcap: fatal flex scanner internal error--end of buffer missed

2016-06-06 Thread ikuzar RABE
Hi all, I work on Debian 8, with linux version 3.16.0-4-amd64, with flex 2.5.39-8+b1. I wrote a C program which reads packets on one interface (NIC), then dumps it into a pcap file. I usually use filter (vlan 1024) when I capture with my program and it works fine with libpcap-1.3.0 (soname: libpca

Re: [tcpdump-workers] bad soname for libpcap.so.1.6.2 ?

2016-05-10 Thread ikuzar RABE
Ok, I work on Debian. But why each distribution does not follow libpcap writer (tcpdump dev team) from the begining ? Is there something which leads each distro to write their own soname ? Why isn't there an unique soname for all distro 2016-05-06 19:18 GMT+02:00 hans : > On May 06 17:37:51, rf

[tcpdump-workers] bad soname for libpcap.so.1.6.2 ?

2016-05-06 Thread ikuzar RABE
Hi all, is normal that soname of libpcap.so.1.6.2 is libpcap.so.0.8 ? Why it is not libpcap.so.1 or higher ? ikuzar:~# objdump -p /usr/lib/x86_64-linux-gnu/libpcap.so.1.6.2 | grep SONAME SONAME libpcap.so.0.8 ikuzar:~# objdump -p /usr/local/lib/libpcap.so.1.1.1 | grep SONAME SO