Package: nemesis Version: 1.32+1.4beta3-2 Severity: normal Tags: patch
In nemesis-functions.c, a check for all zeros ip address disallows the
required use of -i 0.0.0.0. The use case is sending an IGMP v2 query
for all multicasts, using a command line like:
nemesis igmp -i 0.0.0.0 -D 224.0.0.1 -c 10 -p 17
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages nemesis depends on:
ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii libnet0 1.0.2a-7 library for the construction and h
nemesis recommends no packages.
-- no debconf information
--
Ted Deppner
SureWest Broadband
diff -u -r nemesis-1.32+1.4beta3.orig/src/nemesis-functions.c nemesis-1.32+1.4beta3/src/nemesis-functions.c
--- nemesis-1.32+1.4beta3.orig/src/nemesis-functions.c 2003-06-07 04:09:34.000000000 -0700
+++ nemesis-1.32+1.4beta3/src/nemesis-functions.c 2008-12-02 17:04:32.000000000 -0800
@@ -1244,8 +1244,13 @@
}
else
{
+ /* this test doesn't allow for IGMP v2 queries for all addresses, ala
+ * nemesys igmp -i 0.0.0.0 -D 224.0.0.1 -c 10 -p 17
+ */
+ /*
if (!memcmp(&saddr.s_addr, zero, 4))
return -1;
+ */
memcpy((u_int32_t *)address, &saddr.s_addr, 4);
return 0;
signature.asc
Description: Digital signature

