gnome-nettool hangs when hostname resolution fails

Bug #24241 reported by Eric Feliksik
10
Affects Status Importance Assigned to Milestone
gnome-nettool (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

My internet connection is broken once in a while, and i just had the
gnome-nettool program hanging.
I'm behind NAT, and my software router was rejecting my packages ("sendmsg:
Operation not permitted" if i pinged from there), because the iptables were not
set up correctly.

That resulted in problems when I was trying to ping a hostname with gnome-nettool:

1) make sure the dns is broken in the right way*
2) Open the 'ping' tab
3) fill in a hostname, e.g. www.aap.nl
4) hit ping
5) problem.

* The right way is to make your router's iptables rules drop the packages. (I
fixed it by running 'ipmasq' on my router). Moving /etc/resolv.conf out of the
way does not seem te reproduce this problem, as the dns resolution problem is
then detected immediately (When resolv.conf is missing, normal 'ping' also
immediately returns with 'ping: unknown host aap.nl'; things fail smoothly)

Revision history for this message
Eric Feliksik (milouny) wrote :

Ow, I have version gnome-nettool 1.4.1-0ubuntu1, as shipped in breezy.

Revision history for this message
Eric Feliksik (milouny) wrote :

The topic name was incorrect, this is about nettool, not gnome-system-tools.

Changed in gnome-nettool:
assignee: seb128 → desktop-bugs
Revision history for this message
Leo Howell (leo-howell) wrote :

I tried this by making my resolv.conf point at a non-existant machine (eg 192.168.1.99 where no such machine is connected to the network).

nettool hung for a minute or so but then came back with an error saying the address could not be resolved.

Revision history for this message
Leo Howell (leo-howell) wrote :

If you can still reproduce this behaviour with your router, please try waiting a few minutes to see if nettool comes back.

Changed in gnome-nettool:
status: Unconfirmed → Needs Info
Revision history for this message
Daniel Holbach (dholbach) wrote :

Eric, can you still reproduce this behaviour?

Revision history for this message
Eric Feliksik (milouny) wrote :

Hmmm, I don't have a software router anymore, so I can't test it...

Feel free to reject it for now.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Ok, thanks for following up. Please let us know, if the bug occurs again.

Changed in gnome-nettool:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.