2012-02-12 13:27:14 |
Tim Miller Dyck |
bug |
|
|
added bug |
2012-05-09 16:23:13 |
Launchpad Janitor |
isc-dhcp (Ubuntu): status |
New |
Confirmed |
|
2012-05-09 16:23:17 |
Patrick Hetu |
bug |
|
|
added subscriber Patrick Hetu |
2012-06-26 21:41:04 |
Stéphane Graber |
bug |
|
|
added subscriber Stefan Bader |
2012-06-30 23:56:08 |
Jacques |
bug |
|
|
added subscriber Jacques |
2012-07-08 15:18:28 |
Sebastian Marsching |
bug |
|
|
added subscriber Sebastian Marsching |
2012-08-03 09:51:30 |
Stevel |
bug |
|
|
added subscriber Stevel |
2012-08-08 16:35:17 |
Stefan Bader |
isc-dhcp (Ubuntu): importance |
Undecided |
Medium |
|
2012-08-08 16:35:22 |
Stefan Bader |
isc-dhcp (Ubuntu): assignee |
|
Stefan Bader (stefan-bader-canonical) |
|
2012-09-17 19:34:45 |
Thomas |
bug |
|
|
added subscriber Thomas C. |
2012-10-17 08:53:12 |
Thilo Uttendorfer |
bug |
|
|
added subscriber Thilo Uttendorfer |
2012-10-30 18:09:15 |
Peter Matulis |
bug |
|
|
added subscriber Peter Matulis |
2012-10-30 20:22:22 |
Jonathan Davies |
bug |
|
|
added subscriber Canonical Support |
2013-01-08 14:09:56 |
Ralf Heiringhoff |
bug |
|
|
added subscriber Ralf Heiringhoff |
2013-01-17 20:00:51 |
Stéphane Graber |
isc-dhcp (Ubuntu): status |
Confirmed |
Fix Committed |
|
2013-01-17 20:00:53 |
Stéphane Graber |
isc-dhcp (Ubuntu): assignee |
Stefan Bader (stefan-bader-canonical) |
Stéphane Graber (stgraber) |
|
2013-01-17 23:54:21 |
Launchpad Janitor |
isc-dhcp (Ubuntu): status |
Fix Committed |
Fix Released |
|
2013-01-18 13:00:19 |
Jonathan Davies |
nominated for series |
|
Ubuntu Precise |
|
2013-01-18 13:00:19 |
Jonathan Davies |
nominated for series |
|
Ubuntu Quantal |
|
2013-03-01 21:13:09 |
Stéphane Graber |
bug task added |
|
isc-dhcp (Ubuntu Quantal) |
|
2013-03-01 21:19:50 |
Stéphane Graber |
isc-dhcp (Ubuntu Quantal): status |
New |
In Progress |
|
2013-03-01 21:19:52 |
Stéphane Graber |
isc-dhcp (Ubuntu Quantal): assignee |
|
Stéphane Graber (stgraber) |
|
2013-03-01 21:22:26 |
Stéphane Graber |
description |
Tested with dhcp3-server ver. 3.1.3-2ubuntu3.3 in Ubuntu 10.04.3 Server, x64.
The DHCP server reports that UDP packets sent to it have bad checksums:
Feb 11 06:57:18 ... dhcpd: 5 bad udp checksums in 5 packets
Feb 11 06:58:22 ... dhcpd: last message repeated 7 times
Feb 11 06:59:17 ... dhcpd: last message repeated 7 times
The DHCP server host is a KVM virtual machine using a virtio-based virtual NIC.
This problem has been reported for other distros using KVM and virtio:
https://bugs.mageia.org/show_bug.cgi?id=1243
http://www.mail-archive.com/kvm@vger.kernel.org/msg41958.html
- suggests using iptables to write in a checksum
http://pkgs.fedoraproject.org/gitweb/?p=dhcp.git;a=blob;f=dhcp-4.2.2-xen-checksum.patch;h=038d346d726e131f1ab2579fe015a72b49733a0d;hb=HEAD
- Fedora patch to dhcp to avoid this
The simplest workaround is to change the virtual NIC type from virtio to Intel e1000 in KVM. Apparently this driver calculates checksums. But virtio is the default driver type.
Thanks,
Tim Miller Dyck |
== Rationale ==
Machines using virtio (kvm/xen) and running a dhcp server in a VM won't receive the proper udp checksums which leads to dhcpd dropping the packets.
This patch forces the checksum to be calculated in such case.
== Test case ==
1) Install a dhcp server in a VM using kvm/xen
2) Make sure you don't have iptables re-calculating the checksums for you
3) Check that the requests go through as expected
== Regression potential ==
Raring has had that fix for a while, so does redhat, so it looks pretty safe to me.
--- original bug report ---
Tested with dhcp3-server ver. 3.1.3-2ubuntu3.3 in Ubuntu 10.04.3 Server, x64.
The DHCP server reports that UDP packets sent to it have bad checksums:
Feb 11 06:57:18 ... dhcpd: 5 bad udp checksums in 5 packets
Feb 11 06:58:22 ... dhcpd: last message repeated 7 times
Feb 11 06:59:17 ... dhcpd: last message repeated 7 times
The DHCP server host is a KVM virtual machine using a virtio-based virtual NIC.
This problem has been reported for other distros using KVM and virtio:
https://bugs.mageia.org/show_bug.cgi?id=1243
http://www.mail-archive.com/kvm@vger.kernel.org/msg41958.html
- suggests using iptables to write in a checksum
http://pkgs.fedoraproject.org/gitweb/?p=dhcp.git;a=blob;f=dhcp-4.2.2-xen-checksum.patch;h=038d346d726e131f1ab2579fe015a72b49733a0d;hb=HEAD
- Fedora patch to dhcp to avoid this
The simplest workaround is to change the virtual NIC type from virtio to Intel e1000 in KVM. Apparently this driver calculates checksums. But virtio is the default driver type.
Thanks,
Tim Miller Dyck |
|
2013-03-27 12:15:44 |
Dave Walker |
isc-dhcp (Ubuntu Quantal): status |
In Progress |
Fix Committed |
|
2013-03-27 12:15:45 |
Dave Walker |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2013-03-27 12:15:47 |
Dave Walker |
bug |
|
|
added subscriber SRU Verification |
2013-03-27 12:15:55 |
Dave Walker |
tags |
checksum dhcp3-server dhcpd kvm virtio |
checksum dhcp3-server dhcpd kvm verification-needed virtio |
|
2013-04-19 07:25:00 |
Stéphane Graber |
tags |
checksum dhcp3-server dhcpd kvm verification-needed virtio |
checksum dhcp3-server dhcpd kvm verification-done virtio |
|
2013-04-22 18:39:02 |
Scott Kitterman |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2013-04-22 18:39:20 |
Launchpad Janitor |
isc-dhcp (Ubuntu Quantal): status |
Fix Committed |
Fix Released |
|
2013-05-23 14:17:29 |
Stéphane Graber |
bug task added |
|
isc-dhcp (Ubuntu Precise) |
|
2013-05-23 14:17:34 |
Stéphane Graber |
nominated for series |
|
Ubuntu Lucid |
|
2013-05-23 14:17:34 |
Stéphane Graber |
bug task added |
|
isc-dhcp (Ubuntu Lucid) |
|
2013-05-23 14:17:42 |
Stéphane Graber |
isc-dhcp (Ubuntu Lucid): status |
New |
Triaged |
|
2013-05-23 14:17:45 |
Stéphane Graber |
isc-dhcp (Ubuntu Precise): status |
New |
Triaged |
|
2013-05-23 14:18:59 |
Stéphane Graber |
bug task deleted |
isc-dhcp (Ubuntu Lucid) |
|
|
2013-05-23 14:19:08 |
Stéphane Graber |
bug task added |
|
dhcp3 (Ubuntu) |
|
2013-05-23 14:19:16 |
Stéphane Graber |
bug task deleted |
dhcp3 (Ubuntu Precise) |
|
|
2013-05-23 14:19:19 |
Stéphane Graber |
bug task deleted |
dhcp3 (Ubuntu Quantal) |
|
|
2013-05-23 14:19:27 |
Stéphane Graber |
nominated for series |
|
Ubuntu Lucid |
|
2013-05-23 14:19:27 |
Stéphane Graber |
bug task added |
|
dhcp3 (Ubuntu Lucid) |
|
2013-05-23 14:19:27 |
Stéphane Graber |
bug task added |
|
isc-dhcp (Ubuntu Lucid) |
|
2013-05-23 14:19:35 |
Stéphane Graber |
bug task deleted |
isc-dhcp (Ubuntu Lucid) |
|
|
2013-05-23 14:19:40 |
Stéphane Graber |
dhcp3 (Ubuntu): status |
New |
Fix Released |
|
2013-05-23 14:19:43 |
Stéphane Graber |
dhcp3 (Ubuntu Lucid): status |
New |
Triaged |
|
2013-05-23 14:19:51 |
Stéphane Graber |
dhcp3 (Ubuntu Lucid): assignee |
|
Stéphane Graber (stgraber) |
|
2013-05-23 14:19:53 |
Stéphane Graber |
isc-dhcp (Ubuntu): assignee |
Stéphane Graber (stgraber) |
|
|
2013-05-23 14:19:58 |
Stéphane Graber |
dhcp3 (Ubuntu Lucid): importance |
Undecided |
High |
|
2013-05-23 14:20:04 |
Stéphane Graber |
isc-dhcp (Ubuntu Precise): importance |
Undecided |
High |
|
2013-05-23 14:20:06 |
Stéphane Graber |
isc-dhcp (Ubuntu Precise): assignee |
|
Stéphane Graber (stgraber) |
|
2013-05-23 14:20:08 |
Stéphane Graber |
isc-dhcp (Ubuntu Quantal): assignee |
Stéphane Graber (stgraber) |
|
|
2013-05-23 15:28:20 |
Stéphane Graber |
isc-dhcp (Ubuntu Precise): status |
Triaged |
In Progress |
|
2013-05-24 01:05:11 |
Stéphane Graber |
dhcp3 (Ubuntu Lucid): status |
Triaged |
In Progress |
|
2013-05-24 01:30:59 |
Adam Conrad |
isc-dhcp (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2013-05-24 01:31:03 |
Adam Conrad |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2013-05-24 01:31:08 |
Adam Conrad |
tags |
checksum dhcp3-server dhcpd kvm verification-done virtio |
checksum dhcp3-server dhcpd kvm virtio |
|
2013-05-24 01:31:09 |
Adam Conrad |
tags |
checksum dhcp3-server dhcpd kvm virtio |
checksum dhcp3-server dhcpd kvm verification-needed virtio |
|
2013-05-24 01:34:56 |
Adam Conrad |
dhcp3 (Ubuntu Lucid): status |
In Progress |
Fix Committed |
|
2013-05-24 02:14:12 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-proposed/dhcp3 |
|
2013-05-24 02:48:31 |
Stéphane Graber |
tags |
checksum dhcp3-server dhcpd kvm verification-needed virtio |
checksum dhcp3-server dhcpd kvm verification-done-precise verification-needed virtio |
|
2013-05-24 04:18:44 |
William Grant |
tags |
checksum dhcp3-server dhcpd kvm verification-done-precise verification-needed virtio |
checksum dhcp3-server dhcpd kvm verification-done verification-done-lucid verification-done-precise virtio |
|
2013-05-24 04:26:31 |
William Grant |
bug |
|
|
added subscriber William Grant |
2013-05-25 19:49:47 |
Bart Heinsius |
bug |
|
|
added subscriber Bart Heinsius |
2013-05-27 15:33:31 |
Jon Schewe |
bug |
|
|
added subscriber Jon Schewe |
2013-05-31 06:25:19 |
Launchpad Janitor |
dhcp3 (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2013-05-31 06:26:14 |
Launchpad Janitor |
isc-dhcp (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2013-06-03 20:09:20 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/precise/isc-dhcp/nouid |
|
2013-06-13 17:14:29 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/quantal-proposed/isc-dhcp |
|
2013-09-11 14:30:25 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/precise/isc-dhcp/precise-updates.dist |
|
2013-10-25 01:04:56 |
Robie Basak |
bug |
|
|
added subscriber Robie Basak |
2013-10-25 01:05:24 |
Robie Basak |
bug task added |
|
lxc (Ubuntu) |
|
2013-10-25 01:07:50 |
Robie Basak |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717217 |
|
2013-10-30 23:08:22 |
Serge Hallyn |
lxc (Ubuntu): status |
New |
Confirmed |
|
2013-10-30 23:08:25 |
Serge Hallyn |
lxc (Ubuntu): importance |
Undecided |
High |
|
2013-10-30 23:08:29 |
Serge Hallyn |
lxc (Ubuntu): status |
Confirmed |
Incomplete |
|
2013-10-30 23:27:41 |
Robie Basak |
lxc (Ubuntu): status |
Incomplete |
Confirmed |
|
2013-10-31 00:45:04 |
Serge Hallyn |
lxc (Ubuntu): importance |
High |
Low |
|
2013-12-10 18:54:40 |
Launchpad Janitor |
lxc (Ubuntu): status |
Confirmed |
Fix Released |
|
2013-12-10 19:29:49 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-branches/ubuntu/trusty/lxc/trusty |
|
2014-08-01 18:59:57 |
Chris Bainbridge |
bug task added |
|
dhcp3 (Debian) |
|
2014-08-02 00:45:02 |
Bug Watch Updater |
dhcp3 (Debian): status |
Unknown |
New |
|
2015-03-04 22:55:49 |
Bug Watch Updater |
dhcp3 (Debian): status |
New |
Confirmed |
|
2015-05-12 01:44:40 |
Bug Watch Updater |
dhcp3 (Debian): status |
Confirmed |
Fix Released |
|