Commit Graph
100 Commits
Author SHA1 Message Date
Martin Willi 891e69944f implemented DoS protection with cookies and IP filter 2007-03-29 11:26:55 +00:00
Martin Willi 361e6df8c1 fixed task manager message id bug for cookies 2007-03-29 11:08:30 +00:00
Martin Willi a6bdc731b1 added retry limit for IKE_SA_INIT (give up after 5 cookie failures) 2007-03-29 11:07:49 +00:00
Martin Willi 25eaae17db added chunk_from_thing() macro 2007-03-29 11:06:59 +00:00
Martin Willi 4deb89485c removed send_queue, handled internally in sender_t know
do header parsing in receiver, ready for cookie integration
2007-03-28 13:34:02 +00:00
Martin Willi 077a6fff95 implemented a simple IP blocking filter in receiver thread 2007-03-28 09:23:03 +00:00
Martin Willi 9179ac9667 merged changes from eap-aka trunk 2007-03-28 07:32:54 +00:00
Martin Willi c00840478e fixed state and logging of IKE_SA when using EAP authentication 2007-03-27 16:11:29 +00:00
Martin Willi e23a59f635 fixed deferred CHILD_SA rekeying while IKE_SA rekeying in progress 2007-03-27 13:32:12 +00:00
Martin Willi b34f86f545 giving up EAP-SIM authentication after 3 failed challenges 2007-03-27 06:24:17 +00:00
Martin Willi 59c5a85313 updated Changelog/TODO 2007-03-22 08:07:14 +00:00
Martin Willi 92275b0981 added CHILD_SA compare check for rekeying collisions 2007-03-22 07:34:42 +00:00
Martin Willi ddd1b31595 adjusted rekey-retry delay and jitter 2007-03-21 16:12:16 +00:00
Martin Willi 4315f5c88b fixed some rekey collision issues
added retry with jitter when rekeying fails
2007-03-21 16:11:14 +00:00
Martin Willi 6de7cf4e2f fixed SPI byte order 2007-03-21 16:09:27 +00:00
Martin Willi eef0859043 fixed child rekey collision
implemented ike rekey collision
2007-03-21 14:42:49 +00:00
Martin Willi 195ada0b4b handling of CHILD_SA rekeying collisions 2007-03-21 09:25:36 +00:00
Martin Willi 403f8fd300 fixed inproper delete of CHILD_SA 2007-03-21 07:01:14 +00:00
Martin Willi 128ca073d2 prevent from initiating to %any 2007-03-21 07:00:04 +00:00
Martin Willi 0f33e8264a fixed some exchange collisions (except IKE/CHILD rekeying) 2007-03-20 16:13:21 +00:00
Martin Willi e70d5576fa fixed statusall rekey time jitter bug (again) 2007-03-20 14:56:41 +00:00
Martin Willi 39a268b867 fixed CHILD_SA rekeying time in statusall 2007-03-20 12:29:42 +00:00
Martin Willi 37c6ebb78b fixed nat detection bug 2007-03-20 12:25:08 +00:00
Martin Willi 9b45443dc2 updated NEWS, TODO and man page 2007-03-20 08:59:03 +00:00
Martin Willi fdb9b2bdde respecting "keyingtries" parameter on IKE_SA setup 2007-03-20 08:16:16 +00:00
Martin Willi 1edf116cfd cleanups
fixed reset()
2007-03-20 08:15:53 +00:00
Martin Willi 44cd2bf0fa not installing a route when policy gets updated 2007-03-20 08:15:18 +00:00
Martin Willi a1e5881c42 renamed keyingtries attribute 2007-03-20 08:14:18 +00:00
Martin Willi 755bdcc274 adjusted loglevels 2007-03-20 08:13:54 +00:00
Martin Willi e59bd409ab always update reqid on policy install, fixes dpdaction=hold issue 2007-03-19 10:00:56 +00:00
Martin Willi ccf96c7e43 EAP-SIM cleanups 2007-03-19 09:59:17 +00:00
Martin Willi e05a0b765a fixed CHILD_SA rekeying/delete bug on 64bit machines
removed obsolete methods in delete_payload
2007-03-19 08:04:37 +00:00
Martin Willi d560c849e3 added --with-sim-reader option to configure script
some cleanups in eap_sim
2007-03-14 15:39:45 +00:00
Martin Willi c105696d1c removed dublicated code in eap_authenticator 2007-03-14 15:25:00 +00:00
Martin Willi 05d1685372 fixed carry bug in FIPS prf 2007-03-14 14:54:23 +00:00
Martin Willi 1e93d77153 version number selection fix
some cleanups
2007-03-14 11:20:34 +00:00
Martin Willi edfabed069 cleaned up and fixed DPD handling code 2007-03-14 11:07:12 +00:00
Martin Willi b857118bd7 removed cfg-payload dns test code 2007-03-14 11:04:31 +00:00
Martin Willi b0f24449dd added EAP-SIM authentication
client side only
  uses an external SIM reader library specified with SIM_READER_LIB
  untested
