Bug 669627 - with use-ipv6=no, avahi should not set IPv6 address
Summary: with use-ipv6=no, avahi should not set IPv6 address
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: avahi
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-14 05:56 UTC by Tim Taiwanese Liim
Modified: 2011-04-06 17:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-02 01:51:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Taiwanese Liim 2011-01-14 05:56:36 UTC
Description of problem:
    In a local network with IPv6 router broadcasting "Router
    advertisement" packets, avahi-daemon sets IPv6 address even with
    use-ipv6=no.  If this is expected behavior, please advise a way to
    stop avahi from setting IPv6 address.  If not expected, please fix
    it.

Version-Release number of selected component (if applicable):
    avahi-0.6.27-2.fc14.x86_64

How reproducible:
    always

Steps to Reproduce:
    1. modify /etc/avahi/avahi-daemon.conf "use-ipv6=no"
    2. restart avahi-daemon.
    3. With an IPv6-capable router, on the same network, broadcasting
       IPv6 "Router advertisement" packets periodically.

Actual results:
    avahi-daemon sets IPv6 address upon receiving IPv6 "Router adv." 
    packet.  This was announced in /var/log/messages, eg.
        Jan 14 00:22:56 taiwan avahi-daemon[1339]: Registering new 
            address record for 2005:123:456:789:xxx on eth0.*.

Expected results:
    With use-ipv6=no, avahi-daemon should ignore IPv6 "Router adv." 
    packets.

Additional info:

Comment 1 Tim Taiwanese Liim 2011-01-15 04:24:03 UTC
Workaround:
   disable avahi-daemon, by running system-config-services as root.

Comment 2 Lennart Poettering 2011-04-02 01:51:43 UTC
You may turn this off with setting publish-aaaa-on-ipv4=no in /etc/avahi/avahi-daemon.conf.

See avahi-daemon.conf(5) for details.

Comment 3 Tim Taiwanese Liim 2011-04-02 02:45:58 UTC
Lennart,
Thanks for info!  The name 'publish-aaaa-on-ipv4' does not suggest
anything about setting IPv6 address, but whatever works is good to me.

Comment 4 Lennart Poettering 2011-04-06 17:59:45 UTC
Hmm? "AAAA" refer to IPv6 address records in DNS/mDNS.

Note that Avahi is not involved in IPv6 network configuration. It just listens to changes of it, but doesn't modify anything. If you have trouble with that then Avahi is not the project to file bugs against.


Note You need to log in before you can comment on or make changes to this bug.