Skip to content
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

'ikectl reset sa' generates broken SADB_X_SPDDELETE if multiple CHILD-SA's negotiated. #1

Open
hsuenaga opened this issue Mar 18, 2013 · 0 comments

Comments

@hsuenaga
Copy link
Owner

Network:
[OpenBSD(Reference)] --- [NetBSD(DUT)]
192.168.87.10 192.168.87.11

Config:
OpenBSD:

ikev2 active esp \
     from 192.168.87.10 to 192.168.87.11 \
     peer 192.168.87.11 local 192.168.87.10 \
     ikesa enc 3des auth hmac-sha1 group modp1024 \
     childsa enc aes-128 auth hmac-sha1 \
     psk "foobar"

NetBSD:

ikev2 test-policy active esp \
     from 192.168.87.11 to 192.168.87.10 \
     peer 192.168.87.10 local 192.168.87.11 \
     ikesa enc 3des auth hmac-sha1 group modp1024 \
     childsa enc aes-128 auth hmac-sha1 \
     psk "foobar"

(1) Prepare

openbsd# iked
netbsd# iked -dvv

(waiting for 1st CHILD_SA established)

(2) Create more SA

openbsd# ikectl reset sa

XXX: openbsd doesn't send INFOMATION(DELETE SA)

(3) Reset SA

netbsd# ike reset sa

(4) the error

SADB_X_SPDDELETE: pfkey_reply message: Invalid argument
SADB_X_SPDDELETE: pfkey_reply message: Invalid argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant