Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AB3E0200BC0 for ; Mon, 31 Oct 2016 20:48:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A9FE2160AED; Mon, 31 Oct 2016 19:48:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F0099160B05 for ; Mon, 31 Oct 2016 20:47:59 +0100 (CET) Received: (qmail 45044 invoked by uid 500); 31 Oct 2016 19:47:58 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 44880 invoked by uid 500); 31 Oct 2016 19:47:58 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 44581 invoked by uid 99); 31 Oct 2016 19:47:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2016 19:47:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 650822C1F56 for ; Mon, 31 Oct 2016 19:47:58 +0000 (UTC) Date: Mon, 31 Oct 2016 19:47:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8326) Bug in cloudstack virtual router (KVM) in Simple zone with public ips / DHCP Debian Wheezy specific MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 31 Oct 2016 19:48:00 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15623156#comment-15623156 ] ASF GitHub Bot commented on CLOUDSTACK-8326: -------------------------------------------- GitHub user wido opened a pull request: https://github.com/apache/cloudstack/pull/1743 CLOUDSTACK-8326: Always fill UDP checksums in DHCP replies in VR In some cases the UDP checksums in packets from DHCP servers are incorrect. This is a problem for some DHCP clients that ignore packets with bad checksums. This patch inserts an iptables rule to ensure DHCP servers always send packets with correct checksums. Due to this bug DHCP offers are sometimes not accepted by Instances. The end-result without this fix is no connectivity for the Instance due to the lack of a IPv4 address. Signed-off-by: Wido den Hollander You can merge this pull request into a Git repository by running: $ git pull https://github.com/wido/cloudstack CLOUDSTACK-8326 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1743.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1743 ---- commit 32689b26d0f2f6763604b2b67649cca9e470fcf7 Author: Wido den Hollander Date: 2016-10-31T19:43:39Z CLOUDSTACK-8326: Always fill UDP checksums in DHCP replies in VR In some cases the UDP checksums in packets from DHCP servers are incorrect. This is a problem for some DHCP clients that ignore packets with bad checksums. This patch inserts an iptables rule to ensure DHCP servers always send packets with correct checksums. Due to this bug DHCP offers are sometimes not accepted by Instances. The end-result without this fix is no connectivity for the Instance due to the lack of a IPv4 address. Signed-off-by: Wido den Hollander ---- > Bug in cloudstack virtual router (KVM) in Simple zone with public ips / DHCP Debian Wheezy specific > --------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8326 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8326 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM, Virtual Router > Affects Versions: 4.3.2 > Environment: Ubuntu 12.04.5 for Host > Debian Squeeze for VR > Reporter: Ivan A Kudryavtsev > Assignee: Wido den Hollander > Fix For: Future, 4.10.0.0, 4.9.2.0 > > > I've found bug in DHCP component of VR 4.3.2. The bug is completely described at: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717217 > DHCP responses with bad checksum. As a result, dhcp client unable to get lease: "dhcpd: 5 bad udp checksums in 5 packets" > Hotfix is: > iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM --checksum-fill > on VR. -- This message was sent by Atlassian JIRA (v6.3.4#6332)