Re: Question about tables in nested anchor on pf since 6.1

2017-11-14 Thread Leonardo Guardati
Hi, I've applied the patch on 6.2 and it fixes the problem. # pfctl -ef /etc/pf.conf pf enabled # pfctl -a /uno/due -t foo -T show 10.0.0.1 # pfctl

Re: Question about tables in nested anchor on pf since 6.1

2017-11-14 Thread Alexandr Nedvedicky
Hello Leo, this looks like my bad, which goes back to commit [1], which tried to fix 'mix up of anchor names and anchor paths'. I've completely forgot to take care of pfctl/parse.y back then. Please let me know if patch below solves your problem. thank you for great troubleshooting and excellent

Re: Question about tables in nested anchor on pf since 6.1

2017-11-13 Thread Leonardo Guardati
If I change the load statement in pf.uno using the full path ( /uno/due instead of due ); thens there is no error; but still no table is loaded. /etc/pf.conf: ### block log anchor "uno" load anchor "uno" from "/etc/pf.uno" ### /etc/pf.uno

Question about tables in nested anchor on pf since 6.1

2017-11-13 Thread Leonardo Guardati
Hi, there is a confusing error message in 6.1 and 6.2 (not in 6.0) when using a table inside a nested anchor. here the rules: /etc/pf.conf: ### block log anchor "uno" load anchor "uno" from "/etc/pf.uno" ### /etc/pf.uno