DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th September 2012
scrummie02 scrummie02 is offline
Port Guard
 
Join Date: Nov 2011
Posts: 27
Default SPAMD and pf

I have a question about SPAMD. Trying to set it up and the faq and man page use the following examples for your pf config:

from the spamd man page:
Code:
pass in on egress proto tcp from any to any port smtp \
             rdr-to 127.0.0.1 port spamd

And from http://www.openbsd.org/faq/pf/tagging.html

Code:
pass in on $ext_if proto tcp to $www_server port 80 tag INET_DMZ
pass in on $ext_if proto tcp from <spamd> to port smtp \

   tag SPAMD rdr-to 127.0.0.1 port 8025
Thing is with openbsd 5.1 I through they wanted us to use "divert-to" instead of "rdr-to".
Reply With Quote
  #2   (View Single Post)  
Old 17th September 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Good catch. Documentation needs to be updated.

As for rdr-to and divert-to, a simple description of the differences can be found here:

http://www.openbsd.org/faq/upgrade50.html#pf

If you like, you can give back to the project by submitting diffs for spamd(8) and the PF User's Guide.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD's SPAMd dying stukov General software and network 11 16th June 2008 03:18 PM
spamd logging question roundkat OpenBSD General 10 11th June 2008 01:27 PM


All times are GMT. The time now is 08:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick