phantomcraft

Results 28 issues of phantomcraft

Unix Sockets are faster than IP sockets and have less latency: https://stackoverflow.com/a/29436429 https://blog.myhro.info/2017/01/how-fast-are-unix-domain-sockets 3proxy with AF_UNIX support would be great in conjunction with WebServers and Load Balancers, some of these...

enhancement

This is a very good idea. It's already implemented in HAProxy: https://fossies.org/linux/haproxy/doc/network-namespaces.txt - https://www.haproxy.org/download/1.5/src/ This feature is going to be implemented in another project: https://github.com/3proxy/3proxy/issues/486 Also, a small tool that...

In haproxy there is a strategy called "leastconn". ==> https://www.digitalocean.com/community/tutorials/an-introduction-to-haproxy-and-load-balancing-concepts **_leastconn Selects the server with the least number of connections–it is recommended for longer sessions. Servers in the same backend...

enhancement

### Description @xjasonlyu This is only a suggestion, if you find irrelevant please tell me and I will close this topic. Let me explain how I use tun2socks and why...

Stale

I'm trying to forward traffic across namespaces, basically I set up a transparent proxy inside a network namespace and forward the traffic to another one. I create namespaces and set...

Easy to implement: ``` if [ "$(command -v obfs4proxy)" ]; then echo "ClientTransportPlugin obfs2,obfs3,obfs4,scramblesuit exec $(command -v obfs4proxy)" >> "$TORCONFIGFILE" fi cat --squeeze-blank /path/to/bridge_list | shuf -n 20 | while...

DNS over TCP is supported by Linux since 2015-05-07: https://web.archive.org/web/20150518063349/http://man7.org:80/linux/man-pages/man5/resolv.conf.5.html All that is needed is TCP support by the resolver. I tested many of this list: https://www.publicdns.xyz/ ^^ ~ 95%...

It's just a suggestion, I don't know if you'll find this relevant, but... When using privileged containers a transparent forwarder with iptables rules is preferable as its faster, but many...

enhancement

If a SOCKS5 proxy has builtin DNS resolution, instead of passing a remote DNS server (8.8.8.8, 1.1.1.1 and others), ask the proxy for resolve domains directly with its own DNS....

I have been testing a similar lib called libttu, but it's old and a little buggy with IPv6 and Unix Sockets together. This is my suggestion.