Re: IP not banned in interval set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/18/24 09:36, List Support wrote:
[...]
set toban4-smtp {
    type ipv4_addr
    flags interval
    auto-merge
    elements = { 194.169.175.17-194.169.175.18 }
}

chain input {
    type filter hook input priority -100; policy accept;
    ip saddr @toban4-smtp tcp dport { 25, 462, 587 } drop
}

[...]

Side question, are you really using port 462, or did you mean to write 465 (standard SMTP SSL port)instead?

--
gordonfish





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux