Coder Social home page Coder Social logo

0x7a657573 / zroxy Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 3.0 228 KB

Transparent TLS sni proxy ( sniproxy ) written with pure C.

License: GNU General Public License v3.0

CMake 1.48% C 95.40% Shell 2.38% Makefile 0.74%
deep-packet-inspection firewall-bypass proxy sni sni-proxy sniproxy socks tls tls-proxy

zroxy's People

Contributors

0x7a657573 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zroxy's Issues

is your app like this app? https://github.com/Intika-Linux-Proxy/SNI-SSL-Proxy

is your app like this app? https://github.com/Intika-Linux-Proxy/SNI-SSL-Proxy in its application?
I mean it does what that application does?

I am looking for something like but whenever I search for sniprxy I get reverse proxies that are for multi-domain hosting, and if I am not wrong I cant use those the way that Intika-Linux-Proxy/SNI-SSL-Proxy does stuff.

basically I live in iran and a lot of websites are blocked here. I am trying to point my lan clients to a internal ip assigned for those blocked websites and then on that ip on port 80/443 then a program run that accepts connections but understand that it needs to proxy them to the actual servers via another proxy (say Tor).

errors in using this app

I tried to use this on my laptop first.
I compiled it (the compile on readme is wrong).

then I run it with this config :

# sni server set bind ip and port.
# patern:  port = <bind ip>:<local port>@<remote port>
# example: port = 127.0.0.1:8080@80,4433@433,853...
PORT = 192.168.1.101:8080@80,4433@433

# set upstream proxy.
# patern : socks = <user>:<pass>@<socks5 ip>:<socks port>
# example: socks = 127.0.0.1:9150
SOCKS = 192.168.1.1:9050

# enable statistics monitor
# patern : monitor = <port>
# example: monitor = 8123
#MONITOR = 8123

# active white list
# patern : white = <path to file>
# example: white = /etc/withlist.txt
#WHITE =

# enable dns forward to socks
# patern:  ldns = <bind ip>:<local port>
# example: ldns = 127.0.0.1:5356
#LDNS = 127.0.0.1:5356
#192.168.1.1:53

# set upstream DNS providers.
# patern : dns = < ip >
# example: dns = 8.8.8.8
#DNS = 192.168.1.1

I get these errors when I point firefox socks5 to the port ip of proxy.

21:46:49 INFO  /home/me/1/zroxy/src/zroxy.c:87: enable socks on 192.168.1.1:9050
21:46:49 INFO  /home/me/1/zroxy/sniproxy/sniproxy.c:34: socket listen on 0.0.0.0:4433
21:46:49 INFO  /home/me/1/zroxy/sniproxy/sniproxy.c:34: socket listen on 192.168.1.101:8080
21:46:49 TRACE /home/me/1/zroxy/src/zroxy.c:100: exit from main thread
21:46:51 ERROR /home/me/1/zroxy/network/net.c:174: Get HTTPS Host: not enough data
21:46:51 ERROR /home/me/1/zroxy/network/net.c:174: Get HTTPS Host: not enough data
21:46:51 ERROR /home/me/1/zroxy/network/net.c:174: Get HTTPS Host: not enough data
21:46:52 ERROR /home/me/1/zroxy/network/net.c:174: Get HTTPS Host: not enough data
21:47:08 INFO  /home/me/1/zroxy/sniproxy/sniclient.c:61: client 7 disconnect 0
21:47:08 INFO  /home/me/1/zroxy/sniproxy/sniclient.c:153: Close tid:7 Host  Tx:0 Rx:0
21:47:08 INFO  /home/me/1/zroxy/sniproxy/sniclient.c:61: client 6 disconnect 0
21:47:08 INFO  /home/me/1/zroxy/sniproxy/sniclient.c:153: Close tid:6 Host  Tx:0 Rx:0
21:47:08 ERROR /home/me/1/zroxy/network/net.c:174: Get HTTPS Host: not enough data
21:47:08 ERROR /home/me/1/zroxy/network/net.c:174: Get HTTPS Host: not enough data
21:47:13 ERROR /home/me/1/zroxy/network/net.c:174: Get HTTPS Host: not enough data
21:47:13 ERROR /home/me/1/zroxy/network/net.c:174: Get HTTPS Host: not enough data

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.