791 Commits

Author SHA1 Message Date
Toni Uhlig
c7ddee0409
fix possible buffer overflow
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-08-19 20:17:59 +02:00
Yves Rutschle
fb8fe57bd8
Merge pull request #341 from utoni/add/teamspeak-probe
add teamspeak3 (voice only) probe
2022-08-19 18:03:12 +02:00
Yves Rutschle
79c8af6ed1
Merge pull request #340 from utoni/fix/sslh-select
changed `select(nfds, ...)` to `select(nfds + 1, ...)`, see `man 2 select`
2022-08-19 18:00:25 +02:00
Yves Rutschle
c4e7261a51
Merge pull request #339 from utoni/add/config-sanity-checks
add some config sanity checks, fixes #307
2022-08-19 17:53:08 +02:00
Yves Rutschle
7e2bb7f01f
Merge pull request #338 from utoni/add/openvpn-udp-probe
add openvpn udp probe
2022-08-19 17:50:39 +02:00
Toni Uhlig
4cf3749e73
add teamspeak3 (voice only) probe
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-08-14 10:42:58 +02:00
Toni Uhlig
8d124e1085
changed select(nfds, ...) to select(nfds + 1, ...), see man 3 select
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-08-13 23:40:46 +02:00
Toni Uhlig
a6c5e07d69
add some config sanity checks, fixes #307
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-08-13 22:18:26 +02:00
Toni Uhlig
aa17061e26
add openvpn udp probe
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-08-11 17:22:44 +02:00
Yves Rűtschlé
9d10989d55 reword documentation to account for sslh-ev 2022-07-24 17:59:11 +02:00
Yves Rűtschlé
8b604a3db7 defensive programming against inconsistent configuration (fix #336 more) 2022-07-24 17:50:13 +02:00
Yves Rűtschlé
5168fe081a add mention of sslh-ev 2022-07-21 18:24:36 +02:00
Yves Rűtschlé
7b923f793e fix packages names for Debian 11 2022-07-21 18:20:56 +02:00
yrutschle
a4db163a69 config sanity check that there is at least one target protocol for each family that we listen to (fix #336) 2022-07-10 21:16:41 +02:00
yrutschle
b36486bb6d prepare v2.0 v2.0-rc1 2022-06-07 20:57:44 +02:00
yrutschle
d16d132f0e document udp_max_connections in example.cfg 2022-05-31 22:49:39 +02:00
yrutschle
3fffce323d fix dependencies for hash.o (fix #333) 2022-05-25 17:07:19 +02:00
yrutschle
83478818df update comment to mention sslh-ev 2022-05-22 22:33:27 +02:00
yrutschle
750e828d49 reinstate checking of FD_SETSIZE for sslh-select 2022-05-22 22:32:22 +02:00
yrutschle
82aeedefcd allow gap set and get to be inlined 2022-05-05 22:40:12 +02:00
yrutschle
f6fe735171 sort target protocols as TCP or UDP, so only appropriate probes are called by the listeners 2022-05-05 17:45:40 +02:00
yrutschle
78827d75fe provide simple output to stderr (fix #330) 2022-05-05 09:12:45 +02:00
yrutschle
7228c0ebc3 refactor: move TCP code to new object tcp-listener 2022-05-03 17:03:30 +02:00
yrutschle
da194f15f0 make local functions static 2022-05-02 23:01:28 +02:00
yrutschle
d23a537d62 regerenate c2s files 2022-04-30 09:56:08 +02:00
Yves Rutschle
aa14090bcc
Merge pull request #329 from utoni/add/log-to-file
Added support for logging to a file.
2022-04-30 09:53:07 +02:00
yrutschle
006706a901 typo 2022-04-30 09:38:30 +02:00
lns
f9831df8bc Added support for logging to a file.
* Added ASAN/LSAN/UBSAN support via Makefile
 * Fixed a memory leak

Signed-off-by: lns <matzeton@googlemail.com>
2022-04-28 15:19:18 +02:00
yrutschle
c78a50c1d7 remove obsolete code 2022-04-27 17:33:36 +02:00
yrutschle
92e8a3e256 manage timeout with lists instead of linear searches 2022-04-27 17:29:02 +02:00
yrutschle
cd664574f1 manage timeout with lists instead of linear searches 2022-04-27 17:28:13 +02:00
yrutschle
449fabba51 linked list sorted by timeout times 2022-04-24 18:35:09 +02:00
yrutschle
cd5d75fed9 fix off-by-one error that wont time out highest UDP file descriptor 2022-04-24 18:31:27 +02:00
yrutschle
50f5af394b remove obsolete declaration 2022-04-18 22:55:15 +02:00
yrutschle
8ac93c3e9d abstract connection activation 2022-04-18 21:25:07 +02:00
Yves Rutschle
43bd660df2
Merge pull request #328 from jerome992/master
fixed docker compilation error
2022-04-10 16:24:50 +02:00
yrutschle
35036c94c7 make UDP hash size configurable 2022-04-10 09:03:53 +02:00
yrutschle
21d00bd29d remove globals for hash size 2022-04-10 08:45:01 +02:00
Jerome
32b065d895 fixed docker compilation error 2022-04-09 22:09:40 +02:00
yrutschle
cd7afaa00d fix comment to reflect floorless algorithm 2022-04-09 13:27:30 +02:00
yrutschle
53ae8bb913 remove floor entirely 2022-04-09 13:22:55 +02:00
yrutschle
97a67500ea remove need for floor at insert 2022-04-08 21:10:20 +02:00
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