Bugtraq mailing list archives

Simple nmap/inetd workaround


From: jhawk () MIT EDU (John Hawkinson)
Date: Wed, 30 Dec 1998 14:10:36 -0500


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



Current thread: