hello
I've really got a very strange problem with localhost, and I don't have any idea how to fix it...hope you guys can give me a hint.
I'm running slackware 9.1 on a linuxbox acting as a router/webserver.
my problem is, that I can access the webserver from the internet/intranet, but not from localhost.
the same problem is with ping, I get response from google.com
--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1004ms
rtt min/avg/max/mdev = 107.544/108.098/108.652/0.554 ms
but when I try ping localhost (or 127.0.0.1 or entries in /etc/hosts), I only get
PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
--- localhost ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1016ms
the output from route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
80.219.32.0 * 255.255.240.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 80-219-32-1.dcl 0.0.0.0 UG 0 0 0 eth0
the output from iptables -L -v (
of course this is for testing purposes....)
Chain INPUT (policy ACCEPT 2917 packets, 1330K bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 2269 packets, 284K bytes)
pkts bytes target prot opt in out source destination
and finally from ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:C0:26:8E:23:15
inet addr:80.219.41.xxx Bcast:255.255.255.255 Mask:255.255.240.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44501398 errors:0 dropped:0 overruns:0 frame:0
TX packets:11966 errors:0 dropped:0 overruns:0 carrier:0
collisions:17 txqueuelen:100
RX bytes:2690286557 (2565.6 Mb) TX bytes:1668027 (1.5 Mb)
Interrupt:10 Base address:0xecc0
eth1 Link encap:Ethernet HWaddr 00:00:F8:79:A7:4E
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55 errors:3 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:11320 (11.0 Kb) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xec00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo is up, a routing table entry is availible, there is no iptables rule blocking anything at all....??
PLEASE HELP
thx !