aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* settings: Merge quoted strings that span multiple linesTobias Brunner2015-03-201-3/+2
|
* starter: Merge quoted strings that span multiple linesTobias Brunner2015-03-201-3/+2
|
* encoding: Don't verify length of IKEv1 KE payloadsTobias Brunner2015-03-201-0/+6
| | | | | | The verification introduced with 84738b1aed95 ("encoding: Verify the length of KE payload data for known groups") can't be done for IKEv1 as the KE payload does not contain the DH group.
* charon-systemd: Optionally load plugin list from charon-systemd.loadTobias Brunner2015-03-191-1/+2
|
* apidoc: Limit INPUT to src subdirectory and README.mdMartin Willi2015-03-192-2/+2
| | | | | | While 0909bf6c explicitly includes the whole source tree (to cover README.md), this has the unpleasant side effect of covering a workspace under "testing" with all its sources, or any other potential subdirectory that exists.
* utils: Fix enum_flags_to_string parameter name to match Doxygen descriptionMartin Willi2015-03-191-1/+1
|
* attr-sql: Rename sql_attribute_t to attr_sql_provider_tMartin Willi2015-03-195-32/+32
| | | | | | As the plugin has its origins in the sql plugin, it still uses the naming scheme for the attribute provider implementation. Rename the class to better match the naming scheme we use in any other plugin
* ikev1: Adopt virtual IPs on new IKE_SA during re-authenticationTobias Brunner2015-03-193-45/+156
| | | | | | | | | | | Some clients like iOS/Mac OS X don't do a mode config exchange on the new SA during re-authentication. If we don't adopt the previous virtual IP Quick Mode rekeying will later fail. If a client does do Mode Config we directly reassign the VIPs we migrated from the old SA, without querying the attributes framework. Fixes #807, #810.
* ikev1: Mark rekeyed CHILD_SAs as INSTALLEDTobias Brunner2015-03-191-0/+2
| | | | | Since we keep them around until they finally expire they otherwise would block IKE_SA rekeying/reauthentication.
* mem-pool: Remove entries without online or offline leasesTobias Brunner2015-03-191-6/+22
| | | | | | This avoids filling up the hash table with unused/old identities. References #841.
* kernel-handler: Log new endpoint if NAT mapping changedTobias Brunner2015-03-191-2/+3
|
* child-sa: Remove policies before states to avoid acquire events for ↵Tobias Brunner2015-03-191-16/+16
| | | | untrapped policies
* Merge branch 'vici-python'Martin Willi2015-03-1823-30/+947
|\ | | | | | | Introduce a Python Egg for the vici plugin, contributed by Björn Schuberg.
| * NEWS: Introduce vici Python EggMartin Willi2015-03-181-0/+4
| |
| * travis: Install pip to install pytest in "all" testsMartin Willi2015-03-182-1/+8
| | | | | | | | | | This allows ./configure to detect py.test, and execute python unit tests we provide in the vici python egg.
| * vici: Add support for python 3Björn Schuberg2015-03-185-8/+29
| |
| * vici: Execute python tests during "check" if py.test is availableMartin Willi2015-03-181-0/+4
| |
| * configure: Check optional py.test availability when building with python eggsMartin Willi2015-03-181-0/+2
| |
| * vici: Add test of Packet layer in python libraryBjörn Schuberg2015-03-181-1/+47
| |
| * vici: Add test of Message (de)serialization in python libraryBjörn Schuberg2015-03-183-0/+100
| |
| * vici: Evaluate Python streamed command results, and raise CommandExceptionMartin Willi2015-03-181-1/+10
| |
| * vici: Catch Python GeneratorExit to properly cancel streamed event iterationMartin Willi2015-03-182-1/+12
| |
| * vici: Fall back to heap buffer when vararg printing on stack failsMartin Willi2015-03-181-21/+44
| | | | | | | | This avoids failures when building log event messages including larger hexdumps.
| * vici: Return a Python generator instead of a list for streamed responsesMartin Willi2015-03-182-47/+25
| | | | | | | | | | | | | | In addition that it may reduce memory usage and improve performance for large responses, it returns immediate results. This is important for longer lasting commands, such as initiate/terminate, where immediate log feedback is preferable when interactively calling such commands.
| * vici: Raise a Python CommandException instead of returning a CommandResultMartin Willi2015-03-182-82/+42
| |
| * vici: Add initial Python egg documentation to READMEMartin Willi2015-03-181-0/+65
| |
| * vici: Use OrderedDict to handle vici responses in Python libraryMartin Willi2015-03-181-2/+3
| | | | | | | | | | The default Python dictionaries are unordered, but order is important for some vici trees (for example the order of authentication rounds).
| * vici: Return authentication rounds with unique namesMartin Willi2015-03-182-3/+7
| | | | | | | | | | | | To simplify handling of authentication rounds in dictionaries/hashtables on the client side, we assign unique names to each authentication round when listing connection.
| * vici: Rebuild ruby gem on source file changesMartin Willi2015-03-181-1/+1
| |
| * vici: Use default Unix vici socket if none passed to ruby constructorMartin Willi2015-03-182-4/+7
| | | | | | | | | | While we currently have a static path instead of one generated with Autotools, this at least is congruent to what we have in the Python library.
| * vici: Support non-Unix sockets for vici connections using PythonMartin Willi2015-03-182-7/+9
| |
| * vici: Add python egg setuptools building and installation using easy_installMartin Willi2015-03-181-0/+15
| | | | | | | | | | | | An uninstall target is currently not supported, as there is no trivial way with either plain setuptools or with easy_install. pip would probably be the best choice, but we currently don't depend on it.
| * vici: Generate a version specific setup.py for setuptools installationMartin Willi2015-03-183-0/+41
| |
| * vici: Include python package in distributionMartin Willi2015-03-183-0/+10
| |
| * configure: Add --enable-python-eggs and --with-pythoneggdir optionsMartin Willi2015-03-181-0/+15
| | | | | | | | | | Detect easy_install for Python egg installation to install any egg we provide in strongSwan.
| * vici: Add python package MIT licenseBjörn Schuberg2015-03-182-0/+20
| |
| * vici: Expose Session as a top-level symbol in python packageBjörn Schuberg2015-03-181-0/+1
| |
| * vici: Introduce main API Session class in python packageBjörn Schuberg2015-03-181-1/+244
| |
| * vici: Add a python vici command execution handlerBjörn Schuberg2015-03-182-1/+134
| |
| * vici: Add vici python protocol handlerBjörn Schuberg2015-03-184-0/+199
|/
* Merge branch 'swanctl-pkcs12'Martin Willi2015-03-184-59/+246
|\ | | | | | | | | | | Add support for loading PKCS#12 containers from a swanctl/pkcs12 directory. Fixes #815.
| * swanctl: Cache entered PKCS#12 decryption secretMartin Willi2015-03-181-6/+23
| | | | | | | | | | It is usually used more than once, but most likely the same for decryption and MAC verification.
| * swanctl: Support loading PKCS#12 containers from a pkcs12 swanctl directoryMartin Willi2015-03-184-0/+128
| |
| * swanctl: Generalize private key decryption to support other credential typesMartin Willi2015-03-181-55/+97
|/
* encoding: Verify the length of KE payload data for known groupsMartin Willi2015-03-181-0/+67
| | | | | | | IKE is very strict in the length of KE payloads, and it should be safe to strictly verify their length. Not doing so is no direct threat, but allows DDoS amplification by sending short KE payloads for large groups using the target as the source address.
* ikev2: Migrate MOBIKE additional peer addresses to new SA after IKE_SA rekeyingMartin Willi2015-03-181-0/+6
|
* ikev2: Immediately initiate queued tasks after establishing rekeyed IKE_SAMartin Willi2015-03-185-0/+176
| | | | | | If additional tasks get queued before/while rekeying an IKE_SA, these get migrated to the new IKE_SA. We previously did not trigger initiation of these tasks, though, leaving the task unexecuted until a new task gets queued.
* Version bump to 5.3.0dr2Andreas Steffen2015-03-161-1/+1
|
* Replace kid by aik_id in ITA TBOOT functional componentAndreas Steffen2015-03-161-7/+2
|
* Fixed two BLISS key type identifier stringsAndreas Steffen2015-03-161-2/+2
|