622 Commits

Author SHA1 Message Date
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
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
Yves Rutschle
96b1aa86d8
Merge pull request #325 from g1franc/patch-1
Update README.MacOSX
2022-03-31 15:27:00 +02:00
g1franc
b1517f27a8
Update README.MacOSX
Should be *tls* as argument here instead of old *ssl*
2022-03-31 00:06:48 +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
Yves Rutschle
a71de786d6
Merge pull request #323 from milkpirate/feat/resolve-on-connect
Feat/resolve on connect
2022-03-23 21:26:25 +01:00
Yves Rutschle
dd167d13a3
Merge pull request #324 from beango1/patch-1
typo correction
2022-03-23 21:23:05 +01:00
beango1
759e68c8d2
typo correction 2022-03-23 10:22:44 -04:00
Paul Schroeder
78bc954769
review
Signed-off-by: Paul Schroeder <milkpirate@users.noreply.github.com>
2022-03-19 23:18:29 +01:00
Paul Schroeder
3f5c81d2f6
be more clearly
Signed-off-by: Paul Schroeder <milkpirate@users.noreply.github.com>
2022-03-18 18:03:58 +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
Paul Schroeder
87577ae5f6
add functionality
Signed-off-by: Paul Schroeder <milkpirate@users.noreply.github.com>
2022-03-18 17:59:54 +01:00
Paul Schroeder
875fa488c9
add option and description
Signed-off-by: Paul Schroeder <milkpirate@users.noreply.github.com>
2022-03-18 17:59:29 +01:00
yrutschle
91d148f66c removed obsolete resolve_name function 2022-03-17 21:51:54 +01:00