Kalpana Kalpana (Editor)

Avahi (software)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Development status
  
Active

Operating system
  
Cross-platform

Written in
  
C

Avahi (software)

Developer(s)
  
Lennart Poettering, Trent Lloyd, Sjoerd Simons

Stable release
  
0.6.32 / February 16, 2016; 12 months ago (2016-02-16)

Type
  
Networking Service discovery Linux on the desktop

Avahi is a free zero-configuration networking (zeroconf) implementation, including a system for multicast DNS/DNS-SD service discovery. It is licensed under the GNU Lesser General Public License (LGPL).

Contents

Avahi is a system which enables programs to publish and discover services and hosts running on a local network. For example, a user can plug their computer into a network and have Avahi automatically advertise the network services running on the machine which could enable access to files and printers.

Software architecture

Avahi implements the Apple Zeroconf specification, mDNS, DNS-SD and RFC 3927/IPv4LL. Other implementations include Apple's Bonjour framework (the mDNSResponder component of which is licensed under the Apache License).

Avahi provides a set of language bindings (Python, Mono, etc.) and ships with most Linux and BSD distributions. Because of its modularized architecture, major desktop components like GNOME's Virtual File System and the KDE input/output architecture already integrate Avahi.

Avahi vs. Bonjour

The Avahi project started in 2004 because Apple's Zeroconf implementation, Bonjour, used the GPL-incompatible Apple Public Source License. In 2006 Apple relicensed parts of Bonjour under the Apache License. However, Avahi had already become the de facto standard implementation of mDNS/DNS-SD on free-software operating systems such as Linux.

Avahi's performance resembles that of Bonjour, sometimes exceeding it; however Avahi can lose services when managing large numbers of requests simultaneously.

History

Avahi was developed by Lennart Poettering and Trent Lloyd. It is the result of a merger of Poettering's original mDNS/DNS-SD implementation called "FlexMDNS", and Lloyd's original code called "Avahi" that happened in 2005. While most of today's code originates from the former project, the name of the latter was used for the joint project. Development on "FlexMDNS" started in late 2004, and work on the original "Avahi" began in early 2004.

Avahi was originally developed under the freedesktop.org umbrella, but has now become a separate project. Avahi, however, makes use of freedesktop.org's D-Bus IPC layer.

The name Avahi is the Malagasy native name and scientific Latin name of a genus of woolly lemur, a family of primates indigenous to Madagascar. Trent Lloyd found the name, liked it, and it stuck. The logo reflects this.

References

Avahi (software) Wikipedia