yrutschle
9ff9723278
precised size types to ssize_t instead of int
2021-02-08 22:50:53 +01:00
yrutschle
52a9356c35
fix typo
2021-01-09 15:34:09 +01:00
yrutschle
ac3b43d4bd
document choice for UDP buffer management
2021-01-09 15:24:31 +01:00
yrutschle
368f286ce5
added FAQ for virtual hosting
2020-12-20 15:13:13 +01:00
yrutschle
05a835ff1f
begin of release not for UDP
2020-12-06 15:50:08 +01:00
yrutschle
0a3d5874b4
free udp connections after some timeout
2020-12-05 22:59:38 +01:00
yrutschle
a42d4f8049
forward server responses back to sender
2020-12-04 16:31:52 +01:00
yrutschle
1e33455fe7
don't try to probe a connection that's finished (should fix #284 )
2020-12-02 22:49:19 +01:00
yrutschle
a3d9df87cb
fix typo and explicit a test
2020-12-02 22:48:17 +01:00
yrutschle
247d60d8e6
dump deferred data when dying from unexpected fd activity
2020-12-02 22:05:09 +01:00
yrutschle
7d820049a2
preliminary udp support: forwards incoming packets, no return yet
2020-11-29 15:51:04 +01:00
yrutschle
09597bfa42
refactor: make probe_buffer hexdump input
2020-11-29 10:42:58 +01:00
yrutschle
41e3b0cd1d
warn about refactor
2020-11-29 10:19:50 +01:00
yrutschle
76d0351452
change listener_pid type to pid_t
2020-11-14 18:31:43 +01:00
yrutschle
fccaa5fa9f
refactor: separate probe reading from socket from probe on buffer, so we can call probe on buffer independantly
2020-11-11 22:05:45 +01:00
yrutschle
f077101835
refactor: move tcp listener to its own function
2020-11-08 19:09:18 +01:00
yrutschle
f3230b4a94
abstract listening sockets so we have protocol information alongside the socket -- echosrv and sslh-select
2020-11-07 22:44:37 +01:00
yrutschle
c12f7a1ade
abstract listening sockets so we have protocol information alongside the socket
2020-11-07 22:31:49 +01:00
yrutschle
ebeabb6c18
add is_udp option and listen to UDP ports
2020-11-07 21:29:09 +01:00
yrutschle
8a1dae8c22
refactor: move local address resolution into start_listen_socket
2020-11-07 18:55:04 +01:00
yrutschle
07719f55b8
refactor echosrv to use conf2struct
2020-11-07 09:29:26 +01:00
yrutschle
6c94bf71b8
refactor: move code to listen to a single address out of start_listen_sockets
2020-11-01 21:21:26 +01:00
Fabrice Fontaine
0d9e004d32
Makefile: fix static linking with pcre
...
Static build with pcre is broken since version 1.19b and
cb90cc97ae
because -lpcre has been replaced by -lpcreposix which will result in
the following static build failure:
/srv/storage/autobuild/run/instance-1/output-1/host/bin/mipsel-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -o echosrv echosrv.o probe.o common.o tls.o -lpcreposix -lconfig -lcap
/srv/storage/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/8.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-1/output-1/host/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libpcreposix.a(libpcreposix_la-pcreposix.o): in function `regfree':
pcreposix.c:(.text+0x120): undefined reference to `pcre_free'
So append -lpcre after -lpcreposix
Fixes:
- http://autobuild.buildroot.org/results/a601824fc0c205a6a940e0f9f079ce2c39840605
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-10-15 08:05:02 +02:00
yrutschle
0c388cb367
update mailing list address
2020-09-23 21:34:14 +02:00
yrutschle
9f99f296b1
warn about unknown settings in the configuration file
2020-08-29 18:22:42 +02:00
yrutschle
8b6e06e6c7
support for libconfig 1.4.9. Fix #275
2020-08-11 17:37:23 +02:00
yrutschle
5cdff8c558
document how to provide useful information in case of segfault
2020-08-04 17:27:09 +02:00
yrutschle
72438dc1ae
dont try to use conffile count if libconfig is not present, fix #274
2020-08-04 16:37:49 +02:00
yrutschle
e67d6ff905
removed obsolete support for . Use instead
v1.21c
2020-07-30 09:45:50 +02:00
yrutschle
0af37a1bed
initialise runtime data, which avoids using bad pointers in tls.c as in issue 273
2020-07-29 22:52:48 +02:00
yrutschle
08ce89b6e2
fix tinc configuration target
2020-07-29 22:31:02 +02:00
yrutschle
99d4a6d4a2
explicit obsoletion of ssl param
2020-07-29 22:23:36 +02:00
yrutschle
2c93a015ea
make libconfig optionnal again
2020-07-24 16:51:06 +02:00
yrutschle
3315a727dc
update required conf2struct version
v1.21b
2020-07-19 21:05:36 +02:00
yrutschle
8638199f13
test for command line parameters
2020-07-19 18:32:57 +02:00
yrutschle
d7cf82424b
add --anyprot command line option ( fix #272 )
2020-07-18 17:27:32 +02:00
yrutschle
ac8563525e
fix Changelog for -v
2020-07-18 17:25:39 +02:00
yrutschle
2f983625d0
documentation update
2020-07-18 16:54:23 +02:00
yrutschle
f6b11a424b
reset config file option to --config
2020-07-17 21:58:23 +02:00
yrutschle
cf46cd5bb4
Merge pull request #271 from bket/config_init
...
Always initialize config_t structure, fixes #270
2020-07-15 21:15:49 +02:00
Björn Ketelaars
b473622698
Always initialize config_t structure, fixes #270
...
Without this change the config_t structure is ONLY initialized when it
meets a specific criterion. If this criterion is not met the config_t
structure is still used, which can cause a segmentation fault.
Fixes #270 .
2020-07-14 06:57:43 +02:00
Yves Rutschle
de8e5725c2
automatically sign release
2020-07-11 21:39:37 +02:00
Yves Rutschle
0cc516bf51
v1.21
v1.21
2020-07-11 21:30:26 +02:00
yrutschle
337bd34fb7
fix robustness tests
2020-07-10 23:27:07 +02:00
yrutschle
46d9796bd6
fail as soon as a listen address cannot be resolved
2020-07-10 23:12:03 +02:00
yrutschle
219163ac27
dont keep going if config parse failed
2020-07-10 22:49:41 +02:00
yrutschle
8ddbe59883
warn that transparent proxy is hard
2020-07-06 22:25:42 +02:00
yrutschle
c5b0932bad
syslog_facility 'none' disables syslog
2020-06-19 23:39:25 +02:00
yrutschle
9e2cc93973
syslog connections when specifying probes on the command line
2020-06-19 23:38:33 +02:00
yrutschle
408c5741f8
rewind logged messages so it does not crash...
2020-06-19 23:01:25 +02:00