News for hackers. Stuff that matters.
Re:Show HN: I built a website to share files and messages wi... by James_K on Sunday May 05, 2024 @05:36AM (#40263428)
How can this work without a a server? You surely need a third party to traverse NAT.
Re:Show HN: I built a website to share files and messages wi... by NayamAmarshe on Sunday May 05, 2024 @06:09AM (#40263610)
It's using WebRTC's P2P. It does require internet but the middleman is absent in file-sharing.
Re:Show HN: I built a website to share files and messages wi... by progval on Sunday May 05, 2024 @08:34AM (#40264383)
WebRTC's P2P does require servers; and sometimes even a middleman (TURN). OP wrote about it in https://dikshantraj2001.medium.com/nat-stun-turn-and-ice-466...
Re:Show HN: I built a website to share files and messages wi... by dkraj on Sunday May 05, 2024 @08:39AM (#40264413)
Glad you liked it :)
Re:Show HN: I built a website to share files and messages wi... by dkraj on Sunday May 05, 2024 @08:39AM (#40264408)
We need a STUN server to traverse NAT and get IP addresses but it does not use server to store or share the file. Only ice candidates are gathered, discovered and a handshake is facilitated by a STUN server. If that is not possible it shows error.
Re:Show HN: I built a website to share files and messages wi... by cynicalsecurity on Sunday May 05, 2024 @10:49AM (#40265295)
If at least one party is behind NAT, it's a dead end. I wouldn't trust anyone who makes a false claim it's possible.
Re:Show HN: I built a website to share files and messages wi... by roeles on Sunday May 05, 2024 @12:22PM (#40266018)
Please Google udp hole punching
Re:Show HN: I built a website to share files and messages wi... by wickedsickeune on Sunday May 05, 2024 @12:58PM (#40266301)
In order to do hole punching you need a centralised STUN server.