mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Port mapping with UPnP
This commit is contained in:
parent
a401a02ddb
commit
9682a15400
90 changed files with 10630 additions and 24 deletions
3
external/miniupnpc/testreplyparse/DeletePortMapping.namevalue
vendored
Executable file
3
external/miniupnpc/testreplyparse/DeletePortMapping.namevalue
vendored
Executable file
|
@ -0,0 +1,3 @@
|
|||
NewRemoteHost=
|
||||
NewExternalPort=123
|
||||
NewProtocol=TCP
|
6
external/miniupnpc/testreplyparse/DeletePortMapping.xml
vendored
Executable file
6
external/miniupnpc/testreplyparse/DeletePortMapping.xml
vendored
Executable file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:DeletePortMapping xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewRemoteHost></NewRemoteHost><NewExternalPort>123</NewExternalPort>
|
||||
<NewProtocol>TCP</NewProtocol></u:DeletePortMapping></s:Body>
|
||||
|
||||
</s:Envelope>
|
||||
|
2
external/miniupnpc/testreplyparse/GetExternalIPAddress.namevalue
vendored
Executable file
2
external/miniupnpc/testreplyparse/GetExternalIPAddress.namevalue
vendored
Executable file
|
@ -0,0 +1,2 @@
|
|||
NewExternalIPAddress=1.2.3.4
|
||||
|
2
external/miniupnpc/testreplyparse/GetExternalIPAddress.xml
vendored
Executable file
2
external/miniupnpc/testreplyparse/GetExternalIPAddress.xml
vendored
Executable file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetExternalIPAddressResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewExternalIPAddress>1.2.3.4</NewExternalIPAddress></u:GetExternalIPAddressResponse></s:Body></s:Envelope>
|
||||
|
3
external/miniupnpc/testreplyparse/GetSpecificPortMappingEntryReq.namevalue
vendored
Executable file
3
external/miniupnpc/testreplyparse/GetSpecificPortMappingEntryReq.namevalue
vendored
Executable file
|
@ -0,0 +1,3 @@
|
|||
NewProtocol=UDP
|
||||
NewExternalPort=12345
|
||||
NewRemoteHost=
|
3
external/miniupnpc/testreplyparse/GetSpecificPortMappingEntryReq.xml
vendored
Executable file
3
external/miniupnpc/testreplyparse/GetSpecificPortMappingEntryReq.xml
vendored
Executable file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0"?>
|
||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetSpecificPortMappingEntry xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewRemoteHost></NewRemoteHost><NewExternalPort>12345</NewExternalPort><NewProtocol>UDP</NewProtocol></u:GetSpecificPortMappingEntry></s:Body></s:Envelope>
|
||||
|
5
external/miniupnpc/testreplyparse/GetSpecificPortMappingEntryResp.namevalue
vendored
Executable file
5
external/miniupnpc/testreplyparse/GetSpecificPortMappingEntryResp.namevalue
vendored
Executable file
|
@ -0,0 +1,5 @@
|
|||
NewInternalPort=12345
|
||||
NewInternalClient=192.168.10.110
|
||||
NewEnabled=1
|
||||
NewPortMappingDescription=libminiupnpc
|
||||
NewLeaseDuration=0
|
2
external/miniupnpc/testreplyparse/GetSpecificPortMappingEntryResp.xml
vendored
Executable file
2
external/miniupnpc/testreplyparse/GetSpecificPortMappingEntryResp.xml
vendored
Executable file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetSpecificPortMappingEntryResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewInternalPort>12345</NewInternalPort><NewInternalClient>192.168.10.110</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>libminiupnpc</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></u:GetSpecificPortMappingEntryResponse></s:Body></s:Envelope>
|
||||
|
1
external/miniupnpc/testreplyparse/SetDefaultConnectionService.namevalue
vendored
Executable file
1
external/miniupnpc/testreplyparse/SetDefaultConnectionService.namevalue
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
NewDefaultConnectionService=uuid:c6c05a33-f704-48df-9910-e099b3471d81:WANConnectionDevice:1,INVALID_SERVICE_ID
|
1
external/miniupnpc/testreplyparse/SetDefaultConnectionService.xml
vendored
Executable file
1
external/miniupnpc/testreplyparse/SetDefaultConnectionService.xml
vendored
Executable file
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:SetDefaultConnectionService xmlns:u="urn:schemas-upnp-org:service:Layer3Forwarding:1"><NewDefaultConnectionService>uuid:c6c05a33-f704-48df-9910-e099b3471d81:WANConnectionDevice:1,INVALID_SERVICE_ID</NewDefaultConnectionService></u:SetDefaultConnectionService></s:Body></s:Envelope>
|
7
external/miniupnpc/testreplyparse/readme.txt
vendored
Executable file
7
external/miniupnpc/testreplyparse/readme.txt
vendored
Executable file
|
@ -0,0 +1,7 @@
|
|||
This directory contains files used for validation of upnpreplyparse.c code.
|
||||
|
||||
Each .xml file to parse should give the results which are in the .namevalue
|
||||
file.
|
||||
|
||||
A .namevalue file contain name=value lines.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue