Wykres commitów

196 Commity (d29755b7d56bf822ec15cf34294cf18e7b4619d6)

Autor SHA1 Wiadomość Data
David Čermák 2c0d760816 Merge branch 'bugfix/mdns_network_socket_err_prints' into 'master'
mdns: Minor err print fix in socket-networking layer (GitHub PR)

Closes IDFGH-6447 and IDFGH-6434

See merge request espressif/esp-idf!16427
2021-12-21 13:59:01 +00:00
Guo Jia Cheng cfd2d177be Merge branch 'feature/mdns-always-announce-address' into 'master'
mdns: always send A/AAAA records in announcements

See merge request espressif/esp-idf!16254
2021-12-21 04:09:29 +00:00
Guo Jia Cheng 5fdbd40404 Merge branch 'bugfix/mdns-query-instance-filter' into 'master'
mdns: filter instance name for ANY queries

See merge request espressif/esp-idf!16255
2021-12-20 10:38:19 +00:00
David Čermák 8caa8195d4 Merge branch 'bugfix/mdns_null_deref_fuzzer' into 'master'
mdns: Fix potential null deref reported by fuzzer test

See merge request espressif/esp-idf!16299
2021-12-17 09:37:55 +00:00
David Cermak f1b8f5c102 mdns: Minor err print fix in socket-networking layer 2021-12-16 16:00:44 +01:00
David Čermák e8a4c4b440 Merge branch 'bugfix/mdns_add_result_count_async' into 'master'
mdns: Added results count to async API (GitHub PR)

Closes IDFGH-6340

See merge request espressif/esp-idf!16362
2021-12-16 12:48:39 +00:00
zhangwenxu 6173dd7809 mdns: fix mdns server instance mismatch 2021-12-16 16:52:05 +08:00
caffreyfans 87506f46e2 unified errno format 2021-12-16 14:10:52 +08:00
zhangwenxu 50f6302c5d mdns: support multiple instance for mdns service txt set 2021-12-14 15:10:25 +08:00
David Cermak c297301ecc mdns: Minor fix of API description and API usage 2021-12-10 13:25:03 +01:00
David Cermak cb5653fd94 mdns: Fix potential null deref reported by fuzzer test 2021-12-07 16:17:53 +01:00
Jiacheng Guo 456f80b754 mdns: always send A/AAAA records in announcements 2021-12-07 11:44:49 +08:00
Jiacheng Guo 5d0c47303d mdns: filter instance name for ANY queries
The instance name in ANY quries was ignored. The MR fixes the issue.
2021-12-03 19:20:14 +08:00
0xFEEDC0DE64 f391d610e8 Added results count to MDNS 2021-12-02 12:33:10 +01:00
Guo Jia Cheng 2a97578ce0 Merge branch 'bugfix/mdns-ptr-record-cnt' into 'master'
mdns: fix wrong PTR record count

See merge request espressif/esp-idf!15891
2021-11-23 03:13:02 +00:00
Roland Dobai 766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Jiacheng Guo 5d3f8157e0 mdns: fix wrong PTR record count 2021-11-10 17:29:09 +08:00
Roland Dobai 9c1d4f5b54 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
Sudeep Mohanty 4846222102 freertos: update freertos folder structure to match upstream
The following changes have been made:
1. All FreeRTOS kernel source files are now placed in the
   freertos/FreeRTOS-Kernel folder to match with the upstream folder structure.
2. All kernel include files are now placed in freertos/FreeRTOS-Kernel/include.
3. All port files are now placed in freertos/FreeRTOS-Kernel/portable.
4. All additions/customizations are placed in freertos/esp_additions.
5. All other miscellaneous files (README, License files etc.) are moved to
   freertos/FreeRTOS-Kernel folder to match with the upstream.
6. Updated esp-cryptoauthlib to latest commit to resolve FreeRTOS
   include dependencies.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-10-29 12:05:13 +08:00
Guo Jia Cheng a928411ab3 Merge branch 'feature/mdns-subtype' into 'master'
mdns: support service subtype

Closes IDFGH-3560

See merge request espressif/esp-idf!15467
2021-10-25 07:50:49 +00:00
David Cermak d16f9bade5 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
2021-10-19 16:58:33 +02:00
Jiacheng Guo e7e8610f56 mdns: support service subtype
* Closes https://github.com/espressif/esp-idf/issues/5508
2021-10-19 17:54:17 +08:00
Guo Jia Cheng 1e67cf1ec5 Merge branch 'feature/mdns-multiple-instance' into 'master'
mdns: allow mutiple instances with same service type

See merge request espressif/esp-idf!15180
2021-10-11 02:49:16 +00:00
David Cermak 2a2b95b9c2 mdns: Update copyright header 2021-10-06 20:39:18 +08:00
David Cermak e7dabb14f7 mdns: Fix potential null dereference identified by fuzzer tests 2021-10-06 20:39:18 +08:00
Jiacheng Guo b7a99f4658 mdns: allow mutiple instances with same service type 2021-09-22 13:07:31 +08:00
baohongde b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2021-09-16 20:26:35 +08:00
Guo Jia Cheng e5766eb3d3 Merge branch 'feature/mdns-async-callback' into 'master'
mdns: add notification callback for async APIs

See merge request espressif/esp-idf!14760
2021-08-25 03:34:00 +00:00
Guo Jia Cheng 139bf4af64 Merge branch 'feature/add-mdns-result-attributes' into 'master'
mdns: add more mdns result attributes

See merge request espressif/esp-idf!14674
2021-08-23 09:28:19 +00:00
David Cermak fc7e2d9e90 mdns: Add host test using linux target 2021-08-17 18:39:40 +08:00
David Cermak 73dfe84bf2 mdns: Implement mdns_networking using BSD sockets
And use only if configured. By default we still use lwip raw (low-level) API
2021-08-17 18:39:40 +08:00
Jiacheng Guo 986603cf07 mdns: add notification callback for async APIs 2021-08-17 16:53:37 +08:00
Jiacheng Guo 76ec76c12c mdns: add more mdns result attributes 2021-08-11 19:02:05 +08:00
Jiacheng Guo 5e98772eaf mdns: fix crash when adding services without hostname set 2021-07-29 10:45:10 +08:00
David Cermak 619235c2ee mdns: Fix fuzzer IDF-mock layer
Removed lwip dependencies
Simplified the mocks for esp32 and esp-netif
2021-07-01 15:45:05 +02:00
David Cermak 54e329444a mdns: Clean the main mdns module from lwip dependencies
* Reduced number of include paths
* Abstract the internals of mdns packet (specifics defined in
mdns_networking.c)
* Use ESP_IP addresses instead of lwip addresses
2021-07-01 15:01:39 +02:00
David Čermák 6661d01a64 Merge branch 'feature/mdns_query_async' into 'master'
mdns: Add asynchronous query API

See merge request espressif/esp-idf!13988
2021-07-01 12:28:54 +00:00
David Čermák 68f33b75de Merge branch 'bugfix/mdns_fuzzer_crashes' into 'master'
mdns: Fix null dereferences reported by fuzzer tests

See merge request espressif/esp-idf!14153
2021-07-01 10:46:55 +00:00
David Cermak d81482d699 mdns: Add asynchronous query API
Closes https://github.com/espressif/esp-idf/issues/7090
2021-06-30 17:20:30 +04:00
Jiacheng Guo 2386113972 mdns: return ESP_OK rather than ERR_OK in API functions 2021-06-29 17:35:45 +08:00
Jiacheng Guo 0baee93211 mdns: fix memory leak in mdns_free when adding delegated hostnames 2021-06-29 17:35:45 +08:00
David Cermak 4a2e72677c mdns: Fix crashes reported by the fuzzer tests 2021-06-25 08:34:39 +02:00
David Cermak dae803335e mdns/fuzzer: Fix non-instrumentation test to reproduce fuzzer issues
Regression from 7d76245173 skipped reading the packet causing issues when locally reproducing crashed found by the fuzzer
2021-06-25 08:33:38 +02:00
David Cermak f167238fac mdns: Support for One-Shot mDNS queries 2021-06-24 07:05:00 +02:00
David Čermák 3452c5f194 Merge branch 'feature/mdns-value-len' into 'master'
mdns: allow explicit txt value length

See merge request espressif/esp-idf!13981
2021-06-23 14:53:48 +00:00
David Čermák 4d604ee6d2 Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
CI: Move mqtt publish tests from regular pipeline to weekend tests

Closes IDFCI-653

See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Jiacheng Guo b4e0088b68 mdns: allow explicit txt value length 2021-06-16 17:47:07 +08:00
David Cermak 79ba738626 mdns: Fix crashes reported by the fuzzer 2021-06-11 16:53:06 +02:00
David Cermak 7d76245173 mdns: Minor correction of the test code 2021-06-11 16:53:06 +02:00
David Cermak 14099fe15e mdns: Fix fuzzer from miss-interpreting adding services as timeouts 2021-06-11 16:53:06 +02:00