D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] ident: IRC and Linux



On Wed, 2004-08-04 at 12:20, Neil Stone wrote:

Hi Neil,

Sorry for the length of the reply.  I've tried to give as much info as I
can :)

Logged in as root I get

ps -aux | grep ident

"bad syntax, perhaps a bugus -"

Then five lines of:

nobody 1149 0.0 0.3 26312 496 ?       S  12.36  0:00 [identd]

and one line:

root   2371 0.0 0.4  1728 612 pts/1   S  12.53  0:00 grep ident

netstat -napt | grep ident

no data returned for this command.. straight back to root prompt.

So I tried both as my normal login.

ps -aux | grep ident

Same result

netstat -napt | grep ident

Completely different:

Proto Recv-Q Send-Q Local Address Foreign Address   State  PID/Prog Name
tcp     0      0    0.0.0.0:1024    0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:2049    0.0.0.0:*       Listen   -
tcp     0      0    127.0.0.1:1025  0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:1026    0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:1027    0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:901     0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:139     0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:111     0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:10000   0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:6000    0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:113     0.0.0.0:*       Listen   -
tcp     0      0    0.0.0.0:631     0.0.0.0:*       Listen   -
tcp     0      0    127.0.0.1:25    0.0.0.0:*       Listen   -

This was while running no programs at all.  1024-1027 I *think* is the
DCC range for IRC for files etc, although I've manually opened a
different range through the router and told X-Chat to use that and not
the default.  901 -SWAT?  139 we know.  10000 - webmin.  113 - ident.
631 - CUPS?  25 obviously SMTP.  2049 rings a vague bell but what I'm
not sure.  111 and 6000 are a total mystery.

Is the fact that most of them seem to be bound to 0.0.0.0 the problem?

Running the same command while XChat is active gives the additional
line:

tcp     0      0    192.168.1.102:1034    195.50.191.12:6664
ESTABLISHED   2579/xchat

(sorry about the linewrap :))

While actively trying to send a DCC file I get the line:

tcp     0      0    192.168.1.102:2070    0.0.0.0:* Listen   2579/xchat

I'm damn sure this last is why I can't send files either.  Receive is
fine.

Cheers,

Julian


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly