Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem on Looback (127.0.0.1)

Reply
Thread Tools Display Modes

Problem on Looback (127.0.0.1)

 
 
James News
Guest
Posts: n/a

 
      12-08-2003, 03:02 PM
Hey Folks.

Got a weird one. (I think, anyway.)

Running RedHat 9 (2.4.20-24.9)

I've got a problem with no traffic being allowed on the loopback (127.0.0.1)
interface. As part of troubleshooting I've installed an Accept-All iptables
policy, as well as turned off the iptables service but the results are the
same.

The interface is defined. ifconfig shows that.
I am able to ping 127.0.0.1.
There is a valid entry in the hosts file for localhost.localdomain.

Sendmail (used only locally) is queuing up boat loads of mail all of which
claim the connection was refused in 127.0.0.1
Attempted to ssh 127.0.0.1 - that reports, "ssh_exchange_identification:
Connection closed by remote host"
I don't see anything in syslog that would designate an error related to
attempted connections. When the firewall is running all connections are
127.0.0.1 are 'ACCEPTED'.

Any ideas about what could be blocking traffic on loopback?
....or am I looking in the wrong place?

Suggestions?

Thanks.
--
Mail address: en_ee_tea would be 'net'.
 
Reply With Quote
 
 
 
 
Andrew Schulman
Guest
Posts: n/a

 
      12-08-2003, 03:23 PM
> Hey Folks.
>
> Got a weird one. (I think, anyway.)
>
> Running RedHat 9 (2.4.20-24.9)
>
> I've got a problem with no traffic being allowed on the loopback (127.0.0.1)
> interface. As part of troubleshooting I've installed an Accept-All iptables
> policy, as well as turned off the iptables service but the results are the
> same.


Make sure that you've set an ACCEPT policy on the nat and mangle tables,
not just the filter table:

iptables -t nat --policy PREROUTING ACCEPT
iptables -t nat --policy POSTROUTING ACCEPT
iptables -t nat --policy OUTPUT ACCEPT

iptables -t mangle --policy PREROUTING ACCEPT
iptables -t mangle --policy INPUT ACCEPT
iptables -t mangle --policy FORWARD ACCEPT
iptables -t mangle --policy OUTPUT ACCEPT
iptables -t mangle --policy POSTROUTING ACCEPT

When I was building my firewall, I mistakenly set these to DROP and it
closed down my loopback interface. My PC was almost unusable for a week
until I found the problem.

Not sure what you mean by "turned off the iptables service".

--
To reply by email, replace "deadspam.com" by "alumni.utexas.net"
 
Reply With Quote
 
Neil Horman
Guest
Posts: n/a

 
      12-08-2003, 03:25 PM
James News wrote:
> Hey Folks.
>
> Got a weird one. (I think, anyway.)
>
> Running RedHat 9 (2.4.20-24.9)
>
> I've got a problem with no traffic being allowed on the loopback (127.0.0.1)
> interface. As part of troubleshooting I've installed an Accept-All iptables
> policy, as well as turned off the iptables service but the results are the
> same.
>
> The interface is defined. ifconfig shows that.
> I am able to ping 127.0.0.1.
> There is a valid entry in the hosts file for localhost.localdomain.
>
> Sendmail (used only locally) is queuing up boat loads of mail all of which
> claim the connection was refused in 127.0.0.1
> Attempted to ssh 127.0.0.1 - that reports, "ssh_exchange_identification:
> Connection closed by remote host"
> I don't see anything in syslog that would designate an error related to
> attempted connections. When the firewall is running all connections are
> 127.0.0.1 are 'ACCEPTED'.
>
> Any ideas about what could be blocking traffic on loopback?
> ...or am I looking in the wrong place?
>
> Suggestions?
>
> Thanks.

Its also entirely possible that you have sendmail and ssh configured to
not accept connections from the loopback interface. Try going through
those configs to see if there are any interface restrictions set.

HTH
Neil

--
/************************************************** *
*Neil Horman
*Software Engineer
*Red Hat, Inc., http://people.redhat.com/nhorman
*gpg keyid: 1024D / 0x92A74FA1
*http://www.keyserver.net
************************************************** */

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem: no problem with Linux, when I boot windows 2K network is down... Santa Linux Networking 11 11-29-2004 06:46 AM



1 2 3 4 5 6 7 8 9 10 11