[CUWiN-Dev] CUWiN routers tunnel "home" through NATs

Bill Comisky bcomisky at pobox.com
Wed Sep 20 14:19:05 CDT 2006


On Tue, 19 Sep 2006, David Young wrote:

> On Tue, Sep 19, 2006 at 05:32:46PM -0400, John Atkinson wrote:
>> Is this slated specifically for the Urbana network?
>
> All CUWiN routers will tunnel home.  I realize that may not be desirable
> on some networks.  If it is not desirable for your network, you can
> set utd=NO at the end of src/boot-image/extras/etc/rc.conf.d/utd before
> you build.
>

Ahh...  I thought this was just on trunk and not in 0.7.0 but I notice now 
that the 0.7.0 branch was copied over from trunk again around r4206.  I 
was testing out quagga 0.99.5 vs. the 0.7.0 release branch and getting 
some zebra log messages I couldn't make sense of, but these must be 
related to the phoning home.  Sure enough utd is running:

# ps auxw | grep utd
root    1997  0.0  2.6  64  836 ?      Ss    7:41AM 0:00.66 /usr/sbin/utd 10.0.233.56 0.0.0.0 64.198.255.12 192.168.49.1

I kept seeing routing entries like the one below appear and dissappear in 
the routing table (with gre# index incremented) for the 192.168.49.x 
subnet, which of course doesn't exist on my LAN.

192.168.49.1       192.168.49.249     UH          -   gre16

BTW, the messages I was getting from zebra (with kernel and events 
debugging on) are below.  Was the tunneling stuff ready to go as of r4206? 
Or maybe it should be disabled by default on the 0.7.0 release?

Bill

[ .. snip .. ]
Apr 25 08:32:48 cuw zebra[1871]: Kernel: Len: 144 Type: RTM_IFINFO
Apr 25 08:32:48 cuw zebra[1871]: Kernel: DYNAMIC DONE BLACKHOLE PROTO1 PROTO2
Apr 25 08:32:48 cuw zebra[1871]: Kernel: message seq 0
Apr 25 08:32:48 cuw zebra[1871]: Kernel: pid 1572995, rtm_addrs 0x6
Apr 25 08:32:48 cuw zebra[1871]: ifm_read: sdl ifname (nil)
Apr 25 08:32:48 cuw zebra[1871]: MESSAGE: ZEBRA_INTERFACE_DOWN gre32
Apr 25 08:32:48 cuw zebra[1871]: ifm_read: interface gre32 index 6
Apr 25 08:32:48 cuw zebra[1871]: Kernel: Len: 108 Type: RTM_DELETE
Apr 25 08:32:48 cuw zebra[1871]: Kernel: HOST
Apr 25 08:32:48 cuw zebra[1871]: Kernel: message seq 0
Apr 25 08:32:48 cuw zebra[1871]: Kernel: pid 0, rtm_addrs 0x3
Apr 25 08:32:48 cuw zebra[1871]: Kernel: Len: 80 Type: RTM_DELADDR
Apr 25 08:32:48 cuw zebra[1871]: Kernel: UP
Apr 25 08:32:48 cuw zebra[1871]: Kernel: message seq 519
Apr 25 08:32:48 cuw zebra[1871]: Kernel: pid 0, rtm_addrs 0x6
Apr 25 08:32:48 cuw zebra[1871]: ifam_read_mesg: RTA_SDL_GET nlen 5, alen 0
Apr 25 08:32:48 cuw zebra[1871]: ifam_read_mesg: ifindex 6, ifname gre32, ifam_addrs 0xb4, addr 192.168.49.189/24 broad 192.168.49.1
Apr 25 08:32:48 cuw zebra[1871]: MESSAGE: ZEBRA_INTERFACE_ADDRESS_DELETE 192.168.49.189/24 on gre32
Apr 25 08:32:48 cuw zebra[1871]: route 192.168.49.0/24 ifindex 6 doesn't exist in rib
Apr 25 08:32:48 cuw zebra[1871]: if_ioctl(SIOCGIFFLAGS) failed: Device not configured
Apr 25 08:32:48 cuw zebra[1871]: Kernel: Len: 124 Type: RTM_DELETE
Apr 25 08:32:48 cuw zebra[1871]: Kernel: HOST
Apr 25 08:32:48 cuw zebra[1871]: Kernel: message seq 0
Apr 25 08:32:48 cuw zebra[1871]: Kernel: pid 0, rtm_addrs 0x3
Apr 25 08:32:48 cuw zebra[1871]: Kernel: Len: 100 Type: RTM_DELADDR
Apr 25 08:32:48 cuw zebra[1871]: Kernel:
Apr 25 08:32:48 cuw zebra[1871]: Kernel: message seq 6172
Apr 25 08:32:48 cuw zebra[1871]: Kernel: pid 0, rtm_addrs 0x6
Apr 25 08:32:48 cuw zebra[1871]: ifam_read_mesg: RTA_SDL_GET nlen 5, alen 0
Apr 25 08:32:48 cuw zebra[1871]: ifam_read_mesg: ifindex 6, ifname gre32, ifam_addrs 0xb4, addr fe80:6::202:6fff:fe21:e938/64 broad ::
Apr 25 08:32:48 cuw zebra[1871]: MESSAGE: ZEBRA_INTERFACE_ADDRESS_DELETE fe80::202:6fff:fe21:e938/64 on gre32
Apr 25 08:32:48 cuw zebra[1871]: route fe80::/64 ifindex 6 doesn't exist in rib
Apr 25 08:32:48 cuw zebra[1871]: if_ioctl(SIOCGIFFLAGS) failed: Device not configured
Apr 25 08:32:48 cuw zebra[1871]: Kernel: Len: 188 Type: RTM_DELETE
Apr 25 08:32:48 cuw zebra[1871]: Kernel: DONE CLONING
Apr 25 08:32:48 cuw zebra[1871]: Kernel: message seq 0
Apr 25 08:32:48 cuw zebra[1871]: Kernel: pid 0, rtm_addrs 0x37
Apr 25 08:32:48 cuw zebra[1871]: rtm_read_mesg: RTA_SDL_GET nlen 5, alen 0
Apr 25 08:32:48 cuw zebra[1871]: Kernel: Len: 24 Type: RTM_IFANNOUNCE
Apr 25 08:32:48 cuw zebra[1871]: Kernel: UP HOST MODIFIED DONE CLONING XRESOLVE BLACKHOLE
Apr 25 08:32:48 cuw zebra[1871]: Kernel: message seq 65536
Apr 25 08:32:48 cuw zebra[1871]: Kernel: pid 0, rtm_addrs 0x0
Apr 25 08:32:48 cuw zebra[1871]: interface gre32 index 6 is now inactive.
Apr 25 08:32:48 cuw zebra[1871]: MESSAGE: ZEBRA_INTERFACE_DELETE gre32
Apr 25 08:32:48 cuw zebra[1871]: if_ioctl(SIOCGIFFLAGS) failed: Device not configured
Apr 25 08:32:48 cuw zebra[1871]: Can't lookup mtu by ioctl(SIOCGIFMTU)
Apr 25 08:32:48 cuw zebra[1871]: ifan_read: interface gre32 index 6


More information about the CU-Wireless-Dev mailing list