| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@959 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* Reword some misleading log messages
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@939 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
| |
* deal with utsname() failing when creating HINFO records
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@938 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@925 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
support a SO_RECVIF equivalent
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@923 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
| |
* add a missing include for OpenBSD
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@917 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@898 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
* remove -Wunused from GCC command line and use "unused" attribute instead
* remove AVAHI_CLIENT_S_FAILURE and AVAHI_CLIENT_S_INVALID since these event's are never forwarded to the client anyway
* make use of AVAHI_GCC_NORETURN
* really send eror code with StateChange DBUS signals
* ignore EINTR in avahi_simple_poll_loop()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@879 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
| |
macro expansion instead
* split of exotic functions from avahi-core/rr.h to avahi-core/rr-util.h
* update doxygen docs
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@872 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
| |
* remove some functions from the public API in avahi-common/{domain,address}.[ch] and move them into avahi-core/{domain-util,add-util}.[ch]
* properly generate CNAME responses
* add some more comments to server.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@871 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
| |
* fix some minor typos
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@863 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@859 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
* drop avahi_service_is_service_local(), avahi_client_is_service_local()
* add new lookup result flags AVAHI_LOOKUP_RESULT_OUR_OWN and AVAHI_LOOKUP_RESULT_LOCAL
* remove avahi_address_resolver_new() and replace it by avahi_address_resolver_new_a()
* avahi-client: save query data in browse/resolve objects so that we can return it on failure
* other cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@811 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@804 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
dns-srv-rr.h
* remove some unused functions
* unexport some functions
* other cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@803 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@796 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@794 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
| |
* add new helper function avahi_server_update_service_txt() to ease TXT record updating for services
* other minor cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@790 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@743 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
structure
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@741 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
| |
ease porting to other platforms. Sebest, Lathiat this is for you! It Should
simplify your porting work to *BSD/MacOSX/Solaris.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@726 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@719 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
| |
* add avahi_is_valid_service_type_strict() which doesn't allow subtypes and other strange things to pass
* fix protocol validity checks in server.c
* add new API function avahi_get_type_from_subtype()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@716 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@714 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add avahi_service_name_split() and make everything use it
* change avahi_normalize_name() to work on a supplied buffer instead of malloc'ed memory.
* add avahi_normalize_name_strdup() that retains the old behaviour avahi_normalize_name()
* same thing for avahi_get_host_name()/avahi_get_host_name_strdup()
* Rewrite domain name escaping and validity checking code
* Remove superfluous memory allocationsfrom various browsers and do some other major cleanups
* add new global macro AVAHI_CHECK_VALIDITY_RETURN_NULL() and modify many things to make use of it
* add AVAHI_LABEL_MAX
* patch everything to make use of AVAHI_LABEL_MAX and AVAHI_DOMAIN_NAME_MAX
* add pretty printing for NS records
* add partial pretty printing for SOA records
* add many more validity checks to various user API functions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@708 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
| |
* Make use of avahi_service_name_snprint() wherever it applies
* Fix some potential memory leaks when avahi_server_add() fails
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@684 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
a host name set
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@658 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
been established successfully
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@651 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rename AvahiEntryFlags to AvahiPublishFlags
* add flags parameter to add_service() and friends
* validity checking of flags, interface and protocol parameters of add_service() and friends
* make AVAHI_VALID_FLAGS a global macro
* add new flag AVAHI_PUBLISH_NO_REVERSE, if set address records will no be created with matching reverse lookup PTR RRs
* add new flag AVAHI_PUBLISH_NO_COOKIE, for not implicitly adding the service cookie to TXT records
* minor cleanups
Yes, this will break the mono bindings. More breakages to come.
NO_REVERSE and NO_COOKIE needs testing.
Lathiat, I guess the new flag NO_REVERSE makes the immediate need to add a client side API to add arbitrary RRs obsolete for now. You might consider moving it in the TODO list to "later".
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@648 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
| |
disallow multiple mDNS stacks running simultaneously
* add a config file option for this and enable it by default
* remove some bad \n in log messages
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@646 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
commiting an entry group
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@641 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@632 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* implement wide-area DNS-SD
* if multiple clients query the same records, only start the query packet sequence once
* implement recursive CNAME queries
* add support for resolving services without TXT or A/AAAA records
* enlarge resolving timeouts to 5s
* implement new browse/resolving events CACHE_EXHAUSTED/ALL_FOR_NOW
* add support for resolving services without name. (i.e. for normal SRV records)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@608 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@595 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@561 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
| |
* add an API to query the local service cookie
* add a DBUS interface to query the local service cookie
* wrap that in avahi-client
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@555 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
of our records
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@466 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@422 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@398 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@385 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@382 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
| |
* tighten avahi-core default #includes a bit
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@316 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
| |
* make AvahiPoll objects const
* make poll() functions pluggable in AvahiSimplePoll
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@314 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@312 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
the same things on the client side. i.e. AvahiEntryGroup -> AvahiSEntryGroup
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@310 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|