Your message dated Mon, 11 May 2015 00:49:08 +0000
with message-id <[email protected]>
and subject line Bug#353161: fixed in isc-dhcp 4.3.2-1
has caused the Debian Bug report #353161,
regarding dhcp3-relay: udp has incorrect checksum when relaying to self
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
353161: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=353161
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dhcp3-relay
Severity: important

Running version 3.0.1-2 of dhcp3-relay, I needed to run a development
DHCP server alongside it.  I decided to bind the dhcp server to the
local loopback interface (lo) and configure dhcp3-relay with:
  SERVERS="127.0.0.1"
  INTERFACES="eth0.95 eth0.96 eth0.97"
  OPTIONS="-m discard"

The packets arrive okay, but when dhcp3-relay passes them on the udp
checksum that //leaves// on the udp packet is incorrect.

If you look at the attached packet capture (dhcp-fail.dump) you can see
the packets coming in okay, but then when dhcp3-relay passes them on the
udp checksum is corrupt.  I first tested with a 127.0.0.1<->127.0.0.1
setup and when that failed I thought about trying to 'real' public IP's
incase it was some strange loopback issue.  I got the exact same
problem. :(

Its only when the source address matches the destination address, it
seems, that the checksum is incorrect calculated.

I have attached a capture (dhcp-good.dump) of it behaving correctly when
its relaying to a non-local dhcp server on another computer.

Okay, its extremely unlikely that someone would want to run a relay on
the same machine as the dhcp server it-self but in a development
environment is saves 'borrowing' another computer; it also points to a
slight issue in the underlying checksum generator[1] which should be
corrected.

Meanwhile the dhcp server keeps filling up the syslog with:

Feb 16 14:07:07 troll dhcpd: 5 bad udp checksums in 5 packets
Feb 16 14:07:24 troll dhcpd: 5 bad udp checksums in 5 packets
Feb 16 14:07:33 troll dhcpd: 5 bad udp checksums in 5 packets
Feb 16 14:07:53 troll dhcpd: 5 bad udp checksums in 5 packets
Feb 16 14:08:44 troll dhcpd: 5 bad udp checksums in 5 packets
Feb 16 14:08:57 troll dhcpd: 5 bad udp checksums in 5 packets
Feb 16 14:09:23 troll dhcpd: 5 bad udp checksums in 5 packets

Which is correct, as the checksum is indeed incorrect.

Cheers

Alex

[1] I'm assuming that the dhcp relay server opens a raw socket and so
        generates its own udp checksum?

-- System Information (altered to reflect settings on actual server):
Debian Release: testing/unstable
  APT prefers stable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-ck1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


--- End Message ---
--- Begin Message ---
Source: isc-dhcp
Source-Version: 4.3.2-1

We believe that the bug you reported is fixed in the latest version of
isc-dhcp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Gilbert <[email protected]> (supplier of updated isc-dhcp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 10 May 2015 22:44:17 +0000
Source: isc-dhcp
Binary: isc-dhcp-server isc-dhcp-dbg isc-dhcp-server-ldap isc-dhcp-common 
isc-dhcp-dev isc-dhcp-client isc-dhcp-client-udeb isc-dhcp-relay
Architecture: source
Version: 4.3.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian ISC DHCP maintainers <[email protected]>
Changed-By: Michael Gilbert <[email protected]>
Description:
 isc-dhcp-client - DHCP client for automatically obtaining an IP address
 isc-dhcp-client-udeb - ISC DHCP Client for debian-installer (udeb)
 isc-dhcp-common - common files used by all of the isc-dhcp packages
 isc-dhcp-dbg - ISC DHCP server for automatic IP address assignment (debuging 
sym
 isc-dhcp-dev - API for accessing and modifying the DHCP server and client state
 isc-dhcp-relay - ISC DHCP relay daemon
 isc-dhcp-server - ISC DHCP server for automatic IP address assignment
 isc-dhcp-server-ldap - DHCP server that uses LDAP as its backend
Closes: 353161 643564 652739 773476 781768
Changes:
 isc-dhcp (4.3.2-1) unstable; urgency=medium
 .
   * New upstream stable release.
     - Many fixes to incorrect checksumming (closes: #353161, #652739).
     - VLAN packets now only seen on VLAN interfaces (closes: #643564).
   * Remove references to old dhcp3 packages (closes: #773476).
   * Replace signing key with new upstream version.
   * Fix typo in debug script (closes: #781768).
   * Drop bind from the upstream tarball.
   * Drop transitional debug packages.
   * Drop dhcp3 conffile handling.
   * Update debian/copyright.
Checksums-Sha1:
 c88db5731fce07024072ff4e31a9def1e21a156e 3224 isc-dhcp_4.3.2-1.dsc
 b926ba6510654f839d03895076ed038d91184061 1098189 isc-dhcp_4.3.2.orig.tar.gz
 e3d7aab692823b8421bca47e4c79df4dc135e660 77564 isc-dhcp_4.3.2-1.debian.tar.xz
Checksums-Sha256:
 f64ec4a2a889e051b88cc3b92977c360e59a5b9aac58d3bb10d7ad12bbea321b 3224 
isc-dhcp_4.3.2-1.dsc
 b572785a995511286f1be0e76388d1c3b76ee23652f722beb2f5eba3ac66c606 1098189 
isc-dhcp_4.3.2.orig.tar.gz
 51356579e0be414c40f3507d5a8453265f86e0ebf9de75a99f885cf4443d6e4f 77564 
isc-dhcp_4.3.2-1.debian.tar.xz
Files:
 438e84cd36401834724bbe2169b4e5fb 3224 net important isc-dhcp_4.3.2-1.dsc
 b17e61d8142f5a81d4ed833dbd72e12a 1098189 net important 
isc-dhcp_4.3.2.orig.tar.gz
 c3163ec653ef6046e369da34e7aa2245 77564 net important 
isc-dhcp_4.3.2-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQQcBAEBCgAGBQJVT/lgAAoJELjWss0C1vRzqeof/00JvfOtBmZSR8JH3sOaQpHy
jd+/nXVZ6OSDtgIHOjqmd31ucNE5czqPfv6BXL50lg/YNmJSwCKmHGLnJpDLaFbA
jsJY8QR6pv72LWszz59aa35O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