2007-03-13 15:01:02 +00:00
Martin Willi d2940fd78c not detaching from bus when IKE_SA_INIT is retried 2007-03-13 14:55:53 +00:00
Martin Willi 7cec30ad8d added AES-192/256 proposals to IKE 2007-03-13 14:55:03 +00:00
Martin Willi 3bc0b1a88d added generic EAP_IDENTITY client implementation using peers IKEv2 ID 2007-03-13 14:54:24 +00:00
Martin Willi 96567fc8a2 fixed compilation warnings and errors when not using curl 2007-03-13 14:52:18 +00:00
Martin Willi f5fbad4a62 fixed memleaks when using EAP authentication
fixed configuration payloads when using EAP
2007-03-08 22:56:14 +00:00
Martin Willi 5744d3e777 fixed payload order (again) 2007-03-08 20:21:17 +00:00
Martin Willi 1216db7e8b including peers certificate when his certreq is empty 2007-03-08 20:19:24 +00:00
Martin Willi e5a7f1cd08 implemented cookies as initiator
proper logging of notifies in IKE_SA setup
2007-03-08 20:18:39 +00:00
Martin Willi bb32e76c3a disabling routing for IPv6, does not work correctly 2007-03-08 20:17:34 +00:00
Martin Willi 8b8dd69dee some cleanups
not installing %any DNS servers
2007-03-08 16:58:59 +00:00
Martin Willi 3b7fdcf6c6 fixed payload order in IKE_AUTH 2007-03-08 15:59:21 +00:00
Martin Willi 069f01cfef removed SHA2 kernel proposals from default, the kernel doesn't support them yet 2007-03-08 15:18:51 +00:00
Martin Willi f007a70055 allocation fixes, not complete 2007-03-08 14:41:30 +00:00
Martin Willi 2c7fe7f530 handling "No policy found" properly 2007-03-08 14:41:09 +00:00
Martin Willi 0cde6c412b added more debugging output for policy lookup
returning a (dummy) policy even when TS does not match, so we can properly send a TS_UNACCEPTABLE
2007-03-08 14:40:15 +00:00
Martin Willi 9b8b3e5f5c fixed CHILD_SA creation within existing IKE_SA 2007-03-08 12:28:10 +00:00
Martin Willi 49e8ac052d ported changes from EAP branch, renabling EAP framework 2007-03-08 00:27:43 +00:00
Martin Willi 3c6337793f added (not yet supported) sha2 algorithms to kernel
only adding a route if using tunnel mode
2007-03-08 00:17:57 +00:00
Martin Willi 9aa20fdae8 added SHA2 MAC and PRF to default proposal 2007-03-08 00:16:33 +00:00
Martin Willi ea235d388e added more debug output 2007-03-08 00:15:15 +00:00
Martin Willi 3243e90188 experimental SHA2 HMAC and PRF implementations 2007-03-08 00:14:17 +00:00
Martin Willi 2540992a06 prevent from initiating multiple exchanges the same time 2007-03-06 22:17:53 +00:00
Martin Willi 915c065d61 updated apidoc documentation 2007-03-06 22:17:21 +00:00
Martin Willi c676f2e2a6 fixed notify handling in IKE_AUTH
moved nonce payload before TS in CHILD_SA setup
2007-03-06 20:58:39 +00:00
Martin Willi f2d4ec5639 moved REKEY_SA notify to the beginning of the message 2007-03-06 20:56:58 +00:00
Martin Willi 9de7540eee fixed traffic selector redundancy removal code (not completely tested) 2007-03-06 20:55:19 +00:00
Martin Willi ddae0f9673 sending an SPI of 0 as responder when IKE_SA_INIT fails 2007-03-06 13:06:47 +00:00
Martin Willi 6e1be42744 some cleanups
not assigning %any virtual IPs to peer anymore
2007-03-05 22:07:36 +00:00
Martin Willi 02b3101b67 fixed double free bug 2007-03-05 22:02:14 +00:00
Martin Willi 5bf1be3c9f fixed ID selection bug when peer doesn't include IDr payload
allowing vendor ID in any messag
2007-03-05 15:22:50 +00:00
Martin Willi 373b8a607f fixed netlink socket receiver code
implemented interface enumeration code with netlink: no getifaddrs reqired anymore
2007-03-03 14:56:24 +00:00
Martin Willi 285bbed595 refactored kernel interface, works reliable again 2007-03-03 13:04:07 +00:00
Martin Willi 1d51abb71b implemented get_iface() using RTM_GETADDR
added support for multi-header netlink messages
really ugly now, need a lot of refactoring
2007-03-02 17:08:38 +00:00
Martin Willi ebc59e3bb8 added debuggin for interface lookup 2007-03-01 12:53:20 +00:00
Martin Willi 3c940a2e4b fixed address lookup when !using getifaddrs() 2007-03-01 12:35:21 +00:00
Martin Willi 8f03147376 added firewalling support when using virtual IPs 2007-03-01 12:31:58 +00:00
Martin Willi 0c8aba6771 added support for 0.0.0.0/0 traffic selectors
fixed routing to make correct 0.0.0.0/0 routes
2007-03-01 11:42:08 +00:00
Martin Willi 9362e063b9 fixed reauthentication when connections other is %any 2007-02-28 14:17:31 +00:00
Martin Willi c60c7694d2 merged tasking branch into trunk 2007-02-28 14:04:36 +00:00
Martin Willi a7a5e834e3 fixed big endian bug in md5 hasher 2007-02-28 07:20:16 +00:00
Martin Willi a02ae4ccd5 using "left" as my host per default, swapping to "right" when needed 2007-02-15 12:13:18 +00:00
Martin Willi 2c6584c0d2 respecting source address when sending packets 2007-02-15 11:35:10 +00:00
Martin Willi cda642a152 removed eap aka module due nda 2007-02-13 15:19:30 +00:00
Martin Willi f27f6296e6 merged EAP framework from branch into trunk
includes a lot of other modifications
2007-02-12 15:56:47 +00:00
Martin Willi 7006a51efc removed my time_t printf handler patch, applied the one of andreas (64bit save) 2007-02-08 15:22:21 +00:00
Martin Willi 61c0e0f220 fixed printf() hooks for time 2007-02-08 14:31:59 +00:00
Martin Willi 7995489a6d added support for NULL encryption in ESP 2007-02-08 13:54:42 +00:00
Martin Willi eb9a3fd6f0 be more liberal in accepting notifies with a protocol id 2007-02-08 13:53:41 +00:00
Martin Willi 9425da1816 include NO_EXT_SEQUENCE_NUMBER in default proposal 2007-02-08 13:31:31 +00:00
Martin Willi 61dd20f9e3 added address listing without getifaddrs for uclibc (only IPv4 yet) 2007-02-02 09:58:59 +00:00
Martin Willi 1908670f99 added threads to support multiple simultaneous stroke requests 2007-02-02 07:30:19 +00:00
Martin Willi d3032a9a82 renamed all static clone() functions to avoid naming conflicts with uclibc 2007-02-01 15:24:10 +00:00
Martin Willi 42dcd01ffe sending proper signal to the bus when detecting a dead peer 2007-02-01 15:23:31 +00:00
Martin Willi 1f0b770b0a updated changelog for 4.0.6 2007-01-08 15:42:17 +00:00
Martin Willi a622c99240 fixed crash when CA for certrequest not found 2007-01-08 13:40:36 +00:00
Martin Willi e3f83e738d fixed build when !using smartcard 2007-01-08 13:39:29 +00:00
Martin Willi 6a4be80d37 removed unused debugging code 2007-01-08 08:03:40 +00:00
Martin Willi 5903179b0f updated NEWS for 4.0.6 2007-01-08 07:36:53 +00:00
Martin Willi cf86671048 readded tranport mode test using new status output 2007-01-08 07:36:20 +00:00
Martin Willi 032c31c4ae removed dublicated host2host-transport test 2007-01-08 07:35:26 +00:00
Martin Willi 2dc9d7551b fixed reauthentication when using %any hosts 2007-01-08 07:32:39 +00:00