Yves Rutschle
|
8e38d56167
|
Merge pull request #294 from wltu/fix-unused-result
Fixed unused result issue with write()
|
2021-07-31 16:20:06 +02:00 |
|
Yves Rutschle
|
ea3b6794e1
|
Merge pull request #296 from lnslbrty/improved/example-config-udp
Added some example regex for UDP forward.
|
2021-07-31 16:16:15 +02:00 |
|
Toni Uhlig
|
e42f165ef5
|
Added some example regex for UDP forward.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
|
2021-07-30 23:00:24 +02:00 |
|
yrutschle
|
37d2756703
|
move to PCRE for conf file
|
2021-07-23 22:36:20 +02:00 |
|
Willy Tu
|
ec25ab56e8
|
Fixed unused result issue with write()
Simply print an error message if the write result is < 0.
|
2021-07-23 13:21:14 -07: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 |
|
yrutschle
|
e678428334
|
clarify function name
|
2021-05-15 17:57:33 +02:00 |
|
yrutschle
|
edc42ca13b
|
clarify variable name
|
2021-05-15 17:39:34 +02:00 |
|
yrutschle
|
c41ec489e0
|
changed CAP_NET_ADMIN to CAP_NET_RAW as it's enough
|
2021-05-11 06:44:27 +02:00 |
|
yrutschle
|
79f49f4481
|
refactor t_load to use test.cfg as base
|
2021-05-09 16:40:38 +02:00 |
|
yrutschle
|
8e130882fc
|
sslh-fork drops all capabilities after connecting to server side
|
2021-05-09 15:46:25 +02:00 |
|
yrutschle
|
030ef64b99
|
refactor: purified set_capabilities, told to keep or drop CAP_NET_ADMIN instead of deciding for itself
|
2021-05-09 15:39:14 +02:00 |
|
yrutschle
|
cf4f4cbebe
|
typo
|
2021-05-08 22:33:45 +02:00 |
|
yrutschle
|
905ac95ca1
|
do not drop CAP_NET_ADMIN if any of the protocols require transparent proxying
|
2021-05-08 07:44:39 +02:00 |
|
yrutschle
|
da3b51e056
|
upgraded argtable3 to current last version to fix a parsing issue with command line options
|
2021-05-08 07:37:20 +02:00 |
|
yrutschle
|
308b54aa8a
|
remove caveat about UDP refactor
|
2021-05-08 07:06:14 +02:00 |
|
yrutschle
|
987643878f
|
when verbose, precise which listen sockets are udp
|
2021-05-01 16:15:34 +02:00 |
|
yrutschle
|
46e741e9c2
|
add UDP support to echosrv
|
2021-04-25 09:06:31 +02:00 |
|
yrutschle
|
c3d019284d
|
made echosrv independant from common.o and with its own configuration
|
2021-04-24 10:31:41 +02:00 |
|
yrutschle
|
4c570e8d57
|
remove some debug messages
|
2021-04-21 08:48:31 +02:00 |
|
yrutschle
|
0a00220b42
|
justify use of select
|
2021-04-21 08:43:21 +02:00 |
|
yrutschle
|
a0f9fc164e
|
changelog the sslh-select refactoring
|
2021-04-21 08:42:27 +02:00 |
|
yrutschle
|
517e4ad5b4
|
Merge branch 'master' of https://github.com/yrutschle/sslh
|
2021-04-19 09:39:05 +02:00 |
|
yrutschle
|
b258b0e0f7
|
manage probing sockets in a specific list instead of searching through all connections
|
2021-04-19 09:38:22 +02:00 |
|
yrutschle
|
02f6c6999d
|
fix client/server protocol to indicate process death, and make process mortal again
|
2021-04-18 11:18:26 +02:00 |
|
yrutschle
|
41a914b350
|
alloc_cnx returns cnx pointer instead of simple error code
|
2021-04-17 21:29:38 +02:00 |
|
yrutschle
|
a487ad4cbe
|
fix ssh test and add random delays to exercise probing code
|
2021-04-17 21:28:55 +02:00 |
|
yrutschle
|
21ed247acb
|
removed obsolete function
|
2021-04-17 21:00:52 +02:00 |
|
yrutschle
|
dfa5d3cedb
|
simplified some redundant parameters
|
2021-04-17 17:53:45 +02:00 |
|
yrutschle
|
74ce2acdc5
|
make t_load pretty print
|
2021-04-16 22:04:45 +02:00 |
|
yrutschle
|
0e3242c115
|
fix to work with test.cfg
|
2021-04-14 23:27:44 +02:00 |
|
yrutschle
|
5715a9f0bd
|
stop managing connections as array; instead, allocate connections, and fd2cnx is the only pointer to it
|
2021-04-14 23:26:33 +02:00 |
|
yrutschle
|
de474e1d07
|
stop managing connections as array; instead, allocate connections, and fd2cnx is the only pointer to it
|
2021-04-14 23:26:01 +02:00 |
|
yrutschle
|
cb199ed3c6
|
remove redundant dependency
|
2021-04-11 09:38:36 +02:00 |
|
yrutschle
|
7485afe397
|
refactor accept to its own function
|
2021-04-10 08:26:22 +02:00 |
|
yrutschle
|
417722e3c1
|
remove obsolete definitions
|
2021-04-03 21:40:53 +02:00 |
|
yrutschle
|
9fca586735
|
remove over-verboseness
|
2021-04-03 21:39:43 +02:00 |
|
yrutschle
|
0613d412a2
|
refactor: write activity checked on select output rather than on each connection object
|
2021-04-03 21:34:47 +02:00 |
|