USRE45445E1 - Method and arrangement for preventing illegitimate use of IP addresses - Google Patents

Method and arrangement for preventing illegitimate use of IP addresses Download PDF

Info

Publication number
USRE45445E1
USRE45445E1 US13/962,787 US200213962787A USRE45445E US RE45445 E1 USRE45445 E1 US RE45445E1 US 200213962787 A US200213962787 A US 200213962787A US RE45445 E USRE45445 E US RE45445E
Authority
US
United States
Prior art keywords
subscriber
address
dhcp
switch node
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US13/962,787
Inventor
Peter Anders Nesz
Thomas Johansson
Michael Valentin Juhl
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Telefonaktiebolaget LM Ericsson AB
Original Assignee
Telefonaktiebolaget LM Ericsson AB
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Telefonaktiebolaget LM Ericsson AB filed Critical Telefonaktiebolaget LM Ericsson AB
Priority to US13/962,787 priority Critical patent/USRE45445E1/en
Assigned to TELEFONAKTIEBOLAGET LM ERICSSON (PUBL) reassignment TELEFONAKTIEBOLAGET LM ERICSSON (PUBL) ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: JOHANSSON, THOMAS, NESZ, PETER, JUHL, MICHAEL VALENTIN
Application granted granted Critical
Publication of USRE45445E1 publication Critical patent/USRE45445E1/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • H04L29/06102
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1466Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Definitions

  • the present invention relates to a method and a device in an IP network, which counteracts illegitimate use of IP addresses.
  • IP addresses that are not acquired in a legitimate way.
  • the subscriber can use someone else's IP address or an IP address currently not in use.
  • the subscriber who may be e.g. an enterprise, is connected to a broadband island, and uses the IP address to identify itself on the network. If the subscriber has abuse intentions it is appealing to use such an illegitimate IP address. Abuse tracking is namely based on the IP address and the abuser would benefit from the illegitimate address, since the abuser would be more difficult to track at an investigation.
  • WO 98/26550 is disclosed a system for allocating and using IP addresses in a network with subscriber systems.
  • Each subscriber system is connected to a DHCP server via a cable modem.
  • the DHCP server leases IP addresses to the subscriber systems and works in combination with a secure DHCP relay agent and a secure IP relay agent.
  • the DHCP relay agent adds a trusted identifier to the message and transmits it to the DHCP server.
  • the trusted identifier which is associated with the requesting subscriber system, is used by the DHCP server to prevent the subscriber system to access IP address leases of other subscriber systems.
  • the DHCP server also counts the number of IP address leases per trusted identifier and restricts it to a predetermined number.
  • the system requires a non-standard DHCP server and subscriber system.
  • U.S. Pat. No. 6,061,798 discloses a firewall for isolating network elements from a publicly accessible network. All access to protected network elements must go through the firewall, operating on a stand alone computer.
  • An proxy agent specifically assigned to an incoming request, verifies the authority of the request to access a network element indicated in the request. Once verified, the proxy agent completes the connection to the protected network on behalf of the source of the incoming request.
  • the present invention deals with the abovementioned problem how to restrict the use of allocated IP addresses in an IP network to legitimate ones.
  • Another problem is how to prevent a subscriber to use per se legitimate IP addresses, which the subscriber has obtained in an illegitimate way.
  • Still a problem is how to prevent the subscriber to make a great number of attempts to illegitimately use IP addresses.
  • Still another problem is that an operator has to buildup and update a filter for statically allocated addresses.
  • IP filter device with subscriber identifications and corresponding IP addresses. Data frames from the subscribers have to have the correct source IP address to pass the filter device.
  • the IP filter is successively updated as new subscriber IP addresses are used.
  • IP addresses being allocated by DHCP (Dynamic Host Configuration Protocol) servers, only trusted servers are allowed to allocate subscriber IP addresses to the subscribers.
  • DHCP Dynamic Host Configuration Protocol
  • the IP filter is dynamically updated in the following way.
  • a subscriber requests for an IP address.
  • An address response with an allocated IP address from a DHCP server is analysed both to be a DHCP frames and to come from one of the trusted DHCP servers, which servers are noted on a list.
  • the allocated IP address and its lease time is stored in the IP filter together with an identification of the subscriber. When the lease time is out the subscriber identification and the IP address are deleted from the filter. New subscribers are stored successively. Traffic from one of the subscribers has to have the subscriber's assigned IP address as source address to pass the filter. Attempts from a subscriber to use illegitimate IP addresses are counted and at a predetermined number of attempts a warning is generated.
  • a purpose with the invention is to restrict the use of IP addresses to legitimate ones.
  • Another purpose is to prevent a subscriber to use per se legitimate IP addresses which, the subscriber has obtained in an illegitimate way.
  • Still a purpose is how to prevent the subscriber to make a great number of attempts to illegitimately use IP addresses.
  • the invention has the advantage that only trusted DHCP servers can allocate IP addresses.
  • Another advantage is that a subscriber can use only legitimate IP addresses obtained in a legitimate way.
  • a further advantage is that it is possible to prevent repeated attempts to get IP addresses.
  • Still another advantage is that a subscriber, that intends to misuse the network, can't make tracing more difficult by using an IP address obtained illegitimately.
  • advantages are that an operator does not need to build up and update a filter, an automated process is not affected by human errors and management of the system is cheap.
  • FIG. 1 shows a view over an IP network
  • FIG. 2 shows a block schematic over a switch
  • FIG. 3 shows a table in the switch
  • FIG. 4 shows a block schematic over an IP frame
  • FIG. 5 shows a flow chart for procedures in the switch
  • FIG. 6 shows a block schematic over a list
  • FIG. 7 shows a block schematic over a counter
  • FIG. 8 shows a flow chart for alternative procedures in the switch.
  • FIG. 1 shows a view over a simple IP network 1 .
  • the network 1 includes a core network 2 which is connected to a service provider 3 , DHCP servers 4 , 4 a and 4 b and to a switch 5 via an uplink port PN.
  • the switch in turn includes a switch engine 8 , which is connected to a database 7 and an IP filter device 9 .
  • the filter device is connected to physical switch ports P 1 , P 2 , P 3 for subscribers.
  • a subscriber device 6 is connected to the core network 2 via the IP filter 9 in the switch 5 .
  • the subscriber device 6 has in conventional manner a MAC address MAC 1 and is connected to the physical switch port P 1 and to a virtual LAN VLAN 1 on that port.
  • a subscriber 6 A with a MAC address MAC 2 is connected to the port with the identification P 2 on a virtual LAN VLAN 2 and the switch also has a further port P 3 .
  • a subscriber in a conventional IP network with dynamic address allocation wants to have an IP address, which he has paid for. He then broadcasts a DHCP (Dynamic Host Configuration Protocol) request.
  • a DHCP server notes the request and responds with an IP address and a lease time interval for the address.
  • the subscriber now can communicate with other subscribers or a service provider via the network.
  • a subscriber with abuse intentions can acquire an IP address in an illegitimate way, which makes it more difficult to track him on the network.
  • the subscriber can e.g. get the address from a bogus DHCP server or can himself write an address that belongs to someone else or is currently not in use.
  • the subscriber can also behave in other unacceptable ways, e.g. request and get a great number of IP addresses and thereby make it difficult for other subscribers to get an address.
  • the switch 5 works in the following manner. To prevent misuse of allocated IP addresses the inventive switch 5 is equipped with the filter 5 for IP address spoofing protection, that can be enabled or disabled per virtual LAN.
  • the switch 5 also has a list L 1 over trusted ones of the DHCP servers, in the embodiment the servers 4 , 4 a and 4 b.
  • the switch is configured such that, when the spoofing protection is enabled, all IP addresses are blocked on the subscribers switch port.
  • the only traffic allowed is DHCP traffic to the trusted DHCP servers, DHCP broadcasts and sending of ARPs (Address Resolution Protocol). When the subscriber 6 needs an IP address he broadcasts a DHCP request.
  • ARPs Address Resolution Protocol
  • the DHCP servers 4 , 4 a, 4 b read the request and responds with a frame, that indicates an assigned subscriber IP address IP 1 and a lease time interval T 1 for this address.
  • the frame also has a source IP address defining the respective DHCP server.
  • the switch 5 checks via this source IP address if the frame is sent by the trusted DHCP servers 4 , 4 a, 4 b on the list. It also checks that it really is a DHCP frame that is received.
  • the switch 5 has stored in the database 7 the MAC address MAC 1 of the subscriber 6 , an identification of its physical port P 1 and its virtual LAN VLAN 1 .
  • the switch now dynamically configures the filter 9 , which per subscriber includes the following values: The subscriber MAC address MAC 1 , the subscriber's port identification P 1 , the subscriber's virtual LAN VLAN 1 , the received subscriber IP address IP 1 and the lease time interval T 1 for the IP address.
  • the switch compares the subscriber source IP address in the transmitted frames with the assigned subscriber IP address IP 1 in the filter 9 on the subscriber's port identification P 1 and virtual LAN VLAN 1 . With correct IP address the frames pass the filter, else the frames are discarded.
  • the lease time interval T 1 is out the subscriber identification and the assigned subscriber IP address IP 1 is deleted from the filter ( 9 ). More details of the above briefly described processes will be given in connection with FIG. 5 .
  • the IP filter 9 will be dynamically configured with subscriber values for the subscriber 6 A: The port identification P 2 , the virtual LAN VLAN 2 , an allocated subscriber IP address IP 2 and a corresponding lease time interval T 2 .
  • Statically allocated IP addresses can in one alternative be written directly into the IP filter 9 .
  • the DHCP servers have the statically assigned IP address for a subscriber. The latter makes a conventional DHCP request for its static IP address.
  • the DHCP server notes the subscriber's MAC address in the request and always allocates the subscriber's statically assigned IP address.
  • Statically assigned IP addresses of the first type can be used e.g. when applications on a computer can't utilize DHCP requests for an IP address.
  • the IP filter 9 is connected to the switch ports P 1 , P 2 and P 3 and to the data base 7 . It is also connected to the switch engine 8 and to a classifier 10 .
  • the IP filter 9 In the database 7 is stored the subscriber's MAC address MAC 1 , its port identification P 1 and the virtual LAN identity VLAN 1 .
  • the IP filter 9 has a list over the trusted DHCP servers and also a subscriber table, which list and table will be described in connection with FIG. 3 .
  • the classifier 10 checks if transmitted data frames come from or to a subscriber and whether the DHCP message is a DHCPACK message or some other DHCP message. Which operations, in more detail, the respective switch part 7 , 8 , 9 and 10 performs when the subscriber 6 makes DHCP requests or exchanges messages with the network 2 and the service providers 3 will be described in connection with FIG. 5 .
  • the filter 9 was configured with subscriber values.
  • the values are stored in a filter table TAB 1 , which is shown in FIG. 3 .
  • a field 31 the different subscribers 6 , 6 A are stored with their respective MAC addresses MAC 1 and MAC 2 .
  • a field 32 gives the subscriber's port number P 1 respective P 2 and a field 33 gives the identities VLAN 1 respective VLAN 2 for the subscriber's virtual LAN: s.
  • the subscriber IP addresses IP 1 respective IP 2 are written and in a field 35 the address lease time intervals T 1 respective T 2 are written.
  • FIG. 6 is shown a list L 1 having fields 61 , 62 , 63 for the respective trusted DHCP servers 4 , 4 a and 4 b with their IP address IP 4 , IP 4 a and IP 4 b.
  • the communication in the network 1 is performed in accordance with the TCP/IP Seven Layer Stack.
  • FIG. 4 is shown an Ethernet frame FR 1 according to the standard IEEE802.1g.
  • the frame has a field D 1 for a destination MAC address and a following field S 1 for a source MAC address.
  • a field TY 2 indicating that VLAN is in use.
  • a field VL 1 points out which virtual LAN that is concerned by a virtual LAN tag. In the present example this tag is the virtual LAN identity, exemplified by the identities VLAN 1 and VLAN 2 .
  • the frame includes a field TY 1 for defining a type of Ethernet frame.
  • a field EPL 1 contains the Ethernet payload including an IP header IPH with source and destination IP addresses, the lease time interval and the message that is to be transmitted.
  • FIG. 5 is a flow chart describing an embodiment of different tasks that the switch 5 performs.
  • the switch receives an incoming frame and this task is denoted by ( 1 ) in the block.
  • a task ( 2 ) is performed, including checking from where the frame comes.
  • the switch has both the subscriber ports P 1 , P 2 , P 3 and the network port PN, and it is checked on which type of port the frame is received.
  • a task ( 3 ) is performed, including a check whether the frame is a DHCP message. This is checked by checking the source and destination port numbers in the UDP message, given that the system is restricted such that only DHCP messages may use port 67 and 68 . If the DHCP message check fails it implies that someone is using ports 67 and 68 and the message is discarded. If the frame is found to be a DHCP message, according to an alternative YES 1 , the frame is accepted by a block 505 .
  • This block performs a task ( 6 ), which includes that the frame is forwarded and in this case forwarded to the core network 2 .
  • a task ( 4 ) is performed in a block 506 .
  • the task ( 4 ) includes a check whether a frame source information is valid. It is checked that the layer 2 source MAC address, the layer 3 IP address, the lease time interval and in actual cases the identification of the virtual LAN are all valid on the actual port. In the present embodiment it is in other words checked in the table TAB 1 that the MAC address MAC 1 , the IP address IP 1 , the lease time interval T 1 and the LAN identification VLAN 1 are valid on the port Pl.
  • the check task ( 4 ) shows that the source information is not valid and in a block 507 a task ( 5 ) is performed which implies that the frame is discarded.
  • a task ( 5 ) is performed which implies that the frame is discarded.
  • the source information is valid and the frame is accepted in the block 505 by performing the task ( 6 ).
  • the block 502 has the task ( 2 ) by which it can in an alternative 508 detect that the frame comes from the core network 2 on the port PN.
  • a task ( 7 ) is performed, which includes the check whether the frame is a DHCP message.
  • NO 3 when the frame is not a DHCP message, the frame is accepted in the block 505 , which performs the task ( 6 ).
  • YES 3 when the frame is a DHCP message, the frame is checked in a block 510 performing a task ( 8 ).
  • This task includes a question whether the DHCP message originates from a valid DHCP server, i.e. is a server that is stored in the list L 1 .
  • the server is not valid and the frame is discarded in a block 511 performing the task ( 5 ).
  • the server is valid and a check is performed in a block 512 performing a task ( 9 ). The check includes a question whether the frame is a DHCP acknowledge message.
  • the frame is accepted in the block 505 .
  • the frame is an acknowledge message. It is then handled in a block 513 performing a task ( 10 ). This task includes that the layer 3 IP address and the lease time interval are added in the database 7 .
  • the information about the layer 2 source MAC address, the layer 3 IP address, the port identification, the lease time interval and the virtual LAN identification for the subscriber are inserted in the table TAB 1 .
  • the frame is then accepted, task ( 6 ) in the block 505 .
  • the IP filter 9 performs the task ( 1 ) of receiving an incoming frame, the task ( 4 ) concerning frame source information, the task ( 5 ) handling discarding of frames, the task ( 6 ) of accepting a frame, the task ( 8 ) handling the question of valid DHCP server and the task ( 10 ) of inserting values in the filter table TAB 1 .
  • the classifier 10 performs the task ( 2 ) of checking from where the frames come, the task ( 3 ) of checking whether a frame is a DHCP message from a subscriber, the task ( 7 ) of checking whether a frame is a DHCP message from the core network and the task ( 9 ) whether a frame is an acknowledge message.
  • the subscriber 6 gets the IP address IP 1 and then sends a message.
  • the subscriber 6 sends a DHCP discovery message M 1 which is received by the switch 5 according to the block 501 , task ( 1 ).
  • task ( 2 ) the origin of the message M 1 is checked and according to the alternative 503 the port P 1 is decided.
  • the message M 1 is a DHCP message that is accepted in the block 505 , task ( 6 ) and is forwarded to the core network 2 .
  • One or more of the DHCP servers 4 , 4 a, 4 b returns each a DHCP offer message M 2 with an offered IP address.
  • the message M 2 is received and in the block 502 , task ( 2 ), its origin is checked.
  • the port PN is decided according to the alternative 508 and in the block 509 , task ( 7 ), and the alternative YES 3 it is noted that the message M 2 is a DHCP message.
  • the DHCP server 4 is valid.
  • the message M 2 is pointed out not be a DHCP acknowledge message and in the block 505 , task ( 6 ), the DHCP offer message M 2 is forwarded to the subscriber 6 .
  • the subscriber 6 now selects one of the offered IP addresses, in the embodiment the address IP 1 from the server 4 .
  • the subscriber requests for the address IP 1 by a DHCP request M 3 which is received by the switch 5 according to the block 501 , task ( 1 ).
  • the origin of the message M 3 is checked and according to the alternative 503 the port P 1 is decided.
  • the message M 3 is a DHCP message that is accepted in the block 505 , task ( 6 ) and is forwarded to the core network 2 .
  • the selected one of the DHCP servers, server 4 returns a DHCP acknowledge message M 4 , confirming the offered IP address IP 1 .
  • the message M 4 is received and in the block 502 , task ( 2 ) its origin is checked.
  • the port PN is decided according to the alternative 508 and in the block 509 , task ( 7 ), and the alternative YES 3 it is noted that the message M 4 is a DHCP message.
  • the DHCP server 4 that has sent the message M 4 is valid.
  • the message M 4 is pointed out to be a DHCP acknowledge message (DHCPACK). It is then handled in the block 513 , task ( 10 ) by which the information about the subscriber's layer 2 source MAC address MAC 1 , the received layer 3 IP address IP 1 , the port identification P 1 , the virtual LAN identification VLAN 1 and the lease time interval T 1 are inserted in the table TAB 1 . The message M 4 is thereby accepted and in the block 505 , task ( 6 ), the DHCP acknowledge message M 4 is forwarded to the subscriber 6 . The subscriber now has a valid IP address.
  • DHCPACK DHCP acknowledge message
  • a subscriber e.g. the subscriber 6
  • the subscriber makes an agreement with an operator and obtains in this legitimate way further subscriptions for IP addresses.
  • the number of legitimate IP addresses is noted in the database 7 .
  • the IP addresses themselves are obtained from the trusted servers in the same way as the address IP 1 and are noted in the filter table TAB 1 .
  • the subscriber 6 now wants to utilize a service from the service provider 3 and sends a message M 5 in FIG. 1 .
  • the switch 5 receives the message M 5 .
  • task ( 2 ) it is checked from where the message M 5 comes.
  • task ( 3 ) it is checked whether the message M 5 is a DHCP message.
  • FIG. 8 is shown a flow chart for an alternative embodiment of the procedures in the switch 5 .
  • the switch receives an incoming frame and this task is, as above, denoted by ( 1 ) in the block.
  • a task ( 7 b) is performed, including checking whether the frame is a DHCP frame. If it isn't according to an alternative NO 6 , the task ( 4 ) is performed in a block 803 .
  • This task includes the check whether the frame source information is valid and is performed with the aid of the table TAB 1 in the filter 9 . If the frame source information is invalid, according to an alternative NO 7 , the frame is discarded in a block 804 performing the task ( 5 ).
  • the frame is accepted by the task ( 6 ) performed in a block 805 .
  • the task ( 7 b) includes the check from which type of port the frame comes.
  • the DHCP frame comes on one of the subscriber ports P 1 , P 2 , P 3 and is then accepted in the block 805 .
  • the DHCP frame instead comes on the uplink port PN. It is then checked in a block 808 by the task ( 8 ), the list L 1 , whether the DHCP frame originates from a valid DHCP server.
  • the server is not valid and the frame is discarded in a block 809 , performing the task ( 5 ).
  • the server is found to be valid and a check is performed by the task ( 9 ) in a block 810 .
  • the check includes the question whether the frame is a DHCP acknowledge message. If it isn't according to an alternative NO 9 , the frame is accepted in a block 811 , performing the task ( 6 ).
  • the frame is a DHCP acknowledge frame and is then handled in a block 812 , performing the task ( 10 ).
  • This task includes that the layer 3 IP address and the lease time interval are added in the database 7 .
  • the information about the layer 2 source MAC address, the layer IP address, the port identification, the lease time interval and the virtual LAN identification for the subscriber are inserted in the table TAB 1 .
  • the frame is then accepted, task ( 6 ) in the block 811 .
  • the discovery message M 1 is received in block 801 and is found to be a DHCP message in block 802 .
  • the alternative 806 it is found to come from the subscriber and the message M 1 is accepted in block 805 .
  • the DHCP offer message M 2 from the DHCP servers is received in block 801 , found to be a DHCP message in block 802 and found to be a response message according to the alternative 807 .
  • the DHCP server is a valid one according to block 808 , the message M 2 is no acknowledge message, block 810 and is accepted in block 811 and forwarded to the subscriber 6 .
  • the latter selects the address IP 1 and requests it by the message M 3 , which is received in block 801 .
  • block 802 it is noted as a DHCP message which comes from the subscriber, alternative 806 , and is accepted in block 805 .
  • the server gets the message M 3 and returns the acknowledge message M 4 .
  • the message M 4 is received, is found to be a DHCP message in block 802 and to be a response message, alternative 807 .
  • the message source is valid, block 808 , and the message M 4 is found to be an acknowledge message, block 810 alternative YES 9 .
  • block 812 the address IP 1 and its lease time interval T 1 are added in the database 7 and the table TAB 1 in the IP filter 9 is filled in.
  • the message M 4 is accepted, block 811 , and the subscriber 6 gets the address and its lease time interval T 1 .
  • the subscriber 6 has a valid IP address.
  • the message is received in block 801 and is found not to be a DHCP message, block 802 alternative NO 6 .
  • the frame source information is then checked in block 803 with the aid of the table TAB 1 in the filter 9 . If valid, alternative YES 7 , the message M 5 is accepted and is sent to the addressee.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Illegitimate use of IP addresses is counteracted. A network (1) includes a switch (5) with ports (P1,P2,P3) to subscribers (6,6A) and a port (PN) to a core network (2) with DHCP servers (4, 4a,4b). The switch includes a database (MAC1, MAC2), port numbers (P1, P2)) and VLAN identities (VLAN1, VLAN2) for the subscribers (6, 6A) and the filter has a list over trusted DHCP servers. Initially onlY DHCP messages from the subscribers are allowed. When the subscriber (6) requests (M1, M3) for an IP address it is checked that it is a DHCP message with valid subscriber values (MAC1, P1, VLAN1). A respond (M2, M4) with an allocated IP address (IP1) and lease time interval (T1) is checked to come from a trusted DHCP server. If so, a list in the filter (9) with correct information is dynamically generated (MAC1, P1, VLAN1, IP1, T1). A message (M5) from the subscriber (6) with false IP address is discarded by the filter. Attempts by the subscriber to use false IP address are counted and a warning signal is generated.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a reissue application of U.S. patent application Ser. No. 10/531,753, filed Sep. 20, 2005, now U.S. Pat. No. 7,996,537, granted Aug. 9, 2011, which was the National Stage of International Application No. PCT/SE2002/002021, filed Nov. 6, 2002, the disclosures of which are fully incorporated herein by reference.
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method and a device in an IP network, which counteracts illegitimate use of IP addresses.
DESCRIPTION OF RELATED ART
Subscribers in an IP network can use IP addresses that are not acquired in a legitimate way. The subscriber can use someone else's IP address or an IP address currently not in use. The subscriber, who may be e.g. an enterprise, is connected to a broadband island, and uses the IP address to identify itself on the network. If the subscriber has abuse intentions it is appealing to use such an illegitimate IP address. Abuse tracking is namely based on the IP address and the abuser would benefit from the illegitimate address, since the abuser would be more difficult to track at an investigation.
In the international patent application WO 98/26550 is disclosed a system for allocating and using IP addresses in a network with subscriber systems. Each subscriber system is connected to a DHCP server via a cable modem. The DHCP server leases IP addresses to the subscriber systems and works in combination with a secure DHCP relay agent and a secure IP relay agent. When a subscriber system sends a DHCP request message, the DHCP relay agent adds a trusted identifier to the message and transmits it to the DHCP server. The trusted identifier, which is associated with the requesting subscriber system, is used by the DHCP server to prevent the subscriber system to access IP address leases of other subscriber systems. The DHCP server also counts the number of IP address leases per trusted identifier and restricts it to a predetermined number. The system requires a non-standard DHCP server and subscriber system.
U.S. Pat. No. 6,061,798 discloses a firewall for isolating network elements from a publicly accessible network. All access to protected network elements must go through the firewall, operating on a stand alone computer. An proxy agent, specifically assigned to an incoming request, verifies the authority of the request to access a network element indicated in the request. Once verified, the proxy agent completes the connection to the protected network on behalf of the source of the incoming request.
Its known in the art to prevent misuse of IP addresses by a filter in a switch, which is connected to a subscriber. A subscriber's data frames are filtered for illegitimate addresses. The filter is built up and is updated by a network operator.
SUMMARY OF THE INVENTION
The present invention deals with the abovementioned problem how to restrict the use of allocated IP addresses in an IP network to legitimate ones.
Another problem is how to prevent a subscriber to use per se legitimate IP addresses, which the subscriber has obtained in an illegitimate way.
Still a problem is how to prevent the subscriber to make a great number of attempts to illegitimately use IP addresses.
Still another problem is that an operator has to buildup and update a filter for statically allocated addresses.
The problem is solved by an IP filter device with subscriber identifications and corresponding IP addresses. Data frames from the subscribers have to have the correct source IP address to pass the filter device. The IP filter is successively updated as new subscriber IP addresses are used. In case of IP addresses being allocated by DHCP (Dynamic Host Configuration Protocol) servers, only trusted servers are allowed to allocate subscriber IP addresses to the subscribers.
The IP filter is dynamically updated in the following way. A subscriber requests for an IP address. An address response with an allocated IP address from a DHCP server is analysed both to be a DHCP frames and to come from one of the trusted DHCP servers, which servers are noted on a list. The allocated IP address and its lease time is stored in the IP filter together with an identification of the subscriber. When the lease time is out the subscriber identification and the IP address are deleted from the filter. New subscribers are stored successively. Traffic from one of the subscribers has to have the subscriber's assigned IP address as source address to pass the filter. Attempts from a subscriber to use illegitimate IP addresses are counted and at a predetermined number of attempts a warning is generated.
A purpose with the invention is to restrict the use of IP addresses to legitimate ones.
Another purpose is to prevent a subscriber to use per se legitimate IP addresses which, the subscriber has obtained in an illegitimate way.
Still a purpose is how to prevent the subscriber to make a great number of attempts to illegitimately use IP addresses.
Yet another purpose is that the mentioned IP address limitations will work automatically in an environment with dynamically allocated IP addresses.
The invention has the advantage that only trusted DHCP servers can allocate IP addresses.
Another advantage is that a subscriber can use only legitimate IP addresses obtained in a legitimate way.
A further advantage is that it is possible to prevent repeated attempts to get IP addresses.
Still another advantage is that a subscriber, that intends to misuse the network, can't make tracing more difficult by using an IP address obtained illegitimately.
Also, advantages are that an operator does not need to build up and update a filter, an automated process is not affected by human errors and management of the system is cheap.
The invention will now be more closely described with the aid of embodiments in connection with the enclosed drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a view over an IP network;
FIG. 2 shows a block schematic over a switch;
FIG. 3 shows a table in the switch;
FIG. 4 shows a block schematic over an IP frame;
FIG. 5 shows a flow chart for procedures in the switch;
FIG. 6 shows a block schematic over a list;
FIG. 7 shows a block schematic over a counter; and
FIG. 8 shows a flow chart for alternative procedures in the switch.
DETAILED DESCRIPTION OF EMBODIMENTS
FIG. 1 shows a view over a simple IP network 1. The network 1 includes a core network 2 which is connected to a service provider 3, DHCP servers 4, 4a and 4b and to a switch 5 via an uplink port PN. The switch in turn includes a switch engine 8, which is connected to a database 7 and an IP filter device 9. The filter device is connected to physical switch ports P1, P2, P3 for subscribers. A subscriber device 6 is connected to the core network 2 via the IP filter 9 in the switch 5. The subscriber device 6 has in conventional manner a MAC address MAC1 and is connected to the physical switch port P1 and to a virtual LAN VLAN1 on that port. Also, a subscriber 6A with a MAC address MAC2 is connected to the port with the identification P2 on a virtual LAN VLAN2 and the switch also has a further port P3.
Conventional dynamic address allocation works in short in the following manner. A subscriber in a conventional IP network with dynamic address allocation wants to have an IP address, which he has paid for. He then broadcasts a DHCP (Dynamic Host Configuration Protocol) request. A DHCP server notes the request and responds with an IP address and a lease time interval for the address. The subscriber now can communicate with other subscribers or a service provider via the network. A subscriber with abuse intentions can acquire an IP address in an illegitimate way, which makes it more difficult to track him on the network. The subscriber can e.g. get the address from a bogus DHCP server or can himself write an address that belongs to someone else or is currently not in use. The subscriber can also behave in other unacceptable ways, e.g. request and get a great number of IP addresses and thereby make it difficult for other subscribers to get an address.
In brief the switch 5 works in the following manner. To prevent misuse of allocated IP addresses the inventive switch 5 is equipped with the filter 5 for IP address spoofing protection, that can be enabled or disabled per virtual LAN. The switch 5 also has a list L1 over trusted ones of the DHCP servers, in the embodiment the servers 4, 4a and 4b. The switch is configured such that, when the spoofing protection is enabled, all IP addresses are blocked on the subscribers switch port. The only traffic allowed is DHCP traffic to the trusted DHCP servers, DHCP broadcasts and sending of ARPs (Address Resolution Protocol). When the subscriber 6 needs an IP address he broadcasts a DHCP request. The DHCP servers 4, 4a, 4b read the request and responds with a frame, that indicates an assigned subscriber IP address IP1 and a lease time interval T1 for this address. The frame also has a source IP address defining the respective DHCP server. The switch 5 checks via this source IP address if the frame is sent by the trusted DHCP servers 4, 4a, 4b on the list. It also checks that it really is a DHCP frame that is received. The switch 5 has stored in the database 7 the MAC address MAC1 of the subscriber 6, an identification of its physical port P1 and its virtual LAN VLAN1. The switch now dynamically configures the filter 9, which per subscriber includes the following values: The subscriber MAC address MAC1, the subscriber's port identification P1, the subscriber's virtual LAN VLAN1, the received subscriber IP address IP1 and the lease time interval T1 for the IP address. When the subscriber 6 sends a message the switch compares the subscriber source IP address in the transmitted frames with the assigned subscriber IP address IP1 in the filter 9 on the subscriber's port identification P1 and virtual LAN VLAN1. With correct IP address the frames pass the filter, else the frames are discarded. When the lease time interval T1 is out the subscriber identification and the assigned subscriber IP address IP1 is deleted from the filter (9). More details of the above briefly described processes will be given in connection with FIG. 5.
In a corresponding manner as above the IP filter 9 will be dynamically configured with subscriber values for the subscriber 6A: The port identification P2, the virtual LAN VLAN2, an allocated subscriber IP address IP2 and a corresponding lease time interval T2.
Statically allocated IP addresses can in one alternative be written directly into the IP filter 9. In another alternative the DHCP servers have the statically assigned IP address for a subscriber. The latter makes a conventional DHCP request for its static IP address. The DHCP server notes the subscriber's MAC address in the request and always allocates the subscriber's statically assigned IP address. Statically assigned IP addresses of the first type can be used e.g. when applications on a computer can't utilize DHCP requests for an IP address.
In FIG. 2 the switch 5 is shown in some more detail. The IP filter 9 is connected to the switch ports P1, P2 and P3 and to the data base 7. It is also connected to the switch engine 8 and to a classifier 10. In the database 7 is stored the subscriber's MAC address MAC1, its port identification P1 and the virtual LAN identity VLAN1. The IP filter 9 has a list over the trusted DHCP servers and also a subscriber table, which list and table will be described in connection with FIG. 3. The classifier 10 checks if transmitted data frames come from or to a subscriber and whether the DHCP message is a DHCPACK message or some other DHCP message. Which operations, in more detail, the respective switch part 7,8,9 and 10 performs when the subscriber 6 makes DHCP requests or exchanges messages with the network 2 and the service providers 3 will be described in connection with FIG. 5.
It was mentioned above that the filter 9 was configured with subscriber values. The values are stored in a filter table TAB1, which is shown in FIG. 3. In a field 31 the different subscribers 6, 6A are stored with their respective MAC addresses MAC1 and MAC2. A field 32 gives the subscriber's port number P1 respective P2 and a field 33 gives the identities VLAN1 respective VLAN2 for the subscriber's virtual LAN: s. In a field 34 the subscriber IP addresses IP1 respective IP2 are written and in a field 35 the address lease time intervals T1 respective T2 are written. In FIG. 6 is shown a list L1 having fields 61, 62, 63 for the respective trusted DHCP servers 4, 4a and 4b with their IP address IP4, IP4a and IP4b.
The communication in the network 1 is performed in accordance with the TCP/IP Seven Layer Stack. In FIG. 4 is shown an Ethernet frame FR1 according to the standard IEEE802.1g. The frame has a field D1 for a destination MAC address and a following field S1 for a source MAC address.
It also has a field TY2 indicating that VLAN is in use. A field VL1 points out which virtual LAN that is concerned by a virtual LAN tag. In the present example this tag is the virtual LAN identity, exemplified by the identities VLAN1 and VLAN2. The frame includes a field TY1 for defining a type of Ethernet frame. A field EPL1 contains the Ethernet payload including an IP header IPH with source and destination IP addresses, the lease time interval and the message that is to be transmitted.
FIG. 5 is a flow chart describing an embodiment of different tasks that the switch 5 performs. In a block 501 the switch receives an incoming frame and this task is denoted by (1) in the block. In a block 502 a task (2) is performed, including checking from where the frame comes. The switch has both the subscriber ports P1, P2, P3 and the network port PN, and it is checked on which type of port the frame is received.
In an alternative 503 the incoming frame comes on one of the subscriber ports P1, P2 or P3. In a block 504 then a task (3) is performed, including a check whether the frame is a DHCP message. This is checked by checking the source and destination port numbers in the UDP message, given that the system is restricted such that only DHCP messages may use port 67 and 68. If the DHCP message check fails it implies that someone is using ports 67 and 68 and the message is discarded. If the frame is found to be a DHCP message, according to an alternative YES1, the frame is accepted by a block 505. This block performs a task (6), which includes that the frame is forwarded and in this case forwarded to the core network 2. If the frame is not a DHCP message, according to an alternative NO1, a task (4) is performed in a block 506. The task (4) includes a check whether a frame source information is valid. It is checked that the layer 2 source MAC address, the layer 3 IP address, the lease time interval and in actual cases the identification of the virtual LAN are all valid on the actual port. In the present embodiment it is in other words checked in the table TAB1 that the MAC address MAC1, the IP address IP1, the lease time interval T1 and the LAN identification VLAN1 are valid on the port Pl. In an alternative NO2 the check task (4) shows that the source information is not valid and in a block 507 a task (5) is performed which implies that the frame is discarded. In an alternative YES2 for the block 506 the source information is valid and the frame is accepted in the block 505 by performing the task (6).
The block 502 has the task (2) by which it can in an alternative 508 detect that the frame comes from the core network 2 on the port PN. In a block 509 a task (7) is performed, which includes the check whether the frame is a DHCP message. In an alternative NO3, when the frame is not a DHCP message, the frame is accepted in the block 505, which performs the task (6). In an alternative YES3, when the frame is a DHCP message, the frame is checked in a block 510 performing a task (8). This task includes a question whether the DHCP message originates from a valid DHCP server, i.e. is a server that is stored in the list L1. In an alternative NO4 the server is not valid and the frame is discarded in a block 511 performing the task (5). In another alternative YES4 the server is valid and a check is performed in a block 512 performing a task (9). The check includes a question whether the frame is a DHCP acknowledge message. In an alternative NO5, when the frame is not an acknowledge message, the frame is accepted in the block 505. In an opposite alternative YES5 the frame is an acknowledge message. It is then handled in a block 513 performing a task (10). This task includes that the layer 3 IP address and the lease time interval are added in the database 7. Then the information about the layer 2 source MAC address, the layer 3 IP address, the port identification, the lease time interval and the virtual LAN identification for the subscriber are inserted in the table TAB1. The frame is then accepted, task (6) in the block 505.
In FIG. 2 it is denoted which parts of the switch 5 that performs the different tasks. The IP filter 9 performs the task (1) of receiving an incoming frame, the task (4) concerning frame source information, the task (5) handling discarding of frames, the task (6) of accepting a frame, the task (8) handling the question of valid DHCP server and the task (10) of inserting values in the filter table TAB1. The classifier 10 performs the task (2) of checking from where the frames come, the task (3) of checking whether a frame is a DHCP message from a subscriber, the task (7) of checking whether a frame is a DHCP message from the core network and the task (9) whether a frame is an acknowledge message.
In connection with FIG. 1 it was briefly described the processes when the subscriber 6 gets the IP address IP1 and then sends a message. First the process of getting the address will be more closely described in connection with FIG. 5. The subscriber 6 sends a DHCP discovery message M1 which is received by the switch 5 according to the block 501, task (1). In the block 502, task (2), the origin of the message M1 is checked and according to the alternative 503 the port P1 is decided. According to the block 504, task (3) and the alternative YES1, the message M1 is a DHCP message that is accepted in the block 505, task (6) and is forwarded to the core network 2.
One or more of the DHCP servers 4, 4a, 4b returns each a DHCP offer message M2 with an offered IP address. According to the block 501, task (1), the message M2 is received and in the block 502, task (2), its origin is checked. The port PN is decided according to the alternative 508 and in the block 509, task (7), and the alternative YES3 it is noted that the message M2 is a DHCP message. According to the block 510, task (8) and alternative YES4, the DHCP server 4 is valid. In the block 512, task (9) and alternative NO5, the message M2 is pointed out not be a DHCP acknowledge message and in the block 505, task (6), the DHCP offer message M2 is forwarded to the subscriber 6.
The subscriber 6 now selects one of the offered IP addresses, in the embodiment the address IP1 from the server 4. The subscriber requests for the address IP1 by a DHCP request M3 which is received by the switch 5 according to the block 501, task (1). In the block 502, task (2), the origin of the message M3 is checked and according to the alternative 503 the port P1 is decided. According to the block 504, task (3) and the alternative YES1, the message M3 is a DHCP message that is accepted in the block 505, task (6) and is forwarded to the core network 2.
The selected one of the DHCP servers, server 4, returns a DHCP acknowledge message M4, confirming the offered IP address IP1. According to the block 501, task (1), the message M4 is received and in the block 502, task (2) its origin is checked. The port PN is decided according to the alternative 508 and in the block 509, task (7), and the alternative YES3 it is noted that the message M4 is a DHCP message. According to the block 510, task (8) and alternative YES4, the DHCP server 4 that has sent the message M4 is valid. In the block 512, task (9) and alternative YES5, the message M4 is pointed out to be a DHCP acknowledge message (DHCPACK). It is then handled in the block 513, task (10) by which the information about the subscriber's layer 2 source MAC address MAC1, the received layer 3 IP address IP1, the port identification P1, the virtual LAN identification VLAN1 and the lease time interval T1 are inserted in the table TAB1. The message M4 is thereby accepted and in the block 505, task (6), the DHCP acknowledge message M4 is forwarded to the subscriber 6. The subscriber now has a valid IP address.
It should be noted that a subscriber, e.g. the subscriber 6, can legitimately use more than one IP address. The subscriber makes an agreement with an operator and obtains in this legitimate way further subscriptions for IP addresses. The number of legitimate IP addresses is noted in the database 7. The IP addresses themselves are obtained from the trusted servers in the same way as the address IP1 and are noted in the filter table TAB1.
The subscriber 6 now wants to utilize a service from the service provider 3 and sends a message M5 in FIG. 1. According to the block 501, task (1), the switch 5 receives the message M5. In the block 502, task (2), it is checked from where the message M5 comes. In the alternative 503 it comes on the subscriber port P1. In the block 504, task (3), it is checked whether the message M5 is a DHCP message. As it is not so, according to the alternative NO1, it is checked in the table TAB1, according to the block 506, task (4), that the layer 2 source MAC address MAC1, the layer 3 IP address IP1, the lease time interval T1 and the virtual LAN identification VLAN1 are all valid on the actual port P1. In the alternative YES2 the information is valid and the message M5 is accepted in the block 505, task (6). The message is now forwarded to the service provider 3.
If the subscriber tries to send a frame like the frame FR1 in FIG. 4 as a message and uses an invalid IP address IPX in the IP header IPH, this is revealed at the check in the table TAB1. According to the alternative NO2 the frame FR1 is then discarded in block 507, task (5). It was mentioned above that one problem is how to prevent the subscribers, 6 and 6A, to make a great number of such attempts, to illegitimately use IP addresses. This problem is solved by including a counter in the task (5) in the IP filter 9. In FIG. 7 a block schematic over such a counter C1 is shown. The counter has fields 71, 72, 73 in which are written the respective subscriber ports P1, P2 and P3 and corresponding number n of false attempts, i.e. attempts with invalid IP addresses. It also has a comparison element 79 in which is written a number N of allowed false attempts. In the example the subscriber 6 on port P1 has made one false attempt. When the frame with the invalid address is discarded, a message F1 is sent to the counter C1, field 71 for the port P1. In this field is set n=1, which is compared to N=10, resulting in no action. The subscriber 6A on the port P2 has made n=11 false attempts. As this number exceeds the allowed number N=10 a warning message W1 is generated.
In FIG. 8 is shown a flow chart for an alternative embodiment of the procedures in the switch 5. In a block 801 the switch receives an incoming frame and this task is, as above, denoted by (1) in the block. In a block 802 a task (7b) is performed, including checking whether the frame is a DHCP frame. If it isn't according to an alternative NO6, the task (4) is performed in a block 803. This task includes the check whether the frame source information is valid and is performed with the aid of the table TAB1 in the filter 9. If the frame source information is invalid, according to an alternative NO7, the frame is discarded in a block 804 performing the task (5). If instead the frame source information is valid, according to an alternative YES7, the frame is accepted by the task (6) performed in a block 805. If it is found in the block 802 that the incoming frame is a DHCP frame, alternative YES6, the task (7b) includes the check from which type of port the frame comes. In an alternative 806 the DHCP frame comes on one of the subscriber ports P1, P2, P3 and is then accepted in the block 805. In an alternative 807 the DHCP frame instead comes on the uplink port PN. It is then checked in a block 808 by the task (8), the list L1, whether the DHCP frame originates from a valid DHCP server. In an alternative NO8 the server is not valid and the frame is discarded in a block 809, performing the task (5). In an alternative YES8 the server is found to be valid and a check is performed by the task (9) in a block 810. The check includes the question whether the frame is a DHCP acknowledge message. If it isn't according to an alternative NO9, the frame is accepted in a block 811, performing the task (6). In an opposite alternative YES9 the frame is a DHCP acknowledge frame and is then handled in a block 812, performing the task (10). This task includes that the layer 3 IP address and the lease time interval are added in the database 7. Then the information about the layer 2 source MAC address, the layer IP address, the port identification, the lease time interval and the virtual LAN identification for the subscriber are inserted in the table TAB1. The frame is then accepted, task (6) in the block 811.
The process when the subscriber 6 gets an IP address will be described very briefly in connection with FIG. 8. In the discovery phase the discovery message M1 is received in block 801 and is found to be a DHCP message in block 802. According to the alternative 806 it is found to come from the subscriber and the message M1 is accepted in block 805. The DHCP offer message M2 from the DHCP servers is received in block 801, found to be a DHCP message in block 802 and found to be a response message according to the alternative 807. The DHCP server is a valid one according to block 808, the message M2 is no acknowledge message, block 810 and is accepted in block 811 and forwarded to the subscriber 6. The latter selects the address IP1 and requests it by the message M3, which is received in block 801. In block 802 it is noted as a DHCP message which comes from the subscriber, alternative 806, and is accepted in block 805. The server gets the message M3 and returns the acknowledge message M4. In block 801 the message M4 is received, is found to be a DHCP message in block 802 and to be a response message, alternative 807. The message source is valid, block 808, and the message M4 is found to be an acknowledge message, block 810 alternative YES9. In block 812 the address IP1 and its lease time interval T1 are added in the database 7 and the table TAB1 in the IP filter 9 is filled in. The message M4 is accepted, block 811, and the subscriber 6 gets the address and its lease time interval T1. The subscriber 6 has a valid IP address.
When the subscriber 6 sends the message M5 to the service provider 3, the message is received in block 801 and is found not to be a DHCP message, block 802 alternative NO6. The frame source information is then checked in block 803 with the aid of the table TAB1 in the filter 9. If valid, alternative YES7, the message M5 is accepted and is sent to the addressee.

