Gval_NEC_Platforms
Joined: 26 Jan 2023 Posts: 8 Location: Japan
|
Posted: Fri Jan 27, 2023 12:18 am Post subject: Request with unspecified Ports should not be accepted |
|
|
In UPnP-gw-WANIPv6FirewallControl-v1-Service-20101210.pdf section 2.6.3.2, RemotePort and InternalPort have type of ui2.
And from definition of ui2 in section 2.4.6 of same document, just "0" is the wildcard value for this valuable.
Against the document, miniupnpd accepts the request which doesn't decide RemortPort(InternalPort) number, and set it as wildcard.
For example, using upnpc,
Quote: | upnpc -6 -A "" "" <ipv6> 5201 tcp 1000 |
Client sends request with no RemotePort value like <RemotePort></RemotePort> by the command.
miniupnpd accepts this request and let entry of Pinhole, and set RemortPort as wildcard.
I believe RemotePort(Internal Port) have to be specified as number among 0~65535.
So in my opinion, request with unspecified Ports should not be accepted.
If I had misunderstanding, please let me know. |
|