Age | Commit message (Collapse) | Author |
|
Fixes a bug where iked sent zero-prefixed NAT-T messages on port 500 causing
parsing errors.
ok markus@ patrick@
|
|
ok patrick@
|
|
the initiator.
ok patrick@
|
|
the responder to match the correct policy if multiple are available.
ok patrick@
|
|
|
|
|
|
copies of MAXIMUM() and MINIMUM() like we have done in 50+ other places,
and also include a roundup()
ok jsg
|
|
ok patrick@
|
|
parent SA.
|
|
ok bluhm@
|
|
ok patrick@
|
|
|
|
ok markus@
|
|
|
|
not ESP transforms. Fixes broken key exchange negotiation with
matching proposals.
ok patrick@ markus@
|
|
Without this change the responder would always prefer the first DH
group configured in its policy. This would lead to invalid KE
messages that cause an additional exchange which old
implementations do not support correctly. Now we ignore the order
of DH groups in the policy and prefer the group from the policy
that matches the KE payload.
from markus@
ok patrick@
|
|
ok patrick@
|
|
don't delete the pointer.
ok markus@
|
|
route messages to propose the name server to resolvd(8).
For now, iked will only propose a single name server from the first
established connection.
Automatic name server configuration is enabled by default for policies using
the 'iface' option.
discussed with deraadt@
ok for the DNS parts florian@
ok for the rest patrick@
|
|
data not being accessible.
From Claudia Priesterjahn @ achelos
ok patrick@
|
|
address before checking sa_addrpool. Fixes a bug where no flows are added
if a single address instead of a pool is configured in config address.
Reported by Sebastien Leclerc
ok patrick@
|
|
Fixes a regression found by landry@.
ok patrick@
|
|
Fixes a bug where no flows are loaded when a single config address without
pool is configured.
ok patrick@
|
|
Only skip .0 address if the pool is big enough.
ok patrick@
|
|
addresses and routes in iked_vroute_sc to not depend on ikev2
process for cleanup.
This makes sure that all flows, routes and addresses are deleted
no matter which process is killed first.
ok patrick@
|
|
'enforcesingleikesa'. Fixes an interop problem with strongswan
if make-before-break is enabled.
ok patrick@
|
|
'none' (disabling PFS). Fixes a bug when the initiator sends a KE
payload but the negotiation results in DH group "none".
For other DH group mismatches we send an INVALID_KE notify, for 'none'
we can just ignore the KE payload.
ok patrick@
|
|
|
|
|
|
|
|
|
|
ok patrick@
|
|
ok patrick@
|
|
ok markus@
|
|
|
|
ibuf_dup().
ok patrick@
|
|
ok patrick@
|
|
The new 'iface' config option can be used to specify an interface
for the virtual addresses received from the peer.
Routes are automatically added based on the configured flows.
Input from sthen@ and claudio@
ok patrick@
|
|
ok markus@
|
|
sure peers can keep their previously assigned addresses.
ok patrick@
|
|
'group none'. We currently send no transform of type DH by default,
which should be equivalent to explicitly sending a single DH transform
of type 'none'. However, the proposal matching logic had a bug where
these two would not match, effectively breaking the ability to negotiate
optional PFS. This commit fixes the bug but continues to send
no DH proposal by default to remain backwards compatible with older
versions.
ok patrick@
|
|
to avoid name clashes.
ok patrick@
|
|
checks where needed.
ok markus@ patrick@
|
|
Fixes a bug where policies that only differ in their flow
configuration lead to a handshake error.
Found by claudio@
ok patrick@
|
|
instead of throwing an error. Fixes a bug where flows without
'dynamic' were skipped when 'config/request address' is used.
ok patrick@
|
|
ok patrick@
|
|
From Ryan Kavanagh
ok patrick@
|
|
ok markus@
|
|
exchange. In the case of an invalid KE error, retry
CREATE_CHILD_SA exchange with different group instead
of restarting the full IKE handshake.
ok markus@
|
|
to make sure the negotiated SA matches the selected policy.
ok patrick@
|