07.05.2014 Views

Using BGP for realtime import and export of OpenBSD spamd entries

Using BGP for realtime import and export of OpenBSD spamd entries

Using BGP for realtime import and export of OpenBSD spamd entries

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

client blacklist<br />

$ cat /usr/local/sbin/bgp-<strong>spamd</strong>.black.sh<br />

#!/bin/sh<br />

AS=65066<br />

bgpctl show rib community ${AS}:666 | awk ’{print $1}’ | \<br />

sed ’s/\/.*$//’ > /var/db/<strong>spamd</strong>.black<br />

/usr/libexec/<strong>spamd</strong>-setup<br />

# EOF<br />

21/27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!