tcp_wrappers can do this (it provides an exit that can do pretty much
anything to determine whether a connection is legit, and accept/reject
based on your criteria). There is a performance impact to adding all
that processing to each connection, but it is be very simple to do.

> This just came up here in a different context. Is there some standard
> way in Linux to limit the number of "incoming" connections
> accepted from
> a single IP address.
> E.g. allow a desktop to telnet/ssh into a given Linux instance only
> once, or twice, or "n" times. If so, can this limit be applied per IP?
> per IP:port combination.

Any restriction you can express in code, you can implement.

-- db

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to