Closed Bug 210585 Opened 22 years ago Closed 12 years ago

hang if loopback interface is down

Categories

(Core :: Networking, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bob642thing, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 Build Identifier: http://komodo.mozilla.org/pub/firebird/nightly/2003-06-21-08-trunk/ If the loopback interface is not working, Firebird hangs when you attempt to type in a URL. This occurs both with 0.6 and the 06-21 nightly, on Redhat 9. While it successfully loads the homepage, if I click on a link, or type in a URL, it hangs. All other internet programs still work, while loopback is gone (mail, ICQ, konqueror, etc). Reproducible: Always Steps to Reproduce: 1.Add the following iptables rules: iptables -F iptables -P INPUT DROP iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT 2. Loopback is now 'blocked'. Firebird now hangs. 3. If you add: iptables -A INPUT -i lo -j ACCEPT, it will work again. Actual Results: Process hangs, forcing me to kill it. Expected Results: Worked. :)
I shut down my loopback interface on Linux 2.4.21 using the ifconfig command ("ifconfig lo down"), then browsed the web in Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030731 Mozilla Firebird/0.6.1 without a problem. I will try your procedure for disabling loopback shortly.
QA Contact: asa
Reporter, does this bug still apply?
QA Contact: bugzilla
Yes. I've tried this again with the following build: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7 (the standard 0.7 Linux/GTK2/XFT build) and the problem still occurs. Without the loopback traffic, Firebird just completely freezes, and does not respond at all. As soon as the loopback traffic is allowed, it starts working again.
Please test this with Mozilla.
I also have this problem, even with the lastest build (20/12/2003). A *very* old Mozilla (1.2.1) I tested works fine if loopback is down.
Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: firefox → nobody
QA Contact: bugzilla → general
Is this still an issue using a recent build?
Summary: FB hangs if loopback interface is down → hang if loopback interface is down
*** Bug 334121 has been marked as a duplicate of this bug. ***
(In reply to comment #7) > Is this still an issue using a recent build? > It happens for me on linux 2.6.16 debian etch, mozilla version: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1) when i've activated lo interface, it works.
Is this still an issue ?
Flags: needinfo?(bob642thing)
No feedback since Firefox 1.5 - re-open if this is still an issue in recent builds.
Status: NEW → RESOLVED
Closed: 12 years ago
Component: General → Networking
Product: Firefox → Core
Resolution: --- → INCOMPLETE
Flags: needinfo?(bob642thing)
You need to log in before you can comment on or make changes to this bug.