Commit Graph

  • 3389000ff3 move action processing to its own file yrutschle 2021-10-17 16:02:49 +02:00
  • 25abd765cb refactor: abstract watchers from loop data yrutschle 2021-10-11 22:40:46 +02:00
  • 2cdd60dd18 make systemd-sslh-generator work again (fix #308 again) yrutschle 2021-10-04 21:34:22 +02:00
  • b0aeeff465 Include log header before defining macros that depend on log levels. (fix #308) yrutschle 2021-10-04 09:10:33 +02:00
  • c9eff6e38d removed obsolete declarations yrutschle 2021-10-03 17:25:31 +02:00
  • 0cde3d794a check return values (fix #61) yrutschle 2021-10-02 21:27:31 +02:00
  • ed48d3964f removed obsolete prototye yrutschle 2021-10-02 21:23:39 +02:00
  • 7b0d486d3d removed obsolete check to verbose yrutschle 2021-10-02 21:23:17 +02:00
  • 0e118a109c Overhaul of the logging system: logs all have classes, and each class can be configured independently to write to stderr or syslog. yrutschle 2021-10-02 15:40:32 +02:00
  • 9955cc6560 describe verbose options yrutschle 2021-10-02 15:38:22 +02:00
  • caa62875c1 remove --verbose option yrutschle 2021-09-27 13:28:21 +02:00
  • c8fce0a02f make sure no error will go to stderr if in inetd (fix #303) yrutschle 2021-09-27 13:21:16 +02:00
  • 4277d27063 migrate last messages to new log system yrutschle 2021-09-27 13:16:30 +02:00
  • 16bf1a6aca make echosrv independant from common macros yrutschle 2021-09-27 13:01:20 +02:00
  • 4f0f5017bc remove obsolete prototype yrutschle 2021-09-27 12:55:57 +02:00
  • 70b31a48d9 migrate generic system call failure checks to new log system yrutschle 2021-09-27 12:53:41 +02:00
  • 66caf8a31b remove log_message yrutschle 2021-09-27 12:51:37 +02:00
  • 4d3cc9c925 migrate some more common.c to new log system yrutschle 2021-09-27 12:46:51 +02:00
  • 2e11001087 migrate UDP to new log system yrutschle 2021-09-27 12:43:03 +02:00
  • 6ea7d48f86 migrate tls.c and probe.c to new log system yrutschle 2021-09-26 16:55:31 +02:00
  • 3fb1201b3f merged transparent proxy setups together, clarifying what is not known to work yrutschle 2021-09-26 16:28:06 +02:00
  • e9e7ada069 convert to hash-based titles yrutschle 2021-09-26 16:13:23 +02:00
  • e6cbbe9511 migrate common.c to new logging system yrutschle 2021-09-26 15:53:21 +02:00
  • e5f16b93ce hexdump writes to parametrable msg_info yrutschle 2021-09-19 21:54:47 +02:00
  • 673c40954e migrate sslh-fork to new log system yrutschle 2021-09-19 20:29:43 +02:00
  • f7b6f669a4 sslh-select to use new log system yrutschle 2021-09-19 20:24:46 +02:00
  • dbad46a358 remove obsolete debug code yrutschle 2021-09-19 15:19:37 +02:00
  • 098a55fd1d new logging system: now with message classes yrutschle 2021-09-19 15:14:38 +02:00
  • 5e27806545 new logging system: now with message classes yrutschle 2021-09-19 15:13:04 +02:00
  • 317c08604b move logging code to its own file yrutschle 2021-09-15 21:51:11 +02:00
  • 3013658b20 test to drop connection before writing anything (fix #285) v1.22c yrutschle 2021-08-28 16:33:20 +02:00
  • a704c7f7f5 fix #302 yrutschle 2021-08-28 16:03:58 +02:00
  • 1a3341c2a4 be more defensive when allocating and extending gap v1.22b yrutschle 2021-08-24 20:07:28 +02:00
  • 4a6bbda60d remove obsolete usage string and added lost version option yrutschle 2021-08-24 14:10:14 +02:00
  • fa848f2ae9 do not timeout TCP connections (fix #300) yrutschle 2021-08-24 13:38:18 +02:00
  • a3640775bb
    Allow supplying additional CFLAGS Aaron Madlon-Kay 2021-08-18 08:49:33 +09:00
  • 6aa19d080a updated version numbers for release v1.22 Yves Rutschle 2021-08-17 21:55:18 +02:00
  • a43385b8db remove hardcoded quick50 and teamspeak. to be replaced with a generalised regex setup to come in next version yrutschle 2021-08-13 18:03:59 +02:00
  • 1261a5f4c7 updated some references to obsolete ssl option yrutschle 2021-08-06 22:43:38 +02:00
  • 40da147efd keep track of next UDP timeout to only go through all connections when that happens yrutschle 2021-08-06 22:29:00 +02:00
  • e4936454c5 refactor: take time only once when computing UPD timeouts yrutschle 2021-08-05 17:05:08 +02:00
  • 63f9c4a582 added syslog probe (fixes #34) yrutschle 2021-08-04 15:26:50 +02:00
  • 0e45107797 advertise new UDP protocols yrutschle 2021-08-01 22:02:42 +02:00
  • 4584e719e1 added hardcoded probe for Teamspeak3 yrutschle 2021-08-01 22:01:59 +02:00
  • 75e426c80f added hardcoded probe for QUICK50 yrutschle 2021-08-01 21:35:24 +02:00
  • e40d43bea5 removed obsolete ssl test pattern yrutschle 2021-08-01 21:27:04 +02:00
  • 2196146224 Merge branch 'master' of https://github.com/yrutschle/sslh yrutschle 2021-08-01 21:25:39 +02:00
  • 2f822741b3
    Merge pull request #297 from jeremiejig/master Yves Rutschle 2021-08-01 21:25:05 +02:00
  • 760def3444 update doc CAP_NET_RAW, remove CAP_SETUID/SETGID Jeremiejig 2021-08-01 21:08:52 +04:00
  • 4b885b4a2c remove obsolete variables yrutschle 2021-07-31 23:34:43 +02:00
  • ce23f202b7 use pcre2 api directly yrutschle 2021-07-31 23:12:55 +02:00
  • 82b8ba547e
    Merge pull request #205 from inztar/master Yves Rutschle 2021-07-31 16:28:42 +02:00
  • 8e38d56167
    Merge pull request #294 from wltu/fix-unused-result Yves Rutschle 2021-07-31 16:20:06 +02:00
  • ea3b6794e1
    Merge pull request #296 from lnslbrty/improved/example-config-udp Yves Rutschle 2021-07-31 16:16:15 +02:00
  • e42f165ef5
    Added some example regex for UDP forward. Toni Uhlig 2021-07-30 22:55:38 +02:00
  • 37d2756703 move to PCRE for conf file yrutschle 2021-07-23 22:36:20 +02:00
  • ec25ab56e8 Fixed unused result issue with write() Willy Tu 2021-07-23 13:21:14 -07:00
  • 7fb65ad0ac refactor: remove sideeffects from udp_timedout yrutschle 2021-07-18 21:50:40 +02:00
  • c43882c85f refactor: move timeout management to separate function yrutschle 2021-07-18 21:36:46 +02:00
  • 4a4c571116 document UDP support yrutschle 2021-07-16 22:38:53 +02:00
  • c049885758 document UDP support yrutschle 2021-07-16 22:37:41 +02:00
  • de0ec959d9 make udp timeout configurable per protocol yrutschle 2021-07-08 14:13:04 +02:00
  • e7df8eeaa1 removed static known_source arrays, UDP connections are now managed dynamically yrutschle 2021-07-07 19:58:08 +02:00
  • 8af87ebbad report errors as E instead of M, and consolidate restarts as simplified roman numerals yrutschle 2021-07-07 19:56:17 +02:00
  • bf57d63c3a fix message for fd closure on timeout yrutschle 2021-07-02 08:22:09 +02:00
  • 862e33cfec moved UDP support from sslh-fork to sslh-select yrutschle 2021-07-01 22:44:35 +02:00
  • 24e7f46a43 fix for libconfig 1.7.3 (#292) yrutschle 2021-06-23 11:48:59 +02:00
  • bf2053eb79 fail gracefully if libconfig fails to find root element yrutschle 2021-06-22 21:34:08 +02:00
  • 1ad450a444 sslh-select sets O_NONBLOCK *before* calling connect, which prevents hanging on an unresposive server (fix #258) yrutschle 2021-05-28 13:38:45 +02:00
  • 300e1916c3 add recv and sendto addresses yrutschle 2021-05-16 15:08:33 +02:00
  • e678428334 clarify function name yrutschle 2021-05-15 17:57:33 +02:00
  • edc42ca13b clarify variable name yrutschle 2021-05-15 17:39:34 +02:00
  • c41ec489e0 changed CAP_NET_ADMIN to CAP_NET_RAW as it's enough yrutschle 2021-05-11 06:44:27 +02:00
  • 79f49f4481 refactor t_load to use test.cfg as base yrutschle 2021-05-09 16:40:38 +02:00
  • 8e130882fc sslh-fork drops all capabilities after connecting to server side yrutschle 2021-05-09 15:46:25 +02:00
  • 030ef64b99 refactor: purified set_capabilities, told to keep or drop CAP_NET_ADMIN instead of deciding for itself yrutschle 2021-05-09 15:39:14 +02:00
  • cf4f4cbebe typo yrutschle 2021-05-08 22:33:45 +02:00
  • 905ac95ca1 do not drop CAP_NET_ADMIN if any of the protocols require transparent proxying yrutschle 2021-05-08 07:44:39 +02:00
  • da3b51e056 upgraded argtable3 to current last version to fix a parsing issue with command line options yrutschle 2021-05-08 07:37:20 +02:00
  • 308b54aa8a remove caveat about UDP refactor yrutschle 2021-05-08 07:06:14 +02:00
  • 987643878f when verbose, precise which listen sockets are udp yrutschle 2021-05-01 16:15:34 +02:00
  • 46e741e9c2 add UDP support to echosrv yrutschle 2021-04-25 09:06:31 +02:00
  • c3d019284d made echosrv independant from common.o and with its own configuration yrutschle 2021-04-24 10:31:41 +02:00
  • 4c570e8d57 remove some debug messages yrutschle 2021-04-21 08:48:31 +02:00
  • 0a00220b42 justify use of select yrutschle 2021-04-21 08:43:21 +02:00
  • a0f9fc164e changelog the sslh-select refactoring yrutschle 2021-04-21 08:42:27 +02:00
  • 517e4ad5b4 Merge branch 'master' of https://github.com/yrutschle/sslh yrutschle 2021-04-19 09:39:05 +02:00
  • b258b0e0f7 manage probing sockets in a specific list instead of searching through all connections yrutschle 2021-04-19 09:38:22 +02:00
  • 02f6c6999d fix client/server protocol to indicate process death, and make process mortal again yrutschle 2021-04-18 11:18:26 +02:00
  • 41a914b350 alloc_cnx returns cnx pointer instead of simple error code yrutschle 2021-04-17 21:29:38 +02:00
  • a487ad4cbe fix ssh test and add random delays to exercise probing code yrutschle 2021-04-17 21:28:55 +02:00
  • 21ed247acb removed obsolete function yrutschle 2021-04-17 21:00:52 +02:00
  • dfa5d3cedb simplified some redundant parameters yrutschle 2021-04-17 17:53:45 +02:00
  • 74ce2acdc5 make t_load pretty print yrutschle 2021-04-16 22:04:45 +02:00
  • 0e3242c115 fix to work with test.cfg yrutschle 2021-04-14 23:27:44 +02:00
  • 5715a9f0bd stop managing connections as array; instead, allocate connections, and fd2cnx is the only pointer to it yrutschle 2021-04-14 23:26:33 +02:00
  • de474e1d07 stop managing connections as array; instead, allocate connections, and fd2cnx is the only pointer to it yrutschle 2021-04-14 23:26:01 +02:00
  • cb199ed3c6 remove redundant dependency yrutschle 2021-04-11 09:38:36 +02:00
  • 7485afe397 refactor accept to its own function yrutschle 2021-04-10 08:26:22 +02:00
  • 417722e3c1 remove obsolete definitions yrutschle 2021-04-03 21:40:53 +02:00