Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add implementation of the RC2 block cipher (RFC 2268) | Tobias Brunner | 2013-05-08 | 8 | -4/+555 | |
| | ||||||
* | Extract function to convert ASN.1 INTEGER object to u_int64_t | Tobias Brunner | 2013-05-08 | 3 | -23/+28 | |
| | ||||||
* | Extract PKCS#5 handling from pkcs8 plugin to separate helper class | Tobias Brunner | 2013-05-08 | 5 | -458/+710 | |
| | ||||||
* | charon-cmd: Changed formatting of optional arguments in usage information | Tobias Brunner | 2013-05-08 | 1 | -8/+10 | |
| | | | | Optional arguments have to be specified with = after the option. | |||||
* | charon-cmd: --agent optionally takes the path to an ssh-agent socket | Tobias Brunner | 2013-05-08 | 3 | -16/+24 | |
| | | | | If not given it is read from the SSH_AUTH_SOCK environment variable. | |||||
* | charon-cmd: Stop processing options if an argument is missing or an option ↵ | Tobias Brunner | 2013-05-08 | 1 | -0/+3 | |
| | | | | not recognized | |||||
* | charon-cmd: Properly initialize options with no additional lines | Tobias Brunner | 2013-05-07 | 1 | -10/+10 | |
| | ||||||
* | agent: Use sshkey plugin to parse keys, adds support for ECDSA | Tobias Brunner | 2013-05-07 | 3 | -57/+69 | |
| | ||||||
* | sshkey: Add support for ECDSA keys | Tobias Brunner | 2013-05-07 | 1 | -0/+70 | |
| | ||||||
* | Load any type (RSA/ECDSA) of public key via left|rightsigkey | Tobias Brunner | 2013-05-07 | 5 | -22/+24 | |
| | ||||||
* | left|rightrsasigkey accepts SSH keys but the key format has to be specified ↵ | Tobias Brunner | 2013-05-07 | 1 | -12/+22 | |
| | | | | | | | explicitly The default is now PKCS#1. With the dns: and ssh: prefixes other formats can be selected. | |||||
* | sshkey: Added builder for SSHKEY RSA keys | Tobias Brunner | 2013-05-07 | 6 | -1/+142 | |
| | ||||||
* | Add sshkey plugin stub that will parse RFC 4253 public keys | Tobias Brunner | 2013-05-07 | 4 | -0/+136 | |
| | ||||||
* | Try to load raw keys from ipsec.conf as PKCS#1 blob first | Tobias Brunner | 2013-05-07 | 1 | -5/+12 | |
| | | | | | The DNSKEY builder is quite eager and parses pretty much anything as RSA key, so this has to be done before. | |||||
* | charon-cmd: Add --agent option to authenticate using ssh-agent(1) | Tobias Brunner | 2013-05-07 | 4 | -0/+72 | |
| | | | | | | The socket path is read from the SSH_AUTH_SOCK environment variable. So using this with sudo might require the -E command line (or an appropriate sudoers config) to preserve the environment. | |||||
* | charon-cmd: Use loose matching of gateway identity | Tobias Brunner | 2013-05-07 | 1 | -0/+1 | |
| | ||||||
* | kernel-pfroute: allow only one thread to do a route look up simultaneously | Martin Willi | 2013-05-06 | 1 | -1/+8 | |
| | | | | Otherwise we mess up the sequence number another thread is waiting for. | |||||
* | kernel-interface: query SAD for last use time if SPD query didn't yield one | Martin Willi | 2013-05-06 | 10 | -16/+50 | |
| | ||||||
* | child-sa: query SAD/SPD just for what we actually need to update statistics | Martin Willi | 2013-05-06 | 1 | -2/+5 | |
| | ||||||
* | kernel-pfkey: be less verbose about unexpected sequence numbers | Martin Willi | 2013-05-06 | 1 | -1/+1 | |
| | ||||||
* | kernel-pfkey: install exclude routes if kernel-net requires them | Martin Willi | 2013-05-06 | 1 | -0/+152 | |
| | ||||||
* | kernel-pfroute: add a feature flag requesting "exclude" routes | Martin Willi | 2013-05-06 | 2 | -0/+9 | |
| | | | | | | | | If routes installed along with policies covering the peer address affect local IKE/ESP packets, they won't get routed correctly. To work around this issue, the kernel interface can install "exclude" routes for the IKE peer. Not all networking backends require this workaround, hence we export a flag for it if it is required. | |||||
* | kernel-pfroute: remove unused interface address refcounting | Martin Willi | 2013-05-06 | 1 | -11/+0 | |
| | ||||||
* | kernel-pfroute: mark IPs installed on tun device as virtual | Martin Willi | 2013-05-06 | 1 | -1/+24 | |
| | ||||||
* | kernel-pfroute: install virtual IPs using dedicated tun devices | Martin Willi | 2013-05-06 | 1 | -5/+91 | |
| | ||||||
* | kernel-pfkey: when installing a route for a virtual IP, use its interface | Martin Willi | 2013-05-06 | 1 | -1/+10 | |
| | | | | | When installing a route over a tun device for a virtual IP, the route must be set over the tun, not the IKE interface. | |||||
* | kernel-interface: get_address_by_ts() can tell if a returned IP is virtual | Martin Willi | 2013-05-06 | 5 | -6/+31 | |
| | ||||||
* | kernel-interface: support enumeration of virtual-only IPs | Martin Willi | 2013-05-06 | 3 | -9/+20 | |
| | ||||||
* | kernel-pfkey: refactor route installation to a dedicate function | Martin Willi | 2013-05-06 | 1 | -74/+81 | |
| | ||||||
* | kernel-pfroute: split /0 routes to avoid conflict with default route | Martin Willi | 2013-05-06 | 1 | -0/+15 | |
| | ||||||
* | kernel-pfkey: check if we have a gateway before comparing them | Martin Willi | 2013-05-06 | 1 | -0/+1 | |
| | ||||||
* | kernel-pfkey: install route along with input, not forward policies | Martin Willi | 2013-05-06 | 1 | -20/+20 | |
| | | | | | | As forwarding policies are not available on all systems (OS X), using the forward policy to attach the route is a bad pick. Using input policies allows OS X to install routes. | |||||
* | kernel-pfroute: rescan address list for an interface if its state changes | Martin Willi | 2013-05-06 | 1 | -0/+43 | |
| | | | | | It seems that we don't get address notifications if the interface is down on OS X. | |||||
* | kernel-pfroute: add newly appearing interfaces to the interface cache | Martin Willi | 2013-05-06 | 1 | -1/+22 | |
| | ||||||
* | kernel-pfroute: implement get_nexthop() | Martin Willi | 2013-05-06 | 1 | -6/+73 | |
| | ||||||
* | kernel-pfroute: install and uninstall routes | Martin Willi | 2013-05-06 | 1 | -2/+129 | |
| | ||||||
* | kernel-pfroute: collect replies received for our own queries | Martin Willi | 2013-05-06 | 1 | -4/+40 | |
| | ||||||
* | kernel-pfroute: refactor PF_ROUTE message processing, use an enumerator | Martin Willi | 2013-05-06 | 1 | -35/+117 | |
| | ||||||
* | kernel-pfkey: use an int to set esp_port with a sysctl on OS X | Martin Willi | 2013-05-06 | 1 | -2/+4 | |
| | ||||||
* | kernel-pfroute: use INIT() macro for allocations | Martin Willi | 2013-05-06 | 1 | -17/+21 | |
| | ||||||
* | kernel-pfroute: use only a single PF_ROUTE socket for both events and queries | Martin Willi | 2013-05-06 | 1 | -27/+11 | |
| | ||||||
* | kernel-pfroute: fix length check when receiving PF_ROUTE messages | Martin Willi | 2013-05-06 | 1 | -1/+1 | |
| | ||||||
* | kernel-pfkey: remove obsolete pluto specific behavior | Martin Willi | 2013-05-06 | 1 | -5/+1 | |
| | ||||||
* | kernel-netlink: remove obsolete pluto specific behavior | Martin Willi | 2013-05-06 | 1 | -7/+1 | |
| | ||||||
* | tun_device: add a getter for the address previously passed to set_address() | Martin Willi | 2013-05-06 | 2 | -0/+32 | |
| | ||||||
* | tun_device: add a getter for the underlying file descriptor | Martin Willi | 2013-05-06 | 2 | -0/+14 | |
| | ||||||
* | tun-device: use host_create_netmask() to calculate interface netmask | Martin Willi | 2013-05-06 | 1 | -49/+12 | |
| | ||||||
* | host: add a netmask constructor taking the number of network bits | Martin Willi | 2013-05-06 | 2 | -0/+57 | |
| | ||||||
* | host: remove unused host_t.get_differences() method | Martin Willi | 2013-05-06 | 2 | -39/+0 | |
| | ||||||
* | host: print %#H format specifiers not as %any, but with the port | Martin Willi | 2013-05-06 | 1 | -1/+1 | |
| |