View Single Post
  #10  
Old 7th July 2006, 09:35
gili gili is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks but the problem is not solved!

Hello,

Sorry for the late answer,

I try your tips, but nothing changed!
Active, Passive nothing chaged!

Firewall, I use only ISPConfig's firewall, and if I stop that, or Start that, nothing changed.

Cached: 496184 kB
SwapCached: 0 kB
Active: 500956 kB
Inactive: 301108 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 906736 kB
LowFree: 28956 kB
SwapTotal: 2650684 kB
SwapFree: 2650684 kB
Dirty: 788 kB
Writeback: 0 kB
Mapped: 144608 kB
Slab: 66840 kB
Committed_AS: 324916 kB
PageTables: 1184 kB
VmallocTotal: 122800 kB
VmallocUsed: 5116 kB
VmallocChunk: 117528 kB

That is ispconf. mem stat!

I where show my 2gig mem?

# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:mysql *:* LISTEN 1987/mysqld
tcp 0 0 *:81 *:* LISTEN 2214/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 2404/proftpd: (acce
tcp 0 0 debian.bozeti.hu:domain *:* LISTEN 3869/named
tcp 0 0 localhost.locald:domain *:* LISTEN 3869/named
tcp 0 0 *:smtp *:* LISTEN 2547/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 3869/named
tcp 0 0 d___.b____.hu:ftp 87.97.81.185.pool:63444 ESTABLISHED12300/proftpd: web2
tcp6 0 0 *:imaps *:* LISTEN 1904/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 1925/couriertcpd
tcp6 0 0 *:pop3 *:* LISTEN 1912/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 1891/couriertcpd
tcp6 0 0 *:www *:* LISTEN 3743/apache2
tcp6 0 0 *:ssh *:* LISTEN 2142/sshd
tcp6 0 0 *:smtp *:* LISTEN 2547/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 3869/named
tcp6 0 0 *:https *:* LISTEN 3743/apache2
tcp6 0 0 m______.hu:ssh 87.97.81.185.pool:63459 ESTABLISHED12483/0
tcp6 0 0 www.c_____.hu:www bnc.chaosteam.hu:35777 TIME_WAIT -
tcp6 0 0 b______.hu:pop3 gw.zrinyi-berzence:1153 TIME_WAIT -
tcp6 0 0 www.m____.hu:pop3 gw.zrinyi-berzence:1153 TIME_WAIT -
tcp6 0 0 cs____.hu:pop3 gw.zrinyi-berzence:1154 TIME_WAIT -
#

# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- anywhere 127.0.0.0/8
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
DROP all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere

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

Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain PAROLE (8 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain PUB_IN (4 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:www
PAROLE tcp -- anywhere anywhere tcp dpt:81
PAROLE tcp -- anywhere anywhere tcp dpt:pop3
PAROLE tcp -- anywhere anywhere tcp dpt:https
ACCEPT udp -- anywhere anywhere udp dpt:domain
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain PUB_OUT (4 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
#

I don't have second IP!

debian:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:__:D_:C_:6_:_
inet addr:1__.2__.6__.9__ Bcast:1__.2__.6__.2__ Mask:255.255.255.0
inet6 addr: f__::2__:d__:f__:6___/__ Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4369036 errors:0 dropped:0 overruns:0 frame:0
TX packets:361745 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:362454471 (345.6 MiB) TX bytes:266474558 (254.1 MiB)
Interrupt:209 Memory:feafc000-0

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:34136 errors:0 dropped:0 overruns:0 frame:0
TX packets:34136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3577031 (3.4 MiB) TX bytes:3577031 (3.4 MiB)

#

# crontab -e

30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null

top - 08:26:16 up 2 days, 12:17, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 83 total, 2 running, 81 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 100.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 906736k total, 877396k used, 29340k free, 178288k buffers
Swap: 2650684k total, 0k used, 2650684k free, 496212k cached

So, please help me somebody!
Thanks!
Gili
Reply With Quote