[SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. STABLE-2_1_0_RELEASE-316-g4baf17d

[email protected] (Simon Goldschmidt) Wed, 11 Dec 2019 14:16:39 -0500 (EST)
Newsgroups gmane.network.lwip.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  4baf17d5b2b5c22073af3d628c3be500586c7256 (commit)
       via  4ca115a08e3ac591de0fde560883678dbd6132ae (commit)
       via  2441c6fa3ffdbfe613b005a9c1176056e05501d1 (commit)
       via  6302423d7f3f4f7fbcaecd1a0dd7a5846d4132c6 (commit)
       via  93012258956087ee5379c2b6fe92f4b598b52aab (commit)
       via  e85e4738380cda7523939e4f7a43c1858f0232d2 (commit)
       via  710b7fc158d69b1778005596716235a855593100 (commit)
       via  cd278c426d0cb24c2b001917b6914c999c0521b4 (commit)
       via  aa79b90d3cb3a5bdbbb88992d4670c9380125615 (commit)
       via  a2498898b05b1cb284c8f11cb37ab8b7c16e1224 (commit)
      from  cb3f0a9b1723e7f5823225f4c6b542ecfb277a75 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4baf17d5b2b5c22073af3d628c3be500586c7256
Author: David Girault <[email protected]>
Date:   Tue Jun 25 11:07:41 2019 +0200

    mdns: restart probing when IP addresses has changed
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit 4ca115a08e3ac591de0fde560883678dbd6132ae
Author: David Girault <[email protected]>
Date:   Fri Jun 14 17:35:48 2019 +0200

    mdns: move MDNS_PROBE_DELAY_MS to mdns_opts.h to allow customisation
    
    In some noisy WiFi environment, it may be necessary to increase this value to
    300ms to accomodate WiFi latencies which may result in less than the required
    250ms between two probe frames received by the Apple BCT application.
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit 2441c6fa3ffdbfe613b005a9c1176056e05501d1
Author: David Girault <[email protected]>
Date:   Fri Jun 14 17:35:00 2019 +0200

    mdns: abort packet analysis if conflict detected
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit 6302423d7f3f4f7fbcaecd1a0dd7a5846d4132c6
Author: David Girault <[email protected]>
Date:   Fri Jun 14 13:53:10 2019 +0200

    mdns: handle tiebreaking loose like conflict
    
    - Count tiebreaking loss in num_conflicts to include them in rate limit detection
    - Restart probing using mdns_resp_restart allowing rate limiting for those cases
    
    This ensure rate limiting is well activated during Apple Bonjour Conformance Tests.
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit 93012258956087ee5379c2b6fe92f4b598b52aab
Author: David Girault <[email protected]>
Date:   Fri Jun 14 09:52:16 2019 +0200

    mdns: support for multi-packet known answer (questions with TC bit)
    
    This allow Apple Bonjour Conformance Test to not fail with the following tests:
    - DISTRIBUTED DUPLICATE SUPPRESSION
    - MULTIPLE QUESTIONS - DISTRIBUTED DUPLICATE SUPPRESSION
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit e85e4738380cda7523939e4f7a43c1858f0232d2
Author: David Girault <[email protected]>
Date:   Mon Jun 10 15:08:19 2019 +0200

    mdns: remove service TXT record from probe packets
    
    TXT records isn't required to be unique in network, so it shouldn't be
    included in probe packets.
    
    Additionnaly, when TXT record is present, the Bonjour Conformance Test
    from Apple Inc. always fail because generated probe nevert have TXT record.
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit 710b7fc158d69b1778005596716235a855593100
Author: David Girault <[email protected]>
Date:   Wed May 29 17:58:20 2019 +0200

    mdns: add mdns_resp_restart_delay to allow re-probe delay selection
    
    Called with `MDNS_INITIAL_PROBE_DELAY_MS` or `MDNS_PROBE_DELAY_MS` according to
    needs.
    
    When `mdns_resp_restart_delay()` called by `mdns_resp_rename_(netif|service)()`
    functions, it is assumed this is because a conflict. So we should not use
    `MDNS_INITIAL_PROBE_DELAY_MS` because the Bonjour Conformance Test will
    complain like this:
    
    ```
    START (PROBING)
    NOTICE  16:40:09.501911: conflicting probe:
            smarTrEMotE-f8d0a4.Local.
    ERROR   16:40:09.607288: Device did not provide a sufficient time gap between receiving a conflicting probe and reprobing.
    ERROR   16:40:09.607333: expected_time_gap=237,actual_time_gap=105
    ```
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit cd278c426d0cb24c2b001917b6914c999c0521b4
Author: David Girault <[email protected]>
Date:   Mon Jun 3 13:33:38 2019 +0200

    mdns: remove duplicate acd_state_enum_t declaration
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit aa79b90d3cb3a5bdbbb88992d4670c9380125615
Author: David Girault <[email protected]>
Date:   Tue Oct 15 13:01:46 2019 +0200

    mdns: update probe conflict function to provide service in conflict
    
    - Send service slot index to the mdns result function. In case of conflict, the user
      will have to remove the service or rename it.
    - Break after hostname conflict in order to managed it first, and managed service name
      conflict after.
    - Provide a function to get the TXT userdata for a service (allowing app to match with
      its own data).
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

commit a2498898b05b1cb284c8f11cb37ab8b7c16e1224
Author: David Girault <[email protected]>
Date:   Thu Jan 31 16:47:10 2019 +0100

    mdns: increase mDNS output packet size
    
    When more than one service (just 2) need to be probed for conflict, generation
    of the probe packet fail because pbuf is too small!
    
    So OUTPACKET_SIZE renamed to MDNS_OUTPUT_PACKET_SIZE and moved to mdns_opts.h
    to allow configuration. Default configuration raise it to 1450 to have enough
    space when MDNS_MAX_SERVICES > 1 else it remain 512.
    
    Extract from RFC 6762, chapter 17, Multicast DNS Message Size:
    
       The 1987 DNS specification [RFC1035] restricts DNS messages carried
       by UDP to no more than 512 bytes (not counting the IP or UDP
       headers).  For UDP packets carried over the wide-area Internet in
       1987, this was appropriate.  For link-local multicast packets on
       today's networks, there is no reason to retain this restriction.
       Given that the packets are by definition link-local, there are no
       Path MTU issues to consider.
    
       Multicast DNS messages carried by UDP may be up to the IP MTU of the
       physical interface, less the space required for the IP header (20
       bytes for IPv4; 40 bytes for IPv6) and the UDP header (8 bytes).
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 contrib/examples/mdns/mdns_example.c |   4 +-
 src/apps/mdns/mdns.c                 | 233 ++++++++++++++++++++++++++++-------
 src/apps/mdns/mdns_out.c             |   7 +-
 src/include/lwip/apps/mdns.h         |   5 +-
 src/include/lwip/apps/mdns_opts.h    |  28 +++++
 src/include/lwip/apps/mdns_priv.h    |   4 +-
 6 files changed, 225 insertions(+), 56 deletions(-)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack

_______________________________________________
lwip-commits mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-commits