Claims (12)

The invention claimed is:
1. A method for preventing illegitmate use of an Internet Protocol (IP) address by a subscriber device in an IP network, the network including a switch node and at least one DHCP Dynamic Host configuration Protocol (DHCP) server, said subscriber device in communication with the switch node, the method including the steps of:
creating a list of trusted ones of the DHCP servers in said switch node;
transmitting by the subscriber device receiving from the subscriber a DHCP request message for an IP address;
forwarding the DHCP request message;
receiving a reply message by said switch node which carries from one of the DHCP servers, said reply message carrying an assigned subscriber IP address, and said switch node comprising a list noting trusted ones of the DHCP servers;
analysing the reply message, wherein said analysing comprises determining the reply message by said switch node to be a DHCP message and having a source address originating from one of the a trusted DHCP servers server;
updating a filter dynamically in the switch node, the filter storing an identification of the subscriber device and the assigned subscriber IP address;
transmitting a frame from the subscriber device usingreceiving a frame from the subscriber device having a source IP address;
comparing in the filter said source IP address with the stored subscriber IP address; and
discarding said frame when said source IP address differs from the stored subscriber IP address.
2. The method according to claim 1, further comprising the step of storing in the filter a subscriber MAC address, a subscriber physical port number, a subscriber virtual LAN Local Area Network (LAN) identity and a lease time interval for the assigned subscriber IP address.
3. The method according to claim 1, wherein the subscriber IP address is statically assigned and handled by the DHCP servers.
4. The method according to claim 2, the method including deleting the subscriber identification and the corresponding assigned subscriber IP address from the filter when the lease time interval is out.
5. The method according to claim 1, the method further comprising the steps of:
counting a number of attempts (n) from the subscriber to use an illegitimate IP address;
comparing the number (n) of the attempts with a threshold number (N);
sending a warning signal when the number of attempts exceeds a threshold criteria the threshold number.
6. A switch node in an Internet Protocol (IP) network adapted to prevent illegitmate use of an IP address by a subscriber device, the switch node including:
at least one port for communication with a subscriber device;
an uplink port for communication with DHCP Dynamic Host Configuration Protocol (DHCP) servers in the network; and,
a filter device having a list of the trusted ones of the DHCP servers, the filter device being associated with the ports;
wherein the switch node is operative to:
receive a subscriber IP address request message from a subscriber device, analyse it to be a DHCP request message and transmit it on the uplink port;
receive a reply message on the uplink port, analyse it to be a DHCP reply message having a source IP address from one of the originating from a trusted DHCP servers on the list server;
dynamically update the filter with an identification of the subscriber device and a corresponding assigned subscriber IP address contained in the DHCP reply message;
receive a frame with a source IP address from a subscriber device;
compare in the filter said source IP address with the stored subscriber IP address for the subscriber device; and,
to discard said frame when said source IP address differs from the stored subscriber IP address.
7. The switch node according to claim 6, wherein the switch node is further operative to store in the filter a subscriber MAC address, a subscriber physical port number, a subscriber virtual LAN Local Area Network (LAN) identity and a lease time interval for the assigned subscriber IP address.
8. The switch node according to claim 6, wherein the subscriber IP address comprises a statically assigned address which is handled by the DHCP servers.
9. The switch node according to claim 7, wherein the switch node is further operative to delete the subscriber identification and the corresponding assigned subscriber IP address from the filter when the lease time interval is out expires.
10. The switch node according to claim 6, wherein the fitter comprises a counter operative to count a number (n) of discarded frames on the subscriber port, to compare the number (n) of the discarded frames with a threshold number (N), and to send a warning signal when the number of discarded frames exceeds a threshold criterion.
11. An IP network system comprising a switch node and one or more Dynamic Host Configuration Protocol (DHCP) servers, said switch node and said one or more DHCP servers being connected to a core network, wherein said switch node comprises:
at least one port for communication with a subscriber device;
an uplink port for communication with the one or more DHCP servers in the network; and
a filter device having a list noting trusted ones of the DHCP servers, the filter device being associated with the ports, wherein:
the switch node is arranged to receive a subscriber IP address request message from a subscriberd device, analyse it to be a DHCP message and transmit it on the uplink port;
the switch node is arranged to receive a reply message on the uplink port, analyse it to be a DHCP reply message originating from a trusted DHCP server;
the switch node is arranged to dynamically update the filter with an identification of the subscriber device and a corresponding assigned subscriber IP address contained in the DHCP reply message;
the switch node is arranged to receive a frame with a source IP address from a subscriber device;
the switch node is arranged to compare in the filter said source IP address with the stored subscriber IP address for the subscriber device;
the switch node is arranged to discard said frame when said source IP address differs from the stored subscriber IP address; and
the switch node is arranged to accept said frame when said source IP address corresponds to the stored subscriber IP address.
12. The system according to claim 11, wherein one or more DHCP servers are arranged to transmit a reply message carrying an assigned subscriber IP address to said switch node upon receipt of an IP address request message.
US13/962,787 2002-11-06 2002-11-06 Method and arrangement for preventing illegitimate use of IP addresses Active 2026-09-20 USRE45445E1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/962,787 USRE45445E1 (en) 2002-11-06 2002-11-06 Method and arrangement for preventing illegitimate use of IP addresses

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US53175302A 2002-11-06 2002-11-06
US13/962,787 USRE45445E1 (en) 2002-11-06 2002-11-06 Method and arrangement for preventing illegitimate use of IP addresses
PCT/SE2002/002021 WO2004042999A1 (en) 2002-11-06 2002-11-06 Method and arrangement for preventing illegitimate use of ip addresses

