tcpdump mailing list archives
Re: Multiple call to pcap_open_live
From: Guy Harris <guy () alum mit edu>
Date: Mon, 18 Nov 2013 13:22:19 -0800
On Nov 17, 2013, at 9:38 PM, Benjamin Vanheuverzwijn <bvanheu () gmail com> wrote:
libpcap version: 1.4.0 (on archlinux) Is it possible to have multiple call to "pcap_open_live()" followed by pcap_close() ?
Yes, modulo bugs in libpcap or libraries it uses.
It seems like pcap_close() doesn't cleanly close opened resources, if you strace the following program, you will see file descriptors growing up.
Bug in the "support on Linux for USB-attached CANbus devices" code; fixed in the libpcap trunk, and will be fixed in the 1.5 release when it comes out. _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Multiple call to pcap_open_live Benjamin Vanheuverzwijn (Nov 17)
- Re: Multiple call to pcap_open_live Michal Sekletar (Nov 18)
- Re: Multiple call to pcap_open_live Benjamin Vanheuverzwijn (Nov 18)
- Re: Multiple call to pcap_open_live Benjamin Vanheuverzwijn (Nov 18)
- Re: Multiple call to pcap_open_live Benjamin Vanheuverzwijn (Nov 18)
- Re: Multiple call to pcap_open_live Guy Harris (Nov 18)
- Re: Multiple call to pcap_open_live Benjamin Vanheuverzwijn (Nov 18)
- Re: Multiple call to pcap_open_live Guy Harris (Nov 18)
- Re: Multiple call to pcap_open_live Benjamin Vanheuverzwijn (Nov 18)
- Re: Multiple call to pcap_open_live Benjamin Vanheuverzwijn (Nov 18)
- Re: Multiple call to pcap_open_live Michal Sekletar (Nov 18)