[8877] in bugtraq

home help back first fref pref prev next nref lref last post

Simple nmap/inetd workaround

daemon@ATHENA.MIT.EDU (John Hawkinson)
Thu Dec 31 14:30:41 1998

Date: 	Wed, 30 Dec 1998 14:10:36 -0500
Reply-To: John Hawkinson <jhawk@MIT.EDU>
From: John Hawkinson <jhawk@MIT.EDU>
To: BUGTRAQ@NETSPACE.ORG

A simple interim workaround for nmap-kills-inetd is to replace
inetd invokations with

        ( trap "" 13; exec /path/to/inetd )

or, under Solaris

        ( trap "" 13; exec /usr/sbin/inetd -s )

this causes SIGPIPE to be ignored. Unfortunately,
it is also ignored for inetd's children. This may cause some
problems for services which run under inetd that expect SIGPIPE,
but on the whole, I think you're better off this way.

--jhawk

home help back first fref pref prev next nref lref last post