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
wangyu-
5bb65af72c
Merge pull request #227 from Llorx/branch_libev
...
Bind to address
2020-07-13 21:12:14 -04:00
wangyu
fbe6c2a308
support cross compile for win and mac
2020-07-13 12:51:49 -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
root
cacf0bcfcb
fix clock goes backward, simpilify timer, hopefully it works
2019-04-08 07:31:13 -04:00
wangyu-
9a622ce463
updates for tinyfec
2018-08-20 07:58:32 -05:00
wangyu-
25da3a2b03
better tuneable --fec works
2018-08-05 12:55:07 -05:00
wangyu-
513bed7382
changed struct to c++11 unresticted union
2018-07-28 03:48:57 -05:00
wangyu-
d4564b6249
fixed ipv6 in -r
2018-07-25 05:10:16 -05:00
wangyu-
461035828a
now it compiles
2018-07-25 04:51:31 -05:00
wangyu-
9c1a8c859d
prepare for ipv6
2018-07-25 03:39:48 -05:00
root
b00d8e6927
add expire time for anti_replay
2018-07-05 07:53:19 +00:00
Charlie Root
f736d78ec2
add freebsd target
2018-06-23 07:51:36 +00:00
wangyu
a6a3305874
fix compile error on mac
2018-06-20 03:27:33 -07:00
U-DESKTOP-T772REH\wangyu
8c21ff55ab
works under mingw, but not finish yet
2018-06-19 18:06:28 +08:00
Charlie Root
7e6cb5c7e6
fix compile error on freebsd
2018-06-15 05:45:08 +00:00
wangyu-
a94c75d6b7
Merge branch 'branch_libev' of https://github.com/wangyu-/UDPspeeder into branch_libev
2018-06-04 03:00:47 -05:00
wangyu-
d4ee2d314b
change random number generator
2018-06-04 00:36:23 -05:00
U-DESKTOP-T772REH\wangyu
2051e47399
port to cygwin
2018-06-04 11:52:33 +08:00
wangyu
36f55b7e22
fix itimerspec
2018-06-03 20:43:57 -07:00
wangyu
9fd6428525
Merge branch 'branch_libev' of https://github.com/wangyu-/UDPspeeder into branch_libev
2018-06-03 20:39:34 -07:00
wangyu
5b9da8dd43
port to mac
2018-06-03 20:39:31 -07:00
wangyu-
20799f78c2
add signal handler
2018-06-03 22:15:05 -05:00
wangyu-
5fcf83e61a
server works
2018-06-03 12:06:47 -05:00
wangyu-
d2cedec091
before port to libev
2018-06-01 02:51:49 -05:00
wangyu-
d56e34bc22
fixed problem of --interval doesnt work
2018-05-21 22:28:38 -05:00
wangyu-
a1d5a3805a
increased timeout
2017-11-21 13:42:38 -06:00
wangyu-
9a23775dfa
increased timeout
2017-11-21 13:42:38 -06:00
wangyu-
214d3afa98
changed parameter
2017-11-21 13:42:37 -06:00
wangyu-
b0614beffa
new function tcp csum
2017-11-21 13:42:37 -06:00
wangyu-
7081c02171
changed parameter
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-
f64108867c
fixed merge conflict
2017-10-26 09:49:46 -05:00
wangyu-
47d762958f
refactor
2017-10-26 08:54:18 -05:00
wangyu-
4dd37700e6
add option fifo
2017-10-24 14:16:17 -05:00
wangyu-
93cbe528cf
more robust,more log
2017-10-17 12:35:03 -05:00
wangyu-
44e7fb94f4
add log
2017-10-13 07:56:53 -05:00
wangyu-
4ab16d096a
fixed conn clear bug
2017-10-11 11:33:56 -05:00
wangyu-
fb3edca8e4
fixed conv clear bug caused by rehash
2017-10-08 01:50:48 -05:00
wangyu-
844eac0d3d
mainly function done
2017-10-05 12:21:06 -05:00
wangyu-
3790eaf67e
changed every send to dest_t style,and it works
2017-09-26 10:51:10 -05:00
wangyu-
507b960ba3
implemented all direction
2017-09-26 04:33:48 -05:00
wangyu-
57710a043a
compile success
2017-09-25 12:50:43 -05:00
wangyu-
44e9f5cb8b
just commit
2017-09-25 10:38:39 -05:00
wangyu-
45032e4a95
before change to multiplex
2017-09-23 02:00:44 -05:00