zwx
21c84bfa8d
fix(mdns): add lock for some common apis
2024-03-14 17:53:05 +08:00
zwx
7be16bcc88
fix(mdns): fix mdns answer append while host is invalid
2024-03-11 20:26:38 +08:00
David Cermak
302b46f8e2
fix(mdns): Fixed build issues for targets without WiFi caps
2024-03-01 10:24:29 +01:00
Suren
891384cc53
Merge pull request #414 from wqx6/fix/mdns_disable_ipv4
...
fix(mdns): fix compiling issue when disabling IPv4 (IDFGH-11453)
2024-02-06 11:45:45 +04:00
David Cermak
fc59f87c4e
fix(mdns): Correction on 6d2c475
MDNS_PREDEF_NETIF_ETH fix
2024-01-17 11:51:17 +01:00
WanqQixiang
2646dcd23a
fix(mdns): fix compiling issue when disabling IPv4
2024-01-17 10:48:40 +08:00
Marek Maškarinec
6d2c475c20
fix(mdns): Fix compile error when MDNS_PREDEF_NETIF_ETH is defined, but ETH_ENABLED is not ( #459 )
...
Signed-off-by: Marek Maškarinec <marek@mrms.cz >
2024-01-15 16:50:44 +01:00
chendejin
19fb36000c
fix(mdns): fix copy delegated host addr
2024-01-03 17:12:41 +08:00
Suren Gabrielyan
d20a718320
fix(mdns): enable CONFIG_ESP_WIFI_ENABLED if CONFIG_SOC_WIFI_SUPPORTED is also enabled (for ESP-IDF <= 5.1)
2023-11-14 14:48:42 +04:00
Suren
ebdac9cc01
Merge pull request #409 from zwx1995esp/fix/mdns_host_name_get
...
fix(mdns): add terminator for the getting host name
2023-11-01 13:25:15 +04:00
zwx
b6a4d94ab0
fix(mdns): add terminator for the getting host name
2023-10-31 19:45:35 +08:00
Suren Gabrielyan
0b783c01dd
fix(mdns): Enable ESP_WIFI_CONFIG when ESP-IDF <= 5.1
2023-10-30 13:34:51 +04:00
Suren
60d7145630
Merge pull request #364 from adafruit/circuitpython
...
Fix MDNS free host list (IDFGH-11116)
2023-10-09 14:44:51 +04:00
Scott Shawcroft
ea54eef0d0
fix(mdns): set host list NULL on destroy
2023-10-06 09:51:00 -07:00
david-cermak
af1f39e70d
Merge pull request #355 from wqx6/mdns_service_limit
...
fix(mdns): remove the range of MDNS_MAX_SERVICES and fix some issues of str-functions
2023-09-26 19:59:26 +02:00
Suren Gabrielyan
c48e44205d
fix(common): removed Wno-format flag and fixed formatting warnings
2023-09-25 19:55:44 +04:00
WanqQixiang
3dadce2d5e
fix(mdns): remove the the range of MDNS_MAX_SERVICES and fix issues of string functions
2023-09-22 17:25:23 +08:00
Suren Gabrielyan
24f7031012
fix(mdns): fix build issue if CONFIG_ESP_WIFI_ENABLED disabled
2023-08-29 13:41:26 +04:00
Suren Gabrielyan
71bb461ed8
fix(mdns): added guard check for null pointer
2023-08-03 13:53:17 +04:00
zhangwenxu
ddc3eb62d0
feat(mdns): add an API for setting address to a delegated host
2023-06-29 21:57:39 +08:00
david-cermak
68392f0ba9
Merge pull request #301 from zwx1995esp/fix/delegated_service_PTR_response
...
fix(mdns): Fix delegated service PTR response (IDFGH-10237)
2023-06-01 23:38:56 +02:00
zhangwenxu
cab0e1d10e
fix(mdns): Fix delegated service PTR response
2023-06-01 19:01:54 +08:00
Xu Si Yu
c562461711
feat(mdns): Allow for adding a delegated host with no address
2023-05-26 14:03:22 +08:00
WanqQixiang
f0df12dad3
feat(mdns): Add APIs for looking up self hosted services and getting the self hostname
2023-05-18 12:25:50 +08:00
david-cermak
ea5d3cee29
Merge pull request #268 from wqx6/search_delegated_service
...
mdns: Add APIs to lookup delegated services (IDFGH-9790)
2023-04-18 10:38:27 +02:00
WanqQixiang
87dcd7dc7d
mdns: Add APIs to look up delegated services
2023-04-17 19:35:41 +08:00
4fa3023ea2
Fix deadly mdns crash
2023-04-05 16:13:07 +02:00
David Cermak
d238e9311b
feat(mdns): Decouple main module from mdns-networking
...
Removed sharing the data via the global variable `_mdns_server`, added
API `mdns_is_netif_ready()`
2023-03-22 12:16:28 +01:00
xieqinan
5ed3e9a6a1
mdns: append all ipv6 address in mdns answer
2023-03-22 12:00:38 +08:00
David Cermak
a06fb7714b
fix(mdns): Removed unused internal lock from mdns_server struct
2023-03-20 16:55:49 +01:00
David Cermak
e69a9ebb3d
fix(mdns): Resolve conflicts only on self hosted items
...
Skip solving conflicts for delegated names and delegated services
Closes https://github.com/espressif/esp-protocols/issues/185
2023-03-20 16:55:49 +01:00
David Cermak
0a682e7f12
fix(mdns): Fix memory issues reported by valgrind
...
* Read after the allocated area (which may lead to subsequent
mdns name corruption)
* Potentially uninit variable used in condition
2023-03-19 20:58:10 +01:00
david-cermak
9ae88aab48
Merge pull request #223 from AndriiFilippov/master
...
Unite all tags under common structure (IDFGH-9399)
2023-02-17 15:08:18 +01:00
AndriiFilippov
c6db3ea84c
unite all tags under common structure
...
py test: update tags under common structure
2023-02-17 14:27:34 +01:00
david-cermak
9fb01ca534
Merge pull request #219 from david-cermak/feat/mdns_reverse_query_ip6
...
feat(mdns): Add support for IPv6 reverse query
2023-02-15 08:07:17 +01:00
David Cermak
d464ed7d30
feat(mdns): Add reverse lookup to the example and test
2023-02-15 07:48:04 +01:00
Viktor Babrian
73f2800b59
components/mdns: use semaphore instead of task notification bits (IDFGH-9380)
...
Component should not alter the task notification bits of the calling task.
2023-02-14 11:43:02 +01:00
David Cermak
d4825f5c53
feat(mdns): Add support for IPv6 reverse query
...
Implements reverse querries together with
b87bef52e5
(IPv4)
Closes https://github.com/espressif/esp-protocols/issues/101
2023-02-07 20:16:26 +01:00
David Cermak
91134f10ff
mdns: Make reverse query conditional per Kconfig
...
and auto-register reverse logical names
2023-02-02 10:32:01 +01:00
David Cermak
fb8a2f0198
fix(mdns): Host test with IDFv5.1
2023-02-02 10:31:01 +01:00
David Cermak
b87bef52e5
feat(mdns): Add support for IPv4 reverse query
...
Partially addresses https://github.com/espressif/esp-protocols/issues/101
2023-02-02 10:31:00 +01:00
David Cermak
d0c9070715
fix(mdns): Remove strict mode as it's invalid
...
Strict mode was introduced to support "one-shot" queries (described in
RFC6762/sec5.1) that are sent by lwip or dig. It was incorrectly assumed
that responding to such queries violates the spec, as we have to repeat
queries in responces, which is forbidden in RFC6762/sec6. It is however
required to repeat query fields according to the Section 6.7. Legacy
Unicast Responses: "it MUST repeat the query ID and the question
given in the query message."
2023-01-31 16:06:52 +01:00
David Cermak
a8339e4618
fix(mdns): Allow setting instance name only after hostname set
...
Closes https://github.com/espressif/esp-protocols/issues/190
2023-01-31 16:06:52 +01:00
Mahavir Jain
c73c797595
mdns: fix some coverity reported issues
...
- Array compared against 0 NO_EFFECT
- dereference null pointer, FORWARD_NULL check
2022-11-07 18:38:06 +05:30
Suren Gabrielyan
945bd17701
CI: fixing the files to be complient with pre-commit hooks
2022-10-17 18:16:52 +02:00
microDev
3498e86d8b
prevent crash when hostname is null
2022-09-21 21:03:07 +05:30
david-cermak
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
John
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
David Cermak
656ab21c9b
mdns: Fix add_service() to report error if no-hostname
2022-08-19 18:47:47 +02:00
Jiacheng Guo
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