From: Glynn Clements <glynn@gclements.plus.com>
To: terry white <twhite@aniota.com>
Cc: Andreas Moroder <andreas.moroder@sb-brixen.it>,
linux-admin@vger.kernel.org
Subject: Re: System freezes after "could not getpeername"
Date: Mon, 30 Aug 2010 17:34:21 +0100 [thread overview]
Message-ID: <19579.56717.36669.200917@cerise.gclements.plus.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1008300134290.25492@yossarian.aniota.com>
terry white wrote:
> : but there seems to be a correlation between the getpeername call in inted and
> : the freeze of the machine, so I prefer to avoid inetd in this case .
>
> i tend to think that solution cosmetic at best, and at worst, a
> misdirected effort. my reading of the 'inetd' manpage does not suggest
> it calls 'getpeername',
It calls getpeername() to determine whether the connection originates
from port 20 (ftp-data), and refuses it if it does (to prevent FTP
"bounce" attacks):
http://ftp.fr.openbsd.org/pub/OpenBSD/src/usr.sbin/inetd/inetd.c
Personally, I think that the inetd messages are unlikely to be related
to the system freezing. They just happen to be the only thing in the
"messages" log file.
The sort of things which will cause a hard lock up (i.e. requiring the
use of Alt-SysRq to reboot) won't log anything in "messages". If
they're logged anywhere (which isn't guaranteed), it's more likely to
be "kernel".
--
Glynn Clements <glynn@gclements.plus.com>
prev parent reply other threads:[~2010-08-30 16:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-27 17:59 System freezes after "could not getpeername" Andreas Moroder
2010-08-27 22:21 ` Herta Van den Eynde
2010-08-27 22:26 ` Harsha Chenji
2010-08-28 7:18 ` Andreas Moroder
2010-08-28 0:27 ` Gerardo Juarez-Mondragon
2010-08-28 7:20 ` Andreas Moroder
2010-08-28 11:51 ` terry white
2010-08-30 6:09 ` Andreas Moroder
2010-08-30 9:01 ` terry white
2010-08-30 9:59 ` Andreas Moroder
2010-08-30 16:15 ` terry white
2010-08-30 16:34 ` Glynn Clements [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19579.56717.36669.200917@cerise.gclements.plus.com \
--to=glynn@gclements.plus.com \
--cc=andreas.moroder@sb-brixen.it \
--cc=linux-admin@vger.kernel.org \
--cc=twhite@aniota.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).