#20467: Aiccu IPv6 tunnel not working
---------------------------+----------------------------------
Reporter: gio.pardini@… | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Chaos Calmer (trunk)
Component: base system | Version: Trunk
Keywords: |
---------------------------+----------------------------------
Looks like aiccu starts correctly, but it is killed after a few seconds.
I am using OpenWrt Chaos Calmer r46796.
Here is the log:
{{{
Tue Sep 8 17:17:30 2015 daemon.notice netifd: Interface 'wan6' is setting
up now
Tue Sep 8 17:17:40 2015 daemon.notice netifd: wan6 (7324): Waiting 10
secs for NTP sync...
Tue Sep 8 17:17:50 2015 daemon.notice netifd: wan6 (7324): Waiting 20
secs for NTP sync...
Tue Sep 8 17:18:00 2015 daemon.notice netifd: wan6 (7324): Waiting 30
secs for NTP sync...
modprobe module
Tue Sep 8 17:19:01 2015 daemon.info modprobe: Usage:
modprobe module
Tue Sep 8 17:19:02 2015 local7.debug : sock_getline() : "200 SixXS TIC
Service on iedub02.sixxs.net ready (http://www.sixxs.net)"
Tue Sep 8 17:19:02 2015 local7.debug : sock_printf() : "client
TIC/draft-00 AICCU/2007.01.15-console-linux Linux/4.1.6"
Tue Sep 8 17:19:02 2015 local7.debug : sock_getline() : "200 Client
Identity accepted"
Tue Sep 8 17:19:02 2015 local7.debug : sock_printf() : "get unixtime"
Tue Sep 8 17:19:02 2015 local7.debug : sock_getline() : "200 1441725543"
Tue Sep 8 17:19:02 2015 local7.debug : sock_printf() : "username xxx-
SIXXS"
Tue Sep 8 17:19:02 2015 local7.debug : sock_getline() : "200 xxx-SIXXS
choose your authentication challenge please"
Tue Sep 8 17:19:02 2015 local7.debug : sock_printf() : "challenge md5"
Tue Sep 8 17:19:02 2015 local7.debug : sock_getline() : "200 xxx"
Tue Sep 8 17:19:02 2015 local7.debug : sock_printf() : "authenticate md5
xxx"
Tue Sep 8 17:19:02 2015 local7.debug : sock_getline() : "200 Successfully
logged in using md5 as xxx-SIXXS (xxx)"
Tue Sep 8 17:19:02 2015 local7.debug : sock_printf() : "tunnel show
Txxx"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "201 Showing
tunnel information for Txxx"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "TunnelId: Txxx"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "Type:
6in4-heartbeat"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "IPv6 Endpoint:
2001:xxx::2"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "IPv6 POP:
2001:xxx::1"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "IPv6
PrefixLength: 64"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "Tunnel MTU:
1472"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "Tunnel Name: My
First Tunnel"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "POP Id: ittrn01"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "IPv4 Endpoint:
heartbeat"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "IPv4 POP:
213.254.12.34"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "UserState:
enabled"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "AdminState:
enabled"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "Password: xxx"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() :
"Heartbeat_Interval: 60"
Tue Sep 8 17:19:03 2015 local7.debug : sock_getline() : "202 Done"
Tue Sep 8 17:19:03 2015 local7.info : Succesfully retrieved tunnel
information for Txxx
Tue Sep 8 17:19:03 2015 local7.debug : sock_printf() : "QUIT And All
That Could Have Been..."
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): Tunnel
Information for Txxx:
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): POP Id :
ittrn01
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): IPv6 Local :
2001:xxx::2/64
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): IPv6 Remote :
2001:xxx::1/64
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): Tunnel Type :
6in4-heartbeat
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): Adminstate :
enabled
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): Userstate :
enabled
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): POP Id :
ittrn01
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): IPv6 Local :
2001:xxx::2/64
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): IPv6 Remote :
2001:xxx::1/64
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): Tunnel Type :
6in4-heartbeat
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): Adminstate :
enabled
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): Userstate :
enabled
Tue Sep 8 17:19:03 2015 local7.info : AICCU running as PID 7528
Tue Sep 8 17:19:03 2015 daemon.notice netifd: wan6 (7324): Command
failed: Unknown error
Tue Sep 8 17:19:03 2015 local7.debug : heartbeat_socket() - IPv4 :
79.36.61.13
Tue Sep 8 17:19:03 2015 daemon.info modprobe: Usage:
modprobe module
Tue Sep 8 17:19:03 2015 local7.debug : [HB] HEARTBEAT TUNNEL 2001:xxx::2
sender zzz uuu
Tue Sep 8 17:19:03 2015 local7.debug : [HB] HEARTBEAT TUNNEL 2001:xxx::2
sender zzz uuu
Tue Sep 8 17:19:03 2015 daemon.info modprobe: Usage:
modprobe module
Tue Sep 8 17:19:03 2015 local7.err : Already running instance HUP'ed,
exiting
Tue Sep 8 17:19:03 2015 daemon.notice netifd: Interface 'wan6' is now
down
}}}
The relevant section from /etc/config/network
{{{
config interface 'wan6'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option proto 'aiccu'
option username 'xxx-SIXXS'
option password 'xxx'
option tunnelid 'Txxx'
option ip6prefix '2001:xxx::/64'
option heartbeat '1'
option verbose '1'
option mtu '1472'
}}}
The generated configuration file /tmp/etc/aiccu-wan6.conf
{{{
username xxx-SIXXS
password xxx
ipv6_interface aiccu-wan6
tunnel_id Txxx
makebeats true
verbose true
defaultroute false
daemonize true
pidfile /var/run/aiccu-wan6.pid
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/20467>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets