Hi all
I am using relayd on a firewall to forward (rdr-to) incoming connections
to a pair of webservers.
All rules and tables live under the 'relayd/*' anchor, where pfctl -sr
shows each relayd redirect as a separate anchor, referencing a table of
the same name.
root@fw:# pfctl -a 'relayd/*' -sr
anchor "web-access" all {
pass in quick on trunk0 on rdomain 0 inet proto tcp from any to
n.n.n.n port = 443 flags S/SA keep state (tcp.established 600) rdr-to
<web-access> port 443 round-robin
}
But when trying to display the contents of the table, I get "permission
denied" messages:
root@fw:# pfctl -a 'relayd/*' -t web-access -T show
pfctl: DIOCSETLIMIT (states): Permission denied
pfctl: DIOCSETLIMIT (src-nodes): Permission denied
pfctl: DIOCSETLIMIT (frags): Permission denied
pfctl: DIOCSETLIMIT (tables): Permission denied
pfctl: DIOCSETLIMIT (table-entries): Permission denied
pfctl: DIOCSETLIMIT (pktdelay-pkts): Permission denied
pfctl: DIOCSETLIMIT (anchors): Permission denied
Is there another way to get the table contents?
Is this behaviour expected?
thx!