aboutsummaryrefslogtreecommitdiffstats
path: root/src/swanctl/commands
Commit message (Collapse)AuthorAgeFilesLines
...
* swanctl: Generalize private key decryption to support other credential typesMartin Willi2015-03-181-55/+97
|
* swanctl: List CHILD_SA unique ID as the primary identifier, but print reqid, tooMartin Willi2015-02-201-2/+2
|
* swanctl: Fail loading a connection if loading a cacert constraint failsMartin Willi2014-12-121-10/+37
|
* swanctl: Fix exit codes based on errnoMartin Willi2014-10-1012-19/+43
| | | | | As fprintf() most likely sets errno, we should save it before printing the error message.
* swanctl: Complete --load-creds command summaryMartin Willi2014-09-221-1/+1
|
* swanctl: Fix description of load-pools command summaryMartin Willi2014-09-221-1/+1
|
* swanctl: Add a --load-all command, performing --load-{creds,pools,conns}Martin Willi2014-09-227-93/+321
|
* swanctl: Add a --reload-settings commandMartin Willi2014-09-221-0/+87
|
* swanctl: Add a --stats command to print daemon infos and statisticsMartin Willi2014-06-171-0/+118
|
* swanctl: Support private key decryption passhprases in swanctl.confMartin Willi2014-06-171-19/+108
| | | | | | | While there is no real security benefit of storing private keys encrypted if the passphrase is stored along with it, there still seems to be demand for this functionality. We add it for compatibility with ipsec.secrets, even if it is not really recommended.
* Split swanctl --raw mode into single-line and --pretty modeAndreas Steffen2014-06-1413-153/+229
|
* Added missing units (s = seconds)Andreas Steffen2014-06-101-1/+1
|
* swanctl: Stop logging with Ctrl+C on Windows as wellMartin Willi2014-06-041-4/+5
|
* swanctl: Concatenate relative certificate paths correctly on WindowsMartin Willi2014-06-041-3/+5
|
* Make sure getpass() is availableTobias Brunner2014-05-291-1/+3
| | | | It's not on Android for example.
* enum: Return boolean result for enum_from_name() lookupMartin Willi2014-05-161-3/+3
| | | | | | | | | | | 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.
* swanctl: Properly initialize return value of --install commandMartin Willi2014-05-161-1/+1
|
* swanctl: By default print local swanctl version with --versionMartin Willi2014-05-071-2/+12
| | | | But add a --daemon option to query the IKE daemon for its version.
* swanctl: Change syntax of secrets to accept identities with special charsMartin Willi2014-05-071-40/+46
| | | | | | | | | | | Having identity strings in the settings key is problematic, as the parser can't handle arbitrary characters in it. Further, the space separation makes it impossible to define identities with spaces. The new format uses key prefixes, similar to those used in local/remote auth sections of connections. The secrets section takes subsections with type prefixes, and each subsection uses "id" prefixes to define an arbitrary number of identities.
* swanctl: List local and remote addresses in list-connsMartin Willi2014-05-071-1/+18
|
* swanctl: Add a list-pools command to summarize pool statusMartin Willi2014-05-071-0/+96
|
* swanctl: Add a load-pools command to (re-)load pool configurations from fileMartin Willi2014-05-071-0/+283
|
* swanctl: Encode connection "pools" as list itemsMartin Willi2014-05-071-0/+1
|
* swanctl: Implement a --log command to trace debugging logMartin Willi2014-05-071-0/+96
|
* swanctl: Implement a --list-certs command to print or export daemon certificatesMartin Willi2014-05-071-0/+668
|
* swanctl: Be more verbose while loading connections and credentialsMartin Willi2014-05-072-2/+26
|
* swanctl: Add a list-conns command to query loaded connectionsMartin Willi2014-05-071-0/+219
|
* swanctl: Support groups, certs and cacerts keywordsMartin Willi2014-05-071-0/+70
|
* swanctl: Load shared secrets from the swanctl.conf secrets sectionMartin Willi2014-05-071-1/+96
|
* swanctl: Load different private keys with load-credsMartin Willi2014-05-071-1/+183
|
* swanctl: Add a command to (re-)load credentialsMartin Willi2014-05-071-0/+170
|
* swanctl: Use a ./configure-able swanctl base directoryMartin Willi2014-05-071-2/+3
|
* swanctl: After loading connections, unload those that are not in config anymoreMartin Willi2014-05-071-7/+114
|
* swanctl: Implement a load-conn command to load connections from a fileMartin Willi2014-05-071-0/+225
|
* swanctl: Implement a list-pols command to query trap/shunt policiesMartin Willi2014-05-071-0/+204
|
* swanctl: Implement install/uninstall commands to manage shunt/trap policiesMartin Willi2014-05-071-0/+120
|
* swanctl: Add a version command to query daemon and OS infoMartin Willi2014-05-071-0/+81
|
* swanctl: Add a terminate commandMartin Willi2014-05-071-0/+153
|
* swanctl: Add a subcommand to initiate connections by nameMartin Willi2014-05-071-0/+128
|
* swanctl: Add a list-sas command to query active IKE_SAsMartin Willi2014-05-071-0/+359