Date: Thu, 24 Sep 1998 19:09:54 -0500 (CDT) From: toasty@dragondata.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/8042: If pidentd dies, you must kill all telnetd and ftpd processes to restart it Message-ID: <199809250009.TAA12402@shell1.dragondata.com>
next in thread | raw e-mail | index | archive | help
>Number: 8042 >Category: bin >Synopsis: If pidentd dies, you must kill all telnetd and ftpd processes to restart it >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 24 18:00:01 PDT 1998 >Last-Modified: >Originator: Kevin Day >Organization: DragonData Internet Services >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: >Description: If identd dies, you can't restart it without killing telnetd and ftpd Identd croaked somehow... bash-2.02# ps -auxwwww |grep "identd" bash-2.02# Restarting it doesn't work: bash-2.02# /usr/local/sbin/identd -b -d -v 0 , 0 : ERROR : X-DBG : main: bind: : Address already in use (same thing if you run identd through inetd - inetd complains it can't bind to the port) When doing some poking: bash-2.02# netstat -Aan |grep "*.113" f4e50b00 tcp 0 0 *.113 *.* LISTEN bash-2.02# fstat |grep "f4e50b00" root telnetd 7597 6* internet stream tcp f4e50b00 stardust ftpd 25217 6* internet stream tcp f4e50b00 root telnetd 1105 6* internet stream tcp f4e50b00 bash-2.02# kill 25217 bash-2.02# kill 7597 bash-2.02# kill 1105 bash-2.02# fstat |grep "f4e50b00" bash-2.02# netstat -Aan |grep ".113" bash-2.02# /usr/local/sbin/identd -b -d -v (identd now works) This could almost be a DOS attack, if you can find a way of making identd die, you'll have to boot all the users off to restart it. >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809250009.TAA12402>