25 Commits

Author SHA1 Message Date
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
2c93a015ea make libconfig optionnal again 2020-07-24 16:51:06 +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
f6b11a424b reset config file option to --config 2020-07-17 21:58:23 +02:00
Björn Ketelaars
b473622698 Always initialize config_t structure, fixes #270
Without this change the config_t structure is ONLY initialized when it
meets a specific criterion. If this criterion is not met the config_t
structure is still used, which can cause a segmentation fault.

Fixes #270.
2020-07-14 06:57:43 +02:00
yrutschle
9e2cc93973 syslog connections when specifying probes on the command line 2020-06-19 23:38:33 +02:00
yrutschle
dfa764e2e8 config from new c2s: underscore and dashes are equivalent 2020-01-26 21:19:16 +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
8e203c897e added SOCKS5 to README 2019-06-24 21:39:18 +02:00
yrutschle
e528f519bc relax address matching rule so it matches more than just 'localhost' 2019-03-11 22:21:56 +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
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
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
yrutschle
530acc7c72 Moved command line parsing to conf2struct 2019-01-12 21:33:44 +01:00
yrutschle
ad0adfb0e1 re-integrate command line support 2018-12-07 08:32:36 +01:00
yrutschle
33ab9d535d code cleanup and adaptation of regex probe 2018-12-04 23:11:04 +01:00
yrutschle
d3d4fd657a moved config parse to c2s code 2018-12-03 11:02:20 +01:00
yrutschle
e7ce929020 config file now read to struct with c2s; command line no longer works 2018-11-29 11:56:33 +01:00
yrutschle
7af31c45c9 fix tests so that fragmented tests actually work 2018-11-29 11:52:25 +01:00