Commit Graph
100 Commits
Author SHA1 Message Date
Martin Willi 4cb9d7a758 further fixed for mobike roaming 2007-06-25 13:26:02 +00:00
Martin Willi 17d92e9732 further MOBIKE stuff:
kernel properly reports network reconfiguration and informs all IKE_SAs
  MOBIKE in IKE_AUTH: MOBIKE_SUPPORTED notify and address exchange
  reestablishment of IKE_SAs on network reconfiguration kinda works
  not stable yet!
2007-06-21 15:25:28 +00:00
Martin Willi c25ef47702 added MOBIKE rfc 2007-06-20 10:12:11 +00:00
Martin Willi cbbb71c4ac don't modify des/3des input key anymore 2007-06-19 07:56:28 +00:00
Martin Willi 6835280041 fixed virtua IP: adding virtual IP to interface address list cache directly
corrected debug targets
2007-06-19 06:20:33 +00:00
Martin Willi 3b04350ab2 added extensions management to IKE_SA
fixed NATD payload (port) when using route lookup
2007-06-18 10:32:01 +00:00
Martin Willi 7068410b6f source address lookup in kernel interface
use it for NAT detection if no source address known from config
  support for %any...%any connections
2007-06-18 07:25:58 +00:00
Martin Willi 209c2e9049 support for left=%any change our address dynamically 2007-06-18 05:57:59 +00:00
Martin Willi ca68a75eaf increased receive buffer to handle more interfaces 2007-06-18 05:56:18 +00:00
Martin Willi 08a8f4496f implemented more flexible iterator hook API
kernel interface handles interface changes and updates address list
2007-06-15 13:23:18 +00:00
Martin Willi 02b3ec0a10 implemented address change notification (for MOBIKE)
implemented up to date address list cache to list interfaces
2007-06-14 15:16:15 +00:00
Martin Willi fede28be8b fixed memleak when initiating to %any 2007-06-14 08:44:19 +00:00
Martin Willi 04f4e82d53 added missing files to the last commit 2007-06-14 08:17:23 +00:00
Martin Willi 26424f03c3 proper reauthentication:
IKE_SA is closed completely before the new is initiated, 
  resolves some issues when a dynamic IP is requested from a pool
2007-06-14 08:13:05 +00:00
Martin Willi eda454a261 case insensitive identification_t.equals() for FQDN and RFC822ADDR 2007-06-14 07:02:01 +00:00
Martin Willi 424e0c467e ported interfaces to new threading functions (incomplete) 2007-06-11 14:24:32 +00:00
Martin Willi 5e564f2bff added setsid() to properly detach from console 2007-06-11 12:21:12 +00:00
Martin Willi 432b298e40 documentation fixes and updates 2007-06-11 12:11:41 +00:00
Martin Willi 9fe1a1ca76 introduced callback_job:
simple asynchronous method invocation
  use daemons thread pool for all threads
  proper cancellation and cleanups
  cancellation mechanism to dynamically unload multithreaded code
unified event_queue and scheduler => scheduler
unified job_queue and thread_pool => processor
removed job_type_t, not really needed
fixes here, there and everywhere
2007-06-11 10:57:19 +00:00
Martin Willi 9cc7a29786 disabling leak detective at runtime by setting LEAK_DETECTIVE_DISABLE env var 2007-06-08 07:21:03 +00:00
Martin Willi 8e481be97a included patch from Rene Mayrhofer to respect DESTDIR in make install 2007-06-06 05:55:18 +00:00
Martin Willi 998ca0ea9c updated NEWS for 4.1.3 2007-05-25 11:06:03 +00:00
Martin Willi 532137e70f fixed man page 2007-05-25 07:19:49 +00:00
Martin Willi 8e79d8d3de updated man-page for left/rightsourceip 2007-05-25 07:15:18 +00:00
Martin Willi 1f2a0f8098 removed paranoid module checking 2007-05-25 05:45:41 +00:00
Martin Willi 1fa9bdc4fb added compatibility names (pluto) for sha2 algorithms (sha2_256, ...) 2007-05-25 05:44:53 +00:00
Martin Willi 76042f8471 proper thread cancellation when using the charon->interfaces 2007-05-23 09:08:13 +00:00
Martin Willi 0f6b068259 fixed crash when using 0.0.0.0/0 subnets 2007-05-23 06:33:22 +00:00
Martin Willi b1450b48a0 removed misleading warning when rekeying 2007-05-23 06:32:41 +00:00
Martin Willi 16878f6823 support for virtual IP definition on client side:
if leftsourceip is defined, it is requested.
  server may define rightsourceip=%config to accept any,
  or it may overwrite it using rightsourceip.
  if server does not return an IP, client enforces its configured leftsourceip.
