859 Commits

Author SHA1 Message Date
Yves Rutschle
8a0de7b628
Merge pull request #362 from exussum12/patch-1
Fix typo
2022-10-21 18:08:45 +02:00
Yves Rutschle
5154630fe0
Merge pull request #365 from iamdoubz/master
Update make clean to remove ev builds
2022-10-21 18:07:11 +02:00
iamdoubz
63d5ecddca
Update make clean to remove ev builds 2022-10-20 12:04:02 -05:00
Scott Dutton
e412811ff1
Update config.md 2022-10-16 00:19:21 +01:00
Yves Rutschle
7e3f723699
Merge pull request #356 from utoni/fix/watcher-unitialised-value
Fixes unitialised memory access as seen in issue #355.
2022-09-22 21:10:12 +02:00
Toni Uhlig
a1db2e8a92
Fixes unitialised memory access as seen in issue #355.
==1391== Conditional jump or move depends on uninitialised value(s)
==1391==    at 0x10E92F: watchers_add_read (sslh-select.c:67)
==1391==    by 0x10E92F: watchers_init (sslh-select.c:59)
==1391==    by 0x10E92F: main_loop (sslh-select.c:134)
==1391==    by 0x10DB6D: main (sslh-main.c:285)

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-09-22 11:47:03 +02:00
Yves Rűtschlé
72c743e1e1 acknowledges akappner 2022-09-11 22:15:14 +02:00
Toni Uhlig
61af0b2e09
fix cppcheck complains
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-09-11 22:12:33 +02:00
Yves Rűtschlé
5cba44f5fa Add built-in MSRDP support 2022-09-11 21:51:06 +02:00
Yves Rutschle
9a36854ed3
Merge pull request #353 from utoni/fix/possible-format-str-exploit
fix possible format str vuln
2022-09-11 21:15:51 +02:00
Toni Uhlig
b19f8a6046
fix possible format string exploit if packet dumping enabled
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-09-10 12:53:57 +02:00
Yves Rutschle
bb685f8467
Merge pull request #344 from utoni/improve/makefile-ar
Makefile generates libsslh.a useable for other projects e.g. fuzzer.
2022-09-07 19:11:44 +02:00
Yves Rűtschlé
f418ae6128 added wireguard command-line setting 2022-09-04 18:48:17 +02:00
Yves Rutschle
a6df18527c
Merge pull request #345 from utoni/add/wireguard
add wireguard probe
2022-09-04 18:30:09 +02:00
Yves Rűtschlé
e690cb5622 Merge branch 'master' of https://github.com/yrutschle/sslh 2022-09-04 15:28:55 +02:00
Yves Rűtschlé
64c3e0ed1e improve basic.cfg 2022-09-04 15:26:39 +02:00
Toni Uhlig
b971f3edcd
add wireguard probe
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-08-26 12:27:44 +02:00
Toni Uhlig
d2ec01c072
Makefile generates libsslh.a useable for other projects e.g. fuzzer.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-08-26 12:12:33 +02:00
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