Bonjour messages not received if one party has global ipv6 address and one doesn't
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pidgin (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Something in the stack - Pidgin or avahi - gets confused if one machine has a global IPv6 address and the other only has a link-local address. Pidgin sees the global address advertised by mDNS, but connections come from the link-local address, and it rejects them because of the address mismatch:
(16:48:32) bonjour: _resolve_callback - name:User@beelink account:
(16:48:32) bonjour: _resolve_callback - name:User@beelink ip:IPv6:
(16:48:32) blist: Updating buddy status for User@beelink (Bonjour)
(16:48:32) bonjour: _resolve_callback - name:User@beelink account:
(16:48:32) bonjour: _resolve_callback - name:User@beelink ip:192.168.X.Y prev_ip:(null)
[..]
(16:48:41) bonjour: Received incoming connection from fe80::link:
(16:48:41) bonjour: We don't like invisible buddies, this is not a superheroes comic
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pidgin 1:2.12.0-1ubuntu4
ProcVersionSign
Uname: Linux 4.15.0-58-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Tue Aug 27 16:56:14 2019
InstallationDate: Installed on 2018-05-31 (453 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
TERM=screen.
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: pidgin
UpgradeStatus: No upgrade log present (probably fresh install)
(For those trying to work around this, just disabling IPv6 through sysctl doesn't necessarily help - some combination of Network Manager and avahi seems to manage to advertise a link-local address even in this instance. v6 support can be turned off separately in avahi-daemon.conf)