X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail-ot0-f177.google.com (mail-ot0-f177.google.com [74.125.82.177]) by lists.alpinelinux.org (Postfix) with ESMTP id 6A7925C4F65 for ; Thu, 10 May 2018 13:48:23 +0000 (GMT) Received: by mail-ot0-f177.google.com with SMTP id n1-v6so2353984otf.7 for ; Thu, 10 May 2018 06:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=garethwilliams-me-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=94G+11ADYiCzLJHIUGVEhCKgSeSFBEilapfuT1gqCME=; b=gtIUpe5NCtietjvlLaqaJJTDNk8ndQ3ttnPGPT2QlGwnig5k1Y7x532OVuwqDxe8YZ yslPBYmO504E9YUtorCW3nUUPFtvEskD1N9t9pkohcpM8HNTI6FHy1R1fh/PKl14gQDq +Nx0GTE7sEVHq7rapSXSZAKEcdnZwl8xBtkQ8LvbioH9kyGK+LgZ8WidCs7LnqndYTrl eC4wGh+RFEdt1v9UiXxW7HSCtgcuzCLxayS35+9dYxGbNVn2rsgo2ZLhlFVcz9Ljnsbd A+KRL9mpvwDqsbpYo5wlk+k8FPUrptpUKUBNZ6SMLZyZvipZi2BKgRiayz0XdC7cwYrg fx6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=94G+11ADYiCzLJHIUGVEhCKgSeSFBEilapfuT1gqCME=; b=XPAxnVC2yWvFmUDh0vy8zXyUT4zRTTQGHA4yEEQxUP0/gi2nW9MypwXPDAeBsDac7t BXLItIeZ/U2l6gGtls/OX9FGhRMd4S6MJy47hb4nhvUtKvXKgUzgt8ZAZnJORdsqDP2q 9lesNozS9K9CuaB2x/L4VcafdP74r+T+ghrYG9tnkQPXs5glmPn88lh+KowjZ16f1YRt xQR8pAYcd3Km5qYiIC8xJL8S7ogC1D9FT+m3SGIefMoIGy5q93YM0ha/VPuG8Fe2+jbV z0MUq5TclPlu7RNRaR+aQoIbzGJwwCtnrpHKSmuv2MDyu8rvgYcAdChggaH+sPyuoSFT 4ncA== X-Gm-Message-State: ALKqPwe1mJyj7+5ja7sl9SLt0B6V7FF/RgVESFJk9mngbkz3M/qZDS8H ydiwkyWTJWwEyKz385R7UCxoNZCp0dGB1lNgfLvalg== X-Google-Smtp-Source: AB8JxZo10X0PQKsxGgLHlGEH5RmWc4ekclFluxkYpJK5Sfa2Ywnn9Pmrp2XbDFzjzrlaXYD3Ktq+Ln0YdC/WGvDZyrQ= X-Received: by 2002:a9d:133c:: with SMTP id f57-v6mr913599ote.219.1525960102775; Thu, 10 May 2018 06:48:22 -0700 (PDT) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 2002:a9d:42f8:0:0:0:0:0 with HTTP; Thu, 10 May 2018 06:48:22 -0700 (PDT) X-Originating-IP: [91.125.203.138] From: "Williams, Gareth" Date: Thu, 10 May 2018 14:48:22 +0100 Message-ID: Subject: [alpine-user] Awall Duplicate Interface Name Dropped To: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="000000000000de20bd056bda4598" --000000000000de20bd056bda4598 Content-Type: text/plain; charset="UTF-8" Hi, If I create am Awall zone "Usr" with eth1+ as the interface definition, awall drops any filters that contain "Usr" as both In and Out. The simply don't show up in iptables -Lv. If eth1 resolves to just eth1 then this makes sense as any eth1 traffic wouldn't need to traverse a router to get to any other eth1 device. However, if I have VLANs as eth1.2, eth1.3 etc. I'd expect traffic between them to be routed and to traverse the firewall. A manually generated rule such as: iptables -A FORWARD -p tcp -i eth1+ -o eth1+ --dport 123 -j ACCEPT shows up in iptables -Lv therefore this isn't an iptables issue. As a workaround, I could list all the VLAN interfaces in the zone definition: "Usr": {"iface": ["eth1.2", "eth1.3", "eth1.4", "eth1.5"]}, but this will create an exponentially increasing number of iptables rules. Is this a bug in awall, or have I missed something? Thanks in advance, Gareth --000000000000de20bd056bda4598 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

If I create am Awall zone "Usr= " with eth1+ as the interface definition, awall drops any filters that= contain "Usr" as both In and Out.=C2=A0 The simply don't sho= w up in iptables -Lv.

If eth1 resolves to just eth1 then this= makes sense as any eth1 traffic wouldn't need to traverse a router to = get to any other eth1 device.=C2=A0 However, if I have VLANs as eth1.2, eth= 1.3 etc. I'd expect traffic between them to be routed and to traverse t= he firewall.

A manually generated rule such as:

iptables -A FORWARD -p tcp -i eth1+ -o eth1+ --dport= 123 -j ACCEPT

shows up in iptables -Lv therefore = this isn't an iptables issue.

As a workaround,= I could list all the VLAN interfaces in the zone definition:
"Usr": {"iface": ["eth1.2", "= ;eth1.3", "eth1.4", "eth1.5"]},=C2=A0
but this will create an exponentially increasing number of ipt= ables rules.

Is this a bug in awall, or have I mis= sed something?

Thanks in advance,

Gareth
--000000000000de20bd056bda4598-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---