Method and device for testing UPnP function and page rule checking
A technology of functional pages and rules, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of iptables rules that are difficult to master, difficult for testers, and time-consuming to test, so as to shorten the test cycle and simplify the test difficulty. , the effect of improving test efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2017-07-04
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the field of testing, in particular to a method and device for testing UPnP functions and page rules based on iptables rules. Background technique
[0002] UPnP (Universal Plug and Play, Universal Plug and Play) is a collective term for a set of protocols. For an intranet computer, the UPnP function can enable the NAT (Network Address Translation) module of the gateway or router to do automatic port mapping, and map the monitored port from the gateway or router to the intranet computer. Therefore, in order to ensure The normal connection and operation of the network, the test of UPnP function is very important.
[0003] Iptables is an IP packet filtering system integrated in the Linux kernel. Iptables is used to set, maintain and check the IP packet filtering rules of the Linux kernel.
[0004] Due to the difficulty of UPnP function, iptables rules are difficult to grasp. At present, the test for UPnP function is rel...
Examples
Embodiment Construction
[0045] The implementation of the present invention is described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.
[0046] figure 1 It is a flow chart of steps of a method for testing UPnP functions and page rule checking in the present invention. Such as figure 1 Shown, the present invention a kind of method of testing UPnP function and page rule inspection, comprises the steps:
[0047] Step 101, build a test environment, enable the UPnP function of the DUT (Device Under Test, device under test), and...