HN.zip

Doxx/Darkflare: DarkFlare TCPoCDN (TCP over CDN)

66 points by josephscott - 13 comments
est [3 hidden]5 mins ago
> Services like Cloudflare, Akamai Technologies, Fastly, and Amazon CloudFront ... support millions of websites across critical sectors, including government and healthcare, making them indispensable

The author is pretty naive. There is a reason why Google was left out of the list, in the 2010s people argue "Google is too important and China never dare to block it" then google's whole IP range is blocked.

Amazon Cloudfront, Akmai, Fastly are also (partially) blocked and barely working.

IMHO cleve tricks like "domain fronting" is just freebooting

dlenski [3 hidden]5 mins ago
> IMHO cleve tricks like "domain fronting" is just freebooting

What do you mean by "freebooting"?

We added domain fronting support to the OpenConnect TLS-VPN client _in 2022_ because it is still working and useful for many people working in censored countries and environments. https://gitlab.com/openconnect/openconnect/-/merge_requests/...

est [3 hidden]5 mins ago
> because it is still working

That's a big "still" and you don't loose anything in case the real owner of the "fronted" domain suffers loss.

ignoramous [3 hidden]5 mins ago
You could straight up connect to the destination (over TCP) from Cloudflare without needing relays; a project I wrote demonstrates TCP over HTTP (for Deno Deploy) and TCP over WebSockets (for Workers): https://github.com/serverless-proxy/serverless-proxy

Proxying projects utilising HTTP/TLS are popular in the anti-censorship community (discussion board: https://github.com/net4people/bbs) and there are many variants of it; ex:

- KCP (over UDP): https://github.com/xtaci/kcp-go

- Bepass: https://github.com/bepass-org/bepass-worker

novakwok [3 hidden]5 mins ago
There seems another way to achieve this, using Cloudflare's own cloudflared tunnel.

Install a cloudflared tunnel on your remote server, configure it to forward traffic to that server's hosts proxy server(maybe Shadowsocks) using Zero Trust dashboard, and run the following command on your local computer:

cloudflared access tcp --hostname some.your-domain.tld --url localhost:8080

Then localhost:8080's traffic will be forwarded to cloudflareds' host, the whole traffic is using HTTP2 so might look legitimate to Firewall.

For example if using Shadowsocks on server, your Shadowsocks's local client can connect to localhost:8080 as server to forward traffic.

a-ve [3 hidden]5 mins ago
Is this something like WebTunnel from the Tor Project?

https://gitlab.torproject.org/tpo/anti-censorship/pluggable-...

tomsonj [3 hidden]5 mins ago
chisel is a similar tool in this space https://github.com/jpillora/chisel

I don’t get why headers and requests need to be spoofed if all traffic is over https?

mhio [3 hidden]5 mins ago
The headers are seen by the monster-in-the-middle CDN.

It's obfuscation at best. I'm not sure the encrypted traffic will look particularly php-ish for example. Compressed formats might look vaguely passable.

I can't see any stenography code or libraries in the repo.

coretx [3 hidden]5 mins ago
Because SNI. Also, State (sponsored) Actors are certificate authorities. HTTPS is the biggest scam in internet history. https://en.wikipedia.org/wiki/Server_Name_Indication
duskwuff [3 hidden]5 mins ago
> I don’t get why headers and requests need to be spoofed if all traffic is over https?

Because the traffic is to a CDN endpoint (like Cloudflare) which expects it to be a HTTP message.

Titan2189 [3 hidden]5 mins ago
> I don’t get why headers and requests need to be spoofed if all traffic is over https?

https://en.wikipedia.org/wiki/Deep_packet_inspection

fragmede [3 hidden]5 mins ago
how are they looking inside the packet if it's encrypted?
sodality2 [3 hidden]5 mins ago
DPI doesn't have to decrypt it to make certain guesses about its content. For example, timing information, packet sizes, routing info, etc could lead you to believe it's certain kinds of things (SSH, VPN, etc).