0x7a657573 / zroxy Goto Github PK
View Code? Open in Web Editor NEWTransparent TLS sni proxy ( sniproxy ) written with pure C.
License: GNU General Public License v3.0
Transparent TLS sni proxy ( sniproxy ) written with pure C.
License: GNU General Public License v3.0
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).
how can I compile this (hopefully as a static executable)?
It would be useful to add alternatives to a README with a short description of key differences. Here what I found:
Also maybe stunnel can act as a simple sni proxy
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
any chance to implement http proxy (like squid) upstream?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.