Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/617343/?format=api
{ "id": 617343, "url": "http://patchwork.ozlabs.org/api/patches/617343/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-XX@vittgam.net/", "project": { "id": 45, "url": "http://patchwork.ozlabs.org/api/projects/45/?format=api", "name": "OpenWrt development", "link_name": "openwrt", "list_id": "openwrt-devel.lists.openwrt.org", "list_email": "openwrt-devel@lists.openwrt.org", "web_url": "http://openwrt.org/", "scm_url": "git://git.openwrt.org/openwrt.git", "webscm_url": "https://dev.openwrt.org/browser", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<owrt-patch-20160502-XX@vittgam.net>", "list_archive_url": null, "date": "2016-05-02T03:29:58", "name": "[OpenWrt-Devel] firewall3: Fix multicast ICMPv6 replies not being sent by default anymore.", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "83b38de2806b79e77cc7146a7377cac9d1e35c4c", "submitter": { "id": 65409, "url": "http://patchwork.ozlabs.org/api/people/65409/?format=api", "name": "Vittorio Gambaletta", "email": "openwrt@vittgam.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-XX@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/617343/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/617343/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<openwrt-devel-bounces@lists.openwrt.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "<openwrt-devel@lists.openwrt.org>" ], "Received": [ "from arrakis.dune.hu (caladan.dune.hu [78.24.191.180])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3qyqYp1KVxz9t6j\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 2 May 2016 13:30:06 +1000 (AEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id DE247B91C65;\n\tMon, 2 May 2016 05:30:01 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tMon, 2 May 2016 05:30:01 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id A44EFB91C61\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon, 2 May 2016 05:29:59 +0200 (CEST)", "from mail.vittgam.net (server1.vittgam.net [213.239.197.142])\n\tby arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon, 2 May 2016 05:29:59 +0200 (CEST)", "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u423Twj5184370\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 05:29:58 +0200" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n\tunprotected) header.d=vittgam.net header.i=@vittgam.net\n\theader.b=nJRYwA5p; dkim-atps=neutral", "X-Spam-Checker-Version": "SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.1", "X-policyd-weight": "using cached result; rate:hard: -6.1", "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net u423Twj5184370", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462159799;\n\tbh=vgDXlRxJp921YGwHOkfsS89LoV9sC1v6wF8thMySONw=;\n\th=From:To:Subject:Content-Type:Message-ID;\n\tb=nJRYwA5pK+jrdXq1QpZ0ZHftexNnkkqC2xHUdIu7t7DWvxezSbbXnFudsB3wIaQxH\n\tybqxiGXM9d5pSThq2lPKLcRzGeGqvL1xgTuggcbTvc8vdVNQ909RJEqx9xT6Gevvxj\n\too1JnnEbe54i/umTusJhT7VaW7V9H8eS6FOhQiHEAEsso+LkqGNt+fKWhnxROUnMbz\n\tk/JwQNPXMQLmptug3f8UJk+KFeeUGns17KXgIE/SsSKy8cRKdztc4C6N7P4IEitJhR\n\tybmfqZqQEmIWvlIe3pf3mpCGlk2T3TaZKm30HBjYyCaFGqWdkMA5RMr8AAUnJ8M8mL\n\teqoU+1yzC2abGon++hn2p+SewrMTgV+2uBY7uL/FcjlzIv0a21o7j1bEMcGtYF/4ny\n\tndUkknouWQvohXq6QXr0AUB4tgUSN+bHQ3pZOMlV0Mn7UPM5eilFrUtSMuPeG2wOvD\n\tPX1PqnkgrpDfNZIvFApktyL+19g4PTVatjl6wKaBPfyYEFdynAPBbqk/rw4ZvXdgzD\n\tIqFJvt9QHI57rqwHfLygdPrWpv83XW7I34flszrNRsPdlRqj47K0QYEgSfXSmKsCD/\n\t3d8pfb050nqtbeqWSyYC+2T5/735lkZD9HmswwN9DElycRLaU0eACy40x2Udku9u3+\n\tBhHNiSP2bMbb+Z7g13M8c6oM=", "Date": "Mon, 2 May 2016 05:29:58 +0200", "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>", "To": "<openwrt-devel@lists.openwrt.org>", "Message-ID": "<owrt-patch-20160502-XX@vittgam.net>", "Subject": "[OpenWrt-Devel] [PATCH] firewall3: Fix multicast ICMPv6 replies not\n\tbeing sent by default anymore.", "X-BeenThere": "openwrt-devel@lists.openwrt.org", "X-Mailman-Version": "2.1.20", "Precedence": "list", "List-Id": "OpenWrt Development List <openwrt-devel.lists.openwrt.org>", "List-Unsubscribe": "<https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>", "List-Archive": "<http://lists.openwrt.org/pipermail/openwrt-devel/>", "List-Post": "<mailto:openwrt-devel@lists.openwrt.org>", "List-Help": "<mailto:openwrt-devel-request@lists.openwrt.org?subject=help>", "List-Subscribe": "<https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "openwrt-devel-bounces@lists.openwrt.org", "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>" }, "content": "Since drop_invalid has been turned on by default, ICMPv6 echo requests\nto well-known multicast addresses, such as ff02::1, are not replied to\nby the router anymore, because conntrack considers those outgoing reply\npackets to be invalid.\n\nFix this by not having the INVALID rule in the OUTPUT chain match IPv6\npackets destined to link-local addresses (fe80::/10).\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---", "diff": "--- a/defaults.c\n+++ b/defaults.c\n@@ -222,6 +222,16 @@ fw3_print_default_head_rules(struct fw3_\n \t\t\tif (defs->drop_invalid)\n \t\t\t{\n \t\t\t\tr = fw3_ipt_rule_new(handle);\n+\t\t\t\tif (i == 2 && handle->family == FW3_FAMILY_V6) {\n+\t\t\t\t\tstruct fw3_address mcdst = {\n+\t\t\t\t\t\t.set = true,\n+\t\t\t\t\t\t.invert = true,\n+\t\t\t\t\t\t.family = FW3_FAMILY_V6,\n+\t\t\t\t\t\t.address.v6.s6_addr = { 0xfe, 0x80 },\n+\t\t\t\t\t\t.mask.v6.s6_addr = { 0xff, 0xc0 },\n+\t\t\t\t\t};\n+\t\t\t\t\tfw3_ipt_rule_src_dest(r, NULL, &mcdst);\n+\t\t\t\t}\n \t\t\t\tfw3_ipt_rule_extra(r, \"-m conntrack --ctstate INVALID\");\n \t\t\t\tfw3_ipt_rule_target(r, \"DROP\");\n \t\t\t\tfw3_ipt_rule_append(r, chains[i]);\n", "prefixes": [ "OpenWrt-Devel" ] }