On Mon, 2012-10-01,
colin...@gmail.com wrote:
> I have been trying to understand some port issues.
>
> First.
> I like the command /usr/sbin/iptstate
> But I only want to look at one address eg 10.1.0.52
> I cant seem to see how to just have this address filtered so I only see it.
man grep
If you maintain a Linux machine, you really need to learn basic
Unix/Linux usage. Highly recommended!
> Second I have run this command found tons of the following...
> 10.1.0.52,139 5.190.107.130,2504 tcp ESTABLISHED 71:57:27
> 10.1.0.52,139 5.190.107.130,4608 tcp ESTABLISHED 88:08:17
> 10.1.0.52,139 5.190.107.130,4160 tcp ESTABLISHED 108:34:24
> 10.1.0.52,139 5.190.107.130,3125 tcp ESTABLISHED 118:15:26
...
> One note I saw said if you see a lot of these you might have a worm.
> the .52 is a windows XP computer using the linux computer as a
> gateway. (the one I ran the IPTables command on.) I have tried to
> track the ip 5.190.107.130 but it doesnt seem bad eg. no one has
> reported it.
% grep 139 /etc/services
netbios-ssn 139/tcp
That's SMB and other Windows services -- things you're supposed to use
on a LAN. I assume (I don't know Windows) they are not encrypted,
either. Having successful connections from foreign networks is
probably a very Bad Thing.
Tell someone in your organization who's responsible for security
and knows his/her job. This is important.
> But it also seems to be somewhere int he middle east. (a
> questionable place.)
It's in Iran. Lots of decent people live there.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/
snipabacken.se> O o .