ambrop7
|
a21e23fe8a
port to compile with MSVC
|
13 anos atrás |
ambrop7
|
3f217dcf13
tun2socks: fix typo which might cause a crash if tcp_close() failed due to out of memory (theoretical bug only). Found
|
13 anos atrás |
ambrop7
|
0d99d6a26a
switch to using the New BSD License
|
14 anos atrás |
ambrop7
|
7c999b0a14
call open_standard_streams() on startup to ensure stdin/stdout/stderr file descriptors exist
|
14 anos atrás |
ambrop7
|
b89aef0fa1
Rework logging, don't format log messages if we wouldn't log them. Results in a noticable performance
|
14 anos atrás |
ambrop7
|
3de3e985ef
PacketPassFairQueue: enforce MTU limit through error not assertion
|
14 anos atrás |
ambrop7
|
547c6043a6
cosmetic changes
|
14 anos atrás |
ambrop7
|
484e669d4b
cosmetic changes
|
14 anos atrás |
ambrop7
|
0a2e6d6b46
tun2socks: optimize sending to device by not copyng the packet if there is only one chunk (which appears to be always)
|
14 anos atrás |
ambrop7
|
5b094de8b0
BTap: use a simple send function instead of PacketPassInterface; we send packets immediately anyway.
|
14 anos atrás |
ambrop7
|
97bcc48314
BLog_syslog: move from system to base
|
14 anos atrás |
ambrop7
|
230ac03a87
Replace BSocket with BConnection and BDatagram. On Windows, do all I/O through IOCP.
|
14 anos atrás |
ambrop7
|
cb1485dcd3
rearrange source flow such that 'flow' does not depend on 'system'
|
14 anos atrás |
ambrop7
|
1a51dbc628
tun2socks: add UDP support via udpgw
|
14 anos atrás |
ambrop7
|
2571e6265c
use BLog instead od DEBUG
|
15 anos atrás |
ambrop7
|
9521812f63
tun2socks: make the netif default. Allows forwarding routed packets.
|
15 anos atrás |
ambrop7
|
47fda51c6f
tun2socks: fix assert when SOCKS blocks sending data, and for some reason the code assumed it wouldn't.
|
15 anos atrás |
ambrop7
|
521f7db90f
remove some gccisms
|
15 anos atrás |
ambrop7
|
cf2b736cd0
tun2socks: do cleanup in one place
|
15 anos atrás |
ambrop7
|
e343031ae3
BSignal: simplify, use BUnixSignal on Linux
|
15 anos atrás |
ambrop7
|
da5e62852f
tun2socks: remove dead variable
|
15 anos atrás |
ambrop7
|
73ceb840ac
tun2socks: rename "tapdev" to "tundev"
|
15 anos atrás |
ambrop7
|
6683ce3680
tun2socks: close connections gracefully, regardless of errors
|
15 anos atrás |
ambrop7
|
76ffc9aadf
tun2socks: keep sending buffered data to the other side if one side goes down, regardless of why it went down
|
15 anos atrás |
ambrop7
|
83eacd5afb
tun2socks: when the client closes connection, send out buffered data to SOCKS before removing
|
15 anos atrás |
ambrop7
|
a4b40c3e97
tun2socks: use a sane lwip configuration (e.g. buffer size), minor changes
|
15 anos atrás |
ambrop7
|
2b6cbd8929
tun2socks: print addresses, not pointers
|
15 anos atrás |
ambrop7
|
3fc94044fa
add tun2socks
|
15 anos atrás |