Re: what do you do to preserve pf tables over reboot? (spamd)
Frank Bax <[email protected]>
| Newsgroups | gmane.mail.spam.greylist.user |
|---|---|
| Message-ID | <[email protected]> |
At 06:42 PM 10/17/05, Graham Toal wrote: > > >On rebooting a system running OpenBSD spamd, the contents of > > ><spamd> and <spamd-white> will be lost. > > > > > >The obvious thing that springs to mind is to do something like > > > > > >pfctl -T show -t spamd > <somewhere>/spamd.txt > > > > > >from cron every five minutes, then reload it with > > > > > >pfctl -T add -t spamd -f <somewhere>/spamd.txt > > > > > >on system boot up. > > > > > >Seems rather clunky; is there a neater way? > > > > > > This might give you a clue... > > http://www.elwood.net/greyspamd.html > >Sorry, I'm not seeing it. I've read that doc a dozen times >in the last two weeks and went over it top to bottom again >just now and don't see anything relevant to my question. > >Could you be a little more explicit please? I meant you should model your system after the examples on that page. Using those examples (as I did two years ago), there is no need to save/reload spamd and spamd-white through a reboot.