Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | libipsec: Don't print ciphertext with ICV in log message | Tobias Brunner | 2013-10-17 | 1 | -1/+2 | |
| | ||||||
* | libipsec: Properly calculate padding length especially for AES-GCM | Tobias Brunner | 2013-10-17 | 1 | -1/+3 | |
| | ||||||
* | utils: Add utility function to calculate padding length | Tobias Brunner | 2013-10-17 | 2 | -13/+24 | |
| | ||||||
* | stroke: Reuse reqids of established CHILD_SAs when routing connections | Tobias Brunner | 2013-10-17 | 1 | -1/+45 | |
| | ||||||
* | trap-manager: Make sure a config is not trapped twice | Tobias Brunner | 2013-10-17 | 1 | -4/+16 | |
| | ||||||
* | Doxygen fixes | Tobias Brunner | 2013-10-15 | 7 | -11/+8 | |
| | ||||||
* | Set recommendation in the case of PCR measurement failures | Andreas Steffen | 2013-10-13 | 3 | -6/+27 | |
| | ||||||
* | Add linux/fip_rules.h to include files | Andreas Steffen | 2013-10-13 | 2 | -3/+75 | |
| | ||||||
* | Revert refactoring which broke CentOS build | Andreas Steffen | 2013-10-13 | 1 | -1/+1 | |
| | ||||||
* | checksum: The pool utility was moved to its own directory | Tobias Brunner | 2013-10-11 | 1 | -1/+1 | |
| | ||||||
* | ccm: Add missing comma in get_iv_gen method signature | Tobias Brunner | 2013-10-11 | 1 | -1/+1 | |
| | ||||||
* | iv-gen: Add missing header files to Makefile.am | Tobias Brunner | 2013-10-11 | 1 | -0/+1 | |
| | ||||||
* | iv_gen: Mask sequential IVs with a random salt | Tobias Brunner | 2013-10-11 | 1 | -0/+24 | |
| | | | | | This makes it harder to attack a HA setup, even if the sequence numbers were not fully in sync. | |||||
* | iv_gen: Provide external sequence number (IKE, ESP) | Tobias Brunner | 2013-10-11 | 7 | -23/+18 | |
| | | | | This prevents duplicate sequential IVs in case of a HA failover. | |||||
* | ipsec: Use IV generator to encrypt ESP messages | Tobias Brunner | 2013-10-11 | 2 | -9/+7 | |
| | ||||||
* | ikev2: Use IV generator to encrypt encrypted payload | Tobias Brunner | 2013-10-11 | 1 | -1/+9 | |
| | ||||||
* | iv_gen: aead_t implementations provide an IV generator | Tobias Brunner | 2013-10-11 | 6 | -1/+84 | |
| | ||||||
* | iv_gen: Add IV generator that allocates IVs sequentially | Tobias Brunner | 2013-10-11 | 4 | -2/+121 | |
| | ||||||
* | iv_gen: Add IV generator that allocates IVs randomly | Tobias Brunner | 2013-10-11 | 4 | -0/+113 | |
| | | | | Uses RNG_WEAK as the code currently does elsewhere to allocate IVs. | |||||
* | crypto: Add generic interface for IV generators | Tobias Brunner | 2013-10-11 | 2 | -1/+60 | |
| | ||||||
* | apidoc: Move mac_prf to prf Doxygen group | Tobias Brunner | 2013-10-11 | 1 | -1/+1 | |
| | ||||||
* | eap-radius: Forward RAT_FRAMED_IP_NETMASK as INTERNAL_IP4_NETMASK | Tobias Brunner | 2013-10-11 | 1 | -0/+5 | |
| | ||||||
* | eap-radius: Forward UNITY_SPLIT_INCLUDE or UNITY_LOCAL_LAN attributes | Tobias Brunner | 2013-10-11 | 1 | -0/+93 | |
| | | | | | | | | | | | | | | | Depending on the value of the CVPN3000-IPSec-Split-Tunneling-Policy(55) radius attribute, the subnets in the CVPN3000-IPSec-Split-Tunnel-List(27) attribute are sent in either a UNITY_SPLIT_INCLUDE (if the value is 1) or a UNITY_LOCAL_LAN (if the value is 2). So if the following attributes would be configured for a RADIUS user CVPN3000-IPSec-Split-Tunnel-List := "10.0.1.0/255.255.255.0,10.0.2.0/255.255.255.0" CVPN3000-IPSec-Split-Tunneling-Policy := 1 A UNITY_SPLIT_INCLUDE configuration payload containing these two subnets would be sent to the client during the ModeCfg exchange. | |||||
* | eap-radius: Forward UNITY_DEF_DOMAIN and UNITY_SPLITDNS_NAME attributes | Tobias Brunner | 2013-10-11 | 1 | -3/+25 | |
| | | | | | | The contents of the CVPN3000-IPSec-Default-Domain(28) and CVPN3000-IPSec-Split-DNS-Names(29) radius attributes are forwarded in the corresponding Unity configuration attributes. | |||||
* | dnscert: Add DNS CERT support for pubkey authentication | Ruslan N. Marchenko | 2013-10-11 | 8 | -0/+828 | |
| | | | | | | | | | | | Add DNSSEC protected CERT RR delivered certificate authentication. The new dnscert plugin is based on the ipseckey plugin and relies on the existing PEM decoder as well as x509 and PGP parsers. As such the plugin expects PEM encoded PKIX(x509) or PGP(GPG) certificate payloads. The plugin is targeted to improve interoperability with Racoon, which supports this type of authentication, ignoring in-stream certificates and using only DNS provided certificates for FQDN IDs. | |||||
* | ipseckey: Properly handle failure to create a certificate | Tobias Brunner | 2013-10-11 | 1 | -33/+28 | |
| | | | | Also, try the next key (if available) if parsing an IPSECKEY failed. | |||||
* | ipseckey: Refactor creation of certificate enumerator | Tobias Brunner | 2013-10-11 | 1 | -86/+81 | |
| | | | | Reduces nesting and fixes a memory leak (rrsig_enum). | |||||
* | ipseckey: Depend on plugin features to create public key and certificate objects | Tobias Brunner | 2013-10-11 | 1 | -0/+2 | |
| | ||||||
* | unbound: Add support for DLV (DNSSEC Lookaside Validation) | Tobias Brunner | 2013-10-11 | 1 | -12/+23 | |
| | | | | Fixes #392. | |||||
* | kernel-libipsec: Don't ignore policies of type != POLICY_IPSEC | Tobias Brunner | 2013-10-11 | 1 | -5/+0 | |
| | | | | | | This actually broke rekeying due to the DROP policies that are temporarily added, which broke the refcount as the ignored policies were not ignored in del_policy() (the type is not known there). | |||||
* | kernel-libipsec: Add an option to allow remote TS to match the IKE peer | Tobias Brunner | 2013-10-11 | 1 | -2/+9 | |
| | | | | | | | | Setting the fwmark options for the kernel-netlink and socket-default plugins allow this kind of setup. It is probably required to set net.ipv4.conf.all.rp_filter to 2 to make it work. | |||||
* | socket-default: Allow setting firewall mark on outbound packets | Tobias Brunner | 2013-10-11 | 1 | -0/+18 | |
| | ||||||
* | kernel-netlink: Allow setting firewall marks on routing rule | Tobias Brunner | 2013-10-11 | 1 | -0/+20 | |
| | ||||||
* | ipsec_types: Add utility function to parse mark_t from strings | Tobias Brunner | 2013-10-11 | 4 | -46/+98 | |
| | ||||||
* | attr-sql: Use a serializable transaction when inserting identities | Tobias Brunner | 2013-10-11 | 1 | -12/+5 | |
| | ||||||
* | database: Add support for serializable transactions | Tobias Brunner | 2013-10-11 | 4 | -9/+27 | |
| | ||||||
* | sql: Don't use MyISAM engine and set collation/charset for all tables | Tobias Brunner | 2013-10-11 | 1 | -26/+25 | |
| | | | | The MyISAM engine doesn't support transactions. | |||||
* | pool: Change transaction handling | Tobias Brunner | 2013-10-11 | 1 | -46/+8 | |
| | ||||||
* | pool: Move the pool utility to its own directory in src | Tobias Brunner | 2013-10-11 | 9 | -21/+27 | |
| | ||||||
* | attr-sql: Handle concurrent insertion of identities | Tobias Brunner | 2013-10-11 | 1 | -2/+12 | |
| | | | | | | | | | If the same identity is added concurrently by two threads (or by the pool utility) INSERT might fail even though the SELECT was unsuccessful before. We are currently not able to lock the identities table in a portable way (something like SELECT ... FOR UPDATE on MySQL). | |||||
* | attr-sql: Don't use database transactions in create_attribute_enumerator | Tobias Brunner | 2013-10-11 | 1 | -5/+0 | |
| | | | | | | | | | There could, of course, be race conditions when enumerating the attributes, but those probably don't matter (e.g. missing an attribute that was concurrently added). Transactions are more intended to revert multiple changes if anything fails in the process. | |||||
* | sqlite: Implement transaction handling | Tobias Brunner | 2013-10-11 | 1 | -6/+83 | |
| | ||||||
* | mysql: Implement transaction handling | Tobias Brunner | 2013-10-11 | 1 | -7/+119 | |
| | ||||||
* | database: Add interface to handle transactions | Tobias Brunner | 2013-10-11 | 3 | -1/+76 | |
| | ||||||
* | mysql: Ensure connections are properly released in multi-threaded environments | Tobias Brunner | 2013-10-11 | 1 | -14/+23 | |
| | ||||||
* | crypto-factory: Try next available RNG implementation if constructor fails | Tobias Brunner | 2013-10-11 | 1 | -13/+6 | |
| | ||||||
* | crypto-factory: Order entries by algorithm identifier and (optionally) speed | Tobias Brunner | 2013-10-11 | 1 | -22/+18 | |
| | ||||||
* | Remove HASH_PREFERRED, usages are replaced with HASH_SHA1, which is required ↵ | Tobias Brunner | 2013-10-11 | 9 | -26/+18 | |
| | | | | for IKEv2 anyway | |||||
* | vstr: Forward actual field width | Tobias Brunner | 2013-10-11 | 1 | -1/+1 | |
| | | | | | fmt_field_width is a flag that indicates if a field width is defined in obj_field_width. | |||||
* | unit-tests: support testing when leak-detective has not been enabled | Martin Willi | 2013-10-11 | 1 | -5/+14 | |
| |