juev / tor-relay-scanner-go

Tor Relay availability checker, for using it as a bridge in countries with censorship
MIT License
6 stars 1 forks source link

it should be helpful that bridge ports could be filtered #18

Open alexey-vostrikov opened 2 weeks ago

alexey-vostrikov commented 2 weeks ago

For example i want to filter out briges on ports 80 and 2000 tor-relay-scanner -xp 80,2000

also colon separated list for ports is a must have option

juev commented 2 weeks ago

If possible, you could implement this functionality yourself and provide PR. Otherwise, I'll have to wait until I have time.

juev commented 2 weeks ago

One more thing, now filtering by ports using the p flag has been implemented. Which can be described several times. Thus, if you plan to filter by ports 80 and 2000, you need to use the following flags:

tor-relay-scanner -p 80 -p 2000