PDA

View Full Version : configure ident (for IRC servers)?


loren_ryter
01-31-2002, 02:43 PM
I'm having trouble connecting to some IRC servers, which say there is "no ident response".

I'm using Snak as an IRC client, which comes with a script to enable ident in OS X, which I ran as root as instructed.

It changes a line in /private/etc/inetd.conf to

auth stream tcp wait root /usr/libexec/tcpd identd -w
-t120

(there is a space and a tab between "-w" and "-t120" in the file.)


Well it doesn't work.

ipfw is running with incoming connections allowed on port 113 TCP/UDP (auth/ident, according to brickhouse).

Any suggestions?

Novajo
01-31-2002, 05:22 PM
Did you reset inetd with:

sudo kill -HUP `cat /var/run/inetd.pid`

check /var/log/system.log for messages.

loren_ryter
02-01-2002, 07:32 AM
hi thanks for the reply.

i couldn't even find inetd running using process viewer or process wizard. (how do you search for a running process by name in terminal?)

i looked in /var/run/ and inetd.pid was there of course, and i tried the command string you provided and sure enough, no such process.

so i typed "inetd" there was no feedback but something happened. then i could connect using snak. however i don't know if this is just coincidince becasue it was several hours later and the irc server still started with:


Looking up your hostname
Checking Ident
Found your hostname
No ident response

but then immediately connected.

Do I need to manually start inetd like that all the time?

thanks....

PS:

unrelated but for the record my system.log was going crazy due to Palm's Transport Monitor--a problem that has been reported elsewhere. Killing Transport Monitor stopped the ridiculous writing to the log.

Feb 1 05:05:11 12-228-141-6 mach_kernel: USB: 75725.042: +AppleUSBOHCI(0x259B800)::ReturnOneTransaction(0xF4AE990, 0xF4ACA60, E0004051)
Feb 1 05:05:11 12-228-141-6 mach_kernel: USB: 75725.043: AppleUSBOHCI(0x259B800)::ReturnOneTransaction - found the end of the transaction(0xF4AE990)!
Feb 1 05:05:11 12-228-141-6 mach_kernel: USB: 75725.043: -AppleUSBOHCI(0x259B800)::ReturnOneTransaction - done, new queue head (L0xF4AF1B0, P0xB071B402) V0x2B471B0

loren_ryter
02-01-2002, 07:45 AM
after killing the trasnsport monitor craziness, i found in system.log:

Feb 1 05:23:52 12-228-141-6 inetd[26140]: /var/run/inetd.pid: Permission denied
Feb 1 05:23:52 12-228-141-6 inetd[26140]: auth/tcp: bind: Permission denied
Feb 1 05:23:52 12-228-141-6 inetd[26140]: /etc/inetd.conf: syntax error

is it a firewall problem? ident should be allowed on tcp & udp.

how do i resolve this?

thanks

loren_ryter
02-01-2002, 08:26 AM
i re-edited the inetd.conf file using a string from the original script. somehow it was missing a tab and had an extra tab. then "sudo inted" and it works. go figure.

still wondering tho how to search for a process by name in terminal.

Novajo
02-01-2002, 08:41 AM
I usually do this:

ps -axl | grep name

W3iRd0
02-04-2002, 12:45 AM
%alias smartname "ps -ax | awk '/\!*/ {print $1}'"
%smartname some-process
lots-of-info-about-some-process :)