If you're using linux, you could use iptables with
a connlimit match to do this, e.g.
# rejects smtp connection if their are already 2
established connections from same source ip
iptables -p tcp --syn --dport 25 -m connlimit
--connlimit-above 2 -j REJECT
# rejects smtp connection if their are already 2
established connections from same source /24 subnet
iptables -p tcp --syn --dport 25 -m connlimit
--connlimit-above 2 --connlimit-mask 24 -j REJECT
J.T.
|
Title: Re: limit simultaneous connections
- limit simultaneous connections Diego Zuaneti Arruda
- Re: limit simultaneous connections B S Srinidhi
- Re: limit simultaneous connections Zilber, Alexey
- Re: limit simultaneous connections J.T. Moore
- RE: limit simultaneous connections Taylor, Chris
- RE: limit simultaneous connections Zilber, Alexey
- RE: limit simultaneous connections Zilber, Alexey
- Re: limit simultaneous connections J.T. Moore
- Re: limit simultaneous connections J.T. Moore
- RE: limit simultaneous connections Zilber, Alexey
- RE: limit simultaneous connections Zilber, Alexey
- RE: limit simultaneous connections Jeremy Eder
- RE: limit simultaneous connections Zilber, Alexey