Method for preventing IP address cheating in dynamic address allocation
Claim Score by NHIP
Abstract
Disclosed is a method for preventing IP address cheating in dynamic address allocation. Firstly, check the source MAC address and the source IP address involved in an ARP packet sent from a subscriber terminal, i.e., detect whether there is a matching item in the legal subscriber address table; if so, process it normally, otherwise discard the ARP packet. In this way, an illegal subscriber cannot access to network through IP address cheating, but a legal subscriber can operate normally and continuously. For a subscriber terminal with a static IP address, a static item table is set in the legal subscriber address by manual configuration. When a new subscriber terminal asks for being allocated an IP address, check whether the IP address to be allocated has been set as a static item; if so, inform the subscriber terminal of applying for another IP address. In this way, it is guaranteed that static IP address having been allocated to a subscriber terminal will not be re-allocated, and it is avoided that the subscriber terminal with legal static IP address cannot access to network normally due to the re-allocation of IP address.

Term
Term ended
Expired 23 June 2023, 3.3 years ago.
- Priority
- Filed
- Granted
- Expired
- Today
9 claims: 3 independent, 6 dependent
- 1Broadest claimClaim Score 66, broad(NHIP)A method for preventing IP address cheating in dynamic address allocation, comprising:detecting, by using an exchange a switch , in a legal subscriber address table whether there is a matching item corresponding to the source Medium Access Control (MAC) address and the source Internet Protocol (IP) address involved in an Address Resolution Protocol (ARP) packet which is sent from a subscriber terminal;if so, adding the source IP address and the source MAC address involved in the ARP packet to the ARP table so as to make it possible for the subscriber terminal to access to network;otherwise, discarding the ARP packet.
- 8A switch for preventing IP address cheating in dynamic address allocation, comprising:a first means, configured to detect in a legal subscriber address table whether there is a matching item corresponding to a source Medium Access Control ( MAC ) address and a source Internet Protocol ( IP ) address involved in an Address Resolution Protocol ( ARP ) packet sent from a subscriber terminal;a second means, configured to add the source IP address and the source MAC address involved in the ARP packet to an ARP table so as to make it possible for the subscriber terminal to access to a network, if there is a matching item corresponding to the source MAC address and the source IP address involved in the ARP packet sent from the subscriber terminal;a third means, configured to discard the ARP packet, if there is no matching item corresponding to the source MAC address and the source IP address involved in the ARP packet sent from the subscriber terminal.
- 9A system for preventing IP address cheating in dynamic address allocation, comprising:a switch comprising a first means, a second means and a third means, wherein the first means, configured to detect in a legal subscriber address table whether there is a matching item corresponding to a source Medium Access Control ( MAC ) address and a source Internet Protocol ( IP ) address involved in an Address Resolution Protocol ( ARP ) packet sent from a subscriber terminal;wherein the second means, configured to add the source IP address and the source MAC address involved in the ARP packet to an ARP table so as to make it possible for the subscriber terminal to access to a network, if there is a matching item corresponding to the source MAC address and the source IP address involved in the ARP packet sent from the subscriber terminal;wherein the third means, configured to discard the ARP packet, if there is no matching item corresponding to the source MAC address and the source IP address involved in the ARP packet sent from the subscriber terminal.
Independent claims3
41 paragraphs in 7 sections, as filed
id="INS-S-00001" date="20110125"
CROSS-
REFERENCE TO RELATED APPLICATION
<i>This application claims priority to Chinese Patent Application No. <b>02125007</b>.<b>3</b>, filed on Jun. <b>22</b>, <b>2002</b>, which is hereby incorporated by reference in its entirety.</i>
FIELD OF THE TECHNOLOGY
The invention relates to an access method of communication network, specifically to a dynamic address allocation method used in a wideband network.
BACKGROUND OF THE INVENTION
With the rapid growth of network capacity and vast increase of network complexity, network configuration is getting more complicated. Thus the DHCP (Dynamic Host Configuration Protocol) based on the BOOTP (Bootstrap Protocol) has come into being. With a large expansion, it has been widely used. The DHCP can dynamically assign a duration-limited IP address to an access subscriber terminal. When the duration is ended or the subscriber terminal definitely shows that it would discard the IP address, the IP address can be used by other subscriber terminals. In this way, the efficiency of resource utilization is raised. The dynamic allocation can be used when assigning an IP address to a temporary access subscriber terminal or a group of subscriber terminals that share a group of limited IP addresses and need not permanent IP address. While a new access subscriber terminal needs a permanent access to a network, but the network IP address is very limited, in order to recover the IP address when the subscriber need not permanently access to the network again in the future, the dynamic allocation can also be used.
<figref idref="DRAWINGS">FIG. 1</figref> shows an actual network application environment of the present invention. The network comprises a 3-level exchange with DHCP relay functionality, a main DHCP server and a backup DHCP server in one segment of the network connecting to the exchange, and DHCP clients, i.e., subscriber terminals, in another segment of the network.
In DHCP, the dynamic IP address allocation is performed through the exchange of DHCP packets between the DHCP server and subscriber terminals. The DHCP packet is a broadcast packet, which cannot cross into another segment of the network, so a DHCP server can only serve subscriber terminals in its own segment. Owing to resource limitation, it is impossible to configure a DHCP server for each network segment, and a DHCP server is usually set at a stand-alone segment for security reason. Therefore, it is necessary for a DHCP server to serve subscriber terminals in other network segments. The relay function of DHCP makes DHCP broadcast packets re-transmitted between segments of a network. By this means, a DHCP server can serve subscriber terminals in different segments.
In a network running DHCP, some subscriber terminals get IP addresses without through DHCP server but through illegally occupying them assigned to other clients. At present, the problem of IP address cheating is dealt with as follow: during bootstrap, the computer system of a subscriber terminal sends out a charge-free ARP (Address Resolution Protocol) packet to check whether its IP address has been occupied; if so, the computer system will send out an address contention report. While this method cannot solve the problem of IP address cheating root and branch, an IP address cheater may still get access to network.
SUMMARY OF THE INVENTION
It is an object of the invention to provide a method for preventing IP address cheating in dynamic address allocation. With this method, an illegal user cannot obtain access to a network by IP address cheating, so this method can completely prevent IP address cheating during dynamically allocating an IP address, and can thoroughly ensure the normal usage for legal users.
The method according to the present invention comprises steps as follow. The exchange checks the source MAC (Medium Access Control) address (hardware address of network adapter) and the source IP address in the ARP packet sent from the subscriber terminal, namely, determine whether there is a matching item in the legal subscriber address table. If there is a matching item in it, the process is dealt with normally, i.e., add the source IP address and the source MAC address in the ARP packet sent from the subscriber terminal as an item to the ARP table, so as to make it possible for the subscriber terminal to access to the network. Otherwise, the packet is discarded.
The method further includes adding a message of a new subscriber terminal to the legal subscriber address table, which includes the following steps:
(21) the subscriber terminal sending a DHCPDISCOVER packet to the DHCP server via the DHCP relay;
(22) the DHCP server sending a DHCPOFFER response packet to the subscriber terminal via the DHCP relay;
(23) the subscriber terminal sending a DHCPREQUEST packet to the DHCP server via the DHCP relay;
(24) the DHCP relay receiving a DHCPACK response packet from the DHCP server;
(25) the exchange searching the existed legal subscriber address table to detect whether the IP address allocated to the subscriber terminal has been set as a static item; if so, going to Step (26), otherwise going to Step (27).
In Step (26), the exchange sends a DHCPDECLINE packet to the DHCP server to add a mark for the allocated IP address; meanwhile, the exchange sends a DHCPNAK packet to the subscriber terminal to inform it of applying for another IP address, then go to Step (21) to continue an IP address application.
In Step (27), the exchange performs re-transmission, and writes the IP address and the MAC address allocated to the subscriber into the legal subscriber address table.
In the above-mentioned steps, the static item is a message of a subscriber terminal with a static IP address. The static item is added or deleted according to the actual usage situation of the subscriber terminal with the static IP address, either by means of command line or manual configuration from the network administrator.
The deletion processing includes steps as follow. When the static item of an IP address has been deleted by means of command line or manual configuration from the network administrator, the exchange sends a DHCPREQUEST packet to the server to delete the mark of the allocated static IP address. Then, the exchange sends a DHCPRELEASE packet to the DHCP server to release the IP address so that it can be dynamically allocated to other users.
The method checks whether the ARP packet sent from a subscriber terminal has a legal address. If there is no matching item in the legal subscriber address table, the packet is discarded. Therefore, an illegal subscriber cannot access to network through IP address cheating, but a legal subscriber can operate normally and continuously. In this way, the problem of IP address cheating is completely solved.
For the subscriber terminal with static IP address, the static item is manually configured into the legal subscriber address table. When a new subscriber terminal asks for an IP address, it is detected whether the IP address to be allocated is in the static items. If so, the subscriber terminal is informed of applying for another IP address. In this way, it is guaranteed that static IP address having been allocated to a subscriber terminal will not be re-allocated, and it is avoided that the subscriber terminal with legal static IP address cannot access to network normally due to the re-allocation of IP address.
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention is illustrated by way of example and not limited in the following figures, in which:
<figref idref="DRAWINGS">FIG. 1</figref> schematically shows the network application environment of the invention;
<figref idref="DRAWINGS">FIG. 2</figref> shows a flowchart according to an embodiment of the invention; and
<figref idref="DRAWINGS">FIG. 3</figref> shows a flowchart of creating a message of new subscriber terminal in the legal subscriber address table.
DETAILED DESCRIPTION OF THE INVENTION
The invention is further described hereinafter, with reference to the drawings and embodiments.
As shown in <figref idref="DRAWINGS">FIG. 2</figref>, the processing steps in the method for preventing IP address cheating in dynamic address allocation comprises as follow.
At Step <b>1</b>, a subscriber terminal sends the exchange an ARP packet, which involves MAC address and IP address of the subscriber terminal. The ARP packet can be divided into two kinds: request packet and reply packet.
At Step <b>2</b>, the exchange checks the MAC address and the IP address in the ARP packet, i.e., determines whether there is a matching item in the legal subscriber address table. If there is a matching item, it shows that the subscriber terminal has obtained the IP address legally via the DHCP relay, and the processing is continued normally, i.e., add the source MAC address and source IP address in the ARP packet sent from the subscriber terminal to the ARP table so as to make it possible for the subscriber terminal to access to the network. If there is no matching item in the legal subscriber address table, it means the IP address is obtained illegally; then discard the ARP packet. Therefore, there is no item created with this IP address, and the illegal subscriber with this illegal IP address cannot access to the network.
As shown in <figref idref="DRAWINGS">FIG. 3</figref>, it comprises the following steps to add a message of new subscriber terminal to the legal subscriber address table.
At Step <b>21</b>, a subscriber terminal sends a DHCPDISCOVER packet to the DHCP server via the DHCP relay, asking for service from the DHCP server.
At Step <b>22</b>, the DHCP server sends a DHCPOFFER response packet to the subscriber terminal via the DHCP relay, showing that the DHCP server can offer service.
At Step <b>23</b>, the subscriber terminal sends a DHCPREQUEST packet to the DHCP server via the DHCP relay, asking for an IP address.
At Step <b>24</b>, the DHCP relay receives from the DHCP server a DHCPACK response packet which involves an IP address allocated to the subscriber, mask codes and other configuration information, such as gateway address etc.
At Step <b>25</b>, the exchange searches the existed legal subscriber address table to detect whether the IP address has been set as a static item. If so, go to Step <b>26</b>, otherwise go to Step <b>27</b>.
At Step <b>26</b>, the exchange sends a DHCPDECLINE packet to the DHCP server to tell it that the IP address has been allocated and inform it of adding a mark for the allocated IP address. Further, the exchange sends a DHCPNAK packet to the subscriber terminal to inform it of applying for another IP address. Then go to Step <b>21</b> to apply for an IP address again.
At Step <b>27</b>, the exchange performs re-transmission, and writes the IP address and the MAC address allocated to the subscriber terminal into the legal subscriber address table.
The above-mentioned static item is described in more detail hereinafter.
Some subscriber terminals need static IP addresses, but a static IP address cannot be obtained through DHCP packet. Therefore, there is no corresponding item in the legal subscriber address table. In order to make a subscriber terminal can pass the IP address check and access to a network normally, a static item is set for a static IP address in the legal subscribe address table. The static item shows information about a subscriber terminal with static IP address. A static item is added or deleted according to the actual usage of a subscriber terminal with the static IP address, by means of either command line or manual configuration from the network administrator. As mentioned in the Steps <b>24</b>, <b>25</b> and <b>26</b>, when the DHCP relay receives a DHCPACK response packet from the DHCP server, the exchange searches the legal subscriber address table. If the IP address has been set as a static item, then the exchange sends a DHCPDECLINE packet to the DHCP server and mark that the IP address has been allocated. In this instance, the IP address will not be allocated to other subscriber terminals by the DHCP server. Meanwhile, the exchange sends a DHCPNACK packet to the subscriber terminal to inform it of applying for another IP address.
When a subscriber terminal with a static IP address does not need the static IP address, the static item is deleted manually. At the same time, the exchange sends a DHCPREQUEST request packet and a DHCPRELEASE packet to the DHCP server, and deletes the mark showing the IP address has been allocated. Therefore, the IP address can be re-allocated to other subscriber terminals by the DHCP server.
The forgoing embodiment is merely exemplary and is not to be construed as limiting the present invention. The description of the present invention is intended to be illustrative, and not to limit the scope of the claims. Many alternatives, modifications, and variations will be apparent to those skilled in the art.
Contents7
4 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US2002016858A1 | Cites | United States of America | Search report |
| US2002023174A1 | Cites | United States of America | Search report |
| US2002075844A1 | Cites | United States of America | Search report |
| US2003198219A1 | Cites | United States of America | Search report |
| US6370147B1 | Cites | United States of America | Search report |
| US6931018B1 | Cites | United States of America | Search report |
| US6961336B2 | Cites | United States of America | Search report |
| US6993026B1 | Cites | United States of America | Search report |
| US7489659B2 | Cites | United States of America | Search report |
| US20020016858A1 | Cites | United States of America | Search report |
| US20020023174A1 | Cites | United States of America | Search report |
| US20020075844A1 | Cites | United States of America | Search report |
| US20030198219A1 | Cites | United States of America | Search report |
5 members in 2 offices
Priority claims9
| Document | Office | Kind | Date |
|---|---|---|---|
| 02125007 | China | A | |
| 02125007 | China | A | |
| 60053603 | United States of America | A | |
| 60053603 | United States of America | A | |
| 48436109 | United States of America | A | |
| 10600536 | – | – | – |
| CN2002125007 | – | – | – |
| US20030600536 | – | – | – |
| US20090484361 | – | – | – |
Members5
| Document | Office | Kind | |
|---|---|---|---|
| CN1466341A | China | A | |
| US2004006712A1 | United States of America | A1 | |
| CN1233135C | China | C | |
| US7263559B2 | United States of America | B2 | |
| USRE42078EThis record | United States of America | E |
39 transactions on the USPTO file
Allowed after 1 non-final rejection.
- Non-final rejections
- 1
- Final rejections
- 0
- RCEs
- 0
- Appeals
- 0
Over time
Point at a mark for the transactionTransactions
| Event | Code | |
|---|---|---|
| Payment of Maintenance Fee, 12th Year, Large EntityM1553 | M1553 | |
| Recordation of Patent Grant MailedPGM/ | PGM/ | |
| Email NotificationEML_NTR | EML_NTR | |
| Issue Notification MailedAllowedWPIR | WPIR | |
| Receipt into PubsR1021 | R1021 | |
| Dispatch to FDCD1935 | D1935 | |
| Email NotificationEML_NTR | EML_NTR | |
| Mail Response to 312 Amendment (PTO-271)MN271 | MN271 | |
| Dispatch to FDCD1935 | D1935 | |
| Response to Amendment under Rule 312N271 | N271 | |
| Application Is Considered Ready for IssuePILS | PILS | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Amendment after Notice of Allowance (Rule 312)AllowedA.NA | A.NA | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Issue Fee Payment ReceivedIFEE | IFEE | |
| Electronic ReviewELC_RVW | ELC_RVW | |
| Email NotificationEML_NTF | EML_NTF | |
| Mail Notice of AllowanceAllowedMN/=. | MN/=. | |
| Notice of Allowance Data Verification CompletedAllowedN/=. | N/=. | |
| Miscellaneous Incoming LetterLET. | LET. | |
| Date Forwarded to ExaminerFWDX | FWDX | |
| Oath or Declaration Filed (Including Supplemental)C602 | C602 | |
| Response after Non-Final ActionA... | A... | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Reference capture on IDSRCAP | RCAP | |
| Information Disclosure Statement (IDS) FiledM844 | M844 | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Electronic ReviewELC_RVW | ELC_RVW | |
| Email NotificationEML_NTF | EML_NTF | |
| Mail Non-Final RejectionNon-final rejectionMCTNF | MCTNF | |
| Non-Final RejectionNon-final rejectionCTNF | CTNF | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Email NotificationEML_NTR | EML_NTR | |
| Filing ReceiptFLRCPT.O | FLRCPT.O | |
| Application Dispatched from OIPEOIPE | OIPE | |
| Notice of Reissue Published in Official GazetteNRE. | NRE. | |
| Cleared by OIPE CSRL194 | L194 | |
| IFW Scan & PACR Auto Security ReviewSCAN | SCAN | |
| Initial Exam Team nnIEXX | IEXX |
5 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Maintenance fee paymentMAFP | MAFP | |
| Fee paymentFPAY | FPAY | |
| Fee paymentFPAY | FPAY | |
| Surcharge for late paymentSULP | SULP | |
| Maintenance fee reminder mailedREMI | REMI |
Numbers
- Publication
- RE042078
- Publication, DOCDB
- RE42078
- Publication, EPODOC
- USRE42078E
- Application
- 12484361
- Application, DOCDB
- 48436109
- Application, EPODOC
- US20090484361
Titles
- English
- Method for preventing IP address cheating in dynamic address allocation
Classification
- CPC, 4
- H04L61/103
- H04L61/5046
- H04L63/1466
- H04L61/5014
- IPC, 3
- G06F15 16
- H04L29 06
- H04L29 12
- USPC, 5
- 709230000
- 370389000
- 370390000
- 713189000
- 713190000