Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 'netstat -lp' oddities
Date: Fri, 03 Dec 2010 22:04:42
Message-Id: AANLkTik9_+b12nCZs9pZRWLnjuDf1EhgcN9LpKFDXNn3@mail.gmail.com
In Reply to: Re: [gentoo-user] 'netstat -lp' oddities by Etaoin Shrdlu
1 >> I ran 'netstat -lp' on a system of mine and found a couple of strange
2 >> things.
3 >>
4 >> tcp        0      0 1.2.3.4.st:https *:*                     LISTEN
5 >>   2929/apache2
6 >> udp        0      0 1.2.3.4.stat:ntp *:*
7 >>   3203/ntpd
8 >>
9 >> 1.2.3.4 is not the IP address that actually appeared, but I don't
10 >> recognize the one that did appear.  An IP lookup says it is in the
11 >> Czech Republic and I'm in the US.  I did a grep of my system looking
12 >> for the IP and found two recent "Relay access denied" messages in the
13 >> mail log from a sender with an email address like
14 >> "user@×××××××××××××××××××××××××××××.com" where myhost.com is my host's
15 >> domain.
16 >>
17 >> The other strange item was the following entry repeated over and over
18 >> under UNIX sockets:
19 >>
20 >> warning, got bogus unix line.
21 >>
22 >> Can anyone shed some light on either of these?
23 >
24 > I suspect your IP address is 4.3.2.1, and your ISP gives it a reverse DNS
25 > of 1.2.3.4.static.reverse.myhst.com.
26
27 You're right of course. :) I need to read up on reverse DNS.
28
29 > Try netstat -lpn
30
31 Ah, so much better. Thank you. Still getting those "warning, got
32 bogus unix line." lines instead of UNIX sockets though.
33
34 - Grant

Replies

Subject Author
Re: [gentoo-user] 'netstat -lp' oddities Etaoin Shrdlu <shrdlu@×××××××××××××.org>