Commit Graph

946 Commits

Author SHA1 Message Date
Soner Tari
f44db210bb Fix openssl urls 2020-04-02 21:13:38 +03:00
Soner Tari
e2fc1086cf Try fix sudo env 2020-04-02 20:51:44 +03:00
Soner Tari
eb2b91f96b Enable all travis vms and add testproxy e2e tests 2020-04-02 16:54:40 +03:00
Soner Tari
fb500d9a33 Clean up lp make file 2020-04-02 16:49:11 +03:00
Soner Tari
50c1c9477d Try with first travis machine, remove openssl from lp, revert trials 2020-04-01 22:59:40 +03:00
Soner Tari
60924687ed Close ocsp denied conn
Wait until ocsp denied msg is sent and then close the conn in a new http
src w cb
2020-04-01 22:33:08 +03:00
Soner Tari
61f3c86eab Fix e2e test for deny OCSP request
It is not certain if the server should receive the ocsp request of the
client or not, it depends on libevent and various conditions at that
moment
2020-04-01 17:40:41 +03:00
Soner Tari
8a1db3d469 Fix export 2020-04-01 01:00:13 +03:00
Soner Tari
b1edd7e049 Export LD_LIBRARY_PATH before running lp 2020-04-01 00:46:47 +03:00
Soner Tari
fcd71387d0 Use libevent 2.1.11 for testproxy e2e tests 2020-03-31 22:28:56 +03:00
Soner Tari
d1374e70bb Set testproxy log level to 4 2020-03-31 21:33:55 +03:00
Soner Tari
361e1777dd Chain related command lines 2020-03-31 21:07:21 +03:00
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