summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/main.c
Commit message (Collapse)AuthorAgeFilesLines
* avahi-daemon: add option "host-name-from-machine-id="HEADmasterDavid Zeuthen2013-03-111-0/+33
| | | | Signed-off-by: David Zeuthen <zeuthen@chromium.org>
* daemon: we better stay away from SIGQUIT since it is supposed to cause a ↵Lennart Poettering2010-11-181-4/+2
| | | | core dump
* main: fix minor indenting mishapLennart Poettering2010-07-131-1/+1
|
* daemon: unblock all signals by defaultLennart Poettering2010-07-101-0/+1
|
* systemd: send status message when shutting downLennart Poettering2010-07-101-1/+4
|
* daemon: reset signals on initializationLennart Poettering2010-07-101-0/+2
|
* daemon: return successful error code when we ran successfullyLennart Poettering2010-07-101-0/+1
|
* daemon: make sure we never choke on SIGPIPELennart Poettering2010-07-101-0/+12
|
* systemd: properly format status messageLennart Poettering2010-07-101-5/+5
|
* systemd: send status updates to the init systemLennart Poettering2010-07-101-5/+10
|
* core: implement packet rate limiting and enable it by defaultLennart Poettering2010-06-291-0/+40
|
* main: don't abort if daemon_close_all() cannot close valgrind fdsLennart Poettering2010-06-291-4/+2
|
* main: fix minor memory leakLennart Poettering2010-06-291-0/+1
|
* daemon: make internal limits configurableLennart Poettering2010-06-251-1/+70
|
* core: fix build on kFreeBSDJulien Blache2010-06-251-1/+1
|
* get rid of a lot of old svn cruftLennart Poettering2010-06-251-2/+0
|
* systemd: add support for acquiring socket from systemdLennart Poettering2010-06-251-4/+6
|
* allow/deny interfaces supportLennart Poettering2008-12-121-1/+23
| | | | | | Original patch from Skinkie. Heavily modified by Lennart Poettering. Closes #212.
* Drop private inotify codeLennart Poettering2008-12-121-88/+84
| | | | | | | | | | | | | | | Quoting Adrian Bunk: "avahi-daemon ships with the contents of linux/inotify.h plus #define's for the syscall numbers. The latter are #if 0'ed. I'm not sure whether this setup could work at all with some kernel headers and glibc version, but considering that glibc already provides sys/inotify.h for some time it's IMHO time to drop the private inotify code." Original patch from Adrian Bunk. Closes #243.
* Copyediting / spelling / grammarTed Percival2007-09-281-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1547 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Don't segfault when no browse domains are configured in resolv.conf. ↵Lennart Poettering2007-08-251-0/+5
| | | | | | Original patch from zml. Closes #162 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1525 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new API function avahi_server_set_browse_domains() to avahi-coreLennart Poettering2007-08-121-76/+150
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1513 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add FreeBSD kqueue support for watching for configuration file changes, much ↵Lennart Poettering2007-07-101-0/+110
| | | | | | the same way we currently have for Linux with inotify. (Patch supplied by marcus, but autoconf check reversed, re #149) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1495 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* use libdaemon's new daemon_close_all() function to close all fds when ↵Lennart Poettering2007-06-111-0/+5
| | | | | | daemonizing. This requires libdaemon 0.11 (not yet released) to work, hence also bump the dep. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1487 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* compat fix for older inotify versionsLennart Poettering2007-05-091-2/+10
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1470 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add missing #ifdef to avoid build failure on system having neither sys/inotify.hLennart Poettering2007-04-211-0/+2
| | | | | | | nor linux/inotify.h (Patch from Sven Wegener) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1452 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add inotify support for /ect/avahi/services and /etc/avahi/hosts. Based on a ↵Lennart Poettering2007-04-151-19/+106
| | | | | | patch from "behanw". (Closes #95, #33) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1426 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix error message when passing invalid command line arguments. I admit ↵Lennart Poettering2007-04-141-2/+0
| | | | | | defeat, tedp wins, merging his patch. (Closes #88) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1424 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new config options "publish-aaaa-on-ipv4=" and "publish-a-on-ipv6="Lennart Poettering2007-01-051-3/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1366 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix error message when passing an invalid command line option (Closes #88)Lennart Poettering2006-12-311-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1358 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* avahi_set_proc_title(): change the process name with prctl() if availableLennart Poettering2006-08-311-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1300 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Some more s/D-BUS/D-Bus/gLennart Poettering2006-08-311-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1296 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix random seed initializationLennart Poettering2006-08-301-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1284 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix AVAHI_SERVER_REGISTERING handlingLennart Poettering2006-08-221-5/+10
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1259 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't remove static services from the avahi daemon on SIGHUP. Add static ↵Lennart Poettering2006-08-211-1/+1
| | | | | | hosts properly to avahi daemon on SIGHUP. (closes #52) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1249 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* if RLIMIT_NPROC is not available but used in the config file, don't fail but ↵Lennart Poettering2006-06-211-1/+3
| | | | | | warn git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1222 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix compilation if chroot() is not available. (see #32)Lennart Poettering2006-04-241-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1200 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reconnect if the DBUS daemon kicks avahi-daemon. Since the DBUS system bus ↵Lennart Poettering2006-04-241-4/+3
| | | | | | socket resides outside the chroot() environment this will definitely fail if you enable chroot(). In short: this is probably not what most people want to use. (closes #25) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1197 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add an option to make avahi-daemon using POINTOPOINT interfaces (disable ↵Sebastien Estienne2006-02-191-0/+2
| | | | | | by default) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1146 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* include static-hosts.h in main.cLennart Poettering2006-02-141-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1135 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement static hosts file for static host<->ip mappingsTrent Lloyd2006-02-111-0/+11
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1133 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new API function avahi_nss_support()Lennart Poettering2006-01-201-0/+6
| | | | | | | | * add new DBUS method Server.IsNSSSupportAvailable() * add support for IsNSSSupportAvailabke() to avahi-bookmarks git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1092 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update man pagesLennart Poettering2005-11-161-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@981 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fixed a problem on FreeBSD where sysctl needs locked memorySebastien Estienne2005-11-131-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@956 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix retval sendingLennart Poettering2005-11-091-2/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@941 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Do not allow adding RRs to entry groups that are already commitedLennart Poettering2005-11-081-2/+2
| | | | | | | * Reword some misleading log messages git-svn-id: file:///home/lennart/svn/public/avahi/trunk@939 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add two new configuration file options: "disable-publishing" and ↵Lennart Poettering2005-11-061-3/+9
| | | | | | | | | | | "disable-user-service-publishing" * add two new errors: NOT_PERMITTED and NOT_SUPPORTED * add two new publishing flags: AVAHI_PUBLISH_USE_MULTICAST, AVAHI_PUBLISH_USE_WIDE_AREA * return NOT_SUPPORTED when user tries to add RRs in wide area domains - for now git-svn-id: file:///home/lennart/svn/public/avahi/trunk@930 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * allow the user to specify a static browse domain list in the configuration ↵Lennart Poettering2005-11-031-5/+22
| | | | | | | | | | | file * remove "drop-root" configuration variable * move the configuration variable "add-service-cookie" from [server] to [publish] * reorder AVAHI_DOMAIN_BROWSER_xx defs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@926 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix two #ifdefsLennart Poettering2005-11-011-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@920 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix compiling with --disable-dbusSebastien Estienne2005-11-011-1/+4
| | | | | | | * add a missing include for OpenBSD git-svn-id: file:///home/lennart/svn/public/avahi/trunk@917 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe