macOS 下刚开机就有贼多 utun 设备,怎么定位是哪个软件创建的 utun?

2022-04-20 10:19:22 +08:00
 Jiajin

macOS 下刚开机什么都没干,就有贼多 utun 设备,现在被认定多个虚拟网卡,违规外联,怎么破?新机器应该没这么多 utun 吧,怎么定位是哪个软件创建的 utun ?
ifconfig -a有这么多 utun 设备,尝试使用sudo ifconfig utun6 down也无法删除,难顶。

utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::e388:c289:d91:760a%utun0 prefixlen 64 scopeid 0x10 
	nd6 options=201<PERFORMNUD,DAD>
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
	inet6 fe80::c2f4:a129:9c5f:b0d1%utun1 prefixlen 64 scopeid 0x11 
	nd6 options=201<PERFORMNUD,DAD>
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000
	inet6 fe80::ce81:b1c:bd2c:69e%utun2 prefixlen 64 scopeid 0x12 
	nd6 options=201<PERFORMNUD,DAD>
utun3: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::76af:d2c1:bbd6:b422%utun3 prefixlen 64 scopeid 0x13 
	nd6 options=201<PERFORMNUD,DAD>
utun4: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::7bec:709d:87da:f8a8%utun4 prefixlen 64 scopeid 0x14 
	nd6 options=201<PERFORMNUD,DAD>
utun5: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::bfa:a18d:3a3:7458%utun5 prefixlen 64 scopeid 0x15 
	nd6 options=201<PERFORMNUD,DAD>
utun6: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::70b2:a454:b204:681b%utun6 prefixlen 64 scopeid 0x16 
	nd6 options=201<PERFORMNUD,DAD>
3593 次点击
所在节点    Apple
6 条回复
Mitt
2022-04-20 10:24:56 +08:00
https://apple.stackexchange.com/questions/310220/who-creates-utun0-adapter

BTW. 你从 "网络" 里看到的很多网络接口都其实在使用这些 utun
Jiajin
2022-04-20 10:35:52 +08:00
@Mitt 在哪可以看哪些进程在使用 utun ? linux 这样可以看,但是 macOS 没这个 /proc
```shell
find /proc/ -name tun0 | cut -d\/ -f3 | uniq | xargs -IPID lsof -p PID
```
Mitt
2022-04-20 10:50:04 +08:00
不一定有进程在用,你可以去网络里数一下,反正我有 utun9 ,能对应上每个虚拟网络接口
jdjingdian
2022-04-20 13:41:47 +08:00
应该是正常的吧,越狱的 iPhone 只安装 openssh 插件和 ifconfig ,也能看到很多 utun 设备
bdingtech
2023-04-04 17:10:35 +08:00
老哥解决了吗?同问
Jiajin
2023-04-04 17:34:58 +08:00
@bdingtech 违规外联的检测原理和虚拟网卡关系不是特别大,主要就是你电脑不能访问互联网。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/848076

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX