frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Bypassing Google's big anti-adblock update

https://0x44.xyz/blog/web-request-blocking/
353•deryilz•5h ago•284 comments

Light exposure at night predicts incidence of cardiovascular diseases

https://www.medrxiv.org/content/10.1101/2025.06.20.25329961v1
24•gnabgib•1h ago•7 comments

Kimi k2 largest open source SOTA model?

https://github.com/MoonshotAI/Kimi-K2
203•ConteMascetti71•7h ago•55 comments

MacPaint Art from the Mid-80s Still Looks Great Today

https://blog.decryption.net.au/posts/macpaint.html
738•decryption•15h ago•166 comments

Zig's New Async I/O

https://kristoff.it/blog/zig-new-async-io/
14•afirium•1h ago•1 comments

Dépanneurs

https://walkmontreal.com/curiosities/depanneurs/
42•thomassmith65•3d ago•32 comments

Show HN: I made a JSFiddle-style playground to test and share prompts fast

https://langfa.st/
4•eugenegusarov•6h ago•0 comments

A better Ghidra MCP server – GhidrAssistMCP

https://github.com/jtang613/GhidrAssistMCP
49•jtang613•6h ago•10 comments

OpenAI’s Windsurf deal is off, and Windsurf’s CEO is going to Google

https://www.theverge.com/openai/705999/google-windsurf-ceo-openai
949•rcchen•1d ago•611 comments

Lost Chapter of Automate the Boring Stuff: Audio, Video, and Webcams in Python

https://inventwithpython.com/blog/lost-av-chapter.html
72•AlSweigart•7h ago•2 comments

Exposing a web service with Cloudflare Tunnel (2022)

https://erisa.dev/exposing-a-web-service-with-cloudflare-tunnel/
74•sturza•3d ago•32 comments

The fish kick may be the fastest subsurface swim stroke yet (2015)

https://nautil.us/is-this-new-swim-stroke-the-fastest-yet-235511/
163•bookofjoe•12h ago•118 comments

Supreme Court's ruling practically wipes out free speech for sex writing online

https://ellsberg.substack.com/p/free-speech
377•macawfish•6h ago•491 comments

Second Variety, by Philip K. Dick (1953)

https://www.gutenberg.org/files/32032/32032-h/32032-h.htm
19•djoldman•3d ago•6 comments

Proposed NOAA Budget Kills Program Designed to Prevent Satellite Collisions

https://skyandtelescope.org/astronomy-news/proposed-noaa-budget-kills-program-to-prevent-satellite-collisions/
291•bikenaga•8h ago•172 comments

Two-step system makes plastic from carbon dioxide, water and electricity

https://phys.org/news/2025-06-plastic-carbon-dioxide-electricity.html
20•PaulHoule•3d ago•0 comments

Working through 'Writing A C Compiler'

https://jollygoodsw.wordpress.com/2025/03/13/working-through-writing-a-c-compiler/
104•AlexeyBrin•12h ago•30 comments

ETH Zurich and EPFL to release a LLM developed on public infrastructure

https://ethz.ch/en/news-and-events/eth-news/news/2025/07/a-language-model-built-for-the-public-good.html
647•andy99•1d ago•90 comments

New Date("wtf") – How well do you know JavaScript's Date class?

https://jsdate.wtf
273•OuterVale•16h ago•157 comments

Malware found in official gravityforms plugin indicating supply chain breach

https://patchstack.com/articles/critical-malware-found-in-gravityforms-official-plugin-site/
188•taubek•17h ago•39 comments

Show HN: DesignArena – crowdsourced benchmark for AI-generated UI/UX

https://www.designarena.ai/
62•grace77•9h ago•17 comments

Arizona resident dies from the plague less than 24 hours after showing symptoms

https://www.independent.co.uk/news/health/arizona-plague-death-cases-b2787325.html
191•Anon84•7h ago•98 comments

Show HN: BinaryRPC – Lightweight WebSocket-based RPC framework in modern C++

https://github.com/efecan0/binaryrpc-framework
66•efecan0•7h ago•30 comments

Vibe-Coding a PCB – surprisingly good

https://atomic14.substack.com/p/vibe-coding-a-pcb-surprisingly-good
108•iamflimflam1•8h ago•53 comments

Faking a JPEG

https://www.ty-penguin.org.uk/~auj/blog/2025/03/25/fake-jpeg/
373•todsacerdoti•1d ago•87 comments

First malaria treatment for babies approved for use

https://www.bbc.com/news/articles/c89e872jdjxo
116•toomuchtodo•4d ago•27 comments

Preliminary report into Air India crash released

https://www.bbc.co.uk/news/live/cx20p2x9093t
363•cjr•1d ago•728 comments

'Starter packs' have played a central role in Bluesky's rapid growth

https://www.tu-darmstadt.de/universitaet/aktuelles_meldungen/einzelansicht_512064.en.jsp
51•FinnKuhn•5h ago•36 comments

Sieve (YC X25) is hiring researchers to build large video datasets for AI labs

https://sievedata.com/about/jobs
1•mvoodarla•12h ago

Making a Speedrun Timer in D

https://bradley.chatha.dev/blog/linux-speedrun-timer-dlang/post/
72•LorenDB•4d ago•3 comments
Open in hackernews

Exposing a web service with Cloudflare Tunnel (2022)

https://erisa.dev/exposing-a-web-service-with-cloudflare-tunnel/
74•sturza•3d ago

Comments

44za12•4h ago
I absoltuley love it. Recently used this to host my blog along with multiple hobby projects on my 5-6 years old Raspberry Pi, more on it here:

https://aazar.me/posts/reincarnating-a-raspberry-pi

j45•4h ago
This is awesome, makes me want to try out a Pi for this.
44za12•4h ago
Would 100% recommend, cheapest bare metal you can get, AFAIK.
j45•3h ago
Likely, minus those great little used units.
kramer2718•4h ago
This looks AMAZING! Will be doing this for an upcoming project.
Dachande663•4h ago
(2022)
j45•4h ago
Still relevant, and always new to someone.
ahofmann•4h ago
Posts on hn that are not from the current year should have that information in the title. If it is missing, users post the year in parentheses.
j45•4h ago
That’s a fair thing to include for posts from a prior year.

A post that is new to everyone vs new to some might save a few clicks.

I was commenting on the post still having relevance despite the age, or without the year.

Edit: typo

jekwoooooe•4h ago
I love CF tunnels I use it to “expose” some internal services that are gated with google auth and other zero trust protections. I don’t have to worry about exposing ports or using a vpn.
teiferer•4h ago
I'm sorry, I don't get the point. Perhaps I'm missing something.

If I open a single port to my home server, then anybody can send any traffic to my server on that port. The attack surface is exactly the process running on my home server, listening on that port.

If I use the cloudflare tunnel, anybody using my web service connects to some cloudflare server which transparantly forwards, through the tunnel, everything to the process running at home. The attack surface is ... exactly the process running on my home server, receiving everything coming into the tunnel, effectively listening on the port opened on the cloudflare server.

Where is the difference? Any security issue in the process running on my server that can be exploited by sending traffic to it is attackable in either case.

Does cloudflare filter the traffic in any way? How does it know what's good and what's bad traffic?

hotpocket777•4h ago
I was personally using tailscale funnel (similar?) because my isp didn’t give me a static ip moreso than for any security reason.
iLoveOncall•3h ago
Yeah the point of CloudFlare tunel is absolutely not what is shown in this article. It's to privately expose services on the web without opening ports.

You can out auth, georestrictions, etc. so that people are authorized before they ever reach your computer.

I expose a lot of services on my NAS via CloudFlare tunels, but every single one of them is behind an authentication screen managed by CloudFlare and running on their servers.

toast0•3h ago
> If I open a single port to my home server, then anybody can send any traffic to my server on that port. The attack surface is exactly the process running on my home server, listening on that port.

If you open a single port on your home server, you're exposing that port, sure. But you're also exposing your IP, and with that comes attacks on your IP stack, if you're worried about that. Presumably cloudflare proxies application traffic, but likely normalizes fragmentation and tcp flags and what nots.

Additionally, when you're exposing your IP, you're subject to volumetric attacks on your IP. High volume DDoS is often spoofs your IP to UDP servers that will respond, generating high volumes of traffic that overwhelm either your system in general, or the bandwidth on your connection. If you're behind a tunnel, the tunnel endpoint will get that traffic, and Cloudflare seems to manage that well. If you manage to attract a DDoS at your application level, that could very well make it through the tunnel and overwhelm your service. I think Cloudflare does offer some filters for that, but my knowledge is limited. IMHO, most of the value is from avoiding non-application traffic; but I just host most of my stuff in cheap hosting and if someone wants to DDoS me, my server will go down and that's fine.

teiferer•3h ago
Sure, DDoS protection sounds useful, but that's not at all what the article is about.
toast0•3h ago
The article is mostly about the how, and not the why. It briefly mentions the why with:

> you might be worried about forwarding your IP and connections to the world without properly securing them. Setting it all up sounds like a hassle, right?

If I were to do this, it would be because I didn't want expose my IP to the world. And the two big reasons not to expose your IP are so you can't be DDoSed, and to reduce the privacy impact. Other people have chimed in that they do it because their IP is not static, and I think you can run the CF tunnel client behind CGNAT, which is also valuable.

topspin•2h ago
> I'm sorry, I don't get the point.

The point is the problem of exposing a port, as opposed to the additional problem of whatever security concerns you imagine your backend "process" may have.

I suppose you may not imagine that exposing a port is somehow problematic. However, it is. First, an open port reveals many things[1] about your operation you would likely prefer not to reveal. Second, it requires Internet service that permits control over open ports, and the authority to utilize it, either or both of which may not be available to you.

I have no trouble appreciating the value of this, both for personal and commercial purposes. The inherent DDOS protection alone is a huge benefit.

[1] Off the top of my head: a.) The ASN and, ultimately, the ISP you're using. b.) The approximate physical location of your system. c.) Through fingerprinting, your firewall device, and whatever problems it has.

Ingon•40m ago
Endpoints visible to the internet is one of the main reasons I created connet [1] - with it you can choose when and where to realize the other end. Another benefit is that endpoints talk to each other directly (under many conditions) without traffic ever hitting the cloud.

[1] https://github.com/connet-dev/connet

mgerdts•3h ago
The missing part of this recipe is to make it so that when your internet exposed app gets compromised the attacker doesn’t have easy access to your home network.
topspin•1h ago
I greatly appreciate the fact that solutions to the real concern you point out are not somehow bundled into this. There are many ways to deal with isolating the backend, and I prefer my own, and evolving them as and when I wish. Cloudflare Tunnel is a primitive that solves the part I can't without much greater effort and expense.
speerer•3h ago
The big - really big - downside for me is the CF termsofservice which suggest that any data pushed through their service is perpetually licensed to them:

> 2. LICENSE GRANT TO CLOUDFLARE

> By submitting, posting, or publishing your content, suggestions, enhancement requests, recommendations, feedback, information, data, or comments (“Content”) to any Website or Online Service, you are granting Cloudflare a perpetual, irrevocable, worldwide, non-exclusive, royalty-free right and license (with the right to sublicense) to use, incorporate, exploit, display, perform, reproduce, distribute, and prepare derivative works of your Content.

https://www.cloudflare.com/en-gb/website-terms/

vntok•2h ago
That's incorrect. See:

> THESE TERMS DO NOT APPLY TO YOUR ACCESS AND USE OF THE CLOUDFLARE PRODUCTS AND SERVICES THAT ARE PROVIDED UNDER THE SELF-SERVE SUBSCRIPTION AGREEMENT, THE ENTERPRISE SUBSCRIPTION AGREEMENT, OR OTHER WRITTEN AGREEMENT SIGNED BETWEEN YOU AND CLOUDFLARE (IF APPLICABLE).

ZTNA tunnels only work with a cloudflare account, so they're subject to the self-serve subscription agreement.

> You and your End Users (as such term is defined in the Privacy Policy) will retain all right, title and interest in and to any data, content, code, video, images or other materials of any type that you or your End Users transmit to or through the Services (collectively, “Customer Content”) in the form provided to Cloudflare. Subject to the terms of this Agreement, you hereby grant us a non-exclusive, fully sublicensable, worldwide, royalty-free right to collect, use, copy, store, transmit, modify and create derivative works of Customer Content, in each case to the extent necessary to provide the Services.

jimmydoe•2h ago
I think you might be confused by the two licenses applied to different type of services:

https://www.cloudflare.com/terms/

https://www.cloudflare.com/website-terms/ <- this one you quoted explicitly said it does not cover the one above, which applies to CDN/tunnel/etc

theyknowitsxmas•2h ago
Old guide. These days it's a copy and paste from the dash. You can also PIN protect the subdomain with Access.
jinglemansweep•2h ago
Pangolin
miloschwartz•1h ago
Pangolin could be a great open source alternative if you prefer to self host the server component. You could even set up WAF with CrowdSec which is awesome
password4321•1h ago
Show HN: Pangolin – Open source alternative to Cloudflare Tunnels

https://news.ycombinator.com/item?id=44526015 (yesterday, ~120 comments so far)

yegle•2h ago
AFAIKT it violates CF ToS if you host a service that streams media traffic via Cloudflare Tunnel.

I was worried about this and had to expose my Plex on the internet protected by oauth2-proxy.

theoreticalmal•1h ago
Does violating ToS change your decision making?
blurrybird•23m ago
Being banned from Cloudflare would break my personal email (they’re the registrar) and portfolio site.

So, yes.

Maybe it would be different if you were exclusively using it as a tunnel service.

Hikikomori•1h ago
I do this for my services at home, and added Zero Trust auth for some services. Also created a Python script that adds my compose containers automatically fo cloudflare/Zero Trust based on annotations.
ajd555•45m ago
I've been using this for years. There's even a kubernetes deployment to directly point your tunnel to your local kubetnetes network. Cloudflare's free tier is very generous. I've never experienced any issues with this solution.