FYI, i've found something that will be maybe useful for this. tcpblocker from inter7 folks ( http://inter7.com/?page=tcpblocker )
This will easily limit the number of connections to SMTP from a particular IP for a determined period of time (e.g. i don't wanna more than 100 tcp connections in 15 minutes from a particular IP). This, combined with limiting size of messages and rcpt, and some bandwith policying will do the trick. >> Yes, there are many tutorials on bandwidth shaping and Linux on the >> internet. > > Yep, I know ;-) > > I know there are plenty ways of limit by IP, Service, system user, > (http://lartc.org/ is a great site for that (alse the more concrete > http://lartc.org/wondershaper/ configuration is fine :-P )) and so on, but > that's not what i meant. > > Something like don't allowing for a single remote IP to open more than N > concurrent SMTP sessions (maybe there's a way of implement this on > networking, maybe allowing a maximum count of SYNC packets from an IP for > a determined space of time or something like that (that's far beyond my > knowledge)). > > Sorry for my bad explanation. > >> Thanks, > > Nope, thanks to you! :-) > >> Erik >> >> On 10/17/06, David Sánchez Martín <[EMAIL PROTECTED]> wrote: >>> >>> >>> Hi all! >>> >>> Is there a easy way to limit bandwith of incoming (i don't intend to >>> limit >>> my relay users, but it's not a bad idea) mail from SMTP? >>> >>> Thanks in advance! >>> >>> >>> --------------------------------------------------------------------- >>> QmailToaster hosted by: VR Hosted <http://www.vr.org> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: >>> [EMAIL PROTECTED] >>> >>> >>> >> >> --------------------------------------------------------------------- >> QmailToaster hosted by: VR Hosted <http://www.vr.org> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > --------------------------------------------------------------------- > QmailToaster hosted by: VR Hosted <http://www.vr.org> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
