What would happen if we didn't use TCP or UDP?
1–10 of 116 posts
Re: What would happen if we didn't use TCP or UDP?
#2Re: What would happen if we didn't use TCP or UDP?
#3 sock_raw = socket(AF_PACKET , SOCK_RAW , htons(ETH_P_ALL));
IP networks should forward anything, but NAT is a major problem. Would be interesting to try with IPv6.Re: What would happen if we didn't use TCP or UDP?
#4You don't need to make up your own for this experiment. There's already a pretty old protocol that's far superior to TCP, but failed to get adoption because of network hardware dropping everything other than TCP and UDP. It's called SCTP.
Re: What would happen if we didn't use TCP or UDP?
#5You don't need to make up your own for this experiment. There's already a pretty old protocol that's far superior to TCP, but failed to get adoption because of network hardware dropping everything other than TCP and UDP. It's called SCTP.
SCTP is really cool, I first found out about it because it’s the basis for WebRTC data channels. It’s basically reliable UDP, but you can turn off the reliability if you want. Makes me wonder why QUIC exists when SCTP does…
Because QUIC uses UDP, which is supported by most/all intermediate routing equipment.
Re: What would happen if we didn't use TCP or UDP?
#6Earlier quoted context omitted.
SCTP is really cool, I first found out about it because it’s the basis for WebRTC data channels. It’s basically reliable UDP, but you can turn off the reliability if you want. Makes me wonder why QUIC exists when SCTP does…
> why QUIC exists when SCTP does Because QUIC uses UDP, which is supported by most/all intermediate routing equipment.
Edit: a quick search showed that NAT traversal is an issue (of course!)
Re: What would happen if we didn't use TCP or UDP?
#7Earlier quoted context omitted.
> why QUIC exists when SCTP does Because QUIC uses UDP, which is supported by most/all intermediate routing equipment.
Is this a real issue? SCTP runs over IP, so unless your talking about firewalls and such, the support should be there. Edit: a quick search showed that NAT traversal is an issue (of course!)
Re: What would happen if we didn't use TCP or UDP?
#8What you want is a packet socket: sock_raw = socket(AF_PACKET , SOCK_RAW , htons(ETH_P_ALL)); IP networks should forward anything, but NAT is a major problem. Would be interesting to try with IPv6.
I'll try out IPv6
Re: What would happen if we didn't use TCP or UDP?
#9You don't need to make up your own for this experiment. There's already a pretty old protocol that's far superior to TCP, but failed to get adoption because of network hardware dropping everything other than TCP and UDP. It's called SCTP.
We could've had it as a QUIC replacement if it weren't for terrible middleboxes and IPv4 NAT screwing everyone over once again. Hell, NAT wouldn't even have been an issue had SCTP support been widespread before consumer NAT devices started being implemented.
It's a prime example of how new network protocols now have to lie and deceive to work over the internet. TLS needs to pretend to be TLS 1.2, QUIC needs to pretend to be an application on top of UDP while reimplementing SCTP and TCP, and even things like secure DNS are now piped over HTTPS just in case a shitty middlebox can't deal with raw TLS.
Re: What would happen if we didn't use TCP or UDP?
#10Earlier quoted context omitted.
> why QUIC exists when SCTP does Because QUIC uses UDP, which is supported by most/all intermediate routing equipment.
Is this a real issue? SCTP runs over IP, so unless your talking about firewalls and such, the support should be there. Edit: a quick search showed that NAT traversal is an issue (of course!)