z3APA3A
03efdc451b
Add POLLRDHUP support to spliced sockmap
2019-01-11 19:12:03 +03:00
z3APA3A
930d9823ea
Use futex instead of pthread_mutex on Linux
2018-12-28 18:49:45 +03:00
z3APA3A
3f2e621902
Correct socket polling on mapping
2018-12-06 00:32:37 +03:00
z3APA3A
b7e3a85e88
Use non-blocking splice only on write to socket
...
to prevent race condition data is not copied to the pipe yet
2018-12-05 23:41:37 +03:00
z3APA3A
79ea433caf
Can go to 100% CPU if one side have closed connection
2018-12-05 21:44:59 +03:00
z3APA3A
3d9ac1e1fb
Flush splice pipe on socket close
2018-05-12 01:19:11 +03:00
z3APA3A
12b5ad143f
correct trafic accounting in spliced map
2018-04-27 01:52:08 +03:00
Vladimir Dubrovin
b7c667a682
Bugfixes for previous commit
2018-04-23 02:00:53 +03:00
Vladimir Dubrovin
97b97a5664
Typo corrected
2018-04-23 02:00:34 +03:00
z3APA3A
531e0707cf
Simplify splicemap
2018-04-23 02:00:19 +03:00
z3APA3A
b3abf80a50
slicedmap - replace usleep with poll, remove SPLICE_F_MOVE
...
use poll instead of usleep (to get rid of potential blocking in future)
remove SPLICE_F_MOVE
2018-04-22 23:23:22 +03:00
z3APA3A
fd588949c9
remove unneeded check
2018-04-22 22:44:06 +03:00
z3APA3A
a42bb38d76
Use WSAPoll on Windows (except lite version)
2018-04-21 23:57:42 +03:00
z3APA3A
d40e5d458c
FIX: tcppm may not work with parent proxy
2017-02-02 00:36:59 +03:00
z3APA3A
f709255d62
Copyrights cleaned, authradius.c added
2016-12-20 15:47:02 +03:00
z3apa3a
d159c57e1f
Add splice() support on Linux to proxy, socks, ftppt, smtpp, pop3p
...
usage example:
proxy -s
proxy -s2
-s - enable splice() for sockets mapping to avoid data to be copied to user space
-s2 - enable splice() and attempt to free user space buffer ASAP
2016-12-19 22:07:34 +03:00
z3apa3a
6696b35d74
Added -s option support for proxying with splice() for Liux
...
(without copying network data to
userspace). Currently only for tcppm.
2016-12-19 02:56:23 +03:00
z3APA3A
cfa4d11027
Do not fail connection with 333 error on configuration reload
2016-04-26 18:50:57 +03:00
Vladimir Dubrovin
e210f24194
fix for noforce
2016-04-02 12:00:53 +03:00
Vladimir Dubrovin
2fed299b9d
warning fix
2016-04-02 11:22:33 +03:00
z3APA3A
938b1d1aab
re-authenticate connection on configuration change
2016-03-28 17:57:37 +03:00
z3APA3A
eeb2d78fb1
re-authenticate user on
2016-03-28 17:49:27 +03:00
z3APA3A
3b8e7741b3
Compilation warnings cleanup
2016-02-16 15:29:51 +03:00
z3APA3A
e37a7f48d7
Older CVS comments removed
2014-12-13 23:20:00 +03:00
z3APA3A
c7310a2060
initial partial patches for IPv6 client support
2014-10-19 21:54:24 +04:00
z3APA3A
8975b00cce
better EINTR handling
2014-06-11 01:54:25 +04:00
Vladimir Dubrovin
a30d5d51a5
IPv6 server side code
...
+ IPv6 server side support
!!! Auth need to be fixed
2014-05-12 01:10:58 +04:00
z3APA3A
f4c6c9d962
legacy counters code removed
2014-04-14 02:14:34 +04:00
Vladimir Dubrovin
90ca18b3c1
Revert "temp debugging"
...
This reverts commit 97d811fbfd
.
2014-04-10 04:11:55 +04:00
Vladimir Dubrovin
97d811fbfd
temp debugging
2014-04-10 04:11:48 +04:00
Vladimir Dubrovin
2890f06488
traffic counters are changed to 64-bit
...
traffic counters are changed to 64-bit using pstdint.h
2014-04-10 03:34:59 +04:00
z3APA3A
a060376f1e
initial import to git
2014-04-08 13:03:21 +04:00