News for hackers. Stuff that matters.
Re:AWS to Begin Charging for Public IPv4 Addresses by wbl on Thursday August 03, 2023 @11:34PM (#36995190)
It could not have copied the UDP header. Otherwise you wouldn't be able to put any new protocol on IP without teaching it to every router.
Re:AWS to Begin Charging for Public IPv4 Addresses by account42 on Friday August 04, 2023 @06:10AM (#36997815)
Well about those new IP protocols...
Re:AWS to Begin Charging for Public IPv4 Addresses by colmmacc on Friday August 04, 2023 @07:38AM (#36998518)
Several other protocols solve this in a layering agnostic way by simply having a header length field. The header bytes can then be copied without any understanding of the format. This is even how IP's own ICMP protocol knows how much of an IP packet it should (at least) include in an error message so that the sender can know what triggered the error.

TCP, UDP, ICMP and IP were all designed contemporaneously; UDP fragmentation could also easily have just been specified for. It's just an odd regrettable quirk.

Re:AWS to Begin Charging for Public IPv4 Addresses by tptacek on Friday August 04, 2023 @11:06AM (#37001020)
Also, if you get UDP completely right, do you need any other IP protocols? The whole point of UDP is programming directly to the datagram interface. Before IPv6 you could even disable the checksums.