Internet Gateway Device Protocol

Diagram of the UPnP's discovery phase

Internet Gateway Device (IGD) Standardized Device Control Protocol[1] is a protocol for mapping ports in network address translation (NAT) setups, supported by some NAT-enabled routers.[2] It is a common communications protocol for automatically configuring port forwarding, and is part of an ISO/IEC Standard [3] rather than an Internet Engineering Task Force standard.

## Contents

* 1 Usage
* 2 Security risks
* 3 See also
* 4 References
* 5 External links

## Usage

Applications using peer-to-peer networks, multiplayer gaming, and remote assistance programs need a way to communicate through home and business gateways. Without IGD one has to manually configure the gateway to allow traffic through, a process which is error-prone and time-consuming. Universal Plug and Play (UPnP) comes with a solution for network address translation traversal (NAT traversal) that implements IGD.

IGD makes it easy to do the following:

* Learn the public (external) IP address
* Request a new public IP address[4]
* Enumerate existing port mappings
* Add and remove port mappings
* Assign lease times to mappings

The host can allow seeking for available devices on the network via Simple Service Discovery Protocol (SSDP) which can be controlled then with the help of a network protocol such as SOAP. A seek request is sent via HTTP and port 1900 to the multicast address 239.255.255.250:

M-SEARCH * HTTP/1.1
Host:239.255.255.250:1900
ST:urn:schemas-upnp-org:device:InternetGatewayDevice:1
Man:"ssdp:discover"
MX:3

## Security risks

Malware can exploit the IGD protocol to bring connected devices under the control of a foreign user.[5] The Conficker worm is an example of a botnet created using this vector.[6]

## See also

* NAT Port Mapping Protocol (NAT-PMP)
* Port Control Protocol (PCP)
* Session Traversal Utilities for NAT (STUN)
* Universal Plug and Play

## References

1. ↑ M. Boucadair; R. Penno; R. Wing (July 2013), Universal Plug and Play (UPnP) Internet Gateway Device - Port Control Protocol Interworking Function (IGD-PCP IWF), doi:10.17487/RFC6970, RFC 6970, https://tools.ietf.org/html/rfc6970
2. ↑ D. Wing; S. Cheshire; M. Boucadair; R. Penno; P. Selkirk (April 2013), Port Control Protocol (PCP), doi:10.17487/RFC6887, RFC 6887, https://tools.ietf.org/html/rfc6887, retrieved 2013-06-13, "The Port Control Protocol allows an IPv6 or IPv4 host to control how incoming IPv6 or IPv4 packets are translated and forwarded by a Network Address Translator (NAT) or simple firewall, and also allows a host to optimize its outgoing NAT keepalive messages."
3. ↑ ISO/IEC 29341, http://www.iso.org/iso/home/news_index/news_archive/news.htm?refid=Ref1185
4. ↑ Roesler, Ruediger (13 June 2013). "Read or Change External IP-Address of a NAT-Router without any Internet Access". Microsoft. http://gallery.technet.microsoft.com/scriptcenter/Read-or-Change-the-16a1bffe. Retrieved 19 August 2013.
5. ↑ Mike Barwise (2008-01-15). "Unwanted remote configuration for home routers". Heise Media UK Ltd.. Archived from the original on 8 December 2013. https://web.archive.org/web/20131208154706/http://www.h-online.com/security/news/item/Unwanted-remote-configuration-for-home-routers-Update-735817.html. Retrieved 2012-07-21.
6. ↑ Danny Palmer (2017-07-19). "This sneaky malware will cause headaches even after it is deleted from your PC". ZDNet. Archived from the original on 2 Feb 2021. https://web.archive.org/web/20210126173325/http://www.zdnet.com/article/this-sneaky-malware-will-cause-headaches-even-after-it-is-deleted-from-your-pc/. Retrieved 2021-02-02.

## External links

* "Universal Plug and Play (UPnP) Internet Gateway Device (IGD)-Port Control Protocol (PCP) Interworking Function". IETF. 2013-04-26. http://datatracker.ietf.org/doc/draft-ietf-pcp-upnp-igd-interworking/. Retrieved 2013-06-13.
* "Internet Gateway Device (IGD) V 1.0". UPnP Forum. 2001-11-12. http://upnp.org/specs/gw/igd1/. Retrieved 2011-03-02.
* "Internet Gateway Device (IGD) V 2.0". UPnP Forum. 2010-12-09. http://upnp.org/specs/gw/igd2/. Retrieved 2011-03-02.
* UPnP Forum Internet Gateway Device presentation
* Universal Plug and Play NAT Traversal FAQ by Microsoft. Archived copy
* Free, BSD-licensed ANSI C library to control a Universal Plug and Play Internet Gateway Device or NAT-PMP
* Linux implementation of an Internet gateway device server

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Internet Gateway Device Protocol. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Internet_Gateway_Device_Protocol&oldid=1512556"