whitelist ?

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

 



 

Hello all,

 

If I am blocking a block of IP's lets say

 

84.17.64.0/19

 

Using:

 

And I find that I need to allow:

84.17.64.23

 

 

 

My rules look like this:

:SMTP_TRAFFIC - [0:0]

-A INPUT -p tcp --dport 25 -m state --state NEW -j SMTP_TRAFFIC

 

Then

-A LOG_LIST_NAME -j LOG --log-prefix "SPAM-BLOCK-CIDR- LIST_NAME "

-A LOG_ LIST_NAME -j DROP

 

 

Would I put something like:

:WHITE_LIST

-A INPUT -p tcp --dport 25 -m state --state NEW -j WHITE_LIST

-A LOG_ WHITELIST -j ACCEPT

 

Then 

-A WHITE_LIST -s 84.17.64.23 -j LOG_WHITE_LIST

 

This is not my strong suite.

 

Thanks!

 


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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