AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题

问题[multicast](computer)

Martin Hope
Bobo
Asked: 2025-04-07 22:03:43 +0800 CST

是否可以将数据发送给多播订阅者的子集?

  • 6

我有一个多播流量源,在无线电链路上有一个 IP 接口。

有一定数量的机器订阅此多播流量,无论是在同一网络上还是通过路由器。

我想将流量访问权限限制为受源信任的订阅者,而不是不受控制地加入多播组的每台机器。

据我理解,多播是指源端不知道订阅者是谁,只有路由器知道。而且,在无线电网络上,多播流量会被广播出去,所以任何人都可以收听。

有没有解决方案来限制这种流量?

multicast
  • 2 个回答
  • 39 Views
Martin Hope
ChristAHFER
Asked: 2021-09-09 00:38:59 +0800 CST

繁重的组播流量

  • 5

嗅探我的 SOHO 网络后,我注意到与 UPNP 服务相关的多播地址的负担最重。

网络上有 1 个外部驱动器。我认为网络驱动器将使用 SMB2 而不是 SSDP 是否正确?

UPNP 经常使用 SSDP 和不同的数据包长度进行多播是否正常?

multicast soho
  • 1 个回答
  • 138 Views
Martin Hope
Michał Lipok
Asked: 2021-01-03 14:46:37 +0800 CST

测试多播 - 没有得到正确的结果

  • 7

之前在这里问过这个问题: https ://networkengineering.stackexchange.com/questions/71813/testing-multicast-problem

但我被指出来了。

我使用这个工具:https ://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2advancedmulticast9a.html

关闭 Windows 防火墙并关闭 ESET 安全防火墙。

使用:

C:\2>ipconfig
Windows IP Configuration
Ethernet adapter Połączenie lokalne:
   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.1.103
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
Ethernet adapter Ethernet 2:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

C:\2>mcastws1.exe -b 192.168.1.103 -s
socket handle = 0x000000BC
Binding to 192.168.1.103
Joined group: [224.0.0.255]:25000
Set sending interface to: 0.0.0.0
Set multicast ttl to: 8
Sent 1024 bytes to [224.0.0.255]:25000
Sent 1024 bytes to [224.0.0.255]:25000
Sent 1024 bytes to [224.0.0.255]:25000
Sent 1024 bytes to [224.0.0.255]:25000
Sent 1024 bytes to [224.0.0.255]:25000
Sent 1024 bytes to [224.0.0.255]:25000
Sent 1024 bytes to [224.0.0.255]:25000
Sent 1024 bytes to [224.0.0.255]:25000
^C
C:\2>

我得到这样的结果:

z:\2>ipconfig
Windows IP Configuration
Ethernet adapter Ethernet:
   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.1.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

z:\2>mcastws1.exe -b 192.168.1.102
socket handle = 0x00000100
Binding to [192.168.1.102]:25000
Joined group: [224.0.0.255]:25000
Set sending interface to: 0.0.0.0
Set multicast ttl to: 8
^C
z:\2>

问题:为什么我没有得到类似的结果: https ://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2advancedmulticast9_files/winsock2multicast009.png

multicast
  • 1 个回答
  • 251 Views
Martin Hope
mranon
Asked: 2019-07-28 06:35:45 +0800 CST

是否可以找到本地 musticast 网络的组 IP

  • 5

我想找到我加入的多播组的 IP。但是,从 netstat -ng 获得的所有 IP 都是这些:

root@me:~# netstat -ng
IPv6/IPv4 Group Memberships
Interface       RefCnt Group
--------------- ------ ---------------------
lo              1      224.0.0.1
enp2s0          1      224.0.0.1
wlp1s0          1      224.0.0.251
wlp1s0          1      224.0.0.1
lo              1      ff02::1
lo              1      ff01::1
enp2s0          1      ff02::1
enp2s0          1      ff01::1
wlp1s0          1      ff02::1:ff00:1002
wlp1s0          1      ff02::1:ffec:fbef
wlp1s0          1      ff02::1:ff46:409f
wlp1s0          1      ff02::1:ff2f:ca73
wlp1s0          1      ff02::1

所有这些 IP 都是通用的(所有节点和类似节点),我想知道我到底在哪个网络中。我在 nmap 中找到了一些东西:

root@me:~# nmap --script broadcast-igmp-discovery lo

Starting Nmap 7.60 ( https://nmap.org ) at 2019-07-25 22:12 -03
Pre-scan script results:
| broadcast-igmp-discovery: 
|   192.168.0.80
|     Interface: wlp1s0
|     Version: 2
|     Group: 224.0.0.251
|     Description: mDNS (rfc6762)
|   192.168.0.80
|     Interface: wlp1s0
|     Version: 2
|     Group: 224.0.0.252
|     Description: Link-local Multicast Name Resolution (rfc4795)
|   192.168.0.80
|     Interface: wlp1s0
|     Version: 2
|     Group: 239.255.255.250
|     Description: Organization-Local Scope (rfc2365)
|_  Use the newtargets script-arg to add the results as targets
Failed to resolve "lo".
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 8.13 seconds

你们有什么感想?

linux multicast
  • 1 个回答
  • 361 Views
Martin Hope
Georgi Stoyanov
Asked: 2019-04-03 00:03:44 +0800 CST

根据数据包长度过滤 TCPDUMP

  • 2

我希望tcpdump通过数据包长度缩小我的范围。我知道我可以`| grep 但我想知道我是否可以将这个特定的数据包长度作为“tcpdump”中的一个选项传递。我正在尝试编写一个脚本,使用以下命令向我展示网络上所有存在的 MPEG-TS 多播:

sudo tcpdump -c 1000 -ti <network_interface> multicast | grep 1316 | sort | uniq

所以这个命令有效并准确地给出了我想要的输出,但我想我可以通过在tcpdump命令中传递长度来简化它,比如:

sudo tcpdump -c 1000 -ti <network_interface> multicast and length 1316 | sort | uniq
tcpdump multicast
  • 1 个回答
  • 13295 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve