summaryrefslogtreecommitdiffstats
path: root/avahi-core
Commit message (Collapse)AuthorAgeFilesLines
* add a regression test for #84 contributed by tedp. (closes #84)Lennart Poettering2007-04-122-0/+135
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1420 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* allow adding of generic DNS RRs properly. Patch from Sjoerd Simons again ↵Lennart Poettering2007-04-121-1/+2
| | | | | | (closes #130) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1407 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix registration of really large records, like it is necessary for XEP-0174 ↵Lennart Poettering2007-04-125-20/+23
| | | | | | | | | (jabber+bonjour) Based on an original patch by Sjoerd Simons, but heavily modified. (Closes #131) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1405 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-core/entry.c: Correctly reset register_time_event when leaving the ↵Trent Lloyd2007-03-301-7/+5
| | | | | | REGISTERING state, not just when calling _reset git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1400 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Revert fix from R1398Trent Lloyd2007-03-241-1/+1
| | | | | | | | * avahi-core/iface.c#avahi_interface_monitor_get_hw_interface - Change assert to idx >= 0, this is the correct fix incase a platform has interface indexes starting from 0 * Fix incorrect AVAHI_PROTO_UNSPEC to AVAHI_IF_UNSPEC git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1399 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add sys/types.h for openbsd compatLennart Poettering2007-02-051-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1386 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* move assert check before accessLennart Poettering2007-02-041-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1383 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* minor cleanups it netlink handling code:Lennart Poettering2007-02-041-8/+7
| | | | | | | | | * fix warning message * don't warn if netlink messages from other processes have been received * don't access ucreds before checking cmsg validity git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1382 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* re #94: don't accept "localhost" as hostname; read distribution id from ↵Lennart Poettering2007-02-021-5/+60
| | | | | | | | | | | | | | | | | | /etc/lsb_release. This is not a complete fix for this issue, since it doesn't work in a chroot, and it doesn't support /usr/bin/lsb_release. Oh, and did I mention how much the idea of having /usr/bin/lsb_release sucks? On Debian that is a Python script. i.e. on every Avahi startup we'd have to load an entire python interpreter into memory! That takes ages! I am not quite sure if we really should pursue this bug any further because of this problem. First, Debian should replace lsb_release by a saner implementation. In effect, I will now mark this bug as WONTFIX. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1379 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* create unicast IPv4 socket oly if IPv4 is enabled, same for unicast IPv6Lennart Poettering2007-01-061-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1371 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * set IPV6_V6ONLY for unicast DNS sockets, tooLennart Poettering2007-01-061-7/+38
| | | | | | | * print a warning when FIONREAD returns an invalid size git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1370 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * optionally, register A RR via IPv6, AAAA RR via IPv4 (Closes #62)Lennart Poettering2007-01-054-39/+59
| | | | | | | * add new API function avahi_server_get_config() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Some more ia64 fixes. (Closes #90)Lennart Poettering2007-01-041-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1363 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Ignore EAGAIN errors on recvmsg() (Closes #60)Lennart Poettering2006-12-311-2/+22
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1361 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Make sure we return -1 if we fall of the end of consume_labels()Trent Lloyd2006-12-291-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1353 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-core/dns.c#consume_labels(): Add some additional checks on the ↵Trent Lloyd2006-12-161-1/+7
| | | | | | compressed label location git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1342 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-core/dns.c: Use a '#define AVAHI_DNS_LABELS_MAX 127' instead of the ↵Trent Lloyd2006-12-162-1/+2
| | | | | | hard-coded value git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1341 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Limit the number of loops in consume_labels() (Closes: #84)Trent Lloyd2006-12-161-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1340 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Really actually fix build on Linux <2.6.19Trent Lloyd2006-12-121-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1339 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix specifying priviliged access group (Closes: #85)Trent Lloyd2006-12-111-1/+2
| | | | | | | | | | | | Thanks to delphinidae * Fix incorrect manual reference (Closes: #83) Thanks to delphinidae * Fix incorrect assert() in client-publish-service.c (Closes: #79) Thanks to tedp * Fix builds on < 2.6.19 (temporary fix, pending possible "better" solution) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1337 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Revert previous patch to check nlmsg_pid as it is bogus and breaksTrent Lloyd2006-12-112-9/+46
| | | | | | | | | | | in many cases, notably when using NetworkManager * Replace with new SO_PASSCRED-based check of the sending UID, which seems to work better * Apply for for 2.6.19+ where IFA_RTA / IFLA_RTA is no longer defined * Mild fix to some doxygen docs for avahi-common/address.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1336 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* 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