summaryrefslogtreecommitdiffstats
path: root/avahi-core
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug where Avahi does not verify the source of netlink messages Trent Lloyd2006-11-061-0/+6
| | | | | | | | (Closes #69) Update NEWS/configure for 0.6.15 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1331 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix build on NetBSD. Patch contributed by Daniel S. Haischt (closes #59)Lennart Poettering2006-09-211-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1328 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add findstatic.pl script from Andrew Tridgell to SVN. It's useful for findingLennart Poettering2006-08-251-0/+70
| | | | | | | | | symbols that are exported but shouldn't. It's not intended for shipping in the tarballs. However it needed a safe place to live, since I use it regularly during Avahi development. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1281 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a gcc warningLennart Poettering2006-08-251-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1275 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* do not alllow setting the host name to the one that is currently used ↵Lennart Poettering2006-08-231-9/+30
| | | | | | anyway. return AVAHI_ERR_NO_CHANGE in that case git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1267 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make avahi-test run on Solaris (patch by Padraig O'Briain)Lennart Poettering2006-07-091-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1233 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* P_RECVIF portability for SolarisLennart Poettering2006-06-221-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1226 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix segfault when destructing multicast lookup objectsLennart Poettering2006-06-211-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1225 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a mem leakLennart Poettering2006-06-211-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1224 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* merge solaris port of iface-pfroute.c (contributed by Padraig O'Briain)Lennart Poettering2006-06-211-4/+157
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1223 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* actually enforce that we never print more than 20 bytes from arbitrary ↵Lennart Poettering2006-05-041-1/+1
| | | | | | records in avahi_record_to_string() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1209 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix sendmsg() calls on FreeBSD and AMD64 kernels with 32bit userspace. ↵Lennart Poettering2006-05-041-16/+27
| | | | | | (Closes #35 and #19) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1207 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Patch from Padraig O'Briain <Padraig.Obriain@sun.com> to build avahi on SolarisSebastien Estienne2006-05-022-0/+15
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1206 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* if validation of incoming traffic fails, give the user a clue that this ↵Lennart Poettering2006-04-242-6/+6
| | | | | | might be related to an UTF8 problem git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1204 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add an extra validity check when parsing mDNS queries and records in packetsLennart Poettering2006-04-241-2/+13
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1203 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make the construction of the ancillary data for sendmsg() a bit more robust. ↵Lennart Poettering2006-04-241-3/+5
| | | | | | (see #32) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1199 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* strip characters that are not in the set [a-zA-Z0-9-] from the local host ↵Lennart Poettering2006-04-241-1/+4
| | | | | | name before using it in mDNS. (see #21) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1194 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* when resolving a service, don't return host name that was assigned to the ↵Lennart Poettering2006-04-011-1/+1
| | | | | | actual A/AAAA record, but the one specified in the SRV RR. This broke vhost setups with CNAMEs. (This fixes Ubuntu bug 36642) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1185 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Patch from sjoerd simons to close Ticket #19 (Doesn't work on 64 bit ↵Sebastien Estienne2006-03-171-3/+3
| | | | | | machines with 32 bit userspace) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1178 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't allow registration of address records for invalid host names according ↵Lennart Poettering2006-03-022-4/+4
| | | | | | to avahi_is_valid_fqdn(). (closes #16, #17) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1169 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add proper argument validity checking to address and hostname resolvers ↵Lennart Poettering2006-03-022-29/+10
| | | | | | (closes #18) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1166 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix a typoSebastien Estienne2006-02-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1159 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* hide "Bad probe size estimate" warning in probe code which was generated ↵Lennart Poettering2006-02-221-1/+1
| | | | | | when assembling overly large packets git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1153 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reverse 1144, since it broke more things than it fixedLennart Poettering2006-02-203-9/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add an option to make avahi-daemon using POINTOPOINT interfaces (disable ↵Sebastien Estienne2006-02-194-2/+4
| | | | | | by default) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1146 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make anonymous structs appear properly in doxygenLennart Poettering2006-02-173-9/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1144 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add membership hack for IPv6, tooLennart Poettering2006-02-101-1/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1132 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix bug where avahi-daemon wasn't working anymore after the iface went ↵Sebastien Estienne2006-02-101-0/+3
| | | | | | down/up git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1131 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* merge ia64 fixes from Jason Vas DiasLennart Poettering2006-02-091-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1130 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new error code AVAHI_ERR_IS_EMPTY and use it in avahi_entry_group_commit()Lennart Poettering2006-01-301-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1124 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * do not accept empty strings in TXT recordsLennart Poettering2006-01-301-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1120 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't allow commiting of empty entry groupsLennart Poettering2006-01-301-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1117 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* small update-test debug output improvementLennart Poettering2006-01-271-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1112 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reenable record updating using AVAHI_PUBLISH_UPDATELennart Poettering2006-01-231-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1104 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix build on GNU (closes: #3)Lennart Poettering2006-01-178-0/+16
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1084 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix double free() bugLennart Poettering2006-01-071-12/+12
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1063 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * may fix a compile problem on freebsd 4.xSebastien Estienne2005-11-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1037 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* missing initialization fixLennart Poettering2005-11-231-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1025 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* never publish .local as browsing domainLennart Poettering2005-11-231-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1024 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* in the domain browser objects: don't return statically configured browsing ↵Lennart Poettering2005-11-231-3/+6
| | | | | | domains when the user asked for registration domains git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1022 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Hopefully fix a segfault when shutting down the daemon, found by maroLennart Poettering2005-11-191-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1011 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fixed usage of avahi_format_mac_addressSebastien Estienne2005-11-171-12/+15
| | | | | | | | * removed some unused parameters * comment some debug code git-svn-id: file:///home/lennart/svn/public/avahi/trunk@993 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * when calculating a random jitter time for time events, use the same jitter inLennart Poettering2005-11-169-77/+46
| | | | | | | | | | | | | every 10s timespans. This should increase the probability that multiple responses can be merged into a single packet, and thus decreases network traffic. * add _workstation._tcp services in RUNNING state, not earlier * an important bugfix which fixes the entry group state automatons * remove obsolete debug messages * minor other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@980 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* some minor adjusments to the conformance testing program. We now pass Apple'sLennart Poettering2005-11-152-5/+6
| | | | | | | | conformance tests without any changes or exceptions. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@966 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* deal better with mcast management and disappearing IP addressesLennart Poettering2005-11-141-4/+10
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@965 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't fail if leaving a multicast group failsLennart Poettering2005-11-141-7/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@963 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* 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
* * fixed a problem on FreeBSD where sysctl needs locked memorySebastien Estienne2005-11-131-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@956 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Make "NameAcquired" warning line disappear in avahi-clientLennart Poettering2005-11-1311-54/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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