LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   iptables & system ressources (https://www.linuxquestions.org/questions/linux-general-1/iptables-and-system-ressources-53011/)

exalik 04-02-2003 06:17 AM

iptables & system ressources
 
Hello,

I would like to stop spam popup using iptables to reject the spamers ip adress but the list is so long and i don't know if a lot of entries in iptables need a lot of processor and RAM memory usage.

Can anybody ansmer me ???


Exalik

PS: sorry for my poor english ;)

Hangdog42 04-02-2003 07:33 AM

A neat trick I saw somewhere here was instead of using iptables, to re-direct domains using the hosts file. So say you are being annoyed by pop-ups from adserver.com. In your /etc/hosts file you would enter

127.0.0.1 adserver.com

That would (hopefully) cause the browser to look locally for that domain and obviously not find it. However, it still doesn't get around the fact that you have to have an entry for each domain you want to stop.


Probably a better solution would be to change your browser's settings to not allow popups.


All times are GMT -5. The time now is 10:06 AM.