Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | kernel-pfroute: Return interface to reach destination from get_nexthop() | Tobias Brunner | 2016-06-10 | 1 | -4/+13 | |
| | | ||||||
| * | kernel-pfkey: Install routes with OUT policies | Tobias Brunner | 2016-06-10 | 1 | -31/+30 | |
| | | ||||||
| * | kernel-netlink: Install routes with OUT policies | Tobias Brunner | 2016-06-10 | 1 | -25/+24 | |
| | | | | | | | | | | This is the direction we actually need routes in and makes the code easier to read. | |||||
| * | kernel-pfkey: Don't install routes for drop policies and if protocol/ports ↵ | Tobias Brunner | 2016-06-10 | 1 | -3/+10 | |
| | | | | | | | | are in the selector | |||||
| * | kernel-netlink: Don't install routes for drop policies and if protocol/ports ↵ | Tobias Brunner | 2016-06-10 | 1 | -96/+106 | |
| | | | | | | | | | | | | | | | | | | are in the selector We don't need them for drop policies and they might even mess with other routes we install. Routes for policies with protocol/ports in the selector will always be too broad and might conflict with other routes we install. | |||||
| * | kernel-pfkey: Also use interface returned by get_nexthop() for IPsec policies | Tobias Brunner | 2016-06-10 | 1 | -1/+3 | |
| | | | | | | | | | | An exception is if the local address is virtual, in which case we want the route to be via TUN device. | |||||
| * | kernel-netlink: Also use interface returned by get_nexthop() for IPsec policies | Tobias Brunner | 2016-06-10 | 1 | -1/+2 | |
| | | ||||||
| * | kernel-pfkey: Use interface to next hop for shunt policies | Tobias Brunner | 2016-06-10 | 1 | -2/+3 | |
| | | ||||||
| * | kernel-netlink: Use interface to next hop for shunt policies | Tobias Brunner | 2016-06-10 | 1 | -10/+13 | |
| | | | | | | | | | | | | Using the source address to determine the interface is not correct for net-to-net shunts between two interfaces on which the host has IP addresses for each subnet. | |||||
| * | kernel-netlink: Return outbound interface in get_nexthop() | Tobias Brunner | 2016-06-10 | 1 | -5/+43 | |
| | | ||||||
| * | kernel-net: Let get_nexthop() return an optional interface name | Tobias Brunner | 2016-06-10 | 10 | -21/+42 | |
|/ | | | | | The returned name should be the interface over which the destination address/net is reachable. | |||||
* | kernel-interface: Always set `vip` if get_address_by_ts() returns successfully | Tobias Brunner | 2016-06-10 | 1 | -0/+4 | |
| | ||||||
* | kernel-netlink: Let only a single thread work on a specific policy | Tobias Brunner | 2016-06-10 | 1 | -25/+69 | |
| | | | | | | | | | | | | | Other threads are free to add/update/delete other policies. This tries to prevent race conditions caused by releasing the mutex while sending messages to the kernel. For instance, if break-before-make reauthentication is used and one thread on the responder is delayed in deleting the policies that another thread is concurrently adding for the new SA. This could have resulted in no policies being installed eventually. Fixes #1400. | |||||
* | kernel-netlink: Add priority and refcount to policy log | Tobias Brunner | 2016-06-10 | 1 | -9/+30 | |
| | ||||||
* | kernel-netlink: Consistently print mark in log messages only if set | Tobias Brunner | 2016-06-10 | 1 | -108/+82 | |
| | ||||||
* | kernel-netlink: Provide error information for Netlink sockets | Tobias Brunner | 2016-06-10 | 3 | -19/+25 | |
| | | | | #1467. | |||||
* | kernel-netlink: Allow definition of a custom priority calculation function | Tobias Brunner | 2016-06-10 | 2 | -3/+18 | |
| | ||||||
* | Merge branch 'ipsec-sa-cfg-equals' | Tobias Brunner | 2016-06-09 | 4 | -3/+29 | |
|\ | | | | | | | | | | | | | Fixes the comparison of ipsec_sa_cfg_t instances in case there is padding that's not initialized to zero. Fixes #1503. | |||||
| * | kernel-pfkey: Use ipsec_sa_cfg_equals() | Tobias Brunner | 2016-06-08 | 1 | -1/+1 | |
| | | ||||||
| * | kernel-netlink: Use ipsec_sa_cfg_equals() and compare marks properly | Tobias Brunner | 2016-06-08 | 1 | -2/+3 | |
| | | ||||||
| * | ipsec: Add function to compare two ipsec_sa_cfg_t instances | Tobias Brunner | 2016-06-08 | 2 | -0/+25 | |
|/ | | | | | | memeq() is currently used to compare these but if there is padding that is not initialized the same for two instances the comparison fails. Using this function ensures the objects are compared correctly. | |||||
* | eap-simaka-pseudonym: Properly store mappings | Tobias Brunner | 2016-06-06 | 1 | -44/+38 | |
| | | | | | | | | | | | If a pseudonym changed a new entry was added to the table storing permanent identity objects (that are used as keys in the other table). However, the old mapping was not removed while replacing the mapping in the pseudonym table caused the old pseudonym to get destroyed. This eventually caused crashes when a new pseudonym had the same hash value as such a defunct entry and keys had to be compared. Fixes strongswan/strongswan#46. | |||||
* | child-sa: Use non-static variable to store generated unique mark | Tobias Brunner | 2016-06-06 | 1 | -1/+2 | |
| | | | | | | If two CHILD_SAs with mark=%unique are created concurrently they could otherwise end up with either the same mark or different marks in both directions. | |||||
* | ike: Don't trigger message hook when fragmenting pre-generated messages | Tobias Brunner | 2016-06-06 | 1 | -2/+10 | |
| | | | | | | | | | This is the case for the IKE_SA_INIT and the initial IKEv1 messages, which are pre-generated in tasks as at least parts of it are used to generate the AUTH payload. The IKE_SA_INIT message will never be fragmented, but the IKEv1 messages might be, so we can't just call generate_message(). Fixes #1478. | |||||
* | error-notify: Notify listeners upon IKE retransmit | Thomas Egerer | 2016-06-06 | 2 | -0/+6 | |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | task-manager: Add retransmit cleared alert | Tobias Brunner | 2016-06-06 | 3 | -0/+16 | |
| | ||||||
* | task-manager: Add retransmit count to retransmit send alert | Thomas Egerer | 2016-06-06 | 3 | -4/+7 | |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | stroke: Permanently store PINs in credential set | Tobias Brunner | 2016-06-06 | 1 | -12/+35 | |
| | | | | | | | This fixes authentication with tokens that require the PIN for every signature. Fixes #1369. | |||||
* | controller: Use separate callbacks to track termination and initiation of SAs | Tobias Brunner | 2016-06-06 | 1 | -8/+58 | |
| | | | | | | | If a local authentication failure occurs in IKEv1 we delete the IKE_SA, which we don't want the controller to detect as success. Fixes #1449. | |||||
* | ikev1: Queue INFORMATIONAL messages during XAuth | Tobias Brunner | 2016-06-06 | 1 | -5/+12 | |
| | | | | | | | | | | Some peers send an INITIAL_CONTACT notify after they received our XAuth username. The XAuth task waiting for the third XAuth message handles this incorrectly and closes the IKE_SA as no configuration payloads are contained in the message. We queue the INFORMATIONAL until the XAuth exchange is complete to avoid this issue. Fixes #1434. | |||||
* | identification: Compare identity types when comparing ID_FQDN/ID_RFC822_ADDR ↵ | Tobias Brunner | 2016-06-06 | 1 | -3/+4 | |
| | | | | | | identities References #1380. | |||||
* | ikev2: Handle INITIAL_CONTACT notifies also when peer is authenticated with EAP | Tobias Brunner | 2016-06-06 | 1 | -16/+5 | |
| | | | | Fixes #1380. | |||||
* | x509: Properly wrap keyid in authorityKeyIdentifier in attribute certificates | Tobias Brunner | 2016-06-06 | 1 | -1/+2 | |
| | | | | | | | The correct encoding got lost in bdec2e4f5291 ("refactored openac and its attribute certificate factory"). Fixes #1370. | |||||
* | p-cscf: Remove libhydra reference in Makefile | Tobias Brunner | 2016-05-27 | 1 | -1/+0 | |
| | ||||||
* | af-alg: Silently skip probing algorithms if AF_ALG is not supported | Martin Willi | 2016-05-19 | 1 | -0/+19 | |
| | | | | | | If the af-alg plugin is enabled, but kernel support is missing, we get an error line during startup for each probed algorithm. This is way too verbose, so just skip probing if AF_ALG is unsupported. | |||||
* | configure: Check for a potential -lpthread by using -ldl | Martin Willi | 2016-05-18 | 1 | -1/+1 | |
| | | | | | Some pthread library variants depend on libdl, hence we must pass such a library to successfully build against libpthread. | |||||
* | Merge branch 'test-timing' | Andreas Steffen | 2016-05-15 | 116 | -211/+322 | |
|\ | ||||||
| * | testing: Changed gcrypt-ikev1 scenarios to swanctl | Andreas Steffen | 2016-05-15 | 20 | -126/+148 | |
| | | ||||||
| * | testing: wait until connections are loaded | Andreas Steffen | 2016-05-15 | 98 | -89/+178 | |
|/ | ||||||
* | Version bump to 5.4.1dr45.4.1dr4 | Andreas Steffen | 2016-05-13 | 1 | -1/+1 | |
| | ||||||
* | vici: Put source distribution in the dist dir in the build directory | Tobias Brunner | 2016-05-11 | 1 | -1/+3 | |
| | | | | This fixes the out-of-tree build. | |||||
* | mem-cred: Fix memory leak when replacing existing CRLs | Tobias Brunner | 2016-05-11 | 1 | -0/+1 | |
| | | | | Fixes #1442. | |||||
* | vici: Add target to build a source package and universal wheel of the Python ↵ | Tobias Brunner | 2016-05-11 | 1 | -0/+6 | |
| | | | | package | |||||
* | vici: Add README.rst to be used as description on PyPI | Tobias Brunner | 2016-05-11 | 4 | -8/+28 | |
| | ||||||
* | vici: Replace dr with dev in version numbers for the Python egg | Tobias Brunner | 2016-05-10 | 2 | -5/+7 | |
| | | | | | | The versioning scheme used by Python (PEP 440) supports the rcN suffix but development releases have to be named devN, not drN, which are not supported and considered legacy versions. | |||||
* | vici: Update setup.py | Tobias Brunner | 2016-05-10 | 1 | -4/+5 | |
| | ||||||
* | vici: Ensure we read exactly the specified amount of bytes from the socket ↵ | Tobias Brunner | 2016-05-10 | 1 | -2/+9 | |
| | | | | | | | in Python recv() will return less bytes than specified (as that's the buffer size) if not as many are ready to be read from the socket. | |||||
* | Version bump to 5.4.1dr35.4.1dr3 | Andreas Steffen | 2016-05-08 | 1 | -1/+1 | |
| | ||||||
* | swanctl: indicate initiator and responder in --list-sas | Andreas Steffen | 2016-05-07 | 1 | -2/+5 | |
| | ||||||
* | Version bump to 5.4.1dr25.4.1dr2 | Andreas Steffen | 2016-05-06 | 1 | -1/+1 | |
| |