2007-05-22 13:49:31 +00:00
Martin Willi a06c068191 fixed memleak 2007-05-22 09:38:42 +00:00
Martin Willi 905438735a using local address as gateway in installed routes 2007-05-22 07:47:16 +00:00
Martin Willi bcd887781a removed route_job, handled all in interface_manager 2007-05-16 08:49:10 +00:00
Martin Willi ce27ac8012 routing/unrouting through interface 2007-05-16 08:32:15 +00:00
Martin Willi 933521270d removed dead folder 2007-05-16 06:42:52 +00:00
Martin Willi 1387e64af1 working dummy for NetworkManager DBUS interface
more a tech demo
2007-05-14 13:22:04 +00:00
Martin Willi a6a039aa10 simplified capability dropping 2007-05-09 13:12:06 +00:00
Martin Willi 3cd3f48428 properly implemented interface_managers initiate, terminte_[ike|child]
proper thread release when stroke is CTRL+C'ed
fixed some permission issues
2007-05-09 12:33:08 +00:00
Martin Willi d08b27799a properly ignoring signals rised by a thread which is in listening state 2007-05-08 12:58:33 +00:00
Martin Willi 6874bf698c changing UID/GID after startup of pluto/charon
added --with-uid/--with-gid configure option
2007-05-07 12:38:46 +00:00
Martin Willi a4a3884c83 extended interface_manager (more work needed here) 2007-05-03 14:22:52 +00:00
Martin Willi 586b7474a2 allow to have listening state TRUE while sending singal ourself 2007-05-03 14:22:15 +00:00
Martin Willi 66560f4267 reducing capabilities of the threads to a minimum
proper flush of pending packets on daemon shutdown
adding local address as gateway address in dynamic route
2007-05-03 14:21:22 +00:00
Martin Willi 3d63b7639e setting MALLOC_CHECK_=0 for charon to not use glibc's malloc checker 2007-05-02 09:59:47 +00:00
Martin Willi 0ccb275a93 added more API documentation to backends/interfaces 2007-04-30 10:23:01 +00:00
Martin Willi a84fb01b96 restructuring of configuration backends
added propotypes of new control interfaces (xml & dbus)
introduced loadable:
  configuration backends
  control interfaces
