* Better inetd logging?
@ 1999-06-01 16:32 Roy Smith
0 siblings, 0 replies; 2+ messages in thread
From: Roy Smith @ 1999-06-01 16:32 UTC (permalink / raw)
To: tru64-unix-managers
We had an incident this morning where a user was flooding us with pop3
connections. Inetd tripped the 500 requests/minute circuit breaker and
stopped accepting any more connections.
The problem is, it didn't provide any useful information about *where* the
attack was comming from. I would have hoped there would be a log message
somewhere at least giving the IP address of the client, but as far as I can
tell, there isn't. Even turning on debugging (inetd -d) doesn't help; all
it logs is:
> Jun 1 12:07:30 endeavor inetd[20398]: someone wants pop3 fd 19
which isn't particularly useful. Is there anyway to get more information?
PS -- a packet sniffer wasn't practical, for a variety of reasons.
Roy Smith <roy@popmail.med.nyu.edu>
New York University School of Medicine
550 First Avenue, New York, NY 10016
^ permalink raw reply [flat|nested] 2+ messages in thread
* Better inetd logging?
@ 1999-06-01 17:23 Roy Smith
0 siblings, 0 replies; 2+ messages in thread
From: Roy Smith @ 1999-06-01 17:23 UTC (permalink / raw)
To: tru64-unix-managers
I've already gotten 6 responses to my query, from:
"Leonard, Roger" <rleonard@cvty.com>
N.M.Hill@rl.ac.uk
MC.Vialatte@cust.univ-bpclermont.fr
Paul A Sand <pas@unh.edu>
Sylvain Robitaille <syl@alcor.concordia.ca>
Mike Iglesias <iglesias@draco.acs.uci.edu>
Since all 6 seem to have slightly missed the mark, it's clear that I didn't
do a very good job of describing my problem, so let me try again...
Most people suggested tcp wrappers, which we already run. The problem is
that the 500 request/minute limit is being imposed by inetd, which runs on
top of tcpd. The flow of control is:
1) inetd gets connection request
2) inetd executes tcpd
3) tcpd executes your application server (popd, etc)
In our case, we're never getting past step #1, so it doesn't matter what
we're running underneath that does better logging, because it never gets a
chance to run. The logging has to be done at the inetd level to be
effective.
Roy Smith <roy@popmail.med.nyu.edu>
New York University School of Medicine
550 First Avenue, New York, NY 10016
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-06-01 17:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-01 17:23 Better inetd logging? Roy Smith
-- strict thread matches above, loose matches on Subject: below --
1999-06-01 16:32 Roy Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox