aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tls_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Test OS features by the feature vs the OS nameJack Lloyd2017-12-301-1/+1
|
* Convert TLS server to new style TLS interface (GH #1350)Jack Lloyd2017-12-231-78/+71
|
* Add wrapper functions to clean up cli code using socketsJack Lloyd2017-12-231-43/+4
|
* Refactor option parsing in cli and test codeJack Lloyd2017-10-241-0/+1
| | | | Allows cleaning up header includes, also somewhat smaller binaries.
* Remove various unused variablesJack Lloyd2017-10-021-1/+0
| | | | Sonar finds
* Use explicit :: or std:: to refer to functions in namespacesJack Lloyd2017-10-011-2/+2
|
* More include header cleanupsJack Lloyd2017-09-211-0/+1
|
* Fix bad write if a socket error occurred using --dump-tracesJack Lloyd2017-09-071-5/+5
| | | | Found by Coverity
* Add --dump-traces option to tls_serverJack Lloyd2017-09-021-1/+18
|
* Add a script for running TLS-Attacker, remove old shell scriptsJack Lloyd2017-09-021-20/+18
| | | | [ci skip]
* Enforce signature hash policy properlyJack Lloyd2017-08-311-1/+1
| | | | | | | | Previously if the client did not send signature_algorithms, or if it only included algos not in the policy, we would just fallback to the hardcoded SHA-1 default of TLS v1.2 Instead check the policy before accepting anything.
* Add support for Windows sockets to http_utilRené Korthaus2017-08-041-1/+38
| | | | | | Based on the work by @slicer4ever, adds support for Windows sockets to http_util. As a bonus, we get Windows support for tls_client and tls_server CLI.
* Reformat code with astyle + fix code styleTomasz Frydrych2017-05-011-29/+56
|
* TLS CBC functionality now exposed to the library developer. Useful for ↵Juraj Somorovsky2016-11-191-20/+31
| | | | | | direct TLS CBC testing. CLI TLS server now catches an exception if an invalid connection is received (Otherwise, the server always stopped working)
* Remove remaining old style casts.Jack Lloyd2016-11-091-3/+3
| | | | | | Still not a hard error even in maintainer mode because sometimes system headers pull in C style casts via macros (eg MAP_FAILED). But, it not being a hard error makes it easy to backslide.
* TLS Policy supportChristian Mainka2016-05-031-3/+20
| | | | | | | * --policy works for TLS Server and TLS Client * Example policy BSI_TR-02102-2.txt * Fine granular configuration for TLS 1.0, 1.1, 1.2 and DTLS 1.0 and 1.2 * Minimum ecdh and rsa group size
* Clean up PK decryption encoding.Jack Lloyd2016-03-201-21/+28
| | | | | | | Previously RSA and ElGamal stripped off leading zeros which were then assumed by the padding decoders. Instead have them produce ciphertexts with leading zeros. Changes EME_Raw to strip leading zeros to match existing behavior.
* Fix remaining Wshadow warnings and enable on gcc and clangRené Korthaus2016-02-181-3/+3
|
* Add final attribute to many classesJack Lloyd2016-01-101-1/+1
| | | | | | | In some cases this can offer better optimization, via devirtualization. And it lets the user know the class is not intended for derivation. Some discussion in GH #402
* Avoid having Command* objects be created until requested.Jack Lloyd2015-12-301-1/+1
| | | | Avoids various static init and destruction hassles.
* Add Command::rng()Jack Lloyd2015-12-271-6/+3
| | | | | | | for when a command wants an RNG but doesn't much care what kind. This adds a place where a future --rng-type= option can be consulted to eg use the system RNG or a user seeded DRBG.
* Remove all remaining uses of throwing a std:: exception directlyJack Lloyd2015-12-191-6/+6
| | | | See GH #340 and 6b9a3a5 for background
* CLI rewriteJack Lloyd2015-12-191-154/+130
| | | | | | | | | | | | | | | | | | The command line tools' origin as a collection of examples and test programs glued together led to some unfortunate problems; lots of hardcoded values, missing parameters, and obsolete crypto. Adds a small library for writing command line programs of the sort needed here (cli.h), which cuts the length of many of the commands in half and makes commands more pleasant to write and extend. Generalizes a lot of the commands also, eg previously only signing/verification with DSA/SHA-1 was included! Removes the fuzzer entry point since that's fairly useless outside of an instrumented build. Removes the in-library API for benchmarking.
* Rename cmd/app -> cliSimon Warta2015-12-091-0/+270