56cfa698a4
Release 2.0-2.
2020-10-16 15:33:35 +01:00
3b8db036a1
Fix making a release.
2020-10-16 15:32:18 +01:00
59368bb111
Fix error installing service-control file.
2020-10-16 15:11:49 +01:00
c6b9730299
Fix service-control always shows not running.
2020-10-16 15:10:50 +01:00
e436becbbd
Stop and (re-)start the service correctly around installation.
2020-10-16 15:06:03 +01:00
302d113377
Fix losing static address mappings appended to hosts file
2020-10-16 15:03:13 +01:00
a9dcc648ae
Add service configuration in case the service-control package is installed.
2020-08-02 20:36:10 +01:00
75af91d0cc
Don't exit, but retry, if mdns_start() fails.
2020-08-02 00:23:28 +01:00
ec6463e6c4
Add release-tagging function.
2020-07-28 16:42:57 +01:00
ba051c353a
Create new release
2020-07-28 00:52:44 +01:00
46a74b3c06
Added service definition file for service-control.
2020-07-28 00:41:25 +01:00
7223f118a7
Added service file and package generation
2020-07-28 00:28:33 +01:00
cfdf09a1dc
Merge branch 'HummyNew' of https://git.hpkg.tv/df/zeroconf into HummyNew
2020-07-27 15:39:37 +01:00
d7c62ad55c
Add signal handling: SIGUSR1 - dump cache; SIGHUP - restart server
2020-07-27 15:18:17 +01:00
964c2dd28d
Document current version
...
Add description of HummyNew version and de-emphasise DT's health warning, now mostly obsolete.
2020-07-27 01:03:59 +00:00
0aa116dbce
Support responding to unicast queries: initially just legacy queries and multicast responses.
2020-07-26 21:02:43 +01:00
2ce1bb8ae4
Move DNS TTL definitions to header; add TTL for answers to legacy unicast queries.
...
fe
2020-07-26 20:54:31 +01:00
17ef47d6f2
Add response to service meta-query (RFC6763 Section 10), following https://github.com/espressif/esp-idf/pull/340/files
2020-07-26 14:57:23 +01:00
3c1f038fbc
Service registered must have FQDN as hostname
2020-07-26 14:56:29 +01:00
de3042f808
PTR shouldn't normally have the shorter host TTL.
2020-07-25 23:59:33 +01:00
3a24c51c56
Correct IP address type in API; clean up scopes, loops.
2020-07-25 19:44:53 +01:00
90d70d13b1
Add working binary
2020-07-24 10:34:31 +01:00
aa472217c5
Recognise local host with .local suffix.
2020-07-24 10:17:56 +01:00
e42e88d61f
Improve Makefile for CC/CPP options
2020-07-24 10:16:53 +01:00
c9a1e4cf0d
Reinstate accidentally disabled reply function and remove %m formats.
2020-07-24 10:13:16 +01:00
8f15f5873b
Merge IP-TTL-255-patch, fixing #13 Set multicast IP TTL to 255 in case a receiver demands an unrouted packet; minor non-functional tweaks.
2020-07-23 16:21:18 +01:00
ed03a6098d
Initial working responder version reabsorbing TizenRT changes.
...
Consequently:
- fixes #9 Arbitrary memory read while parsing malicious mDNS queries (mdns.c);
- fixes #10 Denial of Service vulnerability (infinite loop) while parsing malicious mDNS queries (mdns.c);
- fixes #11 Heap-based buffer overread (off-by-one) (mdns.c);
- fixes #12 Heap-based buffer overread while parsing mDNS RR section (off-by-one) (mdns.c).
2020-07-23 12:02:06 +01:00
8b2f04c2ea
Tweak
2020-07-19 19:38:23 +00:00
16f0faf3ce
Convert https://bitbucket.org/geekman/tinysvcmdns from Mercurial to Git
2020-07-18 12:22:36 +00:00
ef67107cf2
Convert https://bitbucket.org/geekman/tinysvcmdns from Mercurial to Git
2020-07-18 12:21:46 +00:00
Darell Tan
48a6078f74
Added project status in README.
2018-01-16 23:40:21 +08:00
Darell Tan
a155bbd914
Added checks for NULL after uncompressing labels.
2018-01-16 22:55:15 +08:00
Darell Tan
9f70ccd676
Ensure NULL terminator is not written past end of allocated buffer.
2017-11-13 23:57:18 +08:00
Darell Tan
db4e276662
Ensure sufficient buffer size when converting nlabels to string.
2017-11-05 00:02:07 +08:00
John Maguire
4bed5363e7
Add close_pipe() wrapper for close()/closesocket().
2013-01-28 17:22:12 +01:00
John Maguire
90bf5816cf
Change pipe to local sockets on win32 so select() will work.
2013-01-23 16:12:42 +01:00
John Maguire
3aedea8798
Win32/MinGW support.
2013-01-17 16:24:10 +01:00
A Weinlein
3acbda1c5d
Added API and test to add additional RRs (lAAAA RRs i.e.)
2012-12-21 18:02:50 +01:00
A Weinlein
501803d9d3
Added support to parse and encode AAAA RRs
2012-12-21 18:02:11 +01:00
Darell Tan
1fec5f7dac
Minor formatting fix for license text.
2012-12-11 23:45:22 +08:00
Darell Tan
4a32af1988
Added CROSS_COMPILE prefix to Makefile.
2012-12-11 23:39:24 +08:00
Darell Tan
e0bf7227b1
Bugfix: read/write 16 and 32-bit values manually to avoid alignment issues.
2012-12-11 23:38:08 +08:00
Darell Tan
f1f39e0caa
Made packet parsing code more robust.
2012-11-27 23:58:33 +08:00
Darell Tan
70b254aec8
Bugfix: populate_answers() was not adding records if type is RR_ANY (since rev ea6495c).
2012-10-17 22:59:22 +08:00
Darell Tan
ac1908875b
Check TTL in known-answers list and only reply if it's less than half.
...
This ensures we still update responders that do not remove records that are about to expire (with less than half of the actual TTL).
2012-10-17 21:57:15 +08:00
Darell Tan
c821cdcbe4
Added more debugging statements.
2012-10-17 21:31:36 +08:00
Darell Tan
c4993739f5
Bugfix: when matching RR entries, sometimes the name and type are not sufficiently unique.
...
- Added rr_entry_match() to search for an exact RR entry. For most RRs,
matching its name is sufficient but for PTRs, its target needs to be
matched as well.
- Rewrote populate_answers() logic to make sure all matching RRs (by
name and type) are added.
- When responding, populate our answers first, then check them against
the Known-Answer list.
2012-10-15 22:47:15 +08:00
Darell Tan
4e19b7120e
Bugfix: rr_entry_find() only matched the entry type but not its name.
2012-10-13 01:00:28 +08:00
Darell Tan
0fcbc3fe4b
Bugfix: solved 100% CPU usage due to select() not blocking and forgetting to flush the notify_pipe.
2012-10-13 00:58:50 +08:00
Darell Tan
6965f201c9
Bugfix: PTR records shouldn't have the cache flush bit set.
2012-10-11 23:39:03 +08:00