SixXS::Sunset 2017-06-06

AICCU tunnel connection problem with AYIYA type when PPPoE connection restarts
[hu] Shadow Hawkins on Tuesday, 11 October 2011 01:45:33
I'm using an AYIYA tunnel on an OpenWrt based router. I know that AICCU is supposed to automatically restore the tunnel when the WAN gateway changes. And I also know that there is no need to restart it every time the PPPoE connection is restarted. But when the provider is restarting my PPPoE connection every once a day, the AICCU tunnel connection is broken afterwards. And these messages spamming the log:
Oct 11 00:55:25 Netgear local7.err syslog: [AYIYA-tundev->tun] : Error (-1) while sending 112 bytes to network: Invalid argument (22) Oct 11 00:55:25 Netgear local7.err syslog: [AYIYA-beat] : Error (-1) while sending 44 bytes sent to network: Invalid argument (22)
After looking through the AICCU documentation... The command aiccu_beat is doing the hartbeat in 'common/aiccu.c'. Either the command heartbeat_beat in 'common/heartbeat.c' is called for 6in4 tunnels, or the command ayiya_beat in 'common/ayiya.c' for AYIYA tunnels. I looked through the functions and the latter seems not to have a reconnecting logic. So a patch is needed for solving this for AYIYA tunnel. Any help is appreciated.
AICCU tunnel connection problem with AYIYA type when PPPoE connection restarts
[hu] Shadow Hawkins on Thursday, 13 October 2011 21:58:38
I noticed that there is a 2008.03.15 version which has the fix for it: "Don't use a connected UDP socket for AYIYA and heartbeat traffic". But it is just for Windows. The 2007.01.15 version is the latest in the archive section for anything that is not Windows. So where can I find the source of the 2008.03.15 version of AICCU?

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker