On 09/05/12 20:17, Peter Hertting wrote: > Hello James, > > More on this below. > > On 09/05/2012 16:46, Peter Hertting wrote: >>> What's also weird: if I add the tunnel and session configuration to the >>> configuration file instead of using l2tpconfig I'm not seeing any of >>> those problems. The sessions are always established correctly after a >>> connection loss then. >> >> Unfortunately, the above statement isn't true. I'm seeing the same >> problems when using the config file. Here's what I do: >> 1. Disconnect LNS (I remove the ethernet cable) >> 2. Start openl2tpd >> 3. Wait a couple of minutes (session status changes from WAITTUNNEL to >> WAITREPLY during that time >> 4. Reconnect LNS >> 5. After a while the tunnel enters state ESTABLISHED but the session >> remains in state WAITREPLY (as discussed before). >> > > I also tried this on an x86 machine (instead of a MIPS) using the > official binaries from openl2tp.org. The behaviour is exactly the same.
There's definitely a bug here. Persist is broken if the session fails to come up when it is initially created. If the session does come up and then goes down later, it is reestablished correctly when the link comes back up. We'll work on a fix for the next release. Thanks for reporting it. -- James Chapman Katalix Systems Ltd http://www.katalix.com Catalysts for your Embedded Linux software development ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Openl2tp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openl2tp-users
