Tobias Brunner
224ab4c59b
socket-default plugin allocates random ports if configured to 0.
...
Also added strongswan.conf options to change the ports.
2012-08-08 15:30:27 +02:00
Tobias Brunner
b223d517c8
Replaced usages of CHARON_*_PORT with calls to get_port().
2012-08-08 15:12:25 +02:00
Tobias Brunner
a7babe25ee
Added get_port() method to socket_t to learn the listening port.
2012-08-08 15:12:25 +02:00
Tobias Brunner
896941d365
Improved how NAT-T keepalives are handled in sockets/receiver.
2012-08-08 15:12:24 +02:00
Tobias Brunner
e49abcede0
Let kernel interfaces decide how to enable UDP decapsulation of ESP packets.
2012-08-08 15:12:24 +02:00
Tobias Brunner
064da8b96b
Add Non-ESP marker in sender and not individual socket plugins.
2012-08-08 15:12:24 +02:00
Tobias Brunner
65da43e2fc
Handle Non-ESP marker in receiver and not individual socket plugins.
2012-08-08 15:12:24 +02:00
Tobias Brunner
162621ed57
Moved Android specific logger to separate plugin.
...
This is mainly because the other parts of the existing android plugin
can not be built in the NDK (access to keystore and system properties are
not part of the stable NDK libraries).
2012-08-08 15:07:43 +02:00
Tobias Brunner
e7ea057fd2
Make the UDP ports charon listens for packets on (and uses as source ports) configurable.
2012-08-08 15:07:43 +02:00
Tobias Brunner
63ac6d00b0
Proper fallback if capability dropping is not available
2012-07-27 14:46:42 +02:00
Martin Willi
874f7c7e2c
Don't add ANY identity constraint to auth config, as XAuth rounds don't use one
2012-07-26 12:38:34 +02:00
Martin Willi
46df61dff7
Add an ipsec.conf leftgroups2 parameter for the second authentication round
2012-07-26 11:51:58 +02:00
Martin Willi
09e3717525
Fix EAP-MSCHAPv2 master key derivation, broken with 87dd205b
2012-07-18 16:46:05 +02:00
Martin Willi
6719889e0a
Use centralized hasher names in coupling plugin
2012-07-17 17:32:03 +02:00
Andreas Steffen
931da8202b
handled return values in tnc-pdp
2012-07-16 22:54:38 +02:00
Martin Willi
ff9e46772f
Handle PRF failures in eap-aka-3gpp2
2012-07-16 14:55:08 +02:00
Martin Willi
511f0b18b9
Cleaned up memory management and return values for encryption payload
2012-07-16 14:55:07 +02:00
Martin Willi
87dd205b61
Add a return value to hasher_t.allocate_hash()
2012-07-16 14:55:06 +02:00
Martin Willi
e185612dd8
Add a return value to keymat_v1_t.{get,update,confirm}_iv
2012-07-16 14:55:06 +02:00
Martin Willi
8bd6a30af1
Add a return value to hasher_t.get_hash()
2012-07-16 14:55:06 +02:00
Martin Willi
ce73fc19db
Add a return value to crypter_t.set_key()
2012-07-16 14:53:38 +02:00
Martin Willi
e35abbe588
Add a return value to crypter_t.encrypt
2012-07-16 14:53:37 +02:00
Tobias Brunner
e59f983160
Check rng return value when generating identity in eap-simaka-reauth plugin
2012-07-16 14:53:36 +02:00
Tobias Brunner
e37f9ac2c9
Check rng return value when generating pseudonym in eap-simaka-pseudonym plugin
2012-07-16 14:53:36 +02:00
Tobias Brunner
8beeb8e116
Check rng return value when generating nonces in eap-aka plugin
2012-07-16 14:53:36 +02:00
Tobias Brunner
18ce1bb721
Check rng return value when generating nonces in eap-sim plugin
2012-07-16 14:53:36 +02:00
Tobias Brunner
10b6ca5fb2
Check rng return value when generating RAND in eap-aka-3gpp2 plugin
2012-07-16 14:53:36 +02:00
Tobias Brunner
162f489a27
Check rng return value when generating challenges in eap-md5 and mschapv2 plugins
2012-07-16 14:53:36 +02:00
Tobias Brunner
7ae2671036
Check rng return value when generating Transaction IDs in DHCP plugin
2012-07-16 14:53:36 +02:00
Martin Willi
2d56575d52
Add a return value to signer_t.set_key()
2012-07-16 14:53:33 +02:00
Martin Willi
86d2cdc1ed
Add a return value to simaka_crypto_t.derive_keys_*()
2012-07-16 14:53:33 +02:00
Martin Willi
5fb719e0de
Add a return value to radius_message_t.sign()
2012-07-16 14:53:33 +02:00
Martin Willi
264e702109
Add a return value to simaka_message_t.generate()
2012-07-16 14:53:33 +02:00
Martin Willi
d19f0ae3e0
Don't modify the message string passed to logger, as it gets reused
2012-07-13 15:43:04 +02:00
Andreas Steffen
22e97e4f1f
updated Copyright info
2012-07-13 10:42:40 +02:00
Andreas Steffen
968c83cdeb
restrict PA-TNC messages to maximum size
2012-07-12 21:26:18 +02:00
Tobias Brunner
8d98f7fef6
Avoid that any % characters (e.g. in %any) are evaluated when logging via stroke
2012-07-12 16:58:00 +02:00
Andreas Steffen
c9c3da66a8
removed unused variables
2012-07-11 23:15:44 +02:00
Andreas Steffen
c56667f1db
fixed logging of unsupported TNCCS version
2012-07-11 17:09:05 +02:00
Andreas Steffen
1de4af66d5
PB-TNC Client sends empty CLOSE batch only in DECIDED state
2012-07-11 17:09:05 +02:00
Andreas Steffen
a287a3cdcd
have_recommendation() accepts NULL arguments
2012-07-11 17:09:05 +02:00
Andreas Steffen
b8b678a567
send empty SDATA batch if no recommendation is available yet, but in order to avoid loops only if no empty CDATA batch was received
2012-07-11 17:09:05 +02:00
Andreas Steffen
a5c79d0175
moved batch size calculation into pb_tnc_batch_t
2012-07-11 17:09:05 +02:00
Andreas Steffen
d7dcbc95a9
make maximum PB-TNC batch size configurable
2012-07-11 17:09:05 +02:00
Andreas Steffen
3a16bec8f9
limit the size of a PB-TNC batch to the maximum EAP-TNC packet size
2012-07-11 17:09:05 +02:00
Andreas Steffen
6245edf37e
eliminate message length field in EAP-TNC
2012-07-11 17:09:05 +02:00
Andreas Steffen
a04c51aea9
due to single fragment, total length does not have to be included
2012-07-11 17:09:04 +02:00
Andreas Steffen
4492ffc907
EAP-TNC does not support fragmentation
2012-07-11 17:09:04 +02:00
Martin Willi
0619ddfaa4
Refactored heavily #ifdefd capability code to its own libstrongswan class
2012-07-04 11:01:40 +02:00
Andreas Steffen
5f451f2d6a
IMCs and IMVs might depend on X.509 certificates or trusted public keys
2012-06-28 17:55:02 +02:00