Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | vici: Use %u to print stats returned by mallinfo(3) | Tobias Brunner | 2015-03-13 | 1 | -4/+4 | |
| | | | | Fixes #886. | |||||
* | vici: Don't use a default rand_time larger than half of rekey/reauth_time | Martin Willi | 2015-03-03 | 1 | -3/+11 | |
| | ||||||
* | vici: If a IKE reauth_time is configured, disable the default rekey_time | Martin Willi | 2015-03-03 | 1 | -1/+16 | |
| | ||||||
* | vici: Support ruby gem out-of-tree builds | Martin Willi | 2015-02-27 | 1 | -1/+3 | |
| | | | | | | | Referencing $(srcdir) in the gemspec is not really an option, as "gem build" includes the full path in the gem, so we need to build in $(srcdir). As there does not seem to be a way to control the output of "gem build", we manually move the gem to $(builddir) in OOT builds. | |||||
* | mem-pool: Pass the remote IKE address, to re-acquire() an address during reauth | Martin Willi | 2015-02-20 | 1 | -6/+9 | |
| | | | | | | | | | | | With make-before-break IKEv2 re-authentication, virtual IP addresses must be assigned overlapping to the same peer. With the remote IKE address, the backend can detect re-authentication attempts by comparing the remote host address and port. This allows proper reassignment of the virtual IP if it is re-requested. This change removes the mem-pool.reassign_online option, as it is obsolete now. IPs get automatically reassigned if a peer re-requests the same address, and additionally connects from the same address and port. | |||||
* | attribute-provider: Pass full IKE_SA to provider backends | Martin Willi | 2015-02-20 | 1 | -3/+9 | |
| | ||||||
* | attributes: Move the configuration attributes framework to libcharon | Martin Willi | 2015-02-20 | 1 | -5/+4 | |
| | ||||||
* | controller: Use the CHILD_SA unique_id to terminate CHILD_SAs | Martin Willi | 2015-02-20 | 2 | -12/+12 | |
| | ||||||
* | vici: Include the CHILD_SA unique ID in list-sa event | Martin Willi | 2015-02-20 | 2 | -0/+2 | |
| | ||||||
* | vici: Fix ruby gem author email | Martin Willi | 2015-01-22 | 1 | -1/+1 | |
| | ||||||
* | vici: Fix README example encoding element type values, off by one | Martin Willi | 2015-01-21 | 1 | -10/+10 | |
| | | | | | | | While we fixed the wrong values in the description with d39e04b5, the example values are still off by one. Fixes #828. | |||||
* | vici: Use silent builder destroy function in vici_free_req() | Martin Willi | 2014-12-12 | 1 | -7/+1 | |
| | ||||||
* | vici: Add a destroy method to builder, allowing cancellation without error | Martin Willi | 2014-12-12 | 2 | -4/+18 | |
| | | | | | When cancelling a builder, finalize throws an error which we might prefer to avoid. | |||||
* | vici: Make sure to send/recv all requested bytes over socket | Martin Willi | 2014-12-04 | 1 | -3/+22 | |
| | | | | | | As the underlying C functions, send/recv on ruby sockets are not guaranteed to send/recv all requested bytes. Use wrapper functions to make sure we get all bytes needed. | |||||
* | vici: Add support for address range definitions of pools | Tobias Brunner | 2014-10-30 | 1 | -5/+35 | |
| | ||||||
* | vici: Return default value for get_int() if message value is empty string | Martin Willi | 2014-10-14 | 2 | -1/+5 | |
| | | | | | This is the behavior of some strtol() implementations, and it makes sense, so force it. | |||||
* | vici: Add vici.gemspec.in and vici.rb to distribution | Tobias Brunner | 2014-10-14 | 1 | -0/+2 | |
| | ||||||
* | vici: Cancel processor before calling library_deinit() | Martin Willi | 2014-10-10 | 1 | -0/+1 | |
| | | | | | For non-direct libstrongswan users, the deinitialization segfaults because of the missing worker thread cancellation. | |||||
* | vici: Reduce debug level during thread spawning | Martin Willi | 2014-10-10 | 1 | -0/+2 | |
| | | | | We want to avoid libvici users to get a cluttered stderr for no real error. | |||||
* | vici: Don't include-depend on libstrongswan for boolean types | Martin Willi | 2014-10-10 | 2 | -4/+2 | |
| | | | | | | | | As we want to avoid the libstrongswan include dependencies for libvici, avoid the use of the bool type. Unfortunately this change may break the ABI for vici_dump(). As this function is mostly for debugging purposes, we do it nonetheless; my apologies if somebody already relies on the ABI stability of that function. | |||||
* | vici: Document the ruby gem and add some simple examples | Martin Willi | 2014-10-10 | 1 | -0/+58 | |
| | ||||||
* | vici: Add some simple libvici examples to the README | Martin Willi | 2014-10-10 | 1 | -2/+116 | |
| | ||||||
* | vici: Document the available vici command and event messages | Martin Willi | 2014-10-10 | 1 | -1/+509 | |
| | ||||||
* | vici: Use "gem"-assisted vici ruby gem building and installation | Martin Willi | 2014-10-10 | 4 | -1/+29 | |
| | ||||||
* | vici: Add a ruby gem providing a native vici interface | Martin Willi | 2014-10-10 | 3 | -0/+586 | |
| | ||||||
* | vici: Return a success result for the clear-creds command | Martin Willi | 2014-10-10 | 1 | -4/+1 | |
| | | | | | Even if the command actually can't fail, this looks more aligned to similar commands. | |||||
* | vici: Fix message encoding type values in documentation | Martin Willi | 2014-10-10 | 1 | -6/+6 | |
| | ||||||
* | vici: Add a command to reload strongswan.conf | Martin Willi | 2014-09-22 | 1 | -0/+12 | |
| | ||||||
* | libvici: Add missing argument to Doxygen comment | Tobias Brunner | 2014-06-30 | 1 | -0/+1 | |
| | ||||||
* | Fixed some typos | Tobias Brunner | 2014-06-30 | 2 | -2/+2 | |
| | ||||||
* | vici: Install libvici in ipseclibdir like we do with other libraries | Tobias Brunner | 2014-06-19 | 1 | -1/+1 | |
| | ||||||
* | vici: Support memory stats without leak-detective on Windows | Martin Willi | 2014-06-17 | 1 | -0/+53 | |
| | ||||||
* | vici: Add a stats command returning various daemon infos and statistics | Martin Willi | 2014-06-17 | 1 | -0/+104 | |
| | ||||||
* | vici: Support a replay_window CHILD_SA option | Martin Willi | 2014-06-17 | 1 | -0/+16 | |
| | ||||||
* | Split swanctl --raw mode into single-line and --pretty mode | Andreas Steffen | 2014-06-14 | 4 | -31/+70 | |
| | ||||||
* | vici: Add Windows support | Martin Willi | 2014-06-04 | 7 | -13/+54 | |
| | ||||||
* | plugins: Don't link with -rdynamic on Windows | Martin Willi | 2014-06-04 | 1 | -1/+1 | |
| | ||||||
* | ike: Add an additional but separate AEAD proposal to CHILD config | Martin Willi | 2014-05-16 | 1 | -2/+10 | |
| | | | | | | | This currently has no effect: We don't include AEAD algorithms in the default ESP proposal, as we don't know if it is supported by the backend. But as we hopefully get an algorithm query mechanism on kernel interfaces some day, we add the appropriate functionality nonetheless. | |||||
* | ike: Add an additional but separate AEAD proposal to IKE config, if supported | Martin Willi | 2014-05-16 | 1 | -10/+25 | |
| | ||||||
* | enum: Return boolean result for enum_from_name() lookup | Martin Willi | 2014-05-16 | 1 | -2/+1 | |
| | | | | | | | | | | | Handling the result for enum_from_name() is difficult, as checking for negative return values requires a cast if the enum type is unsigned. The new signature clearly differentiates lookup result from lookup value. Further, this actually allows to convert real -1 enum values, which could not be distinguished from "not-found" and the -1 return value. This also fixes several clang warnings where enums are unsigned. | |||||
* | vici: Support the close_action keyword, as we have it documented | Martin Willi | 2014-05-14 | 1 | -1/+6 | |
| | ||||||
* | vici: Check if header has been received before processing an empty message | Martin Willi | 2014-05-07 | 1 | -1/+2 | |
| | | | | | | If do_read() returns with EWOULDBLOCK, we must ensure that we actually have processed the full length header before checking the zero-initialized buffer length. | |||||
* | vici: Properly filter by CHILD_SA name while undoing start actions | Martin Willi | 2014-05-07 | 1 | -2/+5 | |
| | ||||||
* | vici: Fallback to socket listening port if no explicit local port specified | Martin Willi | 2014-05-07 | 1 | -1/+4 | |
| | ||||||
* | vici: Support a "mtu" value for the tfc_padding option | Martin Willi | 2014-05-07 | 1 | -2/+16 | |
| | ||||||
* | vici: Handle the "trap" action as an alias for "route" | Martin Willi | 2014-05-07 | 1 | -0/+1 | |
| | ||||||
* | vici: Document errno values to expect from libvici API | Martin Willi | 2014-05-07 | 2 | -9/+24 | |
| | ||||||
* | vici: Log owners of a just loaded shared-secret | Martin Willi | 2014-05-07 | 1 | -2/+18 | |
| | ||||||
* | vici: Handle "xauth" as an alias for "eap" secrets | Martin Willi | 2014-05-07 | 1 | -1/+1 | |
| | ||||||
* | vici: Return number of matching and closed SAs in terminate command | Martin Willi | 2014-05-07 | 1 | -9/+12 | |
| |