945bd17701
CI: fixing the files to be complient with pre-commit hooks
2022-10-17 18:16:52 +02:00
3498e86d8b
prevent crash when hostname is null
2022-09-21 21:03:07 +05:30
543521a220
Merge pull request #123 from thorrak/hygiene/TTL
...
Replace hardcoded TTL values with named defines (IDFGH-8113)
2022-09-09 15:13:22 +02:00
bb4c002841
Replace hardcoded TTL values with named defines
...
- Replaces hardcoded PTR "half-TTL" with `MDNS_ANSWER_PTR_TTL/2` (defined in mdns_private.h)
- Replaces hardcoded TXT "half-TTL" with `MDNS_ANSWER_TXT_TTL/2` (defined in mdns_private.h)
2022-08-23 08:44:36 -04:00
656ab21c9b
mdns: Fix add_service() to report error if no-hostname
2022-08-19 18:47:47 +02:00
c4e85bd099
mdns: fix bit order issue in DNS header flags
...
The bit field in the header flags does not match its intended order on
little endian machines. The PR removes the bit field and uses bit
operations instead.
2022-08-18 16:39:38 +02:00
415e04a55f
fix(mdns): ignore authoritative flag on reception
2022-07-22 22:25:08 +08:00
36de9afe0c
feat(mdns): Define explicit dependencies on esp-wifi
2022-07-18 09:49:03 +02:00
4868689111
mdns: Updated mDNS to explicitely use esp-eth dependency if needed
...
* Original commit: espressif/esp-idf@5e19b9c951
2022-06-17 13:24:22 +04:00
2c764b1b7a
mdns: Fix copyright messages, update API descrition
...
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
* Original commit: espressif/esp-idf@42ba8a8338
2022-05-27 17:44:25 +04:00
f836ae7f65
mdns: Add API to control custom network interfaces
...
* Original commit: espressif/esp-idf@b02468dc98
2022-05-27 17:44:25 +04:00
30f37c0565
mdns: Add support for registering custom netif
...
* Original commit: espressif/esp-idf@bec42ff85d
2022-05-27 17:44:25 +04:00
ddc58e8220
mdns: Indicate interface using esp_netif in search results
...
* Original commit: espressif/esp-idf@f8495f1e86
2022-05-27 17:44:25 +04:00
fa951bf320
mdns: Use predefined interfaces to prepare for custom netifs
...
* Original commit: espressif/esp-idf@f90b3b798b
2022-05-27 17:44:25 +04:00
605d1fab73
mdns: Prepare for dynamic esp-netif support
...
* Original commit: espressif/esp-idf@f9892f77b8
2022-05-27 17:44:25 +04:00
58bf2186f7
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
* Original commit: espressif/esp-idf@a9fda54d39
2022-05-27 17:44:24 +04:00
94ae672041
mdns: Update to drop our own packet if bounced back
...
* Original commit: espressif/esp-idf@b5149e3ee7
2022-05-27 17:44:24 +04:00
e5a3a3df1d
mdns: Fix potential read behind parsed packet
...
* Original commit: espressif/esp-idf@51a5de2525
2022-05-27 17:44:24 +04:00
7710ea9a11
mdns: Fix memleak when adding delegated host
...
* Original commit: espressif/esp-idf@9cbdb8767b
2022-05-27 17:44:24 +04:00
034c55e18a
mdns: Fix null-service issue when parsing packets
...
Closes https://github.com/espressif/esp-idf/issues/8307
* Original commit: espressif/esp-idf@a57be7b7d1
2022-05-27 17:44:24 +04:00
5909e9e54c
mdns: Remove legacy esp_event API
...
* Original commit: espressif/esp-idf@e46aa515bd
2022-05-27 17:44:24 +04:00
82e2a5dcc1
mdns: added missing includes
...
* Original commit: espressif/esp-idf@28d09c7dbe
2022-05-27 17:44:24 +04:00
48e4d4035c
mdns: Clear notification value in mdns_hostname_set
...
Merges https://github.com/espressif/esp-idf/pull/8284
* Original commit: espressif/esp-idf@83a4ddbd25
2022-05-27 17:44:24 +04:00
085dbd8c4e
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
* Original commit: espressif/esp-idf@57fd78f5ba
2022-05-27 17:44:24 +04:00
6cdf5ee074
mdns: Use memcpy() for copy to support non-text TXTs
...
* Original commit: espressif/esp-idf@6aefe9c185
2022-05-27 17:44:24 +04:00
fcb5515f1e
mdns: Support for null-value TXT records
...
Closes https://github.com/espressif/esp-idf/issues/8267
* Original commit: espressif/esp-idf@23c2db406d
2022-05-27 17:44:24 +04:00
9fdbe5f130
mdns: Fix alloc issue if TXT has empty value
...
* Original commit: espressif/esp-idf@205f6ba854
2022-05-27 17:44:24 +04:00
20e6e9e7fe
mdns: Fix random crash when defalt service instance queried
...
Merges https://github.com/espressif/esp-idf/pull/8248
* Original commit: espressif/esp-idf@f46dffca62
2022-05-27 17:44:24 +04:00
c588263b45
mdns: Fix minor memory leaks when creating services
...
* Original commit: espressif/esp-idf@fad62cc1ed
2022-05-27 17:44:24 +04:00
6258edf23b
Fix mDNS memory leak
...
* Original commit: espressif/esp-idf@119b4a9dd1
2022-05-27 17:44:24 +04:00
c8b0d5ea9d
Fix mDNS memory leak
...
* Original commit: espressif/esp-idf@f5ffd53aeb
2022-05-27 17:44:24 +04:00
5252b1d801
mdns: Use multi/uni-cast types in API
...
* Original commit: espressif/esp-idf@125c312552
2022-05-27 17:44:24 +04:00
4e11cc86fe
mdns: Allow for unicast PTR queries
...
Adresses https://github.com/espressif/esp-idf/issues/7932
* Original commit: espressif/esp-idf@7eeeb01ea7
2022-05-27 17:44:24 +04:00
7af91ec490
mdns: Fix potential null deref for ANY query type
...
* Original commit: espressif/esp-idf@99dd8eedb1
2022-05-27 17:44:24 +04:00
5a2d4eab6d
mdns: Fix copyright
...
* Original commit: espressif/esp-idf@c83678f64f
2022-05-27 17:44:24 +04:00
9de3f534e2
Add mDNS miss comment
...
* Original commit: espressif/esp-idf@08e081340d
2022-05-27 17:44:24 +04:00
7dd0bc1fff
mdns: always send A/AAAA records in announcements
...
* Original commit: espressif/esp-idf@456f80b754
2022-05-27 17:44:24 +04:00
7e82a7cef7
mdns: filter instance name for ANY queries
...
The instance name in ANY quries was ignored. The MR fixes the issue.
* Original commit: espressif/esp-idf@5d0c47303d
2022-05-27 17:44:24 +04:00
ae381b779f
mdns: Fix potential null deref reported by fuzzer test
...
* Original commit: espressif/esp-idf@cb5653fd94
2022-05-27 17:44:24 +04:00
525c64915e
Added results count to MDNS
...
* Original commit: espressif/esp-idf@f391d610e8
2022-05-27 17:44:24 +04:00
f0839d909b
mdns: fix mdns server instance mismatch
...
* Original commit: espressif/esp-idf@6173dd7809
2022-05-27 17:44:24 +04:00
69902ea8e1
mdns: support multiple instance for mdns service txt set
...
* Original commit: espressif/esp-idf@50f6302c5d
2022-05-27 17:44:24 +04:00
d0bbe880b6
mdns: fix wrong PTR record count
...
* Original commit: espressif/esp-idf@5d3f8157e0
2022-05-27 17:44:24 +04:00
fd8499c874
mdns: support service subtype
...
* Closes https://github.com/espressif/esp-idf/issues/5508
* Original commit: espressif/esp-idf@e7e8610f56
2022-05-27 17:44:24 +04:00
38b4fe2353
mdns: Fix parsing non-standard queries
...
Fix for packets containing unexpected domains, such as openthread.thread.home.arpa.
If we find this packet we set the name entry as invalid, but continue with parsing as the packet might contain related queries for us.
Closes https://github.com/espressif/esp-idf/issues/7694
* Original commit: espressif/esp-idf@d16f9bade5
2022-05-27 17:44:24 +04:00
b26606252f
mdns: allow mutiple instances with same service type
...
* Original commit: espressif/esp-idf@b7a99f4658
2022-05-27 17:44:24 +04:00
5e087d82d6
mdns: Update copyright header
...
* Original commit: espressif/esp-idf@2a2b95b9c2
2022-05-27 17:44:24 +04:00
91a3d95f96
mdns: Fix potential null dereference identified by fuzzer tests
...
* Original commit: espressif/esp-idf@e7dabb14f7
2022-05-27 17:44:24 +04:00
52306e914f
mdns: add notification callback for async APIs
...
* Original commit: espressif/esp-idf@986603cf07
2022-05-27 17:44:24 +04:00
d37ab6dd25
mdns: add more mdns result attributes
...
* Original commit: espressif/esp-idf@76ec76c12c
2022-05-27 17:44:24 +04:00