Bug#508450: ip tun add fails to create tunnel without remote, though no error

2008-12-11 Thread martin f krafft
Package: iproute Version: 20080725-2 Severity: normal File: /bin/ip khyber:/# ip tun add test mode sit ip tun list sit0: ipv6/ip remote any local any ttl 64 nopmtudisc There was no error message of any kind and $?=0, and yet the tunnel was not created. I forgot to specify the remote

Bug#508450: ip tun add fails to create tunnel without remote, though no error

2008-12-11 Thread Andreas Henriksson
On Thu, Dec 11, 2008 at 02:02:03PM +0100, martin f krafft wrote: khyber:/# ip tun add test mode sit ip tun list sit0: ipv6/ip remote any local any ttl 64 nopmtudisc I will not be surprised if you find many more of these. :( There was no error message of any kind and $?=0, and yet the

Bug#508450: ip tun add fails to create tunnel without remote, though no error

2008-12-11 Thread Andreas Henriksson
On Thu, Dec 11, 2008 at 06:29:56PM +0100, Andreas Henriksson wrote: It seems like the kernel rejects the configuration (missing both local and remote) without returning a proper error code for the ioctl call in ip/tunnel.c:tnl_add_ioctl(). Actually, it does nothing if an identical