I have an idea, but I am not sure if it would work. Is it possible to put multiple tcp/ip headers into one ethernet frame, and have them read in as multiple packets? This may have multiple uses, not the least of which a possible buffer overflow with (insert OS here) using the minimum space (insert amount of headers here) would need, all in one frame, no need for a connection. This could also help in the way that is multiple packets are in the que to be moved to the same address, putting them all in the same frame would eliminate the need for (insert amount of packets here minus one) ethernet headers, and could supply a network traffic decrease, even if only a small one. Does this have any possibility at all or am I just daydreaming?
Announcement
Collapse
No announcement yet.
Would it work?
Collapse
X
-
Originally posted by HexticIs it possible to put multiple tcp/ip headers into one ethernet frame, and have them read in as multiple packets?
For each session, the headers used by the layer processing the message are limited to the specs of that layer's protocol. For TCP, IP, UDP, and various Ethernet/802.x these are well defined to use fixed bit-width fields, or dynamic header sizes based on other header information at fixed bit locations early in the frame/header.
For each layer's processing (tcp, udp, ip), there is one header. Payload is payload, header is header. Protocols usually specify ignoring payload contents except for checksum computation (as necessary) and size. Putting another header in payload causes that "header" to be ignored. Violating the specification of the protocol by creating a "second header" should cause the packet to be considered "invalid" and not parsed further.
This may have multiple uses, not the least of which a possible buffer overflow with (insert OS here) using the minimum space (insert amount of headers here) would need, all in one frame, no need for a connection.
Does this have any possibility at all or am I just daydreaming?
* However, there are people here with more skill than me... ]:>
Comment