Commit Graph
100 Commits
Author SHA1 Message Date
yrutschle 0409775a1a fix t_load so it works again! 2021-03-17 18:48:27 +01:00
yrutschle 790d639ad0 echosrv to prefix only once 2021-03-07 17:43:42 +01:00
yrutschle e884fc616d add conditional inclusion for header 2021-03-03 18:20:45 +01:00
yrutschle 7e63dedca3 refactor: abstract connection list management to a new 'collection' type 2021-03-03 14:38:24 +01:00
yrutschle 49d4080afd refactor pre-increment to more idiomatic post-increment (fix #282) 2021-03-03 14:29:25 +01:00
yrutschle be4e126f3a refactor: move all read process code to its own function 2021-02-28 18:19:18 +01:00
yrutschle 34bcc2bbc8 refactor: move probing actions to its own function 2021-02-28 10:46:17 +01:00
yrutschle 90975fd6c3 refactor: move all file descriptor info for select to its own struct 2021-02-28 10:12:13 +01:00
yrutschle f91f16d753 make local functions static 2021-02-27 15:33:41 +01:00
yrutschle dae8101a50 remove redundant macro definition 2021-02-27 15:20:15 +01:00
yrutschle 68fc10aed0 comment udp_listener prototype 2021-02-23 21:19:23 +01:00
yrutschle 49c136691c refactor: move UDP code to its own file 2021-02-23 21:17:39 +01:00
yrutschle adb27aa4a3 add a per-protocol transparent proxy option 2021-02-21 21:03:01 +01:00
yrutschle 9ff9723278 precised size types to ssize_t instead of int 2021-02-08 22:50:53 +01:00
yrutschle 52a9356c35 fix typo 2021-01-09 15:34:09 +01:00
yrutschle ac3b43d4bd document choice for UDP buffer management 2021-01-09 15:24:31 +01:00
yrutschle 368f286ce5 added FAQ for virtual hosting 2020-12-20 15:13:13 +01:00
yrutschle 05a835ff1f begin of release not for UDP 2020-12-06 15:50:08 +01:00
yrutschle 0a3d5874b4 free udp connections after some timeout 2020-12-05 22:59:38 +01:00
yrutschle a42d4f8049 forward server responses back to sender 2020-12-04 16:31:52 +01:00
yrutschle 1e33455fe7 don't try to probe a connection that's finished (should fix #284) 2020-12-02 22:49:19 +01:00
yrutschle a3d9df87cb fix typo and explicit a test 2020-12-02 22:48:17 +01:00
yrutschle 247d60d8e6 dump deferred data when dying from unexpected fd activity 2020-12-02 22:05:09 +01:00
yrutschle 7d820049a2 preliminary udp support: forwards incoming packets, no return yet 2020-11-29 15:51:04 +01:00
yrutschle 09597bfa42 refactor: make probe_buffer hexdump input 2020-11-29 10:42:58 +01:00
yrutschle 41e3b0cd1d warn about refactor 2020-11-29 10:19:50 +01:00
yrutschle 76d0351452 change listener_pid type to pid_t 2020-11-14 18:31:43 +01:00
yrutschle fccaa5fa9f refactor: separate probe reading from socket from probe on buffer, so we can call probe on buffer independantly 2020-11-11 22:05:45 +01:00
yrutschle f077101835 refactor: move tcp listener to its own function 2020-11-08 19:09:18 +01:00
yrutschle f3230b4a94 abstract listening sockets so we have protocol information alongside the socket -- echosrv and sslh-select 2020-11-07 22:44:37 +01:00
yrutschle c12f7a1ade abstract listening sockets so we have protocol information alongside the socket 2020-11-07 22:31:49 +01:00
yrutschle ebeabb6c18 add is_udp option and listen to UDP ports 2020-11-07 21:29:09 +01:00
yrutschle 8a1dae8c22 refactor: move local address resolution into start_listen_socket 2020-11-07 18:55:04 +01:00
yrutschle 07719f55b8 refactor echosrv to use conf2struct 2020-11-07 09:29:26 +01:00
yrutschle 6c94bf71b8 refactor: move code to listen to a single address out of start_listen_sockets 2020-11-01 21:21:26 +01:00
yrutschle 0c388cb367 update mailing list address 2020-09-23 21:34:14 +02:00
yrutschle 9f99f296b1 warn about unknown settings in the configuration file 2020-08-29 18:22:42 +02:00
yrutschle 8b6e06e6c7 support for libconfig 1.4.9. Fix #275 2020-08-11 17:37:23 +02:00
yrutschle 5cdff8c558 document how to provide useful information in case of segfault 2020-08-04 17:27:09 +02:00
yrutschle 72438dc1ae dont try to use conffile count if libconfig is not present, fix #274 2020-08-04 16:37:49 +02:00
yrutschle e67d6ff905 removed obsolete support for . Use instead 2020-07-30 09:45:50 +02:00
yrutschle 0af37a1bed initialise runtime data, which avoids using bad pointers in tls.c as in issue 273 2020-07-29 22:52:48 +02:00
yrutschle 08ce89b6e2 fix tinc configuration target 2020-07-29 22:31:02 +02:00
yrutschle 99d4a6d4a2 explicit obsoletion of ssl param 2020-07-29 22:23:36 +02:00
yrutschle 2c93a015ea make libconfig optionnal again 2020-07-24 16:51:06 +02:00
yrutschle 3315a727dc update required conf2struct version 2020-07-19 21:05:36 +02:00
yrutschle 8638199f13 test for command line parameters 2020-07-19 18:32:57 +02:00
yrutschle d7cf82424b add --anyprot command line option (fix #272) 2020-07-18 17:27:32 +02:00
yrutschle ac8563525e fix Changelog for -v 2020-07-18 17:25:39 +02:00
yrutschle 2f983625d0 documentation update 2020-07-18 16:54:23 +02:00
yrutschle f6b11a424b reset config file option to --config 2020-07-17 21:58:23 +02:00
Yves Rutschle de8e5725c2 automatically sign release 2020-07-11 21:39:37 +02:00
Yves Rutschle 0cc516bf51 v1.21 2020-07-11 21:30:26 +02:00
yrutschle 337bd34fb7 fix robustness tests 2020-07-10 23:27:07 +02:00
yrutschle 46d9796bd6 fail as soon as a listen address cannot be resolved 2020-07-10 23:12:03 +02:00
yrutschle 219163ac27 dont keep going if config parse failed 2020-07-10 22:49:41 +02:00
yrutschle 8ddbe59883 warn that transparent proxy is hard 2020-07-06 22:25:42 +02:00
yrutschle c5b0932bad syslog_facility 'none' disables syslog 2020-06-19 23:39:25 +02:00
yrutschle 9e2cc93973 syslog connections when specifying probes on the command line 2020-06-19 23:38:33 +02:00
yrutschle 408c5741f8 rewind logged messages so it does not crash... 2020-06-19 23:01:25 +02:00
Yves Rutschle c595aadb4d log to syslog even if in foreground 2020-05-28 10:13:54 +00:00
yrutschle 61191edf7c initialised FAQ 2020-04-10 21:45:04 +02:00
yrutschle 1009f556fc initialised FAQ 2020-04-10 21:43:46 +02:00
yrutschle 98807771e0 clarify error message for setsockopt IP_TRANSPARENT 2020-01-26 21:35:09 +01:00
yrutschle 4610e220bd update c2s version requirement 2020-01-26 21:20:48 +01:00
yrutschle dfa764e2e8 config from new c2s: underscore and dashes are equivalent 2020-01-26 21:19:16 +01:00
yrutschle 10fe9c6e27 Merge branch 'master' of https://github.com/yrutschle/sslh 2020-01-26 21:13:04 +01:00
yrutschle e913eeeb88 explicit what sslhconf.cfg is for 2019-12-30 21:06:09 +01:00
yrutschle 9d1d9f850a added config parser generated by conf2struct, so sslh builds without conf2struct after cloning 2019-12-30 20:44:16 +01:00
yrutschle 588883eb42 Fix on-timeout setting so it is no longer ignored (issue #253) 2019-12-27 18:26:16 +01:00
yrutschle bae16ab29e Merge branch 'master' of https://github.com/yrutschle/sslh 2019-11-15 22:20:48 +01:00
yrutschle 32851d2041 minor doc clarification for dependencies 2019-11-15 22:20:31 +01:00
yrutschle 891bcf9966 fix error message upon regex syntax error 2019-09-06 21:05:46 +02:00
yrutschle 3aa245efa5 separate connection information creationg from log emission 2019-09-05 15:48:33 +02:00
yrutschle d78c810d84 specify conf2struct version 2019-08-30 22:25:38 +02:00
yrutschle ed3cd40e23 adapt config format to conf2struct v1.0 2019-08-29 22:21:00 +02:00
yrutschle 12edc3dbca merged master 2019-08-16 10:06:31 +02:00
yrutschle 0931dfdf0b specify c2s commit to be used for building 2019-08-16 08:13:34 +02:00
Yves Rutschle 914dc98fb3 added transparent proxy figure 2019-07-08 20:18:57 +00:00
yrutschle 7e047e35b3 updated architecture figure to SVG 2019-07-03 22:45:04 +02:00
yrutschle fde86a778d remove contents from README that was added in doc/ 2019-06-29 21:51:02 +02:00
yrutschle 5bd0235d38 split documentation into separate files in doc/ 2019-06-29 21:50:05 +02:00
yrutschle 177d337ac9 added new tproxy doc 2019-06-29 19:23:56 +02:00
yrutschle 8e203c897e added SOCKS5 to README 2019-06-24 21:39:18 +02:00
yrutschle 6d99f780ef Merge branch 'master' of https://github.com/yrutschle/sslh 2019-05-13 15:21:36 +02:00
yrutschle d5baed3f18 Fix fd2fd return value which should not be -1 on error 2019-05-13 15:21:22 +02:00
yrutschle e528f519bc relax address matching rule so it matches more than just 'localhost' 2019-03-11 22:21:56 +01:00
yrutschle b529069029 print a synthetic test report 2019-03-11 21:31:24 +01:00
yrutschle 67eb471c6f Merge branch 'tfo' 2019-03-10 10:12:33 +01:00
yrutschle 2705face30 TCP_FASTOPEN changelog 2019-03-10 10:11:28 +01:00
yrutschle 4e725e1520 added TFO for listening socket 2019-03-10 10:11:06 +01:00
yrutschle b0c3c8fdbc manage TFO already done in connect call 2019-03-10 09:53:52 +01:00
yrutschle 15f733e572 add tfo_ok configuration setting 2019-03-10 09:46:06 +01:00
yrutschle ff91f94315 Merge client TFO setting 2019-03-10 09:39:48 +01:00
yrutschle e0312b4a9d make ssh fork when on command line as used to be the case before 2019-03-09 12:36:57 +01:00
yrutschle 5a213c9650 c2s fix: initialise root config structure even if no config file is specified 2019-03-09 11:36:24 +01:00
yrutschle 7baf7f724c Move config dump to stderr and verbose > 4 2019-02-08 22:45:16 +01:00
yrutschle 848b107f2b document conf2struct dependency 2019-02-03 21:13:37 +01:00
yrutschle a7b4462c6e Added 'minlength' option 2019-02-03 14:45:14 +01:00
yrutschle 5b309a9b97 update c2f output 2019-01-27 18:53:36 +01:00