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

Changed Maxconn and added nscache6 #9

Open
wants to merge 20 commits into
base: fix/mem-limit
Choose a base branch
from
Open

Changed Maxconn and added nscache6 #9

wants to merge 20 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 31, 2020

Changed maxconn to 500 so it does not conflict with default ulimit.

Added nscache6 line for faster IPv6 requests via faster DNS resolution.

Ishaan added 5 commits March 31, 2020 09:55
Added in prlimit --pid=65535 --nofile=65535 line to increase the ulimit of the 3proxy process.
Changed default maxconn to 500 to avoid ulimit problems and added nscache6 to speed up DNS resolving for IPv6
Fix Maxconn , Stacksize, nscache
Created new script to make proxies that use IP-authentication.
@dukaev
Copy link
Owner

dukaev commented Mar 31, 2020

@ItsDaWither right. open build.sh. As you see install.sh is a result of files.
You need:

  1. add your fix to 3proxy.sh
  2. bash build.sh
  3. Commit changes (3proxy.sh and install.sh)

Ishaan added 7 commits March 31, 2020 14:10
Includes instructions for new IP-Auth Proxy Script.
Fixed typo that accidentally broke the IP auth of the script
Fixed typo with gen_iptables() causing IPtables error when running the script.
@ghost
Copy link
Author

ghost commented Apr 2, 2020

Fixed.

New Script Created: Changes config to use IP authentication and allows ability to use proxies in programs that do not support user/password auth. This script should work but has not been extensively tested.

@dukaev
Copy link
Owner

dukaev commented Apr 3, 2020

@ItsDaWither hi 👋! Thank you for researching and fixing!
Can you prepare for merging? I think, it's extra changes https://github.com/dukaev/ipv4-ipv6-proxy/pull/9/files 🙂

Ishaan added 8 commits April 5, 2020 15:05
Re-writes the config to change all the outgoing IPs- All proxies get same user/pass- Works great in a cron job
Fixed an error with IP-auth ACL causing it to not work correctly
the proxy-rotation script but for IP-auth
proxies missing network configuration causing them to not work at all
Assigns entire ::/64 block (anyIP) to avoid problems arising from too many IPs being assigned to interface
Removes redundant files
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.

1 participant