Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | android: Make font in log view monospace again on Android 5+ | Tobias Brunner | 2016-04-27 | 1 | -1/+2 | |
| | ||||||
* | android: Avoid deprecated tabs in the ActionBar in TrustedCertificatesActivity | Tobias Brunner | 2016-04-27 | 2 | -88/+89 | |
| | | | | Instead we use TabLayout and ViewPager from the support libraries. | |||||
* | android: Automatically reload certificates if manager is reset | Tobias Brunner | 2016-04-27 | 2 | -36/+46 | |
| | | | | No need to manually reset the fragments anymore. | |||||
* | android: Make TrustedCertificateManager an Observable | Tobias Brunner | 2016-04-27 | 1 | -8/+28 | |
| | | | | | Observers are notified when the manager is reset (and initially when the certificates are first loaded). | |||||
* | android: Switch to AppCompat/Material theme for dialogs | Tobias Brunner | 2016-04-27 | 10 | -61/+117 | |
| | | | | | | | There is no AppCompatProgressDialog class as the use of ProgressDialog is discouraged (instead progress bars should be placed in the layout directly). To display the current ProgressDialog instances correctly on systems < 21 we modify the window background color. | |||||
* | android: Switch to AppCompat/Material theme and use custom Toolbar as AppBar | Tobias Brunner | 2016-04-27 | 16 | -157/+184 | |
| | | | | | Also includes some whitespace/formatting changes due to the switch to Android Studio. | |||||
* | android: Ignore build/ in project directory | Tobias Brunner | 2016-04-27 | 1 | -0/+1 | |
| | ||||||
* | android: Update platform tools and pull in support libs | Tobias Brunner | 2016-04-27 | 1 | -2/+4 | |
| | | | | | | | We'll have to change some stuff that Google deprecated (e.g. the tabs in the ActionBar) and that requires changing the theme at least in activities. Since that would look a bit inconsistent we'll change it globally and use parts of the support library. | |||||
* | android: Update Android Gradle plugin and wrapper | Tobias Brunner | 2016-04-27 | 2 | -3/+3 | |
| | ||||||
* | Updated products in IMV database | Andreas Steffen | 2016-04-26 | 1 | -1/+146 | |
| | ||||||
* | swanctl: list EAP type in --list-conns | Andreas Steffen | 2016-04-26 | 1 | -3/+10 | |
| | ||||||
* | identification: Add support for dmdName RDN (2.5.4.54) | Yannick Cann | 2016-04-25 | 3 | -0/+5 | |
| | | | | | | | It's listed in RFC 2256 but was later removed with RFC 4519, but there are still some certs that use it. Closes strongswan/strongswan#43. | |||||
* | leak-detective: added _IO_file_doallocate to whitelist | Andreas Steffen | 2016-04-24 | 1 | -0/+1 | |
| | ||||||
* | swanctl: log errors to stderr | Andreas Steffen | 2016-04-24 | 3 | -3/+3 | |
| | ||||||
* | pool: Use correct name to remove index for CHILD_SA TS in SQLite script | Tobias Brunner | 2016-04-18 | 1 | -1/+1 | |
| | | | | Fixes #1415. | |||||
* | kernel-pfkey: Add support for manual priorities | Tobias Brunner | 2016-04-15 | 1 | -7/+24 | |
| | | | | Also orders policies with equals priorities by their automatic priority. | |||||
* | kernel-pfkey: Update priority calculation formula to the new one in ↵ | Tobias Brunner | 2016-04-15 | 1 | -14/+25 | |
| | | | | | | | kernel-netlink Since the selectors are not exactly the same (no port masks, no interface) some small tweaks have been applied. | |||||
* | kernel-netlink: Order policies with equal priorities by their automatic priority | Tobias Brunner | 2016-04-15 | 1 | -11/+24 | |
| | | | | | | | | | | | | This allows using manual priorities for traps, which have a lower base priority than the resulting IPsec policies. This could otherwise be problematic if, for example, swanctl --install/uninstall is used while an SA is established combined with e.g. IPComp, where the trap policy does not look the same as the IPsec policy (which is now otherwise often the case as the reqids stay the same). It also orders policies by selector size if manual priorities are configured and narrowing occurs. | |||||
* | curl: Add TLS support if libcurl is built against BoringSSL | Tobias Brunner | 2016-04-15 | 1 | -1/+2 | |
| | | | | | We don't have to rely on the openssl plugin and its threading initialization as BoringSSL is thread-safe out of the box. | |||||
* | openssl: BoringSSL does not support configuration | Tobias Brunner | 2016-04-15 | 1 | -0/+4 | |
| | | | | | The other initialization functions are still defined but many are apparently no-ops (this is also true for the threading initialization). | |||||
* | openssl: The member storing the DH exponent length has been renamed in BoringSSL | Tobias Brunner | 2016-04-15 | 1 | -0/+4 | |
| | ||||||
* | openssl: Use proper EVP macro to determine size of a hash | Tobias Brunner | 2016-04-15 | 2 | -2/+2 | |
| | ||||||
* | android: OPENSSL_NO_ENGINE is now properly defined in the headers | Tobias Brunner | 2016-04-15 | 1 | -1/+0 | |
| | ||||||
* | curl: Handle LibreSSL like OpenSSL in regards to multi-threading | Tobias Brunner | 2016-04-15 | 1 | -1/+1 | |
| | | | | | LibreSSL is API compatible so our openssl plugin does not need any changes and it works fine with the curl plugin. | |||||
* | thread: Don't hold mutex when calling cleanup handlers while terminating | Tobias Brunner | 2016-04-13 | 1 | -12/+14 | |
| | | | | | | | | | | This could interfere with cleanup handlers that try to acquire mutexes while other threads holding these try to e.g. cancel the threads. As cleanup handlers are only queued by the threads themselves we don't need any synchronization to access the list. Fixes #1401. | |||||
* | Extended IPsec kernel policy scheme | Andreas Steffen | 2016-04-09 | 1 | -18/+53 | |
| | | | | | | | | The kernel policy now considers src and dst port masks as well as restictions to a given network interface. The base priority is 100'000 for passthrough shunts, 200'000 for IPsec policies, 300'000 for IPsec policy traps and 400'000 for fallback drop shunts. The values 1..30'000 can be used for manually set priorities. | |||||
* | Include manual policy priorities and restriction to interfaces in vici ↵ | Andreas Steffen | 2016-04-09 | 2 | -1/+27 | |
| | | | | list-conn command | |||||
* | Implemented IPsec policies restricted to given network interface | Andreas Steffen | 2016-04-09 | 8 | -14/+66 | |
| | ||||||
* | Support manually-set IPsec policy priorities | Andreas Steffen | 2016-04-09 | 8 | -22/+84 | |
| | ||||||
* | peer-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 16 | -200/+266 | |
| | ||||||
* | child-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 16 | -366/+362 | |
| | ||||||
* | kernel-pfkey: Prefer policies with reqid over those without | Tobias Brunner | 2016-04-09 | 1 | -1/+7 | |
| | ||||||
* | kernel-pfkey: Only install templates for regular IPsec policies with reqid | Tobias Brunner | 2016-04-09 | 1 | -32/+35 | |
| | ||||||
* | shunt-manager: Install "outbound" FWD policy | Tobias Brunner | 2016-04-09 | 1 | -2/+8 | |
| | | | | | | If there is a default drop policy forwarded traffic might otherwise not be allowed by a specific passthrough policy (while local traffic is allowed). | |||||
* | kernel-netlink: Prefer policies with reqid over those without | Tobias Brunner | 2016-04-09 | 1 | -1/+7 | |
| | | | | | | | This allows two CHILD_SAs with reversed subnets to install two FWD policies each. Since the outbound policy won't have a reqid set we will end up with the two inbound FWD policies installed in the kernel, with the correct templates to allow decrypted traffic. | |||||
* | kernel-netlink: Only associate templates with inbound FWD policies | Tobias Brunner | 2016-04-09 | 1 | -1/+1 | |
| | | | | | | We can't set a template on the outbound FWD policy (or we'd have to make it optional). Because if the traffic does not come from another (matching) IPsec tunnel it would get dropped due to the template mismatch. | |||||
* | child-sa: Install "outbound" FWD policy | Tobias Brunner | 2016-04-09 | 1 | -0/+16 | |
| | | | | | | | If there is a DROP shunt that matches outbound forwarded traffic it would get dropped as the FWD policy we install only matches decrypted inbound traffic. That's because the Linux kernel first checks the FWD policies before looking up the OUT policy and SA to encrypt the packets. | |||||
* | kernel-netlink: Associate routes with IN policies instead of FWD policies | Tobias Brunner | 2016-04-09 | 1 | -21/+21 | |
| | | | | | | This allows us to install more than one FWD policy. We already do this in the kernel-pfkey plugin (there the original reason was that not all kernels support FWD policies). | |||||
* | kernel: Use structs to pass information to the kernel-ipsec interface | Tobias Brunner | 2016-04-09 | 12 | -983/+1140 | |
| | ||||||
* | pkcs11: Skip zero-padding of r and s when preparing EC signature | Tobias Brunner | 2016-04-05 | 1 | -3/+9 | |
| | | | | | | They are zero padded to fill the buffer. Fixes #1377. | |||||
* | chunk: Skip all leading zero bytes in chunk_skip_zero() not just the first | Tobias Brunner | 2016-04-04 | 2 | -14/+18 | |
| | ||||||
* | string: Gracefully handle NULL in str*eq() macros | Tobias Brunner | 2016-04-04 | 2 | -4/+82 | |
| | ||||||
* | byteorder: Explicitly check for htoXeXX macros | Tobias Brunner | 2016-03-31 | 1 | -3/+18 | |
| | | | | | Some platforms have XetohXX macros instead of XeXXtoh macros, in which case we'd redefine the htoXeXX macros. | |||||
* | vici: Fix documentation of some dictionary keys of two request messages | Cameron McCord | 2016-03-31 | 1 | -3/+3 | |
| | | | | Closes strongswan/strongswan#40. | |||||
* | proposal: Use standard integer types for static keywords | Tobias Brunner | 2016-03-31 | 1 | -2/+2 | |
| | ||||||
* | utils: Remove nonsensical typedefs for standard uint types | Tobias Brunner | 2016-03-31 | 1 | -13/+0 | |
| | ||||||
* | Use u_int32_t legacy type in blowfish header file | Andreas Steffen | 2016-03-24 | 1 | -1/+1 | |
| | ||||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 583 | -3425/+3425 | |
| | ||||||
* | updown: Get value for PLUTO_MARK_{IN,OUT} from CHILD_SA | Shota Fukumori | 2016-03-23 | 1 | -2/+2 | |
| | | | | | | | Or the invoked script will get a broken value when `mark=%unique` is used in a configuration. Closes strongswan/strongswan#37. | |||||
* | connmark: Explicitly include xt_mark.h for older kernels | Tobias Brunner | 2016-03-23 | 1 | -0/+1 | |
| | | | | Fixes #1365. |