ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
751 stars 142 forks source link

WebRTC connection error #2518

Open jvoisin opened 11 months ago

jvoisin commented 11 months ago

Running in an unprivileged proxmox container:

root@ooni:~# uname -a
Linux ooni 6.1.15-1-pve #1 SMP PREEMPT_DYNAMIC PVE 6.1.15-1 (2023-03-08T08:53Z) x86_64 GNU/Linux
root@ooni:~# ooniprobe --version
3.18.1
root@ooni:~# tail /var/log/syslog
2023-07-31T13:30:26.542197+00:00 ooni ooniprobe[170]: Jul 31 13:30:26.000 [warn]  1 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
2023-07-31T13:30:27.800751+00:00 ooni ooniprobe[138]:    62.58% torsf: elapsedTime: 302 s; maxRuntime: 600 s
2023-07-31T13:30:29.800334+00:00 ooni ooniprobe[138]:    62.67% torsf: elapsedTime: 304 s; maxRuntime: 600 s
2023-07-31T13:30:31.800307+00:00 ooni ooniprobe[138]:    62.75% torsf: elapsedTime: 306 s; maxRuntime: 600 s
2023-07-31T13:30:33.800561+00:00 ooni ooniprobe[138]:    62.83% torsf: elapsedTime: 308 s; maxRuntime: 600 s
2023-07-31T13:30:35.800658+00:00 ooni ooniprobe[138]:    62.92% torsf: elapsedTime: 310 s; maxRuntime: 600 s
2023-07-31T13:30:36.028472+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:36 WebRTC: Collecting a new Snowflake. Currently at [0/1]
2023-07-31T13:30:36.028551+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:36 snowflake-083a487a718720d3  connecting...
2023-07-31T13:30:36.028570+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:36 WebRTC: DataChannel created.
2023-07-31T13:30:36.028585+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:36 Failed to prepare offer failed to create network: route ip+net: netlinkrib: address family not supported by protocol
2023-07-31T13:30:36.028599+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:36 WebRTC: closing DataChannel
2023-07-31T13:30:36.028613+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:36 WebRTC: closing PeerConnection
2023-07-31T13:30:36.028627+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:36 WebRTC: Closing
2023-07-31T13:30:36.028641+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:36 WebRTC: failed to create network: route ip+net: netlinkrib: address family not supported by protocol  Retrying...
2023-07-31T13:30:37.801159+00:00 ooni ooniprobe[138]:    63.00% torsf: elapsedTime: 312 s; maxRuntime: 600 s
2023-07-31T13:30:39.800957+00:00 ooni ooniprobe[138]:    63.08% torsf: elapsedTime: 314 s; maxRuntime: 600 s
2023-07-31T13:30:41.800703+00:00 ooni ooniprobe[138]:    63.17% torsf: elapsedTime: 316 s; maxRuntime: 600 s
2023-07-31T13:30:43.801210+00:00 ooni ooniprobe[138]:    63.25% torsf: elapsedTime: 318 s; maxRuntime: 600 s
2023-07-31T13:30:45.800717+00:00 ooni ooniprobe[138]:    63.33% torsf: elapsedTime: 320 s; maxRuntime: 600 s
2023-07-31T13:30:46.028824+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:46 WebRTC: Collecting a new Snowflake. Currently at [0/1]
2023-07-31T13:30:46.029076+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:46 snowflake-89fe7860a9e5d2f6  connecting...
2023-07-31T13:30:46.029412+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:46 WebRTC: DataChannel created.
2023-07-31T13:30:46.029527+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:46 Failed to prepare offer failed to create network: route ip+net: netlinkrib: address family not supported by protocol
2023-07-31T13:30:46.029610+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:46 WebRTC: closing DataChannel
2023-07-31T13:30:46.029678+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:46 WebRTC: closing PeerConnection
2023-07-31T13:30:46.029741+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:46 WebRTC: Closing
2023-07-31T13:30:46.029804+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:46 WebRTC: failed to create network: route ip+net: netlinkrib: address family not supported by protocol  Retrying...
2023-07-31T13:30:47.800607+00:00 ooni ooniprobe[138]:    63.42% torsf: elapsedTime: 322 s; maxRuntime: 600 s
2023-07-31T13:30:49.800244+00:00 ooni ooniprobe[138]:    63.50% torsf: elapsedTime: 324 s; maxRuntime: 600 s
2023-07-31T13:30:51.800805+00:00 ooni ooniprobe[138]:    63.58% torsf: elapsedTime: 326 s; maxRuntime: 600 s
2023-07-31T13:30:53.800450+00:00 ooni ooniprobe[138]:    63.67% torsf: elapsedTime: 328 s; maxRuntime: 600 s
2023-07-31T13:30:55.800826+00:00 ooni ooniprobe[138]:    63.75% torsf: elapsedTime: 330 s; maxRuntime: 600 s
2023-07-31T13:30:56.029788+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:56 WebRTC: Collecting a new Snowflake. Currently at [0/1]
2023-07-31T13:30:56.029988+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:56 snowflake-b993584d24a8bb1f  connecting...
2023-07-31T13:30:56.030366+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:56 WebRTC: DataChannel created.
2023-07-31T13:30:56.030481+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:56 Failed to prepare offer failed to create network: route ip+net: netlinkrib: address family not supported by protocol
2023-07-31T13:30:56.030556+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:56 WebRTC: closing DataChannel
2023-07-31T13:30:56.030620+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:56 WebRTC: closing PeerConnection
2023-07-31T13:30:56.030682+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:56 WebRTC: Closing
2023-07-31T13:30:56.030745+00:00 ooni ooniprobe[138]: 2023/07/31 13:30:56 WebRTC: failed to create network: route ip+net: netlinkrib: address family not supported by protocol  Retrying...
2023-07-31T13:30:57.800377+00:00 ooni ooniprobe[138]:    63.83% torsf: elapsedTime: 332 s; maxRuntime: 600 s
root@ooni:~# 
jvoisin commented 11 months ago

This seems to be fixed by adding AF_NETLINK to RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 in /etc/systemd/system/multi-user.target.wants/ooniprobe-cli.service.