Skip to content

unforgiven-development/avahi-service-definitions

Repository files navigation

avahi service definitions

avahi defaults

The avahi package includes 2 service definitions "out-of-the-box":

  • ssh.service
  • sftp-ssh.service

our additional definitions

So far, we've added avahi ".service" (definition) files for the following services:

  • domain.service:
    • _domain._udp
    • PORT 53
    • Domain Name Service server
  • epmd-tcp.service:
    • _epmd._tcp
    • PORT 4369
    • Erlang Port Mapper daemon
  • epmd-udp.service:
    • _epmd._udp
    • PORT 4369
    • Erlang Port Mapper daemon
  • kpasswd5-tcp.service:
    • _kpasswd5._tcp
    • PORT 464
    • Kerberos Password daemon
  • kpasswd5-udp.service:
    • _kpasswd5._udp
    • PORT 464
    • Kerberos Password daemon
  • ldap-tcp.service:
    • _ldap._tcp
    • PORT 389
    • LDAP server
  • ldap-udp.service:
    • _ldap._udp
    • PORT 389
    • LDAP server
  • memcached-tcp.service:
    • _memcached._tcp
    • PORT 11211
    • memcache daemon
  • memcached-udp.service:
    • _memcached._udp
    • PORT 11211
    • memcache daemon
  • ntp.service:
    • _ntp._udp
    • PORT 123
    • Network Time Protocol server
  • samba.service:
    • _smb._tcp
    • PORT 139
    • Server Message Block daemon
  • sunrpc-tcp.service:
    • _sunrpc._tcp
    • PORT 111
    • SUN RPC Port Mapper daemon
  • sunrpc-udp.service:
    • _sunrpc._udp
    • PORT 111
    • SUN RPC Port Mapper daemon

INSTALLATION

Obviously, installation procedure will differ by the distribution of Linux/UNIX running on your box. We will try to provide details for as many distributions as possible, however, some of this may rely on a volunteer effort.

FreeBSD 10.3

With the avahi package installed from the FreeBSD Ports Collection, it's a straightforward process (I'd assume the pkg is the same); it's as simple as copying the *.service files to their new home:

/usr/local/etc/avahi/services/

Ensure that the avahi_daemon service is enabled:

# sysrc avahi_daemon_enable="YES"

And restart it (unfortunately, it does not have a restart command, so we can use stop and start to acheive the same result):

# service avahi-daemon stop
# sleep 5
# service avahi-daemon start

The presence of the newly-advertised services can be verified with avahi-browse:

# avahi-browse --all --verbose

About

Service definition files for avahi (ie: "service_name.service")

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published