<div dir="ltr">hmm, that could be useful too. Though starting with things like join latencies was something we tested in our early APs (which have a proprietary multicast over unicast implementation.) Iperf 2 repo very crude igmp querier c code, mostly just to set things like mrouter ports on l2 switches. We needed the join latencies for IPTV over multicast to simulate channel changes. The querier supports test control of when it sends out the all hosts query which we needed to. <br><br>I found multicast testing (both internet and WiFi) as a lot of fun because things are "upside down" or reversed per RPFs. The AP has it relatively easy compared to an internet router/switch combo.<br><br>Anyway, I'm fairly steeped in testing L3 IP and L2 multicast. Let me know if any new testing features are required for these efforts.<br><br>Bob<br><br> <br><br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 30, 2021 at 10:46 AM Dave Taht <<a href="mailto:dave.taht@gmail.com">dave.taht@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">What I'd used for multicast testing during the heyday of the cerowrt project was<br>
<br>
<a href="http://uftp-multicast.sourceforge.net/" rel="noreferrer" target="_blank">http://uftp-multicast.sourceforge.net/</a><br>
<br>
It gained RFC3168 style ecn support as a result, but I haven't tested<br>
it in years.<br>
<br>
On Sat, Oct 30, 2021 at 10:17 AM Bob McMahon <<a href="mailto:bob.mcmahon@broadcom.com" target="_blank">bob.mcmahon@broadcom.com</a>> wrote:<br>
><br>
> As an FYI, iperf 2 supports both source specific and standard multicast joins. I think this one of the few open source traffic tools that supports multicast testing.<br>
><br>
> Bob<br>
><br>
> On Sat, Oct 30, 2021 at 7:24 AM Dave Taht <<a href="mailto:dave.taht@gmail.com" target="_blank">dave.taht@gmail.com</a>> wrote:<br>
>><br>
>> This should be "fun".<br>
>><br>
>> ---------- Forwarded message ---------<br>
>> From: Taehee Yoo <<a href="mailto:ap420073@gmail.com" target="_blank">ap420073@gmail.com</a>><br>
>> Date: Sat, Oct 30, 2021 at 5:42 AM<br>
>> Subject: [PATCH net-next v5 0/5] amt: add initial driver for Automatic<br>
>> Multicast Tunneling (AMT)<br>
>> To: <<a href="mailto:davem@davemloft.net" target="_blank">davem@davemloft.net</a>>, <<a href="mailto:kuba@kernel.org" target="_blank">kuba@kernel.org</a>>, <<a href="mailto:dsahern@kernel.org" target="_blank">dsahern@kernel.org</a>>,<br>
>> <<a href="mailto:netdev@vger.kernel.org" target="_blank">netdev@vger.kernel.org</a>><br>
>> Cc: <<a href="mailto:dkirjanov@suse.de" target="_blank">dkirjanov@suse.de</a>>, <<a href="mailto:ap420073@gmail.com" target="_blank">ap420073@gmail.com</a>><br>
>><br>
>><br>
>> This is an implementation of AMT(Automatic Multicast Tunneling), RFC 7450.<br>
>> <a href="https://datatracker.ietf.org/doc/html/rfc7450" rel="noreferrer" target="_blank">https://datatracker.ietf.org/doc/html/rfc7450</a><br>
>><br>
>> This implementation supports IGMPv2, IGMPv3, MLDv1, MLDv2, and IPv4<br>
>> underlay.<br>
>><br>
>> Summary of RFC 7450<br>
>> The purpose of this protocol is to provide multicast tunneling.<br>
>> The main use-case of this protocol is to provide delivery multicast<br>
>> traffic from a multicast-enabled network to sites that lack multicast<br>
>> connectivity to the source network.<br>
>> There are two roles in AMT protocol, Gateway, and Relay.<br>
>> The main purpose of Gateway mode is to forward multicast listening<br>
>> information(IGMP, MLD) to the source.<br>
>> The main purpose of Relay mode is to forward multicast data to listeners.<br>
>> These multicast traffics(IGMP, MLD, multicast data packets) are tunneled.<br>
>><br>
>> Listeners are located behind Gateway endpoint.<br>
>> But gateway itself can be a listener too.<br>
>> Senders are located behind Relay endpoint.<br>
>><br>
>> ___________ _________ _______ ________<br>
>> | | | | | | | |<br>
>> | Listeners <-----> Gateway <-----> Relay <-----> Source |<br>
>> |___________| |_________| |_______| |________|<br>
>> IGMP/MLD---------(encap)-----------><br>
>> <-------------(decap)--------(encap)------Multicast Data<br>
>><br>
>> Usage of AMT interface<br>
>> 1. Create gateway interface<br>
>> ip link add amtg type amt mode gateway local 10.0.0.1 discovery 10.0.0.2 \<br>
>> dev gw1_rt gateway_port 2268 relay_port 2268<br>
>><br>
>> 2. Create Relay interface<br>
>> ip link add amtr type amt mode relay local 10.0.0.2 dev relay_rt \<br>
>> relay_port 2268 max_tunnels 4<br>
>><br>
>> v1 -> v2:<br>
>> - Eliminate sparse warnings.<br>
>> - Use bool type instead of __be16 for identifying v4/v6 protocol.<br>
>><br>
>> v2 -> v3:<br>
>> - Fix compile warning due to unsed variable.<br>
>> - Add missing spinlock comment.<br>
>> - Update help message of amt in Kconfig.<br>
>><br>
>> v3 -> v4:<br>
>> - Split patch.<br>
>> - Use CHECKSUM_NONE instead of CHECKSUM_UNNECESSARY.<br>
>> - Fix compile error.<br>
>><br>
>> v4 -> v5:<br>
>> - Remove unnecessary rcu_read_lock().<br>
>> - Remove unnecessary amt_change_mtu().<br>
>> - Change netlink error message.<br>
>> - Add validation for IFLA_AMT_LOCAL_IP and IFLA_AMT_DISCOVERY_IP.<br>
>> - Add comments in amt.h.<br>
>> - Add missing dev_put() in error path of amt_newlink().<br>
>> - Fix typo.<br>
>> - Add BUILD_BUG_ON() in amt_smb_cb().<br>
>> - Use macro instead of magic values.<br>
>> - Use kzalloc() instead of kmalloc().<br>
>> - Add selftest script.<br>
>><br>
>> Taehee Yoo (5):<br>
>> amt: add control plane of amt interface<br>
>> amt: add data plane of amt interface<br>
>> amt: add multicast(IGMP) report message handler<br>
>> amt: add mld report message handler<br>
>> selftests: add amt interface selftest script<br>
>><br>
>> MAINTAINERS | 8 +<br>
>> drivers/net/Kconfig | 16 +<br>
>> drivers/net/Makefile | 1 +<br>
>> drivers/net/amt.c | 3290 ++++++++++++++++++++++++++<br>
>> include/net/amt.h | 386 +++<br>
>> include/uapi/linux/amt.h | 62 +<br>
>> tools/testing/selftests/net/Makefile | 1 +<br>
>> tools/testing/selftests/net/amt.sh | 284 +++<br>
>> tools/testing/selftests/net/config | 1 +<br>
>> 9 files changed, 4049 insertions(+)<br>
>> create mode 100644 drivers/net/amt.c<br>
>> create mode 100644 include/net/amt.h<br>
>> create mode 100644 include/uapi/linux/amt.h<br>
>> create mode 100644 tools/testing/selftests/net/amt.sh<br>
>><br>
>> --<br>
>> 2.17.1<br>
>><br>
>><br>
>><br>
>> --<br>
>> Fixing Starlink's Latencies: <a href="https://www.youtube.com/watch?v=c9gLo6Xrwgw" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=c9gLo6Xrwgw</a><br>
>><br>
>> Dave Täht CEO, TekLibre, LLC<br>
>> _______________________________________________<br>
>> Make-wifi-fast mailing list<br>
>> <a href="mailto:Make-wifi-fast@lists.bufferbloat.net" target="_blank">Make-wifi-fast@lists.bufferbloat.net</a><br>
>> <a href="https://lists.bufferbloat.net/listinfo/make-wifi-fast" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/make-wifi-fast</a><br>
><br>
><br>
> This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.<br>
<br>
<br>
<br>
-- <br>
I tried to build a better future, a few times:<br>
<a href="https://wayforward.archive.org/?site=https%3A%2F%2Fwww.icei.org" rel="noreferrer" target="_blank">https://wayforward.archive.org/?site=https%3A%2F%2Fwww.icei.org</a><br>
<br>
Dave Täht CEO, TekLibre, LLC<br>
</blockquote></div>
<br>
<span style="background-color:rgb(255,255,255)"><font size="2">This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.</font></span>