Skip to content

建议增加acl功能#55

Open
harrydleung wants to merge 213 commits intodarkk:masterfrom
semigodking:master
Open

建议增加acl功能#55
harrydleung wants to merge 213 commits intodarkk:masterfrom
semigodking:master

Conversation

@harrydleung
Copy link

只允许部分机器通过代理,其他机器不走代理

kitty and others added 30 commits January 12, 2013 17:00
Changes:
1. Modified registration of SIGUSR1 to prevent segment fault on MIPS openwrt.
2. Introduced mechanism of self monitor to recover from hang process.
3. Introduced a new type of method 'direct' which relays incoming traffic out
   directly by default route and default interface. This method is useful to
   users whose ISP limits network connections from different computers.
4. Introduced a new type of method 'autosocks5' which by default relays
   incoming traffic out directly by default route and default interface. In
   case relay connection is closed/reset immediately by remote/GFW, redsocks
   then relays the traffic to SOCKS5 proxy. By doing this, most of traffic
   can be relayed without going through proxy. But, for those connections
   blocked by GFW can go through proxy automatically.
2. Enhance address cache in autosocks.c. The new cache stores IP
   addresses in blocks.
timeout occurs while connecting to target. The timeout value is
set to 13 seconds. Whenever a connection to target timeouts,
the connection will be retried via proxy.
2. Detect connection reset with more reliable method.
we failed to connect to target directly. Connection will be retried
via proxy when connection timeouts in about 10 seconds or connection
is reset before data is read & writen successfully.
This method is behaves just like 'autosocks5' and is intent to
support Goagent.
Copilot AI review requested due to automatic review settings March 4, 2026 10:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.