Re: [BUG] Any-IP IPv6 support broken

2015-11-02 Thread Maciej Żenczykowski
> I would like to have a "bind-to-subnet" semantic with IPv6. Ah, this is something that I have reason to suspect may indeed be broken for IPv6. A coworker did some one-off testing on this a few months back, and didn't get it to trivially work. We didn't debug it, nor try to figure out what (if an

Re: [BUG] Any-IP IPv6 support broken

2015-11-02 Thread Gilberto Bertin
> On 29 Oct 2015, at 17:44, Maciej Żenczykowski wrote: > > What are you trying to do? I would like to have a "bind-to-subnet" semantic with IPv6. This is currently working with IPv4, and the setup is the follow: - setup a dummy network device configured with any-IP - add an any-IP route - bin

Re: [BUG] Any-IP IPv6 support broken

2015-10-29 Thread Maciej Żenczykowski
What are you trying to do? The intent of the patch is to be able to terminate connections from outside the machine that are reaching the machine (perhaps delivered inside a tunnel or via some other mechanism: static arp entries, routing via the machine, etc), that the kernel wouldn't normally thin

Re: [BUG] Any-IP IPv6 support broken

2015-10-29 Thread Hannes Frederic Sowa
On Thu, Oct 29, 2015, at 19:58, Gilberto Bertin wrote: > > > On 29 Oct 2015, at 18:39, Hannes Frederic Sowa > > wrote: > > > > Try the loopback interface: > > > > ip -6 route add local abcd:abcd:abcd:abcd::/64 dev *lo* > > > > Otherwise packets should end up in neighbor subsystem and you do

Re: [BUG] Any-IP IPv6 support broken

2015-10-29 Thread Gilberto Bertin
> On 29 Oct 2015, at 18:39, Hannes Frederic Sowa > wrote: > > Try the loopback interface: > > ip -6 route add local abcd:abcd:abcd:abcd::/64 dev *lo* > > Otherwise packets should end up in neighbor subsystem and you don't want > that, still. ;) > Thanks for the reply. I know it’s working o

Re: [BUG] Any-IP IPv6 support broken

2015-10-29 Thread Hannes Frederic Sowa
Hello, On Thu, Oct 29, 2015, at 16:00, Gilberto Bertin wrote: > 2- note that it's not actually working with IPv6 addresses: > > # ip -6 route add local abcd:abcd:abcd:abcd::/64 dev eth0 Try the loopback interface: ip -6 route add local abcd:abcd:abcd:abcd::/64 dev *lo* Otherwise packets shoul

Re: [BUG] Any-IP IPv6 support broken

2015-10-29 Thread Eric Dumazet
On Thu, 2015-10-29 at 15:00 +, Gilberto Bertin wrote: > Hello, > testing Any-IP on my machine, I noticed that it's not working with IPv6 > addresses. > Tests are performed on a 4.1 kernel. > > Steps to reproduce the bug: > > 1- make sure Any-IP is working with IPv4 addresses: > > # ip -4 rou

[BUG] Any-IP IPv6 support broken

2015-10-29 Thread Gilberto Bertin
Hello, testing Any-IP on my machine, I noticed that it's not working with IPv6 addresses. Tests are performed on a 4.1 kernel. Steps to reproduce the bug: 1- make sure Any-IP is working with IPv4 addresses: # ip -4 route add local 4.4.4.0/24 dev eth0 with this command every packets with an IP i