×

IPv4-IPv6 FTP application level gateway

  • US 7,391,768 B1
  • Filed: 05/13/2003
  • Issued: 06/24/2008
  • Est. Priority Date: 05/13/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method for handling file transfer protocol (FTP) packets, comprising:

  • receiving an FTP packet that is being sent between an FTP client and an FTP server in a current FTP session, wherein the FTP client and FTP server use a different IPv4 or IPv6 protocol;

    determining whether the FTP packet is being sent using an IPv4 protocol or an IPv6 protocol;

    translating any addresses and FTP commands or replies from an IPv4 format to an IPv6 format or visa versa, based on the determination as to whether the FTP packet is being sent using an IPv4 protocol or an IPv6 protocol;

    updating a next (NXT) value with the FTP packet'"'"'s SEQ value plus a size of the payload after translation, wherein the NXT value represents an expected ACK value of a return FTP packet sent in response to the FTP packet;

    prior to updating the NXT value, determining that the FTP packet is valid if the FTP packet'"'"'s ACK value equals the NXT value;

    updating a first offset value for translating from IPv4 to IPv6 or a second offset value for translating from IPv6 to IPv4 to correspond to a change in payload size of the FTP packet due to the translation if any;

    prior to updating the first or second offset value, updating a SEQ value or an ACK value of the FTP packet based on the first or second offset value; and

    forwarding the translated FTP packet to its destination if the FTP packet is determined to be valid.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×