IP Library Granted Patent US 7,747,758
Granted Patent B2
US 7,747,758 · App. 10/282,541 · Granted Jun 29, 2010

Dynamic port assignment

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,747,758
App. No.
10/282,541
Granted
Jun 29, 2010
Kind
B2
Abstract

A method, apparatus, and article of manufacture provide the ability to determine a port number for a network connection. An Internet Protocol (IP) address of a server is determined. Based on the IP address, a first number is determined. An interval value is added to the first number resulting in a second number to be used as a port number. The interval value is repeatedly added to the second number if the second number is not available for use as the port number.

Claims (56)

1. A method of determining a port number for a network connection comprising:

(a) determining an Internet Protocol (IP) address of a server;

(b) determining a first number based on the IP address; and

(c) calculating, by a computer, a second number to be used as the port number by:

(i) adding an interval value to the first number resulting in the second number; and

(ii) repeatedly adding the interval value until the second number is available for use as the port number.

2. The method of claim 1 , wherein the first number is a four (4) digit number.

3. The method of claim 1 , wherein the first number comprises a left-most digit from each stanza of the IP address.

4. The method of claim 1 , further comprising determining if the second number is available for use as a port number by determining if an appropriate response is received from the server.

5. The method of claim 4 , wherein the appropriate response is not received if a response is not received within a short period of time.

6. The method of claim 4 , wherein the appropriate response is not received if a signature received from the server does not match a copy of the signature on a client.

7. The method of claim 1 , wherein the second number has a maximum value of 65535.

8. The method of claim 1 , further comprising storing the port number for use in subsequent connection requests.

9. The method of claim 1 , further comprising authenticating a client by:

validating a domain name; and

validating the client.

10. The method of claim 9 , wherein validating the domain name comprises determining if the domain name is in a list of tolerated domains.

11. The method of claim 9 , wherein validating the client comprises checking a client identification against a list of tolerated client names.

12. An apparatus for determining a port number for a network connection in computer system comprising:

(a) a computer having a memory;

(b) on application executing on the computer, wherein the application is configured to:

(i) determine an Internet Protocol (IP) address of a server;

(ii) determine a first number based on the IP address; and

(iii) calculate a second number to be used as the port number by:

(1) adding an interval value to the first number resulting in the second number; and

(2) repeatedly adding the interval value until the second number is available for use as the port number.

13. The apparatus of claim 12 , wherein the first number is a four (4) digit number.

14. The apparatus of claim 12 , wherein the first number comprises a left-most digit from each stanza of the IP address.

15. The apparatus of claim 12 , wherein the application further configured to determine if the second number is available for use as a port number by determining if an appropriate response is received from the server.

16. The apparatus of claim 15 , wherein the appropriate response is not received if a response is not received within a short period of time.

17. The apparatus of claim 15 , wherein the appropriate response is not received if a signature received from the server does not match a copy of the signature on a client.

18. The apparatus of claim 12 , wherein the second number has a maximum value of 65535.

19. The apparatus of claim 12 , wherein the application is further configured to score the port number for use in subsequent connection requests.

20. The apparatus of claim 12 , wherein the application is further configured to authenticate a client by:

validating a domain name; and

validating the client.

21. The apparatus of claim 20 , wherein validating the domain name comprises determining if the domain name is in a list of tolerated domains.

22. The apparatus of claim 20 , wherein validating the client comprises checking a client identification against a list of tolerated client names.

23. An article of manufacture comprising a program storage medium readable by a computer and embodying one or more instructions executable by the computer to perform a method for determining a port number for a network connection in computer system, the method comprising:

(a) determining an Internet Protocol (IP) address of a server;

(b) determining a first number based on the IP address; and

(c) calculating a second number to be used as the port number by:

(i) adding an interval value to the first number resulting in the second number; and

(ii) repeatedly adding the interval value until the second number is available for use as the port number.

24. The article of manufacture of claim 23 , wherein the first number is a four (4) digit number.

25. The article of manufacture of claim 23 , wherein the first number comprises a left-most digit from each stanza of the IP address.

26. The article of manufacture of claim 23 , further comprising determining if the second number is available for use as a port number by determining if an appropriate response is received from the server.

27. The article of manufacture of claim 26 , wherein the appropriate response is not received if a response is not received within a short period of time.

28. The article of manufacture of claim 26 , wherein the appropriate response is not received if a signature received from the server does not match a copy of the signature on a client.

29. The article of manufacture of claim 23 , wherein the second number has a maximum value of 65535.

30. The article of manufacture of claim 23 , further comprising storing the port number for use in subsequent connection requests.

31. The article of manufacture of claim 23 , further comprising authenticating a client by:

validating a domain name; and

validating the client.

32. The article of manufacture of claim 31 , wherein validating the domain name comprises determining if the domain name is in a list of tolerated domains.

33. The article of manufacture of claim 32 , wherein validating the client comprises checking a client identification against a list of tolerated client names.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 27, 2004
From: CANDLE DISTRIBUTED SOLUTIONS, INC.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 015177/0726 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 29, 2002
From: CRUMP, MICHAEL WILLIAM
To: CANDLE DISTRIBUTED SOLUTIONS, INC.
Reel/Frame 013439/0228 →