[CentOS] OT: Port Scan

Tue Aug 26 20:27:24 UTC 2008
Rob Townley <rob.townley at gmail.com>

On Tue, Aug 26, 2008 at 3:11 PM, Les Mikesell <lesmikesell at gmail.com> wrote:

> Lanny Marcus wrote:
>
>> I just did a port scan on one of my web sites. Shared Hosting. Looking
>> at ports 1863, 3000 and 3001. Are those ports normally open or
>> something I should file a support ticket about? TIA!
>>
>> Port State Service
>> 21 open ftp
>> 22 open ssh
>> 25 open smtp
>> 80 open http
>> 110 open pop3
>> 143 open imap
>> 443 open https
>> 993 open imaps
>> 995 open pop3s
>> 1863 open msnp
>> 3000 open hbci
>> 3001 open redwood-broker
>> 3306 open mysql
>> 5190 open aol
>> 5432 open postgres
>>
>
>
> Ports are 'open' when you start programs that listen on them.  lsof should
> tell you what those programs are.
>
> --
>  Les Mikesell
>   lesmikesell at gmail.com
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



If it is shared hosting, maybe he doesn't have root.  But yes lsof and even
better,
netstat -anp | grep -v "^unix"
The -anp has netstat give the Process name along with the port Number for
All services.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080826/6759c3bc/attachment-0005.html>