[7.902][BUG][FIXED] IPv6 stuck in wrong state.

I was just playing around and switching between freenet6 and sixxs.net and my astaro is now stuck with ipv6 state down and link up for sixxs.net. The ipv6 network is functional during this and I can access ipv6 sites as seen in screenshot3 via http proxy and last screenshot ifconfig. Just the interface is showing half up state and ipv6 status shows as connecting. 

If I switch to freenet6, everything comes up normal so the tsp client is working fine. Just the ayiya client is not working as it should. Here is a section of ipv6 log with me turning the tunnel broker on and off.
2010:04:18-23:44:01 gatekeeper radvd[19193]: sendmsg: Invalid argument

2010:04:18-23:46:09 gatekeeper aiccu[21146]: AICCU running as PID 21146
2010:04:18-23:46:11 gatekeeper aiccu[21146]: Succesfully retrieved tunnel information for T28365
2010:04:18-23:46:11 gatekeeper radvd[21224]: version 1.6 started
2010:04:18-23:46:12 gatekeeper aiccu[21146]: [AYIYA-beat] : Error (-1) while sending 44 bytes sent to network: Operation not permitted (1)
2010:04:18-23:46:12 gatekeeper aiccu[21146]: [AYIYA-start] : Anything in Anything (draft-02)
2010:04:18-23:46:12 gatekeeper aiccu[21146]: [AYIYA-beat] : Error (-1) while sending 44 bytes sent to network: Operation not permitted (1)
2010:04:18-23:46:12 gatekeeper aiccu[21146]: [AYIYA-beat] : Error (-1) while sending 44 bytes sent to network: Operation not permitted (1)
2010:04:18-23:46:12 gatekeeper aiccu[21146]: [AYIYA-tun->tundev] : (Socket to TUN) started
2010:04:18-23:46:19 gatekeeper aiccu[21316]: AICCU running as PID 21316
2010:04:18-23:46:21 gatekeeper aiccu[21316]: Succesfully retrieved tunnel information for T28365
2010:04:18-23:46:24 gatekeeper aiccu[21316]: [AYIYA-start] : Anything in Anything (draft-02)
2010:04:18-23:46:24 gatekeeper aiccu[21316]: [AYIYA-tun->tundev] : (Socket to TUN) started



Adding a few screenshots for better understanding.
Parents
  • All tunnel broker are using the same Interface object. This is probably
    caused by a race condition between tspc shutdown and aiccu startup.

    Is this permanent or is the aiccu state UP again after
    disabling/enabling the Tunnel Broker?
  • This is probably caused by a race condition between tspc shutdown and aiccu startup.

    You are probably right. I have noticed it timeouts on tsp when I first enable freenet6 and then it retries and connects fine. Can't we put a few seconds between initial tries as it connects to 3-4 freenet servers within a second and timeouts (atleast in the logs)and then connects fine after a few seconds. Also this might be a feature request but can we change the tunnel broker settings without starting the tunnel. That way the broker settings can be edited without the tunnel being up.
    Is this permanent or is the aiccu state UP again after
    disabling/enabling the Tunnel Broker?

    This is permanent. I left it overnight like that and its still stuck on connecting although the connection is up. I have tried restarting ipv6, disabling the external interface and restarting the tunnel broker but its still stuck. If I change to freenet6, it comes right up. Sixxs is just stuck for now. It usually comes up without any problem also. I guess I will have to reboot.
Reply
  • This is probably caused by a race condition between tspc shutdown and aiccu startup.

    You are probably right. I have noticed it timeouts on tsp when I first enable freenet6 and then it retries and connects fine. Can't we put a few seconds between initial tries as it connects to 3-4 freenet servers within a second and timeouts (atleast in the logs)and then connects fine after a few seconds. Also this might be a feature request but can we change the tunnel broker settings without starting the tunnel. That way the broker settings can be edited without the tunnel being up.
    Is this permanent or is the aiccu state UP again after
    disabling/enabling the Tunnel Broker?

    This is permanent. I left it overnight like that and its still stuck on connecting although the connection is up. I have tried restarting ipv6, disabling the external interface and restarting the tunnel broker but its still stuck. If I change to freenet6, it comes right up. Sixxs is just stuck for now. It usually comes up without any problem also. I guess I will have to reboot.
Children
No Data