View Single Post
  #3  
Old 6th January 2010, 16:03
freesqrt freesqrt is offline
Member
 
Join Date: Dec 2007
Posts: 82
Thanks: 7
Thanked 1 Time in 1 Post
Default

Hi Falko,

thank you for attention,

output of "netstat -tap" is:

---------------------------------
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 6410/mysqld
tcp 0 0 *:www *:* LISTEN 21272/apache2
tcp 0 0 *:webmin *:* LISTEN 5432/perl
tcp 0 0 *:81 *:* LISTEN 21194/ispconfig_htt
tcp 0 0 mx1.tpnu.ac.ir:domain *:* LISTEN 21421/named
tcp 0 0 localhost.locald:domain *:* LISTEN 21421/named
tcp 0 0 localhost.localdoma:953 *:* LISTEN 21421/named
tcp 0 0 *:smtp *:* LISTEN 21370/master
tcp 0 0 *:https *:* LISTEN 21272/apache2
tcp6 0 0 [::]:imaps [::]:* LISTEN 4913/couriertcpd
tcp6 0 0 [::]: pop3s [::]:* LISTEN 4947/couriertcpd
tcp6 0 0 [::]: pop3 [::]:* LISTEN 4927/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 4893/couriertcpd
tcp6 0 0 [::]:ftp [::]:* LISTEN 21463/proftpd: ( acc
tcp6 0 0 [::]:ssh [::]:* LISTEN 28081/sshd
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 21421/named
tcp6 0 0 [::]:smtp [::]:* LISTEN 21370/master
tcp6 0 1632 mx1.tpnu.ac.ir:ssh 94-182-132-93.ras:25604 ESTABLISHED 22093/sshd: tpnu [p
----------------------------------------

and "iptables -L" is:

-----------------------------
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
------------------------------

I stop the bastille-firewall service.
I use Ubuntu 8.04TLS, kernel 2.6.24-16

when I nmap from outside :

---------------------
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
443/tcp open https
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
10000/tcp open snet-sensor-mgmt
-------------------

Thank you very very much,
__________________
freesqrt

Last edited by freesqrt; 6th January 2010 at 16:10.
Reply With Quote