Publications (1)

Publication Number Publication Date
USRE45445E1 true USRE45445E1 (en) 2015-03-31

Family

ID=32310983

Family Applications (2)

Application Number Title Priority Date Filing Date
US13/962,787 Active 2026-09-20 USRE45445E1 (en) 2002-11-06 2002-11-06 Method and arrangement for preventing illegitimate use of IP addresses
US10/531,753 Ceased US7996537B2 (en) 2002-11-06 2002-11-06 Method and arrangement for preventing illegitimate use of IP addresses

Family Applications After (1)

Application Number Title Priority Date Filing Date
US10/531,753 Ceased US7996537B2 (en) 2002-11-06 2002-11-06 Method and arrangement for preventing illegitimate use of IP addresses

Country Status (8)

Country Link
US (2) USRE45445E1 (en)
EP (3) EP1559237B1 (en)
CN (1) CN100490377C (en)
AT (1) ATE552692T1 (en)
AU (1) AU2002347725A1 (en)
DK (1) DK2472823T3 (en)
ES (2) ES2433272T3 (en)
WO (1) WO2004042999A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE47253E1 (en) * 2002-11-06 2019-02-19 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for preventing illegitimate use of IP addresses

Families Citing this family (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7577735B1 (en) 2002-11-27 2009-08-18 Cisco Technology, Inc. Transparent mode
CN1277373C (en) * 2003-05-07 2006-09-27 华为技术有限公司 Method for transmitting user position information in network communication system
US7562390B1 (en) * 2003-05-21 2009-07-14 Foundry Networks, Inc. System and method for ARP anti-spoofing security
US7516487B1 (en) 2003-05-21 2009-04-07 Foundry Networks, Inc. System and method for source IP anti-spoofing security
US20040255154A1 (en) * 2003-06-11 2004-12-16 Foundry Networks, Inc. Multiple tiered network security system, method and apparatus
US7876772B2 (en) 2003-08-01 2011-01-25 Foundry Networks, Llc System, method and apparatus for providing multiple access modes in a data communications network
US7735114B2 (en) * 2003-09-04 2010-06-08 Foundry Networks, Inc. Multiple tiered network security system, method and apparatus using dynamic user policy assignment
US7774833B1 (en) * 2003-09-23 2010-08-10 Foundry Networks, Inc. System and method for protecting CPU against remote access attacks
US8528071B1 (en) 2003-12-05 2013-09-03 Foundry Networks, Llc System and method for flexible authentication in a data communications network
EP1558002B1 (en) * 2004-01-23 2008-10-08 Siemens Aktiengesellschaft Method for assigning an IP-address to a device
US20050262218A1 (en) * 2004-04-30 2005-11-24 Cox Gabriel C System and method for DHCP-based assignment of IP addresses to servers based on geographic identifiers
BRPI0419056A (en) * 2004-09-20 2007-12-11 Matsushita Electric Ind Co Ltd method of managing a virtual private network tunnel endpoint from a first address to a second address, and virtual private network tunnel endpoint switch manager
FR2881592A1 (en) * 2005-02-02 2006-08-04 France Telecom Internet protocol and/or medium access control address spoofing detection method, involves detecting spoofing if identification mark, formed by analyzing response for stimulus, has signature different from that in valid identification mark
US7756976B2 (en) * 2005-03-18 2010-07-13 Hewlett-Packard Development Company, L.P. Systems and methods for denying rogue DHCP services
US20060225128A1 (en) * 2005-04-04 2006-10-05 Nokia Corporation Measures for enhancing security in communication systems
CN100442706C (en) * 2005-04-19 2008-12-10 华为技术有限公司 Method for making maintaining node labels to match with media visiting controlled addresses
GB2425681A (en) 2005-04-27 2006-11-01 3Com Corporaton Access control by Dynamic Host Configuration Protocol snooping
JP4161981B2 (en) * 2005-05-31 2008-10-08 ブラザー工業株式会社 Communication device and program
EP1739929B1 (en) * 2005-06-29 2012-05-30 Alcatel Lucent Method to forward downstream message and network unit realizing said method
US7778250B2 (en) * 2005-08-11 2010-08-17 Ericsson Ab Method and apparatus for securing a layer II bridging switch/switch for subscriber aggregation
CN101022472B (en) * 2006-02-13 2010-06-09 中兴通讯股份有限公司 Method for preventing and protecting abnormal information interface
CN1835514B (en) * 2006-03-31 2010-05-12 北京润汇科技有限公司 Management method of broadband access of DHCP customer's terminal mode
CN101083670B (en) * 2006-06-02 2010-09-29 鸿富锦精密工业(深圳)有限公司 Address distributing system and method
JP4825724B2 (en) * 2006-06-09 2011-11-30 株式会社リコー Network equipment
US8331266B2 (en) * 2006-06-14 2012-12-11 Nokia Siemens Networks Oy LAN topology detection and assignment of addresses
CN101098290B (en) * 2006-06-29 2011-04-06 中兴通讯股份有限公司 Devices for implementing anti-spurious IP address on AN and methods therefor
CN101471966B (en) * 2006-07-06 2011-07-20 华为技术有限公司 System and device for preventing IP address from leakage
US8625456B1 (en) * 2006-09-21 2014-01-07 World Wide Packets, Inc. Withholding a data packet from a switch port despite its destination address
US8289976B2 (en) 2006-09-28 2012-10-16 Packetfront Network Products Ab Method for automatically providing a customer equipment with the correct service
US20080089323A1 (en) * 2006-10-13 2008-04-17 At&T Knowledge Ventures, L.P. System and method for assigning virtual local area networks
CN101641933A (en) * 2006-12-22 2010-02-03 艾利森电话股份有限公司 Preventing of electronic deception
CN100563149C (en) * 2007-04-25 2009-11-25 华为技术有限公司 A kind of DHCP monitor method and device thereof
CN100586106C (en) * 2007-05-22 2010-01-27 华为技术有限公司 Message processing method, system and equipment
JP5164450B2 (en) * 2007-06-28 2013-03-21 キヤノン株式会社 COMMUNICATION DEVICE AND ITS CONTROL METHOD AND PROGRAM
CN101115063B (en) * 2007-08-30 2011-11-30 中兴通讯股份有限公司 Method for prevent MAC address/IP address spuriousness of broadband access equipment
US20090086639A1 (en) * 2007-09-27 2009-04-02 Verizon Services Corp. Testing dynamically addressed network devices
JP5104426B2 (en) * 2008-03-13 2012-12-19 パナソニック株式会社 Image display device
CN102257772B (en) * 2010-06-07 2013-10-02 华为技术有限公司 Method, device and system for service configuration
JP5385872B2 (en) * 2010-07-27 2014-01-08 パナソニック株式会社 COMMUNICATION CONTROL DEVICE, COMMUNICATION SYSTEM, AND PROGRAM
CN101984693A (en) * 2010-11-16 2011-03-09 中兴通讯股份有限公司 Monitoring method and monitoring device for access of terminal to local area network (LAN)
EP3644194B1 (en) 2011-04-15 2022-12-07 Heartstitch, Inc. Suturing devices for suturing an anatomic valve
AU2012373188B2 (en) * 2012-03-12 2017-06-15 Arista Networks, Inc. A network device and a method for networking
US8855117B2 (en) * 2012-08-08 2014-10-07 Cisco Technology, Inc. Scalable media access control protocol synchronization techniques for fabric extender based emulated switch deployments
US8869275B2 (en) * 2012-11-28 2014-10-21 Verisign, Inc. Systems and methods to detect and respond to distributed denial of service (DDoS) attacks
WO2016009562A1 (en) * 2014-07-18 2016-01-21 三菱電機株式会社 Ip address distribution system, switch device, and ip address distribution method
WO2016148676A1 (en) 2015-03-13 2016-09-22 Hewlett Packard Enterprise Development Lp Determine anomalous behavior based on dynamic device configuration address range
CN107046585A (en) * 2017-03-30 2017-08-15 百富计算机技术(深圳)有限公司 Dynamic Host Configuration Protocol server system of selection and device
CN109391586A (en) * 2017-08-04 2019-02-26 深圳市中兴微电子技术有限公司 A kind of device and method for preventing static IP from illegally surfing the Internet, ONU equipment and PON system
EP3713165B1 (en) * 2017-12-11 2023-05-31 Huawei Cloud Computing Technologies Co., Ltd. Network and network management method
US11831420B2 (en) 2019-11-18 2023-11-28 F5, Inc. Network application firewall
US20230412594A1 (en) * 2022-06-20 2023-12-21 Micro Focus Llc Tying addresses to authentication processes

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0520709A2 (en) 1991-06-28 1992-12-30 Digital Equipment Corporation A method for providing a security facility for remote systems management
US5884024A (en) * 1996-12-09 1999-03-16 Sun Microsystems, Inc. Secure DHCP server
WO2001047179A1 (en) 1999-12-22 2001-06-28 Nokia Corporation Prevention of spoofing in telecommunications systems
US20020010767A1 (en) * 1998-10-29 2002-01-24 Tony Farrow Server manager for a configuration database and method therefor
US20020023160A1 (en) 2000-03-20 2002-02-21 Garrett John W. Service selection in a shared access network providing access control
US6393484B1 (en) * 1999-04-12 2002-05-21 International Business Machines Corp. System and method for controlled access to shared-medium public and semi-public internet protocol (IP) networks
US20020065919A1 (en) * 2000-11-30 2002-05-30 Taylor Ian Lance Peer-to-peer caching network for user data
US6427170B1 (en) * 1998-12-08 2002-07-30 Cisco Technology, Inc. Integrated IP address management
US20030233576A1 (en) * 2002-06-13 2003-12-18 Nvidia Corp. Detection of support for security protocol and address translation integration
US20040044778A1 (en) * 2002-08-30 2004-03-04 Alkhatib Hasan S. Accessing an entity inside a private network
US20040064559A1 (en) * 2002-09-26 2004-04-01 Lockheed Martin Corporation Method and apparatus for dynamic assignment of network protocol addresses
US20040107286A1 (en) * 1998-10-30 2004-06-03 Science Applications International Corporation Method for establishing secure communication link between computers of virtual private network without user entering any cryptographic information
US7079499B1 (en) * 1999-09-08 2006-07-18 Nortel Networks Limited Internet protocol mobility architecture framework
US7127524B1 (en) * 2000-12-29 2006-10-24 Vernier Networks, Inc. System and method for providing access to a network with selective network address translation
US7139818B1 (en) * 2001-10-04 2006-11-21 Cisco Technology, Inc. Techniques for dynamic host configuration without direct communications between client and server
US20070299942A1 (en) * 1999-04-19 2007-12-27 Gang Lu Method and apparatus for automatic network address assignment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5826014A (en) 1996-02-06 1998-10-20 Network Engineering Software Firewall system for protecting network elements connected to a public network

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0520709A2 (en) 1991-06-28 1992-12-30 Digital Equipment Corporation A method for providing a security facility for remote systems management
US5884024A (en) * 1996-12-09 1999-03-16 Sun Microsystems, Inc. Secure DHCP server
US20020010767A1 (en) * 1998-10-29 2002-01-24 Tony Farrow Server manager for a configuration database and method therefor
US20040107286A1 (en) * 1998-10-30 2004-06-03 Science Applications International Corporation Method for establishing secure communication link between computers of virtual private network without user entering any cryptographic information
US6427170B1 (en) * 1998-12-08 2002-07-30 Cisco Technology, Inc. Integrated IP address management
US6393484B1 (en) * 1999-04-12 2002-05-21 International Business Machines Corp. System and method for controlled access to shared-medium public and semi-public internet protocol (IP) networks
US20070299942A1 (en) * 1999-04-19 2007-12-27 Gang Lu Method and apparatus for automatic network address assignment
US7079499B1 (en) * 1999-09-08 2006-07-18 Nortel Networks Limited Internet protocol mobility architecture framework
WO2001047179A1 (en) 1999-12-22 2001-06-28 Nokia Corporation Prevention of spoofing in telecommunications systems
US20020023160A1 (en) 2000-03-20 2002-02-21 Garrett John W. Service selection in a shared access network providing access control
US20020065919A1 (en) * 2000-11-30 2002-05-30 Taylor Ian Lance Peer-to-peer caching network for user data
US7127524B1 (en) * 2000-12-29 2006-10-24 Vernier Networks, Inc. System and method for providing access to a network with selective network address translation
US7139818B1 (en) * 2001-10-04 2006-11-21 Cisco Technology, Inc. Techniques for dynamic host configuration without direct communications between client and server
US20030233576A1 (en) * 2002-06-13 2003-12-18 Nvidia Corp. Detection of support for security protocol and address translation integration
US20040044778A1 (en) * 2002-08-30 2004-03-04 Alkhatib Hasan S. Accessing an entity inside a private network
US20040064559A1 (en) * 2002-09-26 2004-04-01 Lockheed Martin Corporation Method and apparatus for dynamic assignment of network protocol addresses

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Authentication for DHCP Messages", Request for Comments: 3118. ED.: Droms, Cisco Systems; W. Arbaugh, University of Maryland, Jun. 2001, p. 2, line 2-line 38, and abstract.
Swedish Patent Office, International Search Report for PCT/SE02/02021, dated Apr. 28, 2003.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE47253E1 (en) * 2002-11-06 2019-02-19 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for preventing illegitimate use of IP addresses

Also Published As

Publication number Publication date
EP1559237A1 (en) 2005-08-03
ES2433272T3 (en) 2013-12-10
CN1695341A (en) 2005-11-09
EP1559237B1 (en) 2012-04-04
US7996537B2 (en) 2011-08-09
WO2004042999A1 (en) 2004-05-21
DK2472823T3 (en) 2013-12-16
EP2472823B1 (en) 2013-09-18
EP2472823A1 (en) 2012-07-04
ES2384377T3 (en) 2012-07-04
ATE552692T1 (en) 2012-04-15
CN100490377C (en) 2009-05-20
EP2472824B1 (en) 2013-09-18
AU2002347725A1 (en) 2004-06-07
EP2472824A1 (en) 2012-07-04
US20060155853A1 (en) 2006-07-13

Similar Documents

Publication Publication Date Title
USRE45445E1 (en) Method and arrangement for preventing illegitimate use of IP addresses
US7139818B1 (en) Techniques for dynamic host configuration without direct communications between client and server
US5884024A (en) Secure DHCP server
JP4664143B2 (en) Packet transfer apparatus, communication network, and packet transfer method
US6912567B1 (en) Broadband multi-service proxy server system and method of operation for internet services of user's choice
CN1682516B (en) Method and apparatus for preventing spoofing of network addresses
US7895665B2 (en) System and method for detecting and reporting cable network devices with duplicate media access control addresses
US7843923B2 (en) Methods and apparatus for determining the port and/or physical location of an IP device and for using that information
US8606940B2 (en) DHCP address conflict detection/enforcement
US6888834B1 (en) System and method for providing wireless internet services
EP1427171A2 (en) User identifying technique on networks having different address systems
US8966608B2 (en) Preventing spoofing
KR100807933B1 (en) System and method for detecting arp spoofing and computer readable storage medium storing program for detecting arp spoofing
US20030210699A1 (en) Extending a network management protocol to network nodes without IP address allocations
JP3499621B2 (en) Address management device and address management method
CN101459653B (en) Method for preventing DHCP packet attack based on Snooping technique
KR100533785B1 (en) Method for preventing arp/ip spoofing automatically on the dynamic ip address allocating environment using dhcp packet
KR101064382B1 (en) Arp attack blocking system in communication network and method thereof
US20040158643A1 (en) Network control method and equipment
RU2292118C2 (en) Protectability in wide-area networks
CN112383559A (en) Protection method and device for address resolution protocol attack
USRE47253E1 (en) Method and arrangement for preventing illegitimate use of IP addresses
US7558844B1 (en) Systems and methods for implementing dynamic subscriber interfaces
JP3833932B2 (en) IP network that can use IP address as terminal identity
KR101871146B1 (en) Network switch apparatus for blocking an unauthorized terminal and Blocking method for the unauthorized terminal

Legal Events

Date Code Title Description
AS Assignment

Owner name: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL), SWEDEN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:NESZ, PETER;JOHANSSON, THOMAS;JUHL, MICHAEL VALENTIN;SIGNING DATES FROM 20050411 TO 20050418;REEL/FRAME:032054/0275

CC Certificate of correction
MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12