add nlm state and ip rules

Catalin-Emil Fetoiu committed Apr 8, 2024 at 10:34 UTC c23f95715e231a6a6908878fba843d41d4dda81d
2 files changed +7
diagnostics/collect-networking-logs.ps1
+6
@@ -20,6 +20,12 @@ function Collect-WindowsNetworkState {
20 }
21 catch {}
22
23 + try
24 + {
25 + & netsh nlm query all $folder/nlmquery_"$ReproStep".log
26 + }
27 + catch {}
28 +
29 try
30 {
31 Get-NetIPConfiguration -All -Detailed | Out-File -FilePath "$folder/Get-NetIPConfiguration_$ReproStep.log" -Append
diagnostics/networking.sh
+1
@@ -10,6 +10,7 @@ ip a
10 ip route show table all
11 ip neighbor
12 ip link
13 +ip rule show
14
15 # We only print whether the HTTP proxy variables are set or not, as their content might contain secrets such as usernames, passwords.
16 if [ -z ${http_proxy+x} ]; then echo "http_proxy is unset"; else echo "http_proxy is set"; fi