using pluggable modules as in EAP
2007-04-27 14:25:08 +00:00
Martin Willi bb1030cb3d removed eap sim config 2007-04-27 14:11:18 +00:00
Martin Willi 594e830eb7 forcing proper autoload of af_key kernel module in charon 2007-04-27 07:43:42 +00:00
Martin Willi d931f4658e updated news 2007-04-26 07:58:50 +00:00
Martin Willi 37fb03554b updated NEWS 2007-04-26 06:33:03 +00:00
Martin Willi f47e450be9 properly checking received IDr as initiator 2007-04-25 06:06:13 +00:00
Martin Willi c80e8ba11a added support for AES-XCBC in kernel using e.g. esp=aes128-aesxcbc (>=linux-2.6.20) 2007-04-23 13:00:20 +00:00
Martin Willi 17712ea866 fixed CHILD_SA proposal selection when not using DH exchange 2007-04-23 12:59:10 +00:00
Martin Willi 63c477244d fixed keyingtries 2007-04-23 12:19:23 +00:00
Martin Willi b7ade11b16 updated man page: proposals using PFS 2007-04-19 14:22:53 +00:00
Martin Willi cd115716fe updated TODO 2007-04-19 14:14:01 +00:00
Martin Willi 0706c39cda added support for EAP methods not establishing an MSK 2007-04-19 12:37:48 +00:00
Martin Willi 04a7b6d868 added most problematic linux headers to distribution
other/real linux header may be selected using --with-linux-headers=dir
2007-04-19 08:59:36 +00:00
Martin Willi 1fd5383e61 added PDF support for CHILD_SAs
support for INVALID_KE_PAYLOAD negotiation for rekeying
2007-04-19 08:02:19 +00:00
Martin Willi 41ab00da6b fixed memleak in IKE_SA manager 2007-04-19 07:04:35 +00:00
Martin Willi 217e985b41 moved initiate() code to the generic controller_t class 2007-04-16 12:52:49 +00:00
Martin Willi 418dbd6243 cloning %any ID without zero-byte memleak 2007-04-16 08:37:52 +00:00
Martin Willi dd3b7b7147 removed version numbers in autogen 2007-04-16 08:34:22 +00:00
Martin Willi c4d9504a6b added missing #include 2007-04-12 11:33:43 +00:00
Martin Willi 9e3e46a52c updated uClibc note in HACKING 2007-04-12 11:33:28 +00:00
Martin Willi a1b2d82db0 removed %Q, %Y, %W, %U printf handlers 2007-04-12 09:44:26 +00:00
Martin Willi db97fd8298 not using %m printf handler, as late errno interpration over bus may be problematic 2007-04-12 08:52:36 +00:00
Martin Willi 1dad08b035 fixed DPD delay in peer_cfg 2007-04-12 06:20:42 +00:00
Martin Willi 092958c89d fixed payload debug message 2007-04-12 06:20:14 +00:00
Martin Willi 5f088665ad removed IKE_SA_ID (%J) printf hook, two more to go 2007-04-11 13:01:08 +00:00
Martin Willi 3c662c30ee cleanup and fixes for status & statusall 2007-04-11 12:43:52 +00:00
Martin Willi 015912016c using %V time delta for rekeying times 2007-04-11 12:33:02 +00:00
Martin Willi a3ce4bc214 removed IKE_SA (%K) and CHILD_SA (%P) printf handlers, 3 more to go 2007-04-11 12:14:51 +00:00
Martin Willi cd08b6880b removed %M printf handler, five more to go 2007-04-11 09:12:21 +00:00
Martin Willi 82240938ca fixed virtual ip configuration bug introduced with the previous commit 2007-04-11 08:34:21 +00:00
Martin Willi f925b42a5d two %any IDs are equal 2007-04-11 07:43:23 +00:00
Martin Willi 3b138b8422 cleaned up apidoc
added some comments
removed configuration.[ch], as it does not make sense like it is
2007-04-11 07:20:39 +00:00
Martin Willi 2ed8cee162 added script for sed'ing thhrough all source files 2007-04-11 07:19:17 +00:00
Martin Willi de55c6895f accepting stroke initiation by a name of a child_cfg 2007-04-11 05:58:38 +00:00
Martin Willi 00ccb87671 requesting the same virtual IP on reauthentication 2007-04-10 15:02:57 +00:00
Martin Willi d3e1da2378 proper notification handling 2007-04-10 15:00:51 +00:00
Martin Willi e0fe765152 restructured file layout
new configuration structure:
  peer_cfg: configuration related to a peer (authenitcation, ...=
  ike_cfg: config to use for IKE setup (proposals)
  child_Cfg: config for CHILD_SA (proposals, traffic selectors)
  a peer_cfg has one ike_cfg and multiple child_cfg's
stroke now uses fixed count of threads
2007-04-10 06:01:03 +00:00
Martin Willi 80b7162531 improved log output for checkout_by_message() 2007-04-04 07:11:12 +00:00
Martin Willi ed284399cd updated NEWS, TODO 2007-03-30 12:49:19 +00:00
Martin Willi 73390cce24 removed unneded includes 2007-03-30 12:24:31 +00:00
Martin Willi 3374c8b1c8 using IFA_LOCAL for interface enumeration to support ppp links 2007-03-30 09:21:48 +00:00
Martin Willi b9e363f86f added IKE_SA_INIT retransmission detection
fixed thread exhaustion when IKE_SA is blocked for a longer time
2007-03-29 14:20:10 +00:00
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