tansly / simplepf

Simple packet filtering firewall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sanitize input

tansly opened this issue · comments

Don't let user set port numbers for ICMP filters or ICMP types for UDP/TCP filters.

Without this sanitization, nothing will break; the fields will just be ignored. But we can at least warn the user.