Use per connection peerid for control replies
authortobhe <tobhe@openbsd.org>
Wed, 24 Jan 2024 10:09:07 +0000 (10:09 +0000)
committertobhe <tobhe@openbsd.org>
Wed, 24 Jan 2024 10:09:07 +0000 (10:09 +0000)
commit0fbd6532620f9c8c7edb0900f5f2142fbbbab551
treec994723a3bbdecf3a2b53b271d2d4b032d57dbab
parent2f86a7c68db7ea7df05d35a558ead2b5545a64cb
Use per connection peerid for control replies
instead of 'broadcasting' replies for 'ikectl show sa' and
similar control requests, we now assign a uniq peerid to each
request and pass this peerid between the processes so the reply
can be sent on the matching connection.

from markus@
sbin/iked/ca.c
sbin/iked/control.c
sbin/iked/iked.h
sbin/iked/ikev2.c