apernet / OpenGFW

OpenGFW is a flexible, easy-to-use, open source implementation of GFW (Great Firewall of China) on Linux
https://gfw.dev/
Mozilla Public License 2.0
9.22k stars 697 forks source link

add new protocols #22

Open UallenQbit opened 5 months ago

UallenQbit commented 5 months ago

1.Socks5 2.Socks4 3.Socks4A 4.QUIC 5.Stratum 6.GBT 7.BetterHash 8.NiceHash 9.MEP

The above tests are relatively simple and require relatively large amounts of new ones.

tobyxdd commented 5 months ago

QUIC & SOCKS analyzers are already in the plans, though I haven't found the time to work on them yet.

As for the rest... I believe these are cryptocurrency mining pools and not network protocols?

tobyxdd commented 5 months ago

The idea of this project is that we provide protocol analyzers and a rule engine so that users can use them to create any rule they need. For example, to block Google, we don't provide a "Google analyzer", we provide a TLS analyzer that can extract the domain from SNI, so a user can write a rule to match "google.com" or whatever they want. If we want to have the ability to block mining pools (which I agree is definitely useful), we need analyzers for cryptocurrency protocols.

novohool commented 5 months ago

wireguard http3 shadowsocks

UallenQbit commented 5 months ago

QUIC & SOCKS analyzers are already in the plans, though I haven't found the time to work on them yet.

As for the rest... I believe these are cryptocurrency mining pools and not network protocols?

But these are very necessary to prevent users from mining in vps, and all mining protocols can be proactively probed, which is relatively simple to implement.

balthild commented 5 months ago

Also the bittorrent protocol