-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hey,
I'm trying to set this up on Ubuntu 20.04 and it seems to crash straight after init.
I'm getting the following log:
`(base) @<my_machine>:~/RTC-Call-Monitor/src (main)$ sudo dotnet run
<6>RtcCallMonitor.TrafficMonitor[0] loaded provider discord, 2 network prefixes
<6>RtcCallMonitor.TrafficMonitor[0] loaded provider googlemeet, 1 network prefixes
<6>RtcCallMonitor.TrafficMonitor[0] loaded provider gotomeeting, 35 network prefixes
<6>RtcCallMonitor.TrafficMonitor[0] loaded provider msteams, 6 network prefixes
<6>RtcCallMonitor.TrafficMonitor[0] loaded provider slack, 1 network prefixes
<6>RtcCallMonitor.TrafficMonitor[0] loaded provider webex, 15 network prefixes
<6>RtcCallMonitor.TrafficMonitor[0] loaded provider zoom, 69 network prefixes
<6>RtcCallMonitor.TrafficMonitor[0] network changed!
<6>RtcCallMonitor.TrafficMonitor[0] Auto-detected IP address: 192.168.xx.xx
<6>RtcCallMonitor.NetworkListener[0] Updating monitor to watch traffic on 192.168.xx.xx
<3>RtcCallMonitor.Worker[0] System.PlatformNotSupportedException: Socket.IOControl handles Windows-specific control codes and is not supported on this platform. at System.Net.Sockets.SocketPal.WindowsIoctl(SafeSocketHandle handle, Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue, Int32& optionLength) at System.Net.Sockets.Socket.IOControl(Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue) at RtcCallMonitor.NetworkListener.CreateAndBindSocket() in /home//RTC-Call-Monitor/src/NetworkListener.cs:line 39 at RtcCallMonitor.NetworkListener.Start() in /home//RTC-Call-Monitor/src/NetworkListener.cs:line 59 at RtcCallMonitor.NetworkListener.UpdateIpAddress(IPAddress newAddress) in /home//RTC-Call-Monitor/src/NetworkListener.cs:line 71 at RtcCallMonitor.TrafficMonitor.NetworkChange_NetworkAddressChanged(Object sender, EventArgs e) in /home//RTC-Call-Monitor/src/TrafficMonitor.cs:line 116 at RtcCallMonitor.TrafficMonitor.Start() in /home//RTC-Call-Monitor/src/TrafficMonitor.cs:line 79 at RtcCallMonitor.Worker.ExecuteAsync(CancellationToken stoppingToken) in /home//RTC-Call-Monitor/src/Worker.cs:line 29
<6>RtcCallMonitor.Worker[0] Using check interval of 2000ms, min packet rate 1
(base) @<my_machine>:~/RTC-Call-Monitor/src (main)$
`
Any ideas?