🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: bit.listserv.openbsd-pf
1 messages
1 total messages Started by gpontis Mon, 19 Nov 2012 17:05
Re: Apparent problem with divert-to rule parsing
#241
Author: gpontis
Date: Mon, 19 Nov 2012 17:05
25 lines
1907 bytes
> > The following rule would not load:
> >
> > pass in quick on $IntIf inet proto tcp to port ftp divert-to lo0 port
> 8021
> >
> > The error message was:
> >
> > pf.conf:207: address family mismatch for divert
> >
> > If lo0 is replaced with 127.0.0.1 then it loads and works correctly.
> > However, 127.0.0.1 is properly substituted for lo0 when using rdr-to.
> >
> > George
>
> It would be nice if this worked, though it looks like it's non-trivial
> to do (rdr-to is parsed in a different way to divert-to) - however, I'd
> like to make sure that at least the documentation for ftp-proxy is
> correct, did you find this rule in documentation somewhere?

The only place where I found divert-to being referenced was in the  
ftp-proxy documentation, and it was shown with "127.0.0.1". It was I  
that made the switch to lo0, to be consistent with other rules in the  
pf.conf.

Geo.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads