Created upnp crate to port forward local ports
This commit is contained in:
parent
215bccb89c
commit
626c529000
6 changed files with 663 additions and 1 deletions
77
crates/upnp/src/resources/test/devices-0.xml
Normal file
77
crates/upnp/src/resources/test/devices-0.xml
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<root xmlns="urn:schemas-upnp-org:device-1-0">
|
||||
<specVersion>
|
||||
<major>1</major>
|
||||
<minor>0</minor>
|
||||
</specVersion>
|
||||
<device>
|
||||
<deviceType>urn:schemas-upnp-org:device:InternetGatewayDevice:1</deviceType>
|
||||
<friendlyName>ARRIS TG3492LG</friendlyName>
|
||||
<manufacturer>Arris Group, Inc</manufacturer>
|
||||
<manufacturerURL>http://www.arris.com/</manufacturerURL>
|
||||
<modelDescription>DOCSIS 3.1 Cable Modem Gateway Device</modelDescription>
|
||||
<modelName>TG3492LG</modelName>
|
||||
<modelNumber>TG3492LG</modelNumber>
|
||||
<modelURL>http://www.arris.com</modelURL>
|
||||
<serialNumber>ABAP02974423</serialNumber>
|
||||
<UDN>uuid:ebf5a0a0-1dd1-11b2-a90f-acf8cc3de6b6</UDN>
|
||||
<UPC>TG3492LG</UPC>
|
||||
<serviceList>
|
||||
<service>
|
||||
<serviceType>urn:schemas-upnp-org:service:Layer3Forwarding:1</serviceType>
|
||||
<serviceId>urn:upnp-org:serviceId:L3Forwarding1</serviceId>
|
||||
<SCPDURL>/Layer3ForwardingSCPD.xml</SCPDURL>
|
||||
<controlURL>/upnp/control/Layer3Forwarding</controlURL>
|
||||
<eventSubURL>/upnp/event/Layer3Forwarding</eventSubURL>
|
||||
</service>
|
||||
</serviceList>
|
||||
<deviceList>
|
||||
<device>
|
||||
<deviceType>urn:schemas-upnp-org:device:WANDevice:1</deviceType>
|
||||
<friendlyName>WANDevice:1</friendlyName>
|
||||
<manufacturer>Arris Group, Inc</manufacturer>
|
||||
<manufacturerURL>http://www.arris.com/</manufacturerURL>
|
||||
<modelDescription>DOCSIS 3.1 Cable Modem Gateway Device</modelDescription>
|
||||
<modelName>TG3492LG</modelName>
|
||||
<modelNumber>TG3492LG</modelNumber>
|
||||
<modelURL>http://www.arris.com</modelURL>
|
||||
<serialNumber>ABAP02974423</serialNumber>
|
||||
<UDN>uuid:ebf5a0a0-1dd1-11b2-a92f-acf8cc3de6b6</UDN>
|
||||
<UPC>TG3492LG</UPC>
|
||||
<serviceList>
|
||||
<service>
|
||||
<serviceType>urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1</serviceType>
|
||||
<serviceId>urn:upnp-org:serviceId:WANCommonIFC1</serviceId>
|
||||
<SCPDURL>/WANCommonInterfaceConfigSCPD.xml</SCPDURL>
|
||||
<controlURL>/upnp/control/WANCommonInterfaceConfig0</controlURL>
|
||||
<eventSubURL>/upnp/event/WANCommonInterfaceConfig0</eventSubURL>
|
||||
</service>
|
||||
</serviceList>
|
||||
<deviceList>
|
||||
<device>
|
||||
<deviceType>urn:schemas-upnp-org:device:WANConnectionDevice:1</deviceType>
|
||||
<friendlyName>WANConnectionDevice:1</friendlyName>
|
||||
<manufacturer>Arris Group, Inc</manufacturer>
|
||||
<manufacturerURL>http://www.arris.com/</manufacturerURL>
|
||||
<modelDescription>DOCSIS 3.1 Cable Modem Gateway Device</modelDescription>
|
||||
<modelName>TG3492LG</modelName>
|
||||
<modelNumber>TG3492LG</modelNumber>
|
||||
<modelURL>http://www.arris.com</modelURL>
|
||||
<serialNumber>ABAP02974423</serialNumber>
|
||||
<UDN>uuid:ebf5a0a0-1dd1-11b2-a93f-acf8cc3de6b6</UDN>
|
||||
<UPC>TG3492LG</UPC>
|
||||
<serviceList>
|
||||
<service>
|
||||
<serviceType>urn:schemas-upnp-org:service:WANIPConnection:1</serviceType>
|
||||
<serviceId>urn:upnp-org:serviceId:WANIPConn1</serviceId>
|
||||
<SCPDURL>/WANIPConnectionServiceSCPD.xml</SCPDURL>
|
||||
<controlURL>/upnp/control/WANIPConnection0</controlURL>
|
||||
<eventSubURL>/upnp/event/WANIPConnection0</eventSubURL>
|
||||
</service>
|
||||
</serviceList>
|
||||
</device>
|
||||
</deviceList>
|
||||
</device>
|
||||
</deviceList>
|
||||
<presentationURL>http://192.168.0.1/</presentationURL>
|
||||
</device>
|
||||
</root>
|
||||
Loading…
Add table
Add a link
Reference in a new issue