-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
miniupnpd: Increase port map description length limit to 255 #746
base: master
Are you sure you want to change the base?
miniupnpd: Increase port map description length limit to 255 #746
Conversation
miniupnpd was first developped for pf and use the pf rule "label" which is limited to 64 bytes to store the description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR completely misses the fact that 64 characters is the hard limit in miniupnpd at least with pf backend.
07de68b
to
3cb5571
Compare
In fact the limit should be removed from miniupnpc (API needs to be changed) |
3cb5571
to
e6e3feb
Compare
e6e3feb
to
7d73ea8
Compare
The changes are minor, no client code should be using what's removed
The maximum length is not defined in the UPnP IGD standards. The built-in Windows client allows any description length (>20k tested). The PCP description option standard (not implemented) has a length limit of 1016. Other limits: iptables/nftables comments are limited to 256/128 (not used).