Claims
- 1. A method comprising:
receiving a Ethernet frame, wherein the Ethernet frame comprises a Transmission Control Protocol (TCP) header, wherein the TCP header comprises a TCP header length value; comparing the TCP header length value to a predetermined value.
- 2. The method of claim 1 further comprising passing a portion or all of the Ethernet frame if the TCP header length value is equal to or greater than the predetermined value.
- 3. The method of claim 1 further comprising passing a portion or all of the Ethernet frame through a router firewall if the TCP header length value is equal to or greater than the predetermined value.
- 4. The method of claim 1 wherein a portion or all of the Ethernet frame is passed directly or indirectly to an operating system executing on a computer system if the TCP header length value is equal to or greater than the predetermined value.
- 5. The method of claim 1 wherein the predetermined value is 5.
- 6. The method of claim 1 further comprising:
counting data bytes of the Ethernet frame to generate a total number of counted bytes; calculating a data length of an Internet Protocol (IP) payload of the Ethernet frame, wherein the data length is calculated as a function of the total number of counted bytes; comparing the calculated IP payload data length to a predetermined value.
- 7. The method of claim 3 further comprising:
wherein the Ethernet frame comprises an IP datagram, wherein the IP datagram comprises an IP header and the IP payload, wherein the IP header comprises an IP header data length value and an IP datagram data length value; calculating a second data length of the IP payload as a function of the IP header length value and the IP datagram length value; comparing the calculated second data length to the predetermined value; passing a portion or all of the Ethernet frame if the calculated second data length is equal to or greater than the predetermined value.
- 8. An apparatus comprising:
a circuit, the circuit comprising a first circuit; wherein the first circuit is configured to receive a Ethernet frame, wherein the Ethernet frame comprises a TCP header, wherein the TCP header comprises a TCP header length value; wherein the first circuit is configured to compare the TCP header length value to a predetermined value.
- 9. The apparatus of claim 8 wherein the circuit passes a portion or all of the Ethernet frame if the TCP header length value is equal to or greater than the predetermined value.
- 10. The apparatus of claim 8 further comprising a computer system coupled to the circuit, wherein the circuit passes a portion or all of the Ethernet frame to the computer system if the TCP header length value is equal to or greater than the predetermined value.
- 11. The apparatus of claim 8 wherein the predetermined value is 5.
- 12. The apparatus of claim 8:wherein the first circuit is configured to count data bytes of the Ethernet frame to generate a total number of counted bytes; wherein the first circuit is configured to calculate a data length of an Internet Protocol (IP) payload of the Ethernet frame, wherein the data length is calculated as a function of the total number of counted bytes; wherein the first circuit is configured to compare the calculated IP payload data length to a predetermined value.
- 13. The apparatus of claim 8:wherein the Ethernet frame comprises an IP datagram, wherein the IP datagram comprises an IP header and the IP payload, wherein the IP header comprises an IP header data length value and an IP datagram data length value; wherein the first circuit is configured to calculate a second data length of the IP payload as a function of the IP header length value and the IP datagram length value; wherein the first circuit is configured to compare the calculated second data length to the predetermined value; wherein the circuit is configured to pass a portion or all of the Ethernet frame if the calculated second data length is equal to or greater than the predetermined value.
- 14. A computer readable medium for storing software instructions executable by a data processing circuit, wherein the data processing circuit performs a method in response to executing the instructions, the method comprising comparing a TCP header length value of a Ethernet frame to a predetermined value.
- 15. The computer readable medium of claim 14 wherein the method further comprises passing a portion or all of the Ethernet frame if the TCP header length value is equal to or greater than the predetermined value.
- 16. The computer readable medium of claim 14 wherein the method further comprises passing a portion or all of the Ethernet frame through a router firewall if the TCP header length value is equal to or greater than the predetermined value.
- 17. The computer readable medium of claim 14 wherein the method further comprises passing a portion or all of the Ethernet frame directly or indirectly to an operating system executing on a computer system if the TCP header length value is equal to or greater than the predetermined value.
- 18. The computer readable medium of claim 14 wherein the predetermined value is 5.
- 19. The computer readable medium of claim 14 wherein the method further comprises:
counting data bytes of the Ethernet frame to generate a total number of counted bytes; calculating a data length of an Internet Protocol (IP) payload of the Ethernet frame, wherein the data length is calculated as a function of the total number of counted bytes; comparing the calculated IP payload data length to a predetermined value.
- 20. The computer readable medium of claim 19 wherein the method further comprises:
wherein the Ethernet frame comprises an IP datagram, wherein the IP datagram comprises an IP header and the IP payload, wherein the IP header comprises an IP header data length value and an IP datagram data length value; calculating a second data length of the IP payload as a function of the IP header length value and the IP datagram length value; comparing the calculated second data length to the predetermined value; passing a portion or all of the Ethernet frame if the calculated second data length is equal to or greater than the predetermined value.
- 21. An apparatus comprising:
means for receiving an Ethernet frame; means for comparing a TCP header length value in the Ethernet frame to a predetermined value.
RELATED APPLICATIONS
[0001] This application is a continuation of U.S. patent application Ser. No. 10/383,128, filed on Mar. 6, 2003, having Attorney Docket No. CIS0183US, entitled, “Line-Rate Hardware Detection of RFC-3128 Attacks.”
Continuations (1)
|
Number |
Date |
Country |
Parent |
10383128 |
Mar 2003 |
US |
Child |
10407783 |
Apr 2003 |
US |