[Firehol-support] log directive on a rule logs everything

Carlos Rodrigues cefrodrigues at mail.telepac.pt
Sat Oct 22 17:43:23 BST 2005


I have this on my firehol.conf, but I get a "rejected-smtp" log entry
for every connection to an smtp server, both the rejected ones and the
authorized ones (to smtp.example.com).

How can I have a log entry only when a connection is _rejected_ by the
smtp rule?

router staff-to-world \
        inface ${staff_iface} outface ${world_iface}
        protection strong

        route smtp reject dst not smtp.example.com log "rejected-smtp"

        route all accept

Carlos Rodrigues


More information about the Firehol-support mailing list