<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[DNSBL to Syslog?]]></title><description><![CDATA[<p dir="auto">Is there a way I can get my DNSBL events into a syslog server? I know that they are not part of the pfSense syslog but is there an option in pfBlockerNG itself, or has someone developed a work around to ship them periodically with a cron job or something similar?</p>
]]></description><link>https://forum.netgate.com/topic/158699/dnsbl-to-syslog</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 14:17:34 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/158699.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Nov 2020 16:53:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DNSBL to Syslog? on Sun, 29 Nov 2020 10:39:37 GMT]]></title><description><![CDATA[<p dir="auto">Use the cron package.</p>
]]></description><link>https://forum.netgate.com/post/948386</link><guid isPermaLink="true">https://forum.netgate.com/post/948386</guid><dc:creator><![CDATA[NogBadTheBad]]></dc:creator><pubDate>Sun, 29 Nov 2020 10:39:37 GMT</pubDate></item><item><title><![CDATA[Reply to DNSBL to Syslog? on Sat, 28 Nov 2020 22:24:08 GMT]]></title><description><![CDATA[<p dir="auto">So I worked out the following kludge using Email Reports to get the job. Hopefully in a future release there will be a real time syslog facility for pfBlockerNG - as it is this only reports on yesterday's DNSBL.log entries. Also, it appears that the new python option does not log the source of the DNSBL log entry - you have to revert to the old Unbound to get that in your reports.</p>
<p dir="auto">Using email reports, create a daily report to run at 1am with the following command:</p>
<p dir="auto">date -v-1d '+%b %-d' | grep -f /dev/stdin /var/log/pfblockerng/dnsbl.log | awk -F'[,]' '{ print $2,"DNSBL:",$7,"List:",$9,"URL:",$3, "Source:",$4}' | while read -r line; do echo "$line" | nc -w0 -u <em>syslog_server</em> 514 ; done</p>
]]></description><link>https://forum.netgate.com/post/948326</link><guid isPermaLink="true">https://forum.netgate.com/post/948326</guid><dc:creator><![CDATA[mlines]]></dc:creator><pubDate>Sat, 28 Nov 2020 22:24:08 GMT</pubDate></item></channel></rss>