rofl0r / rofl0r/proxychains-ng

Please add rules for allowed outgoing ports.

Open
#305 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
10.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Please add rules for allowed outgoing ports.
Please add allow, deny outgoing ports rules.

like adding

out_port_rule 80,443 # it will allow only ports 80, 443 to connect via the proxy and dropping all other ports, 
# or you can add 1:443 to allow all ports from 1 to 443 while blocking all others.
[ProxyList]
http 210.215.131.178 46314

Like adding out_port_rule 443 to the conf file will drop all other connections except port
like this config should behave like:

out_port_rule 443
[ProxyList]
http 210.215.131.178 46314

proxychains4 curl https://google.com // Should go through fine.

proxychains4 curl http://google.com // It should be dropped.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the configuration format shown in the issue, especially the proposed out_port_rule syntax alongside [ProxyList]. Use the proxychains4 curl examples to verify the intended allow and deny behavior: HTTPS on port 443 should pass when allowed, while HTTP on port 80 should be dropped. No source files or tests are identified in the issue, so locating the configuration and outgoing-connection handling is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.