3proxy/src
Vladimir Dubrovin f4dca5d462
Some checks are pending
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI MacOS / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI Windows / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ubuntu-latest (wolfSSL) (push) Waiting to run
tcptoudp, udptotcp: tunnels between TCP and UDP
Datagrams on a TCP connection, each with a two byte length in network
order in front of it, which is how udptunnel (the rfc1036 one) and
ProxyGuard (eduVPN) put them there, the framing alone or after a
handshake: udptunnel's 32 bytes, or ProxyGuard's HTTP Upgrade for
UoTLV/1 answered with 101 Switching Protocols.

tcptoudp takes the connections, a UDP socket of its own to the target
for each, the handshake a client speaks recognised by its first bytes
and answered; a parent the ACL gives is a SOCKS5 UDP relay, as for
udppm. udptotcp takes the datagrams, each client a session of the
service's with a TCP connection of its own, connected as the service's
loop sees it writable (dnspr asks a name server over TCP the same way);
-m sends udptunnel's handshake to the target, -m2 ProxyGuard's, -m0
(the default) none, so both ends of either tool are stood in for.

The service names take two places of the string table, the default
configuration path moving two later (stringtable[27]).

Built by the Makefiles and CMake, with the standalone binaries, and
installed by them; a case of the test suite speaks all three handshakes.
2026-11-15 17:36:42 +03:00
..
libs fix wolfSSL, switch minimal/busybox to musl+wolfssl 2026-07-31 11:27:10 +03:00
plugins StringsPlugin: a line's end cut off without reading past it 2026-10-28 12:02:37 +03:00
3proxy_crypt.c wolfSSL support added 2026-07-13 20:24:51 +03:00
3proxy.c tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
3proxy.ico build rc file from res 2020-11-22 02:14:53 +03:00
3proxy.rc Copyright update 2021-07-02 11:50:33 +03:00
acl.c Make filtermaxsize, parentretries, delimchar and maxseg per service 2026-10-13 15:33:35 +03:00
auth.c Reload the configuration atomically 2026-10-14 20:15:14 +03:00
authradius.c radius: the reply hashed with the secret, and taken only from the server asked 2026-10-30 13:47:12 +03:00
auto.c Pre-allocate client/server/tmp/etc buffers with client structure 2026-10-12 17:19:55 +03:00
base64.c Add outsize parameter to en64 2026-08-08 17:58:49 +03:00
common.c Outgoing connections bound with IP_BIND_ADDRESS_NO_PORT 2026-10-25 16:34:14 +03:00
conf.c tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
confinit.h Logs: a thread and a queue for each log; build-time defaults 2026-10-23 19:41:48 +03:00
datatypes.c Logs: a logger for each log string, shared and closed once unused 2026-10-23 11:44:55 +03:00
dnspr.c UDP loop: deadlines in a heap, on a monotonic clock 2026-10-22 23:53:06 +03:00
ftp.c ftppr: the server's answer to USER reaches the client (#1284) 2026-10-26 17:39:25 +03:00
ftppr.c ftppr: the data socket towards the client from the socket functions 2026-10-24 20:55:40 +03:00
hash.c Keep the clock, timetoexit and needreload out of conf 2026-10-13 16:05:33 +03:00
hashtables.c resolver: the system's name servers and hosts file by default 2026-10-20 18:49:21 +03:00
httpsrv.c httpsrv: credentials of an earlier request not inherited by the next 2026-11-13 17:15:55 +03:00
imapp.c per-service timeouts 2026-10-13 15:12:05 +03:00
limiter.c Re-authenticate clients of old services against the new configuration 2026-10-14 23:16:00 +03:00
log.c Logs: a thread and a queue for each log; build-time defaults 2026-10-23 19:41:48 +03:00
mainclient.c connlim: a connection's slot given back once 2026-10-27 00:03:33 +03:00
mainconf.c tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
mainlisten.c Reattach: a new service's slot for its next client taken before it is found 2026-10-23 20:00:29 +03:00
maintcp.c Connect back: a connection one client takes leaves the others waiting 2026-10-24 20:55:40 +03:00
mainudp.c connlim: a connection's slot given back once 2026-10-27 00:03:33 +03:00
Makefile initial import to git 2014-04-08 13:03:21 +04:00
Makefile.inc tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
mdhash.c fix wolfSSL build 2026-07-13 20:50:27 +03:00
mdhash.h wolfSSL support added 2026-07-13 20:24:51 +03:00
pcre.c pcre: a rule with no ACL a match data of its own, not itself 2026-11-08 14:39:32 +03:00
pcre.h Move PCRE/SSL to main code 2026-05-01 15:11:08 +03:00
plugins.c resolver: the system's name servers and hosts file by default 2026-10-20 18:49:21 +03:00
pop3p.c per-service timeouts 2026-10-13 15:12:05 +03:00
proxy.c proxy: credentials of an earlier request not inherited by the next 2026-11-13 17:56:26 +03:00
proxy.h tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
proxymain.c Reattach: a new service's slot for its next client taken before it is found 2026-10-23 20:00:29 +03:00
redirect.c resolver: per service, defaultresolve, fakeresolve or sysresolve 2026-10-21 18:45:48 +03:00
resolve.c resolve: the PTR answer of dnsname walked inside its record data 2026-10-30 12:42:01 +03:00
sem.c Change waiting loops to semaphores for child counters 2026-10-10 23:10:57 +03:00
smtpp.c per-service timeouts 2026-10-13 15:12:05 +03:00
sockgetchar.c sockrecvfrom: poll again when a readable socket has nothing to read 2026-10-22 16:03:21 +03:00
sockmap.c Unix sockets: no addresses on streams, abstract names, tcppm port 0 2026-10-18 12:05:27 +03:00
socks.c resolver: per service, defaultresolve, fakeresolve or sysresolve 2026-10-21 18:45:48 +03:00
sql.c Logs: a thread and a queue for each log; build-time defaults 2026-10-23 19:41:48 +03:00
ssl.c TLS: a read needing to write, or a write to read, waits for it 2026-10-24 20:15:05 +03:00
ssl.h TLS: a part of a record read ahead is not pending data 2026-10-22 12:05:02 +03:00
ssllib.c MITM: a serial number of its own when wolfSSL cannot copy the source's 2026-10-23 13:56:38 +03:00
stringtable.c tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
structures.h tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
tcppm.c per-service timeouts 2026-10-13 15:12:05 +03:00
tcptoudp.c tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
tlspr.c tlspr: a ServerHello too short for the extensions length refused (#1286) 2026-11-10 15:20:03 +03:00
transparent.c Pre-allocate client/server/tmp/etc buffers with client structure 2026-10-12 17:19:55 +03:00
udppm.c dnspr: name servers asked from the loop, nothing waits in it 2026-10-18 16:50:34 +03:00
udpsockmap.c resolver: per service, defaultresolve, fakeresolve or sysresolve 2026-10-21 18:45:48 +03:00
udptotcp.c tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
udptunnel.h tcptoudp, udptotcp: tunnels between TCP and UDP 2026-11-15 17:36:42 +03:00
version.h Update version files for 1.1.0-pre1 2026-10-24 13:18:56 +00:00
webadmin.c Reload the configuration atomically 2026-10-14 20:15:14 +03:00