Open In App

Universal Plug and Play (UPnP)

Universal Plug and Play (UPnP) is a networking protocol or a set of networking protocols which enables devices like personal computers, WiFi, Mobile devices, printers etc. to discover each other and establish connections for sharing services and data and also entertainment purposes. UPnP is intended to be used on residential networks.UPnP can be considered as an extension of Plug and Play which enables users to connect devices directly to a computer without any manual configurations to the device or to the computer.

UPnP allows direct networking between home appliances like printers, personal computers, mobile devices, and many more. It uses established standard industry protocols like TCP/IP, XML, Simple Object Access Protocol (SOAP), UDP, DHCP (Dynamic Host Configuration Protocol), DNS (Domain Name System). UPnP technology was initially promoted by UPnP forum which was an initiative by various vendors.



Working:
UPnP assumes that a device is compatible with Internet Protocol (IP) Addressing, for using protocols built on it, like Hyper Text Transfer Protocol (HTTP), Extensible Markup Language (XML), Transmission Control Protocol (TCP), User Datagram Protocol (UDP). It uses these protocols to advertise the device’s presence and for data transfer.It uses port 1900 on UDP.


Advantages of UPnP:

  1. It can be used for NAT traversal or Firewall punching.
  2. It allows real Plug and Play compatibility.
  3. It is backed by various big vendors and companies like Microsoft and Intel, which makes it an industry standard.
  4. It is an ideal architecture for home devices and networks.

Disadvantages of UPnP:

  1. Control points do not require any authentication, hence any program on your computer can ask to forward a UPnP port
  2. UPnP has no official implementation, hence every router has its own implementation, many implementations have bugs or give a open passage to malware
  3. Any malicious program on your network can use UPnP, in the same way a legitimate program uses it.
Article Tags :