Activity log for bug #368173

Date Who What changed Old value New value Message
2009-04-27 20:07:42 Andres Rodriguez bug added bug
2009-04-27 20:08:28 Andres Rodriguez avahi (Ubuntu): status New Confirmed
2009-04-27 20:08:28 Andres Rodriguez avahi (Ubuntu): assignee andreserl
2009-04-27 21:07:47 Andres Rodriguez attachment added avahi_0.6.23-4ubuntu5.debdiff http://launchpadlibrarian.net/26044289/avahi_0.6.23-4ubuntu5.debdiff
2009-04-28 17:21:26 Andres Rodriguez description From avahi ticket: http://avahi.org/ticket/265 In the case where you have a system connected to a hub which returns packets to the sender, autoipd always lists every IP address as taken, even when it isn't. The attached patch fixes this problem by ignoring conflicts when the packet is generated by the local address. I cannot think of any downsides to this approach. From avahi ticket (http://avahi.org/ticket/265) : In the case where you have a system connected to a hub which returns packets to the sender, autoipd always lists every IP address as taken, even when it isn't. The attached patch fixes this problem by ignoring conflicts when the packet is generated by the local address. I cannot think of any downsides to this approach. IMPACT: The impact will we that if we try to use avahi-autoipd with a hub, or in virtual environments, such as qemu/kvm using multicast networking, we won't be able to assign an IP address with avahi-autoipd, since it will think the address is already taken. TEST CASE: To reproduce this, we are going to use a virtual machine with KVM, having two interfaces in the VM. eth0 will handle Internet connectivity and eth1 will be used for avahi-autoipd tests. 1. Create disk for VM: - qemu-img create ubuntu.img 2G 2. Create the VM and install Ubuntu: - kvm -name ubuntu1 -hda ubuntu.img -m 256 -net nic,vlan=0,macaddr=52:54:00:12:34:22,model=virtio -net user,vlan=0 -net nic,vlan=1,macaddr=52:54:00:12:34:33,model=virtio -net socket,vlan=1,mcast=230.0.0.1:1234 -cdrom /path/to/jaunty-server-amd64.iso -boot d 3. Run the VM: - kvm -name ubuntu1 -hda ubuntu.img -m 256 -net nic,vlan=0,macaddr=52:54:00:12:34:22,model=virtio -net user,vlan=0 -net nic,vlan=1,macaddr=52:54:00:12:34:33,model=virtio -net socket,vlan=1,mcast=230.0.0.1:1234 4. Install avahi-autoipd and try it: - sudo apt-get install avahi-autoipd - sudo -i # to have a root console. - avahi-autoipd eth1 # to assign an IP address to eth1 using avahi-autoipd. avahi-autoipd will try to assign an address but it will conflict and i'll never assign the address since it will think that someone else already has it. 5. Install avahi-autoipd from my PPA (https://launchpad.net/~andreserl/+archive/ppa): - Once you update avahi from my PPA, you'll see that this issue has been fixed. I have attached a debdiff containing the patch.
2009-04-28 17:23:45 Andres Rodriguez bug added subscriber Ubuntu Stable Release Updates Team
2009-04-28 17:52:40 Andres Rodriguez bug added subscriber Ubuntu Sponsors for main
2009-04-28 17:54:36 Andres Rodriguez avahi (Ubuntu): assignee andreserl
2009-04-28 23:47:48 Robert Ancell avahi (Ubuntu): importance Undecided Medium
2009-04-28 23:47:48 Robert Ancell avahi (Ubuntu): status Confirmed In Progress
2009-04-28 23:48:33 Robert Ancell avahi (Ubuntu): importance Medium Low
2009-04-29 00:11:38 Steve Langasek avahi (Ubuntu): status In Progress Incomplete
2009-08-04 21:28:29 Andres Rodriguez avahi (Ubuntu): status Incomplete Invalid
2011-02-17 09:58:05 Daniel Holbach bug added subscriber Ubuntu Sponsors Team
2011-02-17 09:58:08 Daniel Holbach removed subscriber [DEPRECATED] Ubuntu Sponsors for main
2011-02-22 00:50:01 Benjamin Drung removed subscriber Ubuntu Sponsors Team