Mykola Karpets
6632b716b8
Add systemd socket activation capability
...
Add support for a systemd.socket activation. Socket it passed from
systemd via file descriptor (see systemd.socket doc)
Also, added a few features for convenience:
* --conn/conv-timeout options to control conversation and connection
timeouts
* --shutdown option to shutdown service after all connections are
timeouted. This is for convent usage with systemd.socket
* test script which allows to smoke test udp speeder and its
socket activation capability
* example systemd unit files
2025-03-10 18:49:48 +02:00
yancey
41cac842a8
fix indent problem with clang-format
2023-02-07 05:34:06 -05:00
yancey
43dfb12d9e
rework pr
2023-02-07 05:32:40 -05:00
Fred Wu
c6437cccbb
Update misc.cpp
2022-07-02 16:03:34 +08:00
Fred Wu
89e7e294f2
Update misc.cpp
...
Fix a bug which resets all parameters to default value when writing a fec parameter to the fifo file.
2022-07-02 15:59:02 +08:00
wangyu
7d349251d0
update
2020-07-14 01:33:59 -04:00
wangyu
55606b63f9
refactor --bind and --interface, fix --key
2020-07-13 22:23:17 -04:00
llorx
939b347129
Bind to interface
...
Allow binding to interface instead of IP with SO_BINDTODEVICE.
2019-11-04 23:26:11 +01:00
llorx
79dccfd697
Bind to address
...
Allow binding to address before sending UDP packets.
2019-11-04 22:46:41 +01:00
wangyu-
9a622ce463
updates for tinyfec
2018-08-20 07:58:32 -05:00
wangyu-
16bb483eba
option --debug-fec-enc and --debug-fec-dec
2018-08-18 11:45:30 -05:00
wangyu-
ee0392ed03
new option disable-checksum
2018-08-08 13:11:37 -05:00
wangyu-
1f946ab705
fixed default value
2018-08-05 23:55:15 -05:00
wangyu-
f1334aed81
fixed a log
2018-08-05 22:34:37 -05:00
wangyu-
3e248b414c
fix last commit
2018-08-05 14:02:28 -05:00
wangyu-
25da3a2b03
better tuneable --fec works
2018-08-05 12:55:07 -05:00
wangyu-
489805d90e
prepare for better tuneable fec parameter
2018-08-05 10:51:33 -05:00
wangyu-
513bed7382
changed struct to c++11 unresticted union
2018-07-28 03:48:57 -05:00
wangyu-
9c1a8c859d
prepare for ipv6
2018-07-25 03:39:48 -05:00
U-DESKTOP-T772REH\wangyu
649a55e51a
fix typo
2018-07-05 23:10:34 +08:00
U-DESKTOP-T772REH\wangyu
4b02fdb4bd
fix close and errno, disable log color by default on mingw
2018-06-19 21:29:03 +08:00
U-DESKTOP-T772REH\wangyu
8c21ff55ab
works under mingw, but not finish yet
2018-06-19 18:06:28 +08:00
wangyu-
8827c8469c
fix test, fix core
2018-06-04 02:59:08 -05:00
wangyu-
d4ee2d314b
change random number generator
2018-06-04 00:36:23 -05:00
wangyu-
d56e34bc22
fixed problem of --interval doesnt work
2018-05-21 22:28:38 -05:00
wangyu-
bed88233f6
moved a log
2017-11-26 03:55:14 -06:00
wangyu-
d2bb8f31f4
fixed a statistic error when --disable-fec is used
2017-11-26 02:35:27 -06:00
wangyu-
b0614beffa
new function tcp csum
2017-11-21 13:42:37 -06:00
wangyu-
2dbb26e394
fixed log
2017-11-21 13:42:37 -06:00
wangyu-
bcdb08691b
add option keep-reconnect
2017-11-21 13:42:37 -06:00
wangyu-
f6dba6da1f
trival
2017-11-21 13:42:36 -06:00
wangyu-
2419801654
changed default sub-net
2017-11-21 13:42:36 -06:00
wangyu-
7f18ccee94
refactor
2017-11-21 13:42:36 -06:00
wangyu-
2f0cfe41b1
changed --tun-dev to required argument
2017-11-21 13:42:36 -06:00
wangyu-
7de806f57a
more log,more robust
2017-11-21 13:42:36 -06:00
wangyu-
a3b5187b1f
aloww len==fec_mtu
2017-11-21 13:42:36 -06:00
wangyu-
ba81aa14d4
just commit
2017-11-21 13:42:36 -06:00
wangyu-
d1c88bbc07
implemented connection reject
2017-10-27 04:58:20 -05:00
wangyu-
caa8320743
implement dev tun
2017-10-27 00:03:35 -05:00
wangyu-
f64108867c
fixed merge conflict
2017-10-26 09:49:46 -05:00
wangyu-
47d762958f
refactor
2017-10-26 08:54:18 -05:00
wangyu-
0a34cb47ab
refactor
2017-10-26 08:38:52 -05:00