Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议增加acl功能 #55

Open
wants to merge 206 commits into
base: master
Choose a base branch
from
Open

建议增加acl功能 #55

wants to merge 206 commits into from

Conversation

Halry
Copy link

@Halry Halry commented Feb 17, 2015

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

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.
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.