16 Commits

Author SHA1 Message Date
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
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-
ee0392ed03 new option disable-checksum 2018-08-08 13:11:37 -05:00
wangyu-
9c1a8c859d prepare for ipv6 2018-07-25 03:39:48 -05:00
wangyu-
b0614beffa new function tcp csum 2017-11-21 13:42:37 -06:00
wangyu-
bcdb08691b add option keep-reconnect 2017-11-21 13:42:37 -06:00
wangyu-
5672891485 trival 2017-11-21 13:42:36 -06:00
wangyu-
7f18ccee94 refactor 2017-11-21 13:42:36 -06:00
wangyu-
a3b5187b1f aloww len==fec_mtu 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-
0a34cb47ab refactor 2017-10-26 08:38:52 -05:00