Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | eap-mschapv2: Provide EAP-MSCHAPv2 username as EAP-Identity | Tobias Brunner | 2015-11-12 | 1 | -2/+17 | |
| | | ||||||
| * | auth-cfg: Prefer merged rules over existing ones when moving them | Tobias Brunner | 2015-11-12 | 1 | -3/+3 | |
|/ | | | | | | This is particularly important for single valued rules (e.g. identities). When copying values this is already handled correctly by the enumerator and add(). | |||||
* | android: Add some (older) unit tests | Tobias Brunner | 2015-11-12 | 3 | -0/+381 | |
| | ||||||
* | android: Properly handle shorter types in BufferedByteWriter | Tobias Brunner | 2015-11-12 | 1 | -0/+86 | |
| | | | | | | | | In Java all integer types are signed, when a negative integer is casted to a larger type (e.g. int to long) then due to sign extension the upper bytes are not 0. So writing that value to a byte array does not produce the expected result. By overloading the putX() methods we make sure to upcast the values correctly. | |||||
* | android: Migrate to the Gradle build system | Tobias Brunner | 2015-11-12 | 139 | -71/+327 | |
| | | | | | This uses a manual way to trigger the NDK build (the default with on-the-fly Android.mk files does not work for us). | |||||
* | android: Provide a fallback for sigwaitinfo() | Tobias Brunner | 2015-11-12 | 1 | -1/+29 | |
| | ||||||
* | android: Replace AndroidConfigLocal.h with a header in utils/compat | Tobias Brunner | 2015-11-12 | 4 | -5/+16 | |
| | ||||||
* | android: Fix build after updating Linux headers | Tobias Brunner | 2015-11-12 | 3 | -3/+0 | |
| | | | | | | | | Since we don't use the kernel-netlink plugin anymore and the headers in the NDK are reasonably recent, we don't need this anymore (at least when building the app). Fixes #1172. | |||||
* | Merge branch 'tkm-spi-label' | Tobias Brunner | 2015-11-11 | 9 | -22/+279 | |
|\ | | | | | | | | | Adds the charon-tkm.spi_label and charon-tkm.spi_mask options to encode a specific value/label in otherwise randomly generated IKE SPIs. | |||||
| * | charon-tkm: Register SPI generator callback | Adrian-Ken Rueegsegger | 2015-11-11 | 1 | -0/+4 | |
| | | | | | | | | Set get_spi callback of IKE SA manager to TKM-specific implementation. | |||||
| * | charon-tkm: Implement SPI generator | Adrian-Ken Rueegsegger | 2015-11-11 | 2 | -0/+134 | |
| | | | | | | | | | | The get_spi callback returns a random SPI with a label encoded according to the spi_label and spi_mask parameters read from the strongswan.conf. | |||||
| * | settings: Add settings_value_as_uint64() helper function | Tobias Brunner | 2015-11-11 | 3 | -0/+58 | |
| | | ||||||
| * | ike-sa-manager: Allow plugins to provide IKE SPIs via a callback | Tobias Brunner | 2015-11-11 | 2 | -11/+54 | |
| | | | | | | | | | | Plugins must depend on `libcharon-sa-managers` to ensure the manager exists. | |||||
| * | libcharon: Publish IKE_SA/CHILD_SA managers as custom plugin feature | Tobias Brunner | 2015-11-11 | 1 | -11/+29 | |
|/ | ||||||
* | ikev1: Also use message hashes for Quick Mode for the early retransmission check | Tobias Brunner | 2015-11-11 | 1 | -4/+8 | |
| | | | | | | | | | | We already did so during Phase 1 but because all three Quick Mode message have the same message ID we occasionally dropped the third message as retransmit, so we do it there too. For INFORMATIONAL and TRANSACTION exchanges we don't expect more than one inbound message with the same message ID so we still use them there. Fixes #1198. | |||||
* | testing: Check for leases in swanctl/ip-pool scenario | Andreas Steffen | 2015-11-11 | 1 | -0/+2 | |
| | ||||||
* | Version bump to 5.3.4dr35.3.4dr3 | Andreas Steffen | 2015-11-10 | 1 | -1/+1 | |
| | ||||||
* | testing: Fixed some more timing issues | Andreas Steffen | 2015-11-10 | 10 | -8/+10 | |
| | ||||||
* | kernel-netlink: Allow IPsec policies to replace shunt policies | Tobias Brunner | 2015-11-10 | 1 | -3/+3 | |
| | | | | | Shunt policies don't have a reqid set, so we allow unequal reqids in this particular case (i.e. if one of the reqids is 0). | |||||
* | kernel-pfkey: Make absolutely sure we always delete the right policy cache entry | Tobias Brunner | 2015-11-10 | 1 | -3/+8 | |
| | ||||||
* | kernel-netlink: Make absolutely sure we always delete the right policy cache ↵ | Tobias Brunner | 2015-11-10 | 1 | -2/+9 | |
| | | | | entry | |||||
* | kernel-interface: Pass the same data to del_policy() that was passed to ↵ | Tobias Brunner | 2015-11-10 | 12 | -150/+162 | |
| | | | | | | | add_policy() The additional data can be helpful to identify the exact policy to delete. | |||||
* | kernel-netlink: Remove the unused policy_history flag | Tobias Brunner | 2015-11-10 | 1 | -41/+20 | |
| | | | | This was used with pluto, which had its own policy tracking. | |||||
* | kernel-interface: Return bool for kernel interface registration | Thomas Egerer | 2015-11-10 | 4 | -20/+40 | |
| | | | | | | | | If the (un)registering of a kernel interface (net or ipsec) fails, the plugin loader will never know, since the appropriate functions always returns TRUE. By making the (un)register functions return a boolean value, the loader can detect a failure during initializing the kernel interface and abort charon startup if desired. | |||||
* | trap-manager: Also clean up remote address in error cases | Tobias Brunner | 2015-11-10 | 1 | -0/+2 | |
| | | | | Fixes #1201. | |||||
* | traffic-selector: Don't end printf'ed list of traffic selectors with a space | Tobias Brunner | 2015-11-10 | 11 | -22/+21 | |
| | ||||||
* | swanctl: Add option to query leases with --get-pools | Tobias Brunner | 2015-11-10 | 1 | -3/+29 | |
| | ||||||
* | vici: Add option to query leases of pools | Tobias Brunner | 2015-11-10 | 2 | -3/+36 | |
| | | | | | We could later perhaps add filter parameters similar to those of the `ipsec leases` command (pool name/virtual IP). | |||||
* | swanctl: List virtual IPs in --list-sas | Tobias Brunner | 2015-11-10 | 1 | -1/+11 | |
| | ||||||
* | vici: Return local and remote virtual IPs when listing SAs | Tobias Brunner | 2015-11-10 | 2 | -0/+36 | |
| | ||||||
* | socket-dynamic: Refactor setting source address when sending messages | Tobias Brunner | 2015-11-09 | 1 | -32/+62 | |
| | | | | Basically the same change as the one for the socket-default plugin. | |||||
* | socket-default: Refactor setting source address when sending messages | Tobias Brunner | 2015-11-09 | 1 | -46/+107 | |
| | | | | | | | | | | | This ensures we don't pass data (via msg_control) defined in a different scope to sendmsg(). Actually, some compilers (e.g. GCC 5.2.1) might optimize the memcpy() call away causing the packets not to get sent from the intended source address. It also makes the code clearer than with all these ifdefs. Fixes #1171. | |||||
* | socket-default: Refactor retrieval of destination address of received packets | Tobias Brunner | 2015-11-09 | 1 | -39/+89 | |
| | | | | This makes the code a bit clearer than with the interleaved ifdefs. | |||||
* | Merge branch 'medsrv-js-css' | Tobias Brunner | 2015-11-09 | 8 | -376/+18 | |
|\ | | | | | | | | | | | | | Removes the outdated version of MooTools and actually all JavaScript code as that stuff can now be done with CSS directly. Fixes #1190. | |||||
| * | medsrv: Replace remaining JavaScript code with CSS | Tobias Brunner | 2015-11-09 | 4 | -371/+14 | |
| | | ||||||
| * | medsrv: Replace the JavaScript focus() calls with HTML5's autofocus | Tobias Brunner | 2015-11-09 | 5 | -5/+4 | |
|/ | ||||||
* | conftest: Add configuration option to report milliseconds in file logger | Tobias Brunner | 2015-11-09 | 1 | -2/+4 | |
| | ||||||
* | file-logger: Add option to print milliseconds within the current second ↵ | Tobias Brunner | 2015-11-09 | 5 | -13/+40 | |
| | | | | | | | | after timestamp For this to look right time_format should end with %S or %T. Closes strongswan/strongswan#18. | |||||
* | ike-natd: Create fake NAT-D payloads in a more static way | Tobias Brunner | 2015-11-09 | 1 | -20/+8 | |
| | | | | | | | | | | | | | | | In some scenarios an IKE_SA might get restarted multiple times (e.g. due to retransmits and delayed INVALID_KE_PAYLOAD notifies) so that two IKE_SA_INIT messages might be sent that only differ in the previously randomly generated NAT_DETECTION_SOURCE_IP payload. This could cause an authentication failure on the responder if the two peers don't use the same IKE_SA_INIT message in their InitiatorSignedOctets. While the payload is generated in a reproducible way it will still change when the daemon is restarted, which should make detecting the payloads as fake a bit harder (compared to e.g. just using 0.0.0.0:0 as address). Fixes #1131. | |||||
* | testing: Added Debian 7.9 to IMV database5.3.4dr2 | Andreas Steffen | 2015-11-09 | 1 | -0/+48 | |
| | ||||||
* | testing: Reduce runtime of all tests that use SQLite databases by storing ↵ | Tobias Brunner | 2015-11-09 | 161 | -312/+319 | |
| | | | | them in ramfs | |||||
* | testing: tnc/tnccs-20-hcd-eap scenario does not use SWID IMV/strongTNC | Tobias Brunner | 2015-11-09 | 4 | -114/+1 | |
| | ||||||
* | testing: Add test config to create and remove a directory for DBs stored in ↵ | Tobias Brunner | 2015-11-09 | 1 | -1/+23 | |
| | | | | ramfs | |||||
* | testing: Improve runtime of TNC tests by storing the SQLite DB in ramfs | Tobias Brunner | 2015-11-09 | 14 | -9/+30 | |
| | | | | This saves about 50%-70% of the time needed for scenarios that use a DB. | |||||
* | testing: Fix test constraints in ikev2/rw-ntru-bliss scenario | Tobias Brunner | 2015-11-09 | 1 | -4/+4 | |
| | | | | | Changed with a88d958933ef ("Explicitly mention SHA2 algorithm in BLISS OIDs and signature schemes"). | |||||
* | testing: Use sha3 plugin in ikev2/rw-cert scenario | Andreas Steffen | 2015-11-09 | 3 | -3/+3 | |
| | ||||||
* | mediation: Reschedule initiate mediation job if SA is not yet found | Tobias Brunner | 2015-11-09 | 1 | -0/+4 | |
| | | | | | | | | | If the job gets queued for a newly created IKE_SA it might not yet be checked in when the job is running, reschedule the job in that case. This should fix the two p2pnat test scenarios, which occasionally failed because one of the peers did not initiate the connection to the mediation server. | |||||
* | testing: Report the actual strongSwan and kernel versions | Tobias Brunner | 2015-11-09 | 1 | -0/+6 | |
| | ||||||
* | testing: Record strongSwan version when building from tarball | Tobias Brunner | 2015-11-09 | 1 | -0/+1 | |
| | ||||||
* | testing: Record strongSwan version when building from source tree | Tobias Brunner | 2015-11-09 | 1 | -0/+11 | |
| |