Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yep, that and public routers blocking types of protocols. There was a phase where I switched to using mDNS (https://en.wikipedia.org/wiki/Multicast_DNS) so you didn't need a QR code, which discovers other devices. Turns out most public wifis (coffee shops) flat out block it.


What protocol were you using before that? Had you looked at using webrtc?


WebRTC is a horribly fantastic mess of complexity which is very hard to work with without using a third-party provider like https://simplewebrtc.com. Your head will be swimming with acronyms like ICE, TURN, STUN, etc. before you even understand the basic signalling mechanisms.



Feross makes really great libraries. WebTorrent, which is basically an extension of simple-peer is fantastic. See https://webtorrent.io.


Compared to many different programming things its really easy. You just have to understand that their reason is to fix all networking problems. Its really _NOT_ complex!


I've never found a good explanation of how it all works - Something that will cover everything from the high level reasons down to explaining what every byte in a typical packet means.

It's just a mess of documents referring to other documents for details.

I'm sure it all makes sense if you just spend a few months making sense of it all, but it's very not much accessible to someone looking do it as a weekend project.


You first stated that these concepts are hard, which is really not the case. Many more terminology is really good explained here: https://webrtcglossary.com/

Not understanding the byte protocol is understandable but a quite different topic. You really don't need to understand it, there are libraries for many programming languages doing the hard work for you. And if you want to understand it, it's normal you have to read a lot of different documents. If you would have no understanding of HTTP/2 you would have to read a lot of RFCs too as every version is built on the former version with retaining many of it's concepts


> You first stated that these concepts are hard, which is really not the case.

That was another person, I don't struggle with that.

> If you would have no understanding of HTTP/2 you would have to read a lot of RFCs too as every version is built on the former version with retaining many of it's concepts

The turd doesn't smell less because you managed to find another.

The reason I wanted to read about it was because some sources say STUN requires two public IPV4. I wanted to know what would happen if I had only one. Or if I had two IPV6.


What about running a default HTTP Proxy VPN for it?


I'm not exactly sure what you mean. Wouldn't that be a centralized thing that everybody has to go through?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: