Re: relayd redirect uses anchor/redirection name as table name

2023-11-14 Thread Sebastian Benoit
Klemens Nanni(k...@openbsd.org) on 2023.11.11 20:10:08 +: > On Sat, Nov 11, 2023 at 06:00:13PM +0100, Alexandr Nedvedicky wrote: > > I think there is a glitch in pfctl(8). It fails to traverse > > to anchors when it is asked to show tables. however table > > is there if you search

Re: relayd redirect uses anchor/redirection name as table name

2023-11-11 Thread Klemens Nanni
On Sat, Nov 11, 2023 at 06:00:13PM +0100, Alexandr Nedvedicky wrote: > I think there is a glitch in pfctl(8). It fails to traverse > to anchors when it is asked to show tables. however table > is there if you search for it using hints: Yes, that's a pfctl(8) bug, it's '-a' defines rec

Re: relayd redirect uses anchor/redirection name as table name

2023-11-11 Thread Alexandr Nedvedicky
Hello, > > ftp -o- http://[::1]/ > Trying ::1... > ftp: connect: Connection refused > > Another problem might be the ftp client will use loopback address as a source address for connection. You may try to override it by using '-s $NETWPRK_IF_IP' option. When

Re: relayd redirect uses anchor/redirection name as table name

2023-11-11 Thread Alexandr Nedvedicky
Hello, On Sat, Nov 11, 2023 at 11:55:58AM +, Klemens Nanni wrote: > > # pfctl -a '/*' -s Tables > # I think there is a glitch in pfctl(8). It fails to traverse to anchors when it is asked to show tables. however table is there if you search for it using hints:

relayd redirect uses anchor/redirection name as table name

2023-11-11 Thread Klemens Nanni
Default -current relayd(8) installs pf(4) rules with wrong table names. Minimal reproducer: # cat /etc/relayd.conf table { openbsd.org } redirect "myRedirect" { listen on ::1 port 80 forward to check icmp } # relayd -d &