Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My server listens to POP3/IMAP requests. Some users have configured their mailers with high checking frequencies, say once every minute, such that the system logs are full of entries with no significance at all.
I'd like to ask if there is a way to limit the per IP frequency of POP3/IMAP access ?
I'm using "xinetd" to wrap the "ipop3d" and "imapd" which come with the Alpine package.
My server listens to POP3/IMAP requests. Some users have configured their mailers with high checking frequencies, say once every minute, such that the system logs are full of entries with no significance at all. I'd like to ask if there is a way to limit the per IP frequency of POP3/IMAP access ? I'm using "xinetd" to wrap the "ipop3d" and "imapd" which come with the Alpine package.
See "per_source" in 'man xinetd.conf' or iptables "limit" module 'iptables --help -m limit'?
Thanks for the information, but they do not help for my case.
The "per_source" of xinetd, or the "connlimit" of iptables, only limits the number of concurrent connections. This has already been implemented, but I'm looking for a way to limit the hit frequency of each client.
The "limit" of iptables seems to limit the overall rate, not counting per IP. My system serves quite many users. Most of the clients are properly configured except for a few ones, therefore I don't want to implement a global rate limit which may also affect those well-behaved users.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.