You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running ziti-edge-tunnel and any subcommand that leverages the unix domain socket to configure a running ziti-edge-tunnel causes the ziti-edge-tunnel program to segfault if that command is run without all the necessary flags.
Steps to reproduce:
ziti-edge-tunnel run -I [/my/identities]
ziti-edge-tunnel {enable,add,set_log_level,...}
Additionally, this can be replicated by directly writing to the unix socket, which implies the issue is somewhere downstream of argument parsing in the codebase (though certainly the argument parsing should enforce required flags):
Nov 10 10:33:28 kpop4 ziti-edge-tunnel[3003]: (3003)[ 42868.137] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:664 on_cmd_client() Received IPC client connection request, count: 1
Nov 10 10:33:28 kpop4 ziti-edge-tunnel[3003]: (3003)[ 42868.137] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:637 on_cmd() received cmd <{"Command":"LoadIdentity","D
ata":{"ApiPageSize":0}}> Nov 10 10:33:28 kpop4 systemd[1]: ziti-edge-tunnel.service: Main process exited, code=dumped, status=11/SEGV
Nov 10 10:33:28 kpop4 systemd[1]: ziti-edge-tunnel.service: Failed with result 'core-dump'.
Running
ziti-edge-tunnel
and any subcommand that leverages the unix domain socket to configure a running ziti-edge-tunnel causes the ziti-edge-tunnel program to segfault if that command is run without all the necessary flags.Steps to reproduce:
ziti-edge-tunnel run -I [/my/identities]
ziti-edge-tunnel {enable,add,set_log_level,...}
Additionally, this can be replicated by directly writing to the unix socket, which implies the issue is somewhere downstream of argument parsing in the codebase (though certainly the argument parsing should enforce required flags):
printf '{"Command":"LoadIdentity","Data":{"ApiPageSize":0}}' | sudo nc --unixsock /tmp/ziti-edge-tunnel.sock
The text was updated successfully, but these errors were encountered: