-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing: what happens when client restarts cleanly. #18
Comments
Output - https://pastebin.com/raw/bTVSmLip |
On Wed, 7 Aug 2019, Rishabh wrote:
Output - https://pastebin.com/raw/bTVSmLip
On the east console, it shows two tunnels instead of one. It road
did a "ipsec restart", it would have send a delete for the first
tunnel. So I would expect only one tunnel after the road restart,
not two?
Paul
|
I have been working on this issue, I also got Tuomo's help in this. But every time i got two tunnels running in the end. Then I checked the
Tuomo said - this can still be race condition. like pluto stops before it sent delete sa. OR we have software error and delete sa is not sent. OR there are some special cases where we don't want to notify about deleting sa. |
But I have noticed a strange behavior: |
Yes because if you crash you do not send a delete message. And since you authenticate the client with NULL the server cannot detect if this is the same or a different client.
When you restart, a delete message should be sent and the server should delete the tunnel and when the client reconnects only one tunnel should be there.
Paul
Sent from mobile device
… On Aug 9, 2019, at 04:26, Rishabh ***@***.***> wrote:
I have been working on this issue for 2 days. I also got Tuomo's help in this. But every time i got two tunnels running in the end.
Then I checked the road.console.txt in the tests where server is crashing and where server is restarting cleanly. In those 2 test cases the road.console.txt also have two tunnels running in the end.
grep "negotiated connection" /tmp/pluto.log
"private-or-clear#192.1.2.0/24"[1] 10.0.10.1/32=== ...192.1.2.23 #2: negotiated connection [10.0.10.1-10.0.10.1:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0]
"private-or-clear#192.1.2.0/24"[2] 10.0.10.1/32=== ...192.1.2.23 #4: negotiated connection [10.0.10.1-10.0.10.1:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0]
Reference
grep "negotiated connection" /tmp/pluto.log
"private-or-clear#192.1.2.0/24"[1] 10.0.10.1/32=== ...192.1.2.23 #2: negotiated connection [10.0.10.1-10.0.10.1:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0]
"private-or-clear#192.1.2.0/24"[2] 10.0.10.1/32=== ...192.1.2.23 #4: negotiated connection [10.0.10.1-10.0.10.1:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0]
Reference
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Support for recovery from client restart.
The text was updated successfully, but these errors were encountered: