zoell
19-10-2009, 02:34
Hi guys!
I have a weird problem. The outgoing port 25 is blocked on my router somehow. I didn't modify the router's configuration, it just stopped working some days ago (every other outgoing and incoming ports work). If i connect to the internet directly without the router, smtp works...
I tried to telnet to port 25 with no success (host doesnt matter, nothing works). I also checked the system log while turned on the "log all allowed and dropped traffic"... but i didn't see the addresses where i tried to connect via telnet to port 25.
Here is my config:
Firmware: Oleg's WL500gpv2-1.9.2.7-10
Running processes:
PID Uid VmSize Stat Command
1 zoell 632 S /sbin/init
2 zoell SW [keventd]
3 zoell RWN [ksoftirqd_CPU0]
4 zoell SW [kswapd]
5 zoell SW [bdflush]
6 zoell SW [kupdated]
7 zoell SW [mtdblockd]
60 zoell 316 S telnetd
65 zoell 380 S httpd vlan1
71 zoell 408 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
72 zoell 364 S klogd
73 nobody 464 S [dnsmasq]
75 zoell 520 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
78 zoell SW [khubd]
86 zoell 276 S lpd
88 zoell 260 S p9100d -f /dev/usb/lp0 0
91 zoell 340 S waveservermain
93 zoell 344 S rcamdmain
101 zoell SW [usb-storage-0]
102 zoell SW [scsi_eh_0]
106 zoell 312 S infosvr br0
109 zoell 472 S watchdog
112 zoell 344 S ntp
119 zoell 360 S dropbear
130 zoell 440 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
145 zoell SW [kjournald]
171 zoell 388 S /opt/sbin/bftpd -d
181 zoell 1088 S /opt/sbin/lighttpd -f /opt/etc/lighttpd/lighttpd.conf
186 zoell 4408 S /opt/bin/php-fcgi
187 zoell 4408 S /opt/bin/php-fcgi
188 zoell 4408 S /opt/bin/php-fcgi
189 zoell 4408 S /opt/bin/php-fcgi
191 zoell 2252 S N /opt/bin/transmission-daemon -g /opt/storage/transmission/config
192 zoell 2252 S N /opt/bin/transmission-daemon -g /opt/storage/transmission/config
193 zoell 2252 R N /opt/bin/transmission-daemon -g /opt/storage/transmission/config
194 zoell 692 S dropbear
195 zoell 4416 S /opt/bin/php-fcgi
196 zoell 4416 S /opt/bin/php-fcgi
197 zoell 4416 S /opt/bin/php-fcgi
198 zoell 4416 S /opt/bin/php-fcgi
200 zoell 548 S -sh
207 zoell 468 S upnp -D -L br0 -W vlan1
209 zoell 396 R ps
Iptables chains:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:51413
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state NEW
SECURITY all -- anywhere anywhere state NEW
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere 192.168.1.41 udp dpt:59069
ACCEPT all -- anywhere anywhere
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
SECURITY all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere ctstate DNAT
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain MACS (0 references)
target prot opt source destination
Chain SECURITY (2 references)
target prot opt source destination
RETURN tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5
RETURN tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
RETURN udp -- anywhere anywhere limit: avg 5/sec burst 5
RETURN icmp -- anywhere anywhere limit: avg 5/sec burst 5
DROP all -- anywhere anywhere
Chain logaccept (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `ACCEPT '
ACCEPT all -- anywhere anywhere
Chain logdrop (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `DROP '
DROP all -- anywhere anywhere
Any idea?
Thx!
I have a weird problem. The outgoing port 25 is blocked on my router somehow. I didn't modify the router's configuration, it just stopped working some days ago (every other outgoing and incoming ports work). If i connect to the internet directly without the router, smtp works...
I tried to telnet to port 25 with no success (host doesnt matter, nothing works). I also checked the system log while turned on the "log all allowed and dropped traffic"... but i didn't see the addresses where i tried to connect via telnet to port 25.
Here is my config:
Firmware: Oleg's WL500gpv2-1.9.2.7-10
Running processes:
PID Uid VmSize Stat Command
1 zoell 632 S /sbin/init
2 zoell SW [keventd]
3 zoell RWN [ksoftirqd_CPU0]
4 zoell SW [kswapd]
5 zoell SW [bdflush]
6 zoell SW [kupdated]
7 zoell SW [mtdblockd]
60 zoell 316 S telnetd
65 zoell 380 S httpd vlan1
71 zoell 408 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
72 zoell 364 S klogd
73 nobody 464 S [dnsmasq]
75 zoell 520 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
78 zoell SW [khubd]
86 zoell 276 S lpd
88 zoell 260 S p9100d -f /dev/usb/lp0 0
91 zoell 340 S waveservermain
93 zoell 344 S rcamdmain
101 zoell SW [usb-storage-0]
102 zoell SW [scsi_eh_0]
106 zoell 312 S infosvr br0
109 zoell 472 S watchdog
112 zoell 344 S ntp
119 zoell 360 S dropbear
130 zoell 440 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
145 zoell SW [kjournald]
171 zoell 388 S /opt/sbin/bftpd -d
181 zoell 1088 S /opt/sbin/lighttpd -f /opt/etc/lighttpd/lighttpd.conf
186 zoell 4408 S /opt/bin/php-fcgi
187 zoell 4408 S /opt/bin/php-fcgi
188 zoell 4408 S /opt/bin/php-fcgi
189 zoell 4408 S /opt/bin/php-fcgi
191 zoell 2252 S N /opt/bin/transmission-daemon -g /opt/storage/transmission/config
192 zoell 2252 S N /opt/bin/transmission-daemon -g /opt/storage/transmission/config
193 zoell 2252 R N /opt/bin/transmission-daemon -g /opt/storage/transmission/config
194 zoell 692 S dropbear
195 zoell 4416 S /opt/bin/php-fcgi
196 zoell 4416 S /opt/bin/php-fcgi
197 zoell 4416 S /opt/bin/php-fcgi
198 zoell 4416 S /opt/bin/php-fcgi
200 zoell 548 S -sh
207 zoell 468 S upnp -D -L br0 -W vlan1
209 zoell 396 R ps
Iptables chains:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:51413
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state NEW
SECURITY all -- anywhere anywhere state NEW
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere 192.168.1.41 udp dpt:59069
ACCEPT all -- anywhere anywhere
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
SECURITY all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere ctstate DNAT
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain MACS (0 references)
target prot opt source destination
Chain SECURITY (2 references)
target prot opt source destination
RETURN tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5
RETURN tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
RETURN udp -- anywhere anywhere limit: avg 5/sec burst 5
RETURN icmp -- anywhere anywhere limit: avg 5/sec burst 5
DROP all -- anywhere anywhere
Chain logaccept (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `ACCEPT '
ACCEPT all -- anywhere anywhere
Chain logdrop (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `DROP '
DROP all -- anywhere anywhere
Any idea?
Thx!