[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-10-05 Thread Launchpad Bug Tracker
This bug was fixed in the package vlan - 1.9-3.2ubuntu2.17.04.3 --- vlan (1.9-3.2ubuntu2.17.04.3) zesty; urgency=medium * Allow ip-rp-filter to be 0, 1, or 2 instead of only 0 or 1 (LP: #1716964) -- Dan Streetman Wed, 20 Sep 2017 09:30:21 -0400

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-10-05 Thread Launchpad Bug Tracker
This bug was fixed in the package vlan - 1.9-3ubuntu10.5 --- vlan (1.9-3ubuntu10.5) trusty; urgency=medium * Allow ip-rp-filter to be 0, 1, or 2 instead of only 0 or 1 (LP: #1716964) -- Dan Streetman Wed, 20 Sep 2017 09:30:21 -0400 ** Changed

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-10-05 Thread Launchpad Bug Tracker
This bug was fixed in the package vlan - 1.9-3.2ubuntu1.16.04.4 --- vlan (1.9-3.2ubuntu1.16.04.4) xenial; urgency=medium * Allow ip-rp-filter to be 0, 1, or 2 instead of only 0 or 1 (LP: #1716964) -- Dan Streetman Wed, 20 Sep 2017 09:30:21 -0400

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-21 Thread Dan Streetman
xenial: root@vlan-xenial:~# cat /etc/network/interfaces.d/50-cloud-init.cfg # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file #

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-21 Thread Dan Streetman
trusty: root@vlan-trusty:~# cat /etc/network/interfaces.d/eth0.cfg # The primary network interface auto eth0 iface eth0 inet dhcp ip-rp-filter 2 root@vlan-trusty:~# dpkg -l | grep vlan ii vlan 1.9-3ubuntu10.4 amd64user mode

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-21 Thread Dan Streetman
zesty: root@vlan-zesty:~# cat /etc/network/interfaces.d/50-cloud-init.cfg # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file #

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-21 Thread Brian Murray
Hello Juan, or anyone else affected, Accepted vlan into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/vlan/1.9-3.2ubuntu2.17.04.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-21 Thread ChristianEhrhardt
BTW it has to do with vlan (example [1][2] - just not dependent as it has use cases without vlan, never the less this shouldn't be the place where it should have been implemented in the first place. But for now this is bugfixing and not a rewrite of hwo things should be. I have slightly improved

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-21 Thread ChristianEhrhardt
** Description changed: [impact] - Using ifupdown, an interface's rp-filter value cannot be set to 2. + Using ifupdown, vlan supported setting an interface's rp-filter value, + but that can only set 0 or 1, but it cannot be set to 2. [test case] On any system using ifupdown to

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Launchpad Bug Tracker
This bug was fixed in the package vlan - 1.9-3.2ubuntu5 --- vlan (1.9-3.2ubuntu5) artful; urgency=medium * Allow ip-rp-filter to be 0, 1, or 2 instead of only 0 or 1 (LP: #1716964) -- Dan Streetman Wed, 20 Sep 2017 09:30:21 -0400 ** Changed in:

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Ubuntu Foundations Team Bug Bot
The attachment "lp1716964-artful.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag,

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread ChristianEhrhardt
After IRC discussion the answer to the non ifupdown world is that this should never have been in vlan and the fix is more to be correct on the SRU path than on the future - thanks for explaining ddstreet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
@paelzer re: ifupdown, the vlan package is only used by ifupdown. How other nw management allows changing an interface's rp_filter is up to that tool, e.g. netplan or networkd, and this particular bug does apply (they may do it wrong also, but it has nothing to do with the vlan package). -- You

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread ChristianEhrhardt
Well it needs ifupdown for it to work (with and without your fix). For the fix at hand it is that is ok - no need to block this or the SRUs on that. But add it to the steps to reproduce. I was able to confirm on the ppa that it works then. But @ddstreet: you should think about how this will

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread ChristianEhrhardt
Sponsored the Artful upload [1], please as mentioned look into the post ifupdown world case and consider fixing vlan for that as well. Ping me if all migrated in artful and SRU templates are ready to sponsor those as well. [1]: https://launchpad.net/ubuntu/+source/vlan/1.9-3.2ubuntu5 -- You

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
test ppa: https://launchpad.net/~ddstreet/+archive/ubuntu/lp1716964 root@vlan-artful:~# dpkg -l | grep vlan ii vlan 1.9-3.2ubuntu4 amd64user mode programs to enable VLANs on your ethernet devices root@vlan-artful:~#

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread ChristianEhrhardt
** Also affects: vlan (Ubuntu Artful) Importance: Medium Assignee: Dan Streetman (ddstreet) Status: In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1716964 Title: VLAN

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
** Patch added: "lp1716964-zesty.debdiff" https://bugs.launchpad.net/debian/+source/vlan/+bug/1716964/+attachment/4953628/+files/lp1716964-zesty.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
** Patch added: "lp1716964-xenial.debdiff" https://bugs.launchpad.net/debian/+source/vlan/+bug/1716964/+attachment/4953629/+files/lp1716964-xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
** Patch added: "lp1716964-artful.debdiff" https://bugs.launchpad.net/debian/+source/vlan/+bug/1716964/+attachment/4953627/+files/lp1716964-artful.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
** Patch added: "lp1716964-trusty.debdiff" https://bugs.launchpad.net/debian/+source/vlan/+bug/1716964/+attachment/4953630/+files/lp1716964-trusty.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Bug Watch Updater
** Changed in: vlan (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1716964 Title: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1 To manage

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
** Description changed: + [impact] + + Using ifupdown, an interface's rp-filter value cannot be set to 2. + + [test case] + + On any system using ifupdown to manage interfaces, add to an interface's + config: + + if-rp-filter 2 + + When the interface is brought up, its +

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
** Changed in: vlan (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1716964 Title: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1 To

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
As the comment says in the vlan if-up script, this setting has nothing to do with vlans and really should go into ifupdown itself; it makes no sense for the setting to only work if the 'vlan' package is installed (and it will work for vlan and non-vlan interfaces as long as 'vlan' is installed).

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-20 Thread Dan Streetman
** Changed in: vlan (Ubuntu Trusty) Status: New => In Progress ** Changed in: vlan (Ubuntu Xenial) Status: New => In Progress ** Changed in: vlan (Ubuntu Zesty) Status: New => In Progress ** Changed in: vlan (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in:

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-15 Thread ChristianEhrhardt
@Dan - IIRC you look currently for work that is sponsored for your uploader application. This looks like a great case and more than that you did the last 6 uploads to this package so you likely have some sort of test environment already. Would you mind picking that up? And while on that this

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-15 Thread ChristianEhrhardt
Related doc ont he parameter: https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt There is not more than 0,1,2. I agree to the suggested solution in general. The issue applies to current dev back to trusty. I'm not sure if in Artful with netplan and potential impacts on these

[Bug 1716964] Re: VLAN network script if-up.d/ip limits rp_filter value to 0 or 1

2017-09-14 Thread Juan Fernandez
The following modification on /etc/network/if-up.d/ip makes it work. *** 13,18 --- 13,20 if [ -n "$IF_IP_RP_FILTER" ]; then if [ "$IF_IP_RP_FILTER" -eq "0" ]; then echo 0 > "/proc/sys/net/ipv4/conf/$IFACE/rp_filter" + elif [