Networking Forums

Networking Forums > Computer Networking > Linux Networking > iptables to limit access to pop3 - how?

Reply
Thread Tools Display Modes

iptables to limit access to pop3 - how?

 
 
Rene Madsen
Guest
Posts: n/a

 
      08-29-2003, 06:41 AM
In order to reduce load on our system I would like to limit access to
pop3 to something like once every 2-3 minutes. Some users currently
hammer the pop3 server with requests every 2-3 seconds!

While I kinda understand how iptables work I don't know enough about
how to setup such a rule. I think there is a -limit keyword which
ought to be able to do something like this?

I'm currently using a standard setup denying all incoming traffic,
then allowing individual services one by one. POP3 is allowed by this
rule:

$IPTABLES -A INPUT -i eth0 -d $server_ips -p tcp -m state --state NEW
--sport $UNPRIVPORTS --dport 110 -j ACCEPT

How can I modify/add to this rule so that users are limited to check
once every 2-3 minutes? -limit? How?
 
Reply With Quote
 
 
 
 
Rene Madsen
Guest
Posts: n/a

 
      09-02-2003, 12:00 PM
No takers, huh?
Am I in a wrong newsgroup perhaps?

(E-Mail Removed) (Rene Madsen) wrote in message news:<(E-Mail Removed). com>...
> In order to reduce load on our system I would like to limit access to
> pop3 to something like once every 2-3 minutes. Some users currently
> hammer the pop3 server with requests every 2-3 seconds!
>
> While I kinda understand how iptables work I don't know enough about
> how to setup such a rule. I think there is a -limit keyword which
> ought to be able to do something like this?
>
> I'm currently using a standard setup denying all incoming traffic,
> then allowing individual services one by one. POP3 is allowed by this
> rule:
>
> $IPTABLES -A INPUT -i eth0 -d $server_ips -p tcp -m state --state NEW
> --sport $UNPRIVPORTS --dport 110 -j ACCEPT
>
> How can I modify/add to this rule so that users are limited to check
> once every 2-3 minutes? -limit? How?

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables -m limit question Matt Linux Networking 1 05-13-2005 02:16 PM
IPTABLES limit bandwidth? Supercell Linux Networking 3 03-14-2005 12:47 PM
Open POP3 (port 110) in iptables h.vinod@gmail.com Linux Networking 3 01-12-2005 10:04 PM
iptables firewall making smtp/pop3 slow in response Tobias Skytte Linux Networking 4 01-20-2004 12:08 AM
What is the limitation of iptables's limit option? Nick Wu Linux Networking 2 09-26-2003 07:10 AM



1 2 3 4 5 6 7 8 9 10 11