openziti / desktop-edge-win

Provides a Ziti client for Windows
Apache License 2.0
35 stars 13 forks source link

Over 1000 services cause NRPT rule failure #349

Closed dovholuknf closed 3 years ago

dovholuknf commented 3 years ago

I added 1000 services to an endpoint today and saw errors when adding the rules to the NRPT. This prevents NRPT rules from getting added and thus breaks interception of services.

Looking in the logs this is captured

[2021-04-07T15:13:52.791Z] ERROR    ERROR adding nrpt rules: fork/exec C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe: The filename or extension is too long.
[2021-04-07T15:13:52.792Z]  INFO    mapped the following hostnames: map[eth0.10002.ziti:true eth0.10003.ziti:true eth0.10004.ziti:true eth0.10005.ziti:true eth0.10006.ziti:true eth0.10007.ziti:true  ... ... ... snip ... ... ...
dovholuknf commented 3 years ago

closed in 1.9.2