summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2018-07-11 18:06:26 +0000
committerkn <kn@cvs.openbsd.org>2018-07-11 18:06:26 +0000
commite845cef21eb24390ed17412c4ee580016cbd6d8e (patch)
tree6d5a3a049a25fb9a472acc18bd779879c061c26d /share/man
parent4825185acc5f6b7cadef1e01ec0ea1de58c31ddc (diff)
Prevent invalid interface specifiers on queue rules
pf.conf(5) states that queues attach to actual interfaces only, yet the following parses: # echo queue eq on egress bandwidth 1G default | pfctl -f- # pfctl -sq pfctl: DIOCGETQSTATS: Bad file descriptor # echo queue rq on rdomain 0 bandwidth 1G default | pfctl -vf- queue rq bandwidth 1G default # pfctl -sq pfctl: DIOCGETQSTATS: Bad file descriptor On rdomains, ifa_exists() returns NULL. On interface groups, ifa_exists() returns non-NULL but af is never set to AF_LINK. OK henning sashan
Diffstat (limited to 'share/man')
0 files changed, 0 insertions, 0 deletions