On Thu, Jul 12, 2018 at 12:15 PM sven falempin <sven.falem...@gmail.com> wrote:
> You can add them with pftcl -a foo/bar -t new -T add something > The table cannot be created empty ( no -T create ) > It s not possible to write in a configuration file > > anchor "whenitshot" { > table <locals> const { 192.168/16, 10/8, 172.16/12, 169.254/16, > 10.1.0.254/16 } > } > > Was possible in 6.0 it s no more possible since 6.1. > > Is it a bug or an advice ? > > > PS: Okay it was working when used inside pfctl parser like, i assumed it was wokring in file as -f for pfctl was very similar ( in my head ) # echo 'table <locals> const { 192.168.0.0/16, 172.16.0.0/12, 169.254.0.0/16 }\n' | pfctl -a "stuff/lol" -f - [0] not directly into a file now : # echo 'table <locals> const { 192.168.0.0/16, 172.16.0.0/12, 169.254.0.0/16 }\n' | pfctl -a "stuff/lol" -f - stdin:1: cannot define table locals: Device busy pfctl: Syntax error in config file: pf rules not loaded -- -- --------------------------------------------------------------------------------------------------------------------- Knowing is not enough; we must apply. Willing is not enough; we must do