dnspr: access rules match the name asked about, parent extip binds the query socket
C/C++ CI Linux / ubuntu-24.04-arm (push) Waiting to run
C/C++ CI Linux / ubuntu-latest (push) Waiting to run
C/C++ CI MacOS / macos-15 (push) Waiting to run
C/C++ CI Windows / windows-2022 (push) Waiting to run
C/C++ CI cmake / macos-15 (push) Waiting to run
C/C++ CI cmake / ubuntu-24.04-arm (push) Waiting to run
C/C++ CI cmake / ubuntu-latest (push) Waiting to run
C/C++ CI cmake / windows-2022 (push) Waiting to run
C/C++ CI cmake / ubuntu-latest (wolfSSL) (push) Waiting to run

This commit is contained in:
Vladimir Dubrovin committed 2026-11-27 16:42:44 +03:00
1 parent 1461dbaff0
commit 9281bb6aa5
5 files changed
+195 -6

No files matched your search

+1
View File
@@ -13,6 +13,7 @@
+ -s:MIN,STREAK,SMALL tunes when the automatic splice() mode splices a direction and when it copies again
+ filtermaxsize 0 removes the limit
+ UDP services (udppm, dnspr) run in one thread each, with no thread per client, using epoll on Linux; dnspr waits for name servers without holding a thread
+ dnspr: an access rule's targetlist is matched against the name asked about, as for the other services; parent extip is the address a query to a name server leaves from, and extport limits the port of those queries to a range, while a parent of another kind, having nowhere to connect a query to, is passed over
+ tcptoudp / udptotcp: tunnels between TCP and UDP: datagrams on a TCP connection, each with a two byte length in front of it, as udptunnel and ProxyGuard (eduVPN) put them, the framing alone or after their handshake; -m sends udptunnel's handshake to the target, -m2 ProxyGuard's, -m0 (the default) none; a parent the ACL gives tcptoudp is a SOCKS5 UDP relay, as for udppm
+ Connection buffers are allocated with the connection structure, together with the thread pool fewer allocations per connection
+ Build-time defaults: -DLOGQUEUEMIN, -DLOGQUEUEMAX, -DDEFAULT_POOLMAX, -DPOOLPERSERVICE, -DDEFAULT_POOLTIMEOUT, -DDEFAULT_MAXCHILD
+11 -2
View File
@@ -815,7 +815,12 @@ beginning and at the end of the hostname, e.g. *badsite.com
or *badcontent*. The hostname is only checked if a hostname
is present in the request. Targetportlist may contain ports
(X) or port ranges lists (X-Y). For any field * sign means
ANY. If access list is empty it&acute;s assumed to be <br>
ANY. A query to <b>dnspr</b> carries a hostname but no
destination address and no port: its rules are matched
against the name asked about, and a rule naming a target
port never matches a query, since the port of a name server
is not what the client chose. If access list is empty
it&acute;s assumed to be <br>
allow * <br>
If access list is not empty last item in access list is
assumed to be <br>
@@ -933,7 +938,11 @@ extip</b> does not actually redirect the request; it sets
the external address for this request to <i>&lt;ip&gt;</i>.
It can be chained with another parent type. It&rsquo;s
useful to set the external IP based on ACL or make it
random. <b><br>
random. For <b>dnspr</b>, the address given is the one its
queries to the name servers leave from, and <b>extport</b>
limits the port of those queries to a range; a parent of
another kind, having nowhere to connect a query to, is
passed over and the resolver goes on without it. <b><br>
extport</b> does not redirect the request; it sets the range
the local port of outgoing connections is taken from, given
as <i>FIRST-LAST</i> inclusive in place of the port