summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* minor cleanupsLennart Poettering2005-11-141-14/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@959 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * be more verbose when retrying sysctl when the routing table grewSebastien Estienne2005-11-131-2/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@958 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* set Id keyword for iface-pfroute.[ch]Lennart Poettering2005-11-130-0/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@957 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fixed a problem on FreeBSD where sysctl needs locked memorySebastien Estienne2005-11-133-4/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@956 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update TODOLennart Poettering2005-11-131-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@955 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Make "NameAcquired" warning line disappear in avahi-clientLennart Poettering2005-11-1312-56/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Scheduler tweaks: * Add some more comments * Remove scheduled queries from the query queue if the querier which issued them dies. This reduces traffic immensly when many short lived queries are made, e.g. during host name lookups. * Don't free a querier object immediately when it is no longer referenced. Instead keep it and try to recycle it in case someone else wants to do the same query later on. Free it at the latest moment possible: just before the next query is scheduled to be made. This reduces traffic immensly when many short lived queries are made. With these two changes we can minimize the traffic to zero or near zero for many simple lookups. * When responding records with the FLUSH_CACHE bit set, reply immediately only when all response record have this bit set. Prior to this change we replied imediately as soon as one record hat this bit set. This change should make us pass *all* Bonjour mDNS conformance tests without any exceptions. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@954 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * update TODOSebastien Estienne2005-11-131-2/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@953 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * merge the python dict support in trunkSebastien Estienne2005-11-131-0/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@952 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update TODOLennart Poettering2005-11-121-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@949 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add LGPL blurbs to some more files shipped with avahiLennart Poettering2005-11-1210-33/+237
| | | | | | | | * add a line pointing to the respective man pages in the configuration files * comment most lines in the configuration file, since they're set to the defaults git-svn-id: file:///home/lennart/svn/public/avahi/trunk@948 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * update TODOSebastien Estienne2005-11-112-2/+2
| | | | | | | * search for the dbus socket in more locations git-svn-id: file:///home/lennart/svn/public/avahi/trunk@947 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update to latest api changesJames Willcox2005-11-101-4/+15
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@946 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add support for IP_SENDSRCADDR on freeBSDSebastien Estienne2005-11-091-3/+25
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@945 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update TODOLennart Poettering2005-11-091-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@944 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * set IP_MULTICAST_IF for *BSDSebastien Estienne2005-11-091-4/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@943 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* simplify some linesLennart Poettering2005-11-091-7/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@942 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
* make sure that the local hostname passes the avahi_is_valid_domain_name() check.Lennart Poettering2005-11-091-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@940 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Do not allow adding RRs to entry groups that are already commitedLennart Poettering2005-11-084-8/+10
| | | | | | | * Reword some misleading log messages git-svn-id: file:///home/lennart/svn/public/avahi/trunk@939 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * deal with gethostname() failing, use utsname.sysname[] instead in that caseLennart Poettering2005-11-084-16/+64
| | | | | | | * deal with utsname() failing when creating HINFO records git-svn-id: file:///home/lennart/svn/public/avahi/trunk@938 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new flags parameter to avahi_client_new()Lennart Poettering2005-11-0815-137/+266
| | | | | | | | | | | * introduce flags AVAHI_CLIENT_NO_FAIL and AVAHI_CLIENT_IGNORE_USER_CONFIG * beef up avahi-browse to show how AVAHI_CLIENT_NO_FAIL may be used: add a new parameter "-f" which tells avahi-browse to stay running when the daemon disconnects from DBUS and reconnect when it reappears. For now dbus-daemon restarts are not handled and result in an AVAHI_CLIENT_FAIL event. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@937 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new error codes and publish flagsJames Willcox2005-11-062-3/+10
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@936 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Rename AVAHI_ERR_NOT_CONNECTED to AVAHI_ERR_DISCONNECTEDLennart Poettering2005-11-0617-66/+46
| | | | | | | * Remove client state AVAHI_CLIENT_DISCONNECTED and replace it with AVAHI_CLIENT_FAILURE with error code set to AVAHI_ERR_DISCONNECTED git-svn-id: file:///home/lennart/svn/public/avahi/trunk@935 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* makefile fixLennart Poettering2005-11-061-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@934 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* replace avahi-resolve-{address,host-name} with versions written in CLennart Poettering2005-11-064-117/+348
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@933 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* TODO updateLennart Poettering2005-11-061-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@932 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new client state AVAHI_CLIENT_FAILURELennart Poettering2005-11-067-12/+25
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@931 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add two new configuration file options: "disable-publishing" and ↵Lennart Poettering2005-11-0614-27/+113
| | | | | | | | | | | "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
* update TODOLennart Poettering2005-11-051-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@929 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * look for additional browsing dmains in $AVAHI_BROWSE_DOMAINS on the client ↵Lennart Poettering2005-11-052-1/+106
| | | | | | | | | side * the same for the XDG config file ~/.config/avah/browse-domains git-svn-id: file:///home/lennart/svn/public/avahi/trunk@928 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* implement XDG basedir subset, which we will use to read user configured ↵Lennart Poettering2005-11-044-2/+141
| | | | | | browser domains from git-svn-id: file:///home/lennart/svn/public/avahi/trunk@927 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * allow the user to specify a static browse domain list in the configuration ↵Lennart Poettering2005-11-0311-19/+143
| | | | | | | | | | | 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
* * small fixesSebastien Estienne2005-11-032-3/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@925 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update TODOLennart Poettering2005-11-031-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@924 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* rework and cleanup socket handling to improve support for OS that don't ↵Lennart Poettering2005-11-036-179/+222
| | | | | | support a SO_RECVIF equivalent git-svn-id: file:///home/lennart/svn/public/avahi/trunk@923 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * more small fixes for OpenBSDSebastien Estienne2005-11-022-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@922 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Always specfify the local IP address when joining mcast groups. This ↵Lennart Poettering2005-11-014-42/+108
| | | | | | increases compatibility with *BSD and is smoother on other systems, too git-svn-id: file:///home/lennart/svn/public/avahi/trunk@921 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
* remove array size warningLennart Poettering2005-11-011-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@919 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix for undefined XMLCALLSebastien Estienne2005-11-011-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@918 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix compiling with --disable-dbusSebastien Estienne2005-11-012-1/+5
| | | | | | | * add a missing include for OpenBSD git-svn-id: file:///home/lennart/svn/public/avahi/trunk@917 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update TODOLennart Poettering2005-11-011-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@916 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add support to browse for domains in avahi-browseLennart Poettering2005-11-011-41/+125
| | | | | | | * show "n/a" instead of "(null)" as interface/protocol for wide area services in avahi-browse git-svn-id: file:///home/lennart/svn/public/avahi/trunk@915 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* use a normal fork() instead of a daemon_fork() when forking of chroot() ↵Lennart Poettering2005-11-011-2/+4
| | | | | | helper daemon git-svn-id: file:///home/lennart/svn/public/avahi/trunk@914 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update TODO listLennart Poettering2005-11-011-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@913 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many small fixes for NetBSDSebastien Estienne2005-10-315-7/+10
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@911 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update todoLennart Poettering2005-10-311-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@910 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * small fix in the #includesSebastien Estienne2005-10-312-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@909 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make use of setproctitle() to change the process title of the daemon ↵Lennart Poettering2005-10-307-26/+184
| | | | | | processes. This is especially useful to distuingish the main daemon and the chroot() helper process. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@908 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add chroot() support on LinuxLennart Poettering2005-10-3013-33/+757
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@907 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe