On Thu, Jul 13, 2006 at 02:06:53PM -0400, Monah Baki wrote:
> Hi all,
> 
> I'm hoping I'm wording this correctly.
> 
> Is there any software available for OpenBSD that will permit me to
> redirect a packet based on a certain string in the packet?.
> For example if someone where to telnet to my server (userid foo), server
> should redirect that packet based on the string "foo" to a syslog server.
> Sort of like patch-o-matic for linux.

This cannot be done in pf(4) - or rather, it could be done, but hasn't
and probably shouldn't.

There are, however, quite a few userland proxies in OpenBSD - ftp-proxy
is the canonical example, but ports contains a lot of HTTP proxy, BIND
works fine as a DNS proxy, and the difference between an SMTP proxy and
an MTA is not big enough that the latter cannot be used as the former.

What do you want to do? If it's a matter as simple as matching 'foo' to
host 'bar', well, that should be possible in an easy-ish C program...

                Joachim

  • Question Monah Baki
    • Re: Question Joachim Schipper

Reply via email to