1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
david
5d24d23600 Update libpcap to 1.2.1. 2012-04-10 00:47:45 +00:00
luis
faaca263b9 When using pcap_set_filter() on Linux, valgrind complains about a
setsockopt() call that uses a pointer to some uninitialized memory. The
error message is the following:

==22214== Syscall param socketcall.setsockopt(optval) points to
uninitialised byte(s)
==22214==    at 0x62F774A: setsockopt (syscall-template.S:82)
==22214==    by 0x4E33B85: ??? (in /usr/lib/libpcap.so.1.0.0)
==22214==    by 0x4E33D0D: ??? (in /usr/lib/libpcap.so.1.0.0)
==22214==    by 0x432253: nsock_pcap_set_filter (in /usr/local/bin/nping)
==22214==    by 0x432557: nsock_pcap_open (in /usr/local/bin/nping)
==22214==    by 0x4295FF: ProbeMode::start() (in /usr/local/bin/nping)
==22214==    by 0x40B2E1: main (in /usr/local/bin/nping)

This patch adds a simple memset() call that makes the warning dissapear.
2010-09-22 09:41:06 +00:00
david
38019ded5c o [libpcap] Added a --disable-packet-ring option to force the use of
an older, slower packet capture mechanism on Linux. Before Linux
  2.6.27, the packet ring mechanism uses different-sized kernel
  structures on 32- and 64-bit architectures, so a 32-bit program will
  not run correctly on a 64-bit kernel. The older mechanism does not
  have this flaw.
2010-05-26 20:43:09 +00:00
david
4ac98563ab Upgrade our included libpcap to 1.1.1. 2010-04-21 04:39:45 +00:00
david
9a1ec98da3 Upgrade libpcap to version 1.0.0. 2009-10-27 19:33:50 +00:00
kris
c12c9871e8 Upgrading shipped libpcap from 0.9.4 to 0.9.7. Includes CHANGELOG entry 2007-08-26 00:01:14 +00:00
fyodor
5a978df29b almost done upgrading to libpcap 0.9.4 2006-08-16 22:42:58 +00:00
fyodor
d9281c5d1b removed libpcap dir 2006-08-16 20:31:13 +00:00
fyodor
df0dd19d10 removed conflicting libpcap spec file, really ready for 3.91 release I hope 2005-09-11 11:21:38 +00:00