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:39 +03:00
1 parent 122150be85
commit b19fa031a8
5 files changed
+195 -6

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
! Fix: a TLS connection was closed when a read needed to write or a write needed to read, as when TLS 1.3 answers a key update while the socket cannot take more data
! Fix: FilePlugin could crash on a TLS connection
- Plugins have to be built with the same version of 3proxy they are loaded by: the structures shared with them are not kept compatible. The socket functions a plugin may replace no longer wait: _poll is replaced by _prepoll, which only tells what the plugin knows to be ready or how the socket is to be waited for, the wait itself being done by 3proxy
+ 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
+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