Commit Graph

834 Commits

Author SHA1 Message Date
Soner Tari
454ae1d81a Comment out non-existing users 2020-03-31 19:43:04 +03:00
Soner Tari
85dded1953 Include errno.h 2020-03-31 19:31:39 +03:00
Soner Tari
e3adfba4ba Add errno.h 2020-03-31 19:22:22 +03:00
Soner Tari
3ebfba3044 Disable lp pkg-config for openssl 2020-03-31 18:18:07 +03:00
Soner Tari
2723171e05 Add openssl to lp, fix xnu path, clean up 2020-03-31 18:10:20 +03:00
Soner Tari
7e8fe08a98 Remove lp binary 2020-03-31 17:40:49 +03:00
Soner Tari
155b83c045 Do not export vars to the shell, instead create a main.mk and include it when needed
Otherwise it is almost impossible to stop var redefinitions in
successive builds
2020-03-31 16:19:02 +03:00
Soner Tari
d0d2a0595c Set path to cargo 2020-03-31 12:38:38 +03:00
Soner Tari
b7b03579d7 Disable confirmation prompt for rust install 2020-03-31 12:34:41 +03:00
Soner Tari
6d9cdeb8f5 Install cargo and testproxy to only one linux machine for now 2020-03-31 11:55:30 +03:00
Soner Tari
cf0b3a38cf Create make file to automate testproxy e2e tests Move lp under testproxy 2020-03-31 11:54:00 +03:00
Soner Tari
c69755a4bc Fix osx xnu path 2020-03-29 23:59:48 +03:00
Soner Tari
85d6a8690c Fix error message if check is missing 2020-03-29 23:59:30 +03:00
Soner Tari
665192d2d8 Fix travis sslproxy path 2020-03-29 23:58:54 +03:00
Soner Tari
80016b0a13 Give priority to VERSION_FILE over GITDIR in setting version 2020-03-29 17:23:21 +03:00
Soner Tari
af3366b84f Create make files for src and tests/check folders
Move folders and files related with check tests under tests/check folder
Fix check unit tests accordingly
2020-03-29 16:55:02 +03:00
Soner Tari
8eab8d1da8 Restructure source tree, create src and tests folders, move files accordingly
Remove docker
2020-03-27 14:28:08 +03:00
Soner Tari
59ead752b5 Improve documentation 2020-03-26 17:52:06 +03:00
Soner Tari
2af5d6ccbb Enclose debug related code into DEBUG_PROXY macro 2020-03-15 11:39:59 +03:00
Soner Tari
4574fc1aa4 Prevent possible memory leak if certain global opts which are saved into strings for cloning later on are provided more than once 2020-03-15 11:19:12 +03:00
Soner Tari
b48a0593e4 Remove incomplete proxyspec on the sample command line in usage help 2020-03-13 18:17:56 +03:00
Soner Tari
cb67c33437 Process options passed on the command line as global too, fixes the issue #16 2020-02-14 22:26:05 +13:00
Soner Tari
ad1aa909e8 Convert a couple of timeout commands to recv, now testproxy errors out if conn end receives timeout command while connected
Clean up testproxy tests
2019-08-20 11:47:06 +03:00
Soner Tari
92aecf0bc3 Debug-print sqlite version 2019-08-13 10:12:20 +03:00
Soner Tari
e2a0c99768 Remove all type casts from child to parent ctxs 2019-08-10 15:35:28 +03:00
Soner Tari
009fe9f6ad Merge sslsplit develop changes 2019-08-08 12:23:04 +03:00
Soner Tari
12592bbf00 Fix null error strings with SSL_ERROR_SSL: libevent-2.1.11 pushes SSL_ERROR_SSL causing "Additional SSL error" 2019-08-08 12:15:08 +03:00
Soner Tari
600baa995e Improve LibreSSL support 2019-08-07 12:59:20 +03:00
Soner Tari
3e4ad49f70 Fix LibreSSL version for OPENSSL_NO_SHA0, SHA-0 support was removed in LIBRESSL_VERSION_NUMBER >= 0x20030001L 2019-08-05 14:19:35 +03:00
Soner Tari
08aba78815 Fix LibreSSL version for OPENSSL_init_crypto() support, fixes Travis build 2019-08-05 13:02:26 +03:00
Soner Tari
4a05b4bf05 Increase the default RSA key size to 2048 2019-08-05 12:32:17 +03:00
Soner Tari
df48b3e28d Improve LibreSSL support 2019-08-04 12:09:08 +03:00
Soner Tari
dabc9c7b20 Increase the default RSA key size to 2048 2019-08-04 11:15:05 +03:00
Soner Tari
0d5af14325 Improve exit status handling, merged from sslsplit 2019-08-03 15:31:40 +03:00
Soner Tari
58821e99cf Fix cert_new_load() load chain test failure with LibreSSL 2.9.2: LIBRESSL_VERSION_NUMBER >= 0x20902000L supports SSL_CTX_get0_chain_certs() 2019-08-02 17:29:31 +03:00
Soner Tari
6072cf7bd5 Fix opts test on osx 2019-08-02 13:42:09 +03:00
Soner Tari
52802b6291 Add new opts tests 2019-08-02 13:21:01 +03:00
Soner Tari
fc153338ca Free tmp strs used to clone global opts into proxyspecs asap
Fix English
2019-07-31 14:46:04 +03:00
Soner Tari
1a7dc673bf Fix libressl macros: OPENSSL_VERSION_NUMBER on OpenBSD is always 0x20000000L (> 0x10100000L) 2019-07-31 01:41:24 +03:00
Soner Tari
6cdec55509 Enable Force/Min/MaxSSLProto options with LibreSSL 2.7.2+ (OpenBSD 6.3) 2019-07-31 00:25:57 +03:00
Soner Tari
001420a7ab Fix travis and OpenBSD builds 2019-07-30 23:08:24 +03:00
Soner Tari
231806ea75 Add MinSSLProto/MaxSSLProto options
Fix memout handling
2019-07-30 21:46:18 +03:00
Soner Tari
5961913828 Fix ocsp uri check 2019-07-30 21:00:05 +03:00
Soner Tari
b9b1744568 Fix str var free in passsite_str 2019-07-25 21:24:30 +03:00
Soner Tari
fdcf138150 Put option dbg logs in between DEBUG_OPTS macro
Assume ownership of further code
Clean up
2019-07-23 12:55:06 +03:00
Soner Tari
3c124966e4 Update documentation 2019-07-22 11:24:53 +03:00
Soner Tari
091acf79ab Fix autossl, after changes to reuse parent srvdst as dst 2019-07-21 22:01:56 +03:00
Soner Tari
3cbcffcebc Reuse parent srvdst as dst of first child to avoid connecting to server twice, first conn was to get server cert for forging, so we xfer srvdst to first child after parent does not need it anymore 2019-07-20 22:29:08 +03:00
Soner Tari
78ba1e075c Debug print SSLproxy line on lp 2019-07-18 14:36:47 +03:00
Soner Tari
2cb6dd573e Remove lp binary 2019-07-18 12:28:52 +03:00