upnp refers to the "Universal Plug and Play" function; upnp is a set of network protocols promoted by the "Universal Plug and Play Forum". The goal of this protocol is to enable various devices in home networks and corporate networks devices can seamlessly connect to each other and simplify the implementation of related networks; UPnP achieves this goal by defining and publishing the UPnP device control protocol based on the open, Internet communication network protocol standard.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
What is the function of upnp?
Universal Plug and Play (English: Universal Plug and Play, UPnP for short) is a set of network protocols promoted by the "Universal Plug and Play Forum" (UPnP™ Forum). The goal of this protocol is to enable various devices in home networks (data sharing, communication and entertainment) and corporate networks to seamlessly connect to each other and simplify the implementation of related networks. UPnP achieves this goal by defining and publishing the UPnP device control protocol based on the open, Internet communication network protocol standard. The basic components of UPnP are services, devices and control points.
The concept of UPnP is derived from Plug-and-play, which is a hot-plug technology.
Main Applications
Network Address Translation
In numbers in the millions and the number still Addressing systems on the Internet were developed long before home networks continued to grow. In fact, it's a miracle that an addressing system developed when the Internet was still in its infancy still works.
Because Internet address resources are rapidly being exhausted, most home networks use Network Address Translation (NAT) technology to establish a gateway. NAT is a standard developed by the Internet Engineering Task Force (IETF), which allows multiple PCs or devices in a private network to share a globally unique public address (the range of private addresses used is 10.0.0.0/8, 192.168.0.0 /16 and 172.0.0.0/12). As a temporary remedy to a shortage of IP addresses, NAT can do a lot of things well - Windows XP's Internet connection sharing, for example, uses NAT, just as many gateway devices (such as DSL and cable modems) do .
But the problem is: NAT expects all network applications to communicate in a standard way (that is, using IP addresses in the packet header), but some network programs do not anticipate the existence of NAT. They used embedded IP addresses that NAT couldn't translate.
NAT Traversal Technology
NAT traversal technology allows network applications to detect whether they are behind a UPnP-capable NAT device. The programs are then given a shared globally routable IP address, and the port mapping is configured to forward packets from the NAT external port to the internal port used by the application - all of this is done automatically, with no manual effort required by the user. Map ports or perform other tasks. NAT traversal technology allows network devices or point-to-point applications to communicate with the outside world through the NAT gateway by dynamically opening and closing communication ports with external services.
Security
Due to the simplicity of UPnP technology and its insistence on open standards, UPnP technology has been adopted by many equipment manufacturers. Windows XP was the first to implement support for UPnP technology, however, it also has security vulnerabilities that an attacker could use to slow down your PC or, in rare cases, allow an attacker to exploit Elevate the privileges on your system. However, if you have a firewall installed in Windows XP, these problems will not be called problems. In fact, Windows XP itself comes with an Internet Connection Firewall, which is installed by default on your Internet connection and therefore protects you from Internet attackers. This security hole in UPnP has been patched. Microsoft Security Bulletin MS01-059 discusses this issue and provides links to additional resources and where you can download security patches.
Technical Features
1. Use the network as the application environment and do not consider computers in "isolated islands".
2. Based on TCP/IP and the entire Internet. This is "neutral", not attached to any operating system or application, does not use specific API functions, and is not limited by programming languages. Can be seamlessly connected to traditional networks.
3. The device can dynamically enter the network, then obtain an IP address, "learn" or find information about the operations and services it should perform; "perceive" whether other devices exist and their functions and current status. All of this should be done automatically.
4. Each device can read its own, specific status and parameters; after completing the control operation, a response signal of "operation completed" should be sent. If it fails, control failure should be signaled.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the function of upnp?. For more information, please follow other related articles on the PHP Chinese website!