yrutschle
|
33d73dd514
|
invert distance counting
|
2022-04-08 21:09:45 +02:00 |
|
yrutschle
|
63b503e27f
|
simplify remove with distance computation
|
2022-04-08 19:55:22 +02:00 |
|
yrutschle
|
2e0d6b6e8e
|
removed obsolete variable
|
2022-04-08 18:40:39 +02:00 |
|
yrutschle
|
4625883b7f
|
simplify insertion using distance instead of floors and wrapped
|
2022-04-08 18:38:29 +02:00 |
|
yrutschle
|
07ceb99280
|
remove unused variable
|
2022-04-02 19:04:49 +02:00 |
|
yrutschle
|
5fa03ec9a3
|
fix hash item type definition
|
2022-04-02 18:59:32 +02:00 |
|
yrutschle
|
9ce9b5cd82
|
Integrate hash for UDP
|
2022-04-02 18:48:24 +02:00 |
|
yrutschle
|
97810cf0b2
|
Merge branch 'master' of https://github.com/yrutschle/sslh
|
2022-04-02 15:10:51 +02:00 |
|
Yves Rutschle
|
f8684fc9d6
|
add resolve_on_forward to c2s files (fix #326)
|
2022-04-01 19:35:16 +02:00 |
|
Yves Rutschle
|
5def70dff5
|
fix dependencies so conf2struct gets called before sslh-conf.h is used
|
2022-04-01 19:34:25 +02:00 |
|
yrutschle
|
478e1fc92f
|
abstract hash indexes
|
2022-03-31 22:08:56 +02:00 |
|
yrutschle
|
454a261c95
|
initial hash object with testing framework
|
2022-03-30 22:56:41 +02:00 |
|
yrutschle
|
9c3274359a
|
document resolve_on_forward
|
2022-03-23 21:33:45 +01:00 |
|
yrutschle
|
ff810d41b0
|
Merge branch 'master' of https://github.com/yrutschle/sslh
|
2022-03-18 18:03:29 +01:00 |
|
yrutschle
|
d922086f53
|
handle accept failure properly (fix #322)
|
2022-03-18 18:03:18 +01:00 |
|
yrutschle
|
1e0578c082
|
don't log to syslog when testing
|
2022-03-18 18:02:32 +01:00 |
|
yrutschle
|
91d148f66c
|
removed obsolete resolve_name function
|
2022-03-17 21:51:54 +01:00 |
|
yrutschle
|
66f4b18121
|
ensure conf2struct is called early in the make
|
2022-03-17 21:51:01 +01:00 |
|
yrutschle
|
4e6145576e
|
warn systemd that sslh will fork (fix #314)
|
2021-12-23 21:56:31 +01:00 |
|
yrutschle
|
58ed185316
|
missing header dependency
|
2021-12-19 19:30:21 +01:00 |
|
yrutschle
|
122649ce3c
|
fix log level for unknown ALPN (fix #313)
|
2021-12-12 09:30:07 +01:00 |
|
yrutschle
|
31b096a0f4
|
Merge branch 'master' of https://github.com/yrutschle/sslh
|
2021-12-09 21:33:37 +01:00 |
|
yrutschle
|
adaf407b8a
|
added sslh-ev to install docs
|
2021-12-09 21:29:48 +01:00 |
|
yrutschle
|
9798bdcaa0
|
Merge branch 'master' of https://github.com/yrutschle/sslh
|
2021-11-20 17:00:34 +01:00 |
|
yrutschle
|
93df6975ed
|
set appropriate log level for SNI matching
|
2021-11-20 17:00:24 +01:00 |
|
Yves Rutschle
|
44a78bc515
|
document dependency on libev
|
2021-11-14 18:58:59 +00:00 |
|
yrutschle
|
711c11c820
|
New sslh-ev: this is functionaly equivalent to sslh-select (mono-process, only forks for specified protocols), but based on libev, which should make it scalable to large numbers of connections.
|
2021-11-12 09:05:18 +01:00 |
|
yrutschle
|
ae117097ea
|
sslh-ev in ChangeLog
|
2021-11-12 09:03:30 +01:00 |
|
yrutschle
|
0a23ca133e
|
finalise UDP support for sslh-ev
|
2021-11-11 21:16:37 +01:00 |
|
yrutschle
|
207d482189
|
refactor: move udp timeout management to udp module
|
2021-11-09 18:27:52 +01:00 |
|
yrutschle
|
d4d9dbb8e7
|
remove dependancy to watcher type in UDP timeout
|
2021-11-09 18:12:02 +01:00 |
|
yrutschle
|
8ddff5e388
|
sslh-ev working for TCP
|
2021-11-07 16:13:44 +01:00 |
|
yrutschle
|
a80e2ceb27
|
remove obsolete declaration
|
2021-11-07 13:13:41 +01:00 |
|
yrutschle
|
e28fa91b0f
|
reap children properly
|
2021-11-07 13:13:05 +01:00 |
|
yrutschle
|
17313100b5
|
print cnx type when dumping it
|
2021-11-01 18:48:26 +01:00 |
|
yrutschle
|
4cd3ab8958
|
moved watcher add to watcher init
|
2021-10-28 15:41:09 +02:00 |
|
yrutschle
|
5ec1f7eb98
|
added missing header
|
2021-10-28 15:40:40 +02:00 |
|
yrutschle
|
ec033efbbc
|
refactor more code from sslh-select to processes.c
|
2021-10-26 21:45:44 +02:00 |
|
yrutschle
|
3389000ff3
|
move action processing to its own file
|
2021-10-17 16:02:49 +02:00 |
|
yrutschle
|
25abd765cb
|
refactor: abstract watchers from loop data
|
2021-10-11 22:40:46 +02:00 |
|
yrutschle
|
2cdd60dd18
|
make systemd-sslh-generator work again (fix #308 again)
|
2021-10-04 21:34:22 +02:00 |
|
yrutschle
|
b0aeeff465
|
Include log header before defining macros that depend on log levels. (fix #308)
|
2021-10-04 09:11:41 +02:00 |
|
yrutschle
|
c9eff6e38d
|
removed obsolete declarations
|
2021-10-03 17:25:31 +02:00 |
|
yrutschle
|
0cde3d794a
|
check return values (fix #61)
|
2021-10-02 21:27:31 +02:00 |
|
yrutschle
|
ed48d3964f
|
removed obsolete prototye
|
2021-10-02 21:23:39 +02:00 |
|
yrutschle
|
7b0d486d3d
|
removed obsolete check to verbose
|
2021-10-02 21:23:17 +02:00 |
|
yrutschle
|
0e118a109c
|
Overhaul of the logging system: logs all have classes, and
each class can be configured independently to write to
stderr or syslog.
|
2021-10-02 15:40:32 +02:00 |
|
yrutschle
|
9955cc6560
|
describe verbose options
|
2021-10-02 15:38:22 +02:00 |
|
yrutschle
|
caa62875c1
|
remove --verbose option
|
2021-09-27 13:28:21 +02:00 |
|
yrutschle
|
c8fce0a02f
|
make sure no error will go to stderr if in inetd (fix #303)
|
2021-09-27 13:21:16 +02:00 |
|
yrutschle
|
4277d27063
|
migrate last messages to new log system
|
2021-09-27 13:16:30 +02:00 |
|
yrutschle
|
16bf1a6aca
|
make echosrv independant from common macros
|
2021-09-27 13:01:20 +02:00 |
|
yrutschle
|
4f0f5017bc
|
remove obsolete prototype
|
2021-09-27 12:55:57 +02:00 |
|
yrutschle
|
70b31a48d9
|
migrate generic system call failure checks to new log system
|
2021-09-27 12:53:41 +02:00 |
|
yrutschle
|
66caf8a31b
|
remove log_message
|
2021-09-27 12:51:37 +02:00 |
|
yrutschle
|
4d3cc9c925
|
migrate some more common.c to new log system
|
2021-09-27 12:46:51 +02:00 |
|
yrutschle
|
2e11001087
|
migrate UDP to new log system
|
2021-09-27 12:43:03 +02:00 |
|
yrutschle
|
6ea7d48f86
|
migrate tls.c and probe.c to new log system
|
2021-09-26 16:55:31 +02:00 |
|
yrutschle
|
3fb1201b3f
|
merged transparent proxy setups together, clarifying what is not known to work
|
2021-09-26 16:28:06 +02:00 |
|
yrutschle
|
e9e7ada069
|
convert to hash-based titles
|
2021-09-26 16:13:23 +02:00 |
|
yrutschle
|
e6cbbe9511
|
migrate common.c to new logging system
|
2021-09-26 15:53:21 +02:00 |
|
yrutschle
|
e5f16b93ce
|
hexdump writes to parametrable msg_info
|
2021-09-19 21:54:47 +02:00 |
|
yrutschle
|
673c40954e
|
migrate sslh-fork to new log system
|
2021-09-19 20:29:43 +02:00 |
|
yrutschle
|
f7b6f669a4
|
sslh-select to use new log system
|
2021-09-19 20:24:46 +02:00 |
|
yrutschle
|
dbad46a358
|
remove obsolete debug code
|
2021-09-19 15:19:37 +02:00 |
|
yrutschle
|
098a55fd1d
|
new logging system: now with message classes
|
2021-09-19 15:14:38 +02:00 |
|
yrutschle
|
5e27806545
|
new logging system: now with message classes
|
2021-09-19 15:13:04 +02:00 |
|
yrutschle
|
317c08604b
|
move logging code to its own file
|
2021-09-15 21:51:11 +02:00 |
|
yrutschle
|
3013658b20
|
test to drop connection before writing anything (fix #285)
|
2021-08-28 16:33:20 +02:00 |
|
yrutschle
|
a704c7f7f5
|
fix #302
|
2021-08-28 16:03:58 +02:00 |
|
yrutschle
|
1a3341c2a4
|
be more defensive when allocating and extending gap
|
2021-08-24 20:07:28 +02:00 |
|
yrutschle
|
4a6bbda60d
|
remove obsolete usage string and added lost version option
|
2021-08-24 14:10:14 +02:00 |
|
yrutschle
|
fa848f2ae9
|
do not timeout TCP connections (fix #300)
|
2021-08-24 13:38:18 +02:00 |
|
Yves Rutschle
|
6aa19d080a
|
updated version numbers for release
|
2021-08-17 21:55:18 +02:00 |
|
yrutschle
|
a43385b8db
|
remove hardcoded quick50 and teamspeak. to be replaced with a generalised regex setup to come in next version
|
2021-08-13 18:03:59 +02:00 |
|
yrutschle
|
1261a5f4c7
|
updated some references to obsolete ssl option
|
2021-08-06 22:43:38 +02:00 |
|
yrutschle
|
40da147efd
|
keep track of next UDP timeout to only go through all connections when that happens
|
2021-08-06 22:29:00 +02:00 |
|
yrutschle
|
e4936454c5
|
refactor: take time only once when computing UPD timeouts
|
2021-08-05 17:05:08 +02:00 |
|
yrutschle
|
63f9c4a582
|
added syslog probe (fixes #34)
|
2021-08-04 15:29:05 +02:00 |
|
yrutschle
|
0e45107797
|
advertise new UDP protocols
|
2021-08-01 22:02:42 +02:00 |
|
yrutschle
|
4584e719e1
|
added hardcoded probe for Teamspeak3
|
2021-08-01 22:01:59 +02:00 |
|
yrutschle
|
75e426c80f
|
added hardcoded probe for QUICK50
|
2021-08-01 21:35:24 +02:00 |
|
yrutschle
|
e40d43bea5
|
removed obsolete ssl test pattern
|
2021-08-01 21:27:04 +02:00 |
|
yrutschle
|
2196146224
|
Merge branch 'master' of https://github.com/yrutschle/sslh
|
2021-08-01 21:25:39 +02:00 |
|
yrutschle
|
4b885b4a2c
|
remove obsolete variables
|
2021-07-31 23:34:43 +02:00 |
|
yrutschle
|
ce23f202b7
|
use pcre2 api directly
|
2021-07-31 23:12:55 +02:00 |
|
yrutschle
|
37d2756703
|
move to PCRE for conf file
|
2021-07-23 22:36:20 +02:00 |
|
yrutschle
|
7fb65ad0ac
|
refactor: remove sideeffects from udp_timedout
|
2021-07-18 21:50:40 +02:00 |
|
yrutschle
|
c43882c85f
|
refactor: move timeout management to separate function
|
2021-07-18 21:36:46 +02:00 |
|
yrutschle
|
4a4c571116
|
document UDP support
|
2021-07-16 22:38:53 +02:00 |
|
yrutschle
|
c049885758
|
document UDP support
|
2021-07-16 22:37:41 +02:00 |
|
yrutschle
|
de0ec959d9
|
make udp timeout configurable per protocol
|
2021-07-08 14:13:04 +02:00 |
|
yrutschle
|
e7df8eeaa1
|
removed static known_source arrays, UDP connections are now managed dynamically
|
2021-07-07 19:58:08 +02:00 |
|
yrutschle
|
8af87ebbad
|
report errors as E instead of M, and consolidate restarts as simplified roman numerals
|
2021-07-07 19:56:17 +02:00 |
|
yrutschle
|
bf57d63c3a
|
fix message for fd closure on timeout
|
2021-07-02 08:22:09 +02:00 |
|
yrutschle
|
862e33cfec
|
moved UDP support from sslh-fork to sslh-select
|
2021-07-01 22:44:35 +02:00 |
|
yrutschle
|
24e7f46a43
|
fix for libconfig 1.7.3 (#292)
|
2021-06-23 11:48:59 +02:00 |
|
yrutschle
|
bf2053eb79
|
fail gracefully if libconfig fails to find root element
|
2021-06-22 21:34:08 +02:00 |
|
yrutschle
|
1ad450a444
|
sslh-select sets O_NONBLOCK *before* calling connect, which prevents hanging on an unresposive server (fix #258)
|
2021-05-28 13:38:45 +02:00 |
|
yrutschle
|
300e1916c3
|
add recv and sendto addresses
|
2021-05-16 15:08:33 +02:00 |
|