Yes that's right.
In the browser I go to "http://predalert.ziti", a static website which embeds "http://predalert.ziti/video1" in an < img> tag.
Seems like you've got the crux of it
The service was created in NFconsole, applying some attributes that coincide with both server and laptopclient identities. I didn't use the ziti cli at all, and after installing the ziti binary now, the binary can't seem to "discover" the running edge-tunnel, nor will it let me specify it to use the existing identity in /etc/openziti/identities/laptop_client1.json to investigate. I suppose ziti binary needs to be initialized with the relevant identity, in order to provide any useful information?
$ sudo .local/bin/ziti agent list
โญโโโโโโฌโโโโโโโโโโโโโฌโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโฎ
โ PID โ EXECUTABLE โ APP ID โ UNIX SOCKET โ APP TYPE โ APP VERSION โ APP ALIAS โ
โโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโโค
โฐโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโฏ
$ ziti agent ps
ps is running
p.Path is: /var/home/Jacob/.local/bin/ziti
1927432 1883591 ziti go1.22.1 /var/home/Jacob/.local/bin/ziti
$ sudo .local/bin/ziti edge list configs -i /etc/openziti/identities/laptop_client1.json
error: no identity '/etc/openziti/identities/laptop_client1.json' found in cli config /root/.config/ziti/ziti-cli.json
$ ziti edge list configs -i laptop_client1.json
error: no identity 'laptop_client1.json' found in cli config /home/Jacob/.config/ziti/ziti-cli.json
$ cat /home/Jacob/.config/ziti/ziti-cli.json
cat: /home/Jacob/.config/ziti/ziti-cli.json: No such file or directory
Since NFconsole abstracts ziti cli commands used to make identities, policies, configs and such away (and doesn't seem to provide a convenient way to export the current configuration); I'm not sure what to do to get more verbose information.
This is the tunneler config, if that helps:
$ cat /var/lib/ziti/config.json
{
"Active":true,
"Duration":0,
"StartTime":"2024-03-30T11:30:09.078533Z",
"Identities":[{
"Name":"laptopClient1",
"Identifier":"laptopClient1.json",
"FingerPrint":"laptopClient1",
"Active":false,
"Loaded":false,
"IdFileStatus":false,
"MfaEnabled":false,
"MfaNeeded":false,
"Metrics":{
"Up":0,
"Down":0
},
"MfaMinTimeout":0,
"MfaMaxTimeout":0,
"MfaMinTimeoutRem":0,
"MfaMaxTimeoutRem":0,
"MinTimeoutRemInSvcEvent":0,
"MaxTimeoutRemInSvcEvent":0,
"Deleted":false,
"Notified":false
}],
"IpInfo":{
"Ip":"100.64.0.1",
"Subnet":"255.192.0.0",
"MTU":65535,
"DNS":"100.64.0.2"
},
"LogLevel":"info",
"ServiceVersion":{
"Version":"v0.22.26",
"Revision":"local",
"BuildDate":"Wed-03/27/2024-17:02:35-UTC"
},
"TunIpv4":"100.64.0.1",
"TunIpv4Mask":10,
"AddDns":false,
"ApiPageSize":25
}
I disabled all dynamically loaded/generated content and routes on the site, but this error message in the server process persists:
INFO: - "GET / HTTP/1.1" 200 OK
INFO: - "GET /static/css/custom.css HTTP/1.1" 200 OK
INFO: - "GET /static/js/main.js HTTP/1.1" 200 OK
INFO: - "GET /static/img/favicon-32x32.png HTTP/1.1" 200 OK
04/03/2024 19:45:53 - ERROR - asyncio - Exception in callback BaseSelectorEventLoop._accept_connection(<function Ser...x7f3a293cc900>, <openziti.dec...27.0.0.1', 0)>, None, <Server socke...0.0.1', 0)>,)>, 2048, None, None)
handle: <Handle BaseSelectorEventLoop._accept_connection(<function Ser...x7f3a293cc900>, <openziti.dec...27.0.0.1', 0)>, None, <Server socke...0.0.1', 0)>,)>, 2048, None, None)>
Traceback (most recent call last):
File "/usr/lib64/python3.11/asyncio/events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib64/python3.11/asyncio/selector_events.py", line 165, in _accept_connection
conn, addr = sock.accept()
^^^^^^^^^^^^^
File "/var/mnt/data/jacob/git/farm-animal-detection/.env/lib64/python3.11/site-packages/openziti/zitisock.py", line 119, in accept
fd, peer = zitilib.accept(self.fileno())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/mnt/data/jacob/git/farm-animal-detection/.env/lib64/python3.11/site-packages/openziti/zitilib.py", line 276, in accept
check_error(clt)
File "/var/mnt/data/jacob/git/farm-animal-detection/.env/lib64/python3.11/site-packages/openziti/zitilib.py", line 219, in check_error
raise Exception(err, msg)
Exception: (11, 'unexpected error')
04/03/2024 19:45:53 - ERROR - asyncio - Exception in callback BaseSelectorEventLoop._accept_connection(<function Ser...x7f3a293cc900>, <openziti.dec...27.0.0.1', 0)>, None, <Server socke...0.0.1', 0)>,)>, 2048, None, None)
handle: <Handle BaseSelectorEventLoop._accept_connection(<function Ser...x7f3a293cc900>, <openziti.dec...27.0.0.1', 0)>, None, <Server socke...0.0.1', 0)>,)>, 2048, None, None)>
Traceback (most recent call last):
File "/usr/lib64/python3.11/asyncio/events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib64/python3.11/asyncio/selector_events.py", line 165, in _accept_connection
conn, addr = sock.accept()
^^^^^^^^^^^^^
File "/var/mnt/data/jacob/git/farm-animal-detection/.env/lib64/python3.11/site-packages/openziti/zitisock.py", line 119, in accept
fd, peer = zitilib.accept(self.fileno())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/mnt/data/jacob/git/farm-animal-detection/.env/lib64/python3.11/site-packages/openziti/zitilib.py", line 276, in accept
check_error(clt)
File "/var/mnt/data/jacob/git/farm-animal-detection/.env/lib64/python3.11/site-packages/openziti/zitilib.py", line 219, in check_error
raise Exception(err, msg)
Exception: (11, 'unexpected error')
INFO: - "GET / HTTP/1.1" 200 OK
INFO: - "GET /static/css/custom.css HTTP/1.1" 200 OK
INFO: - "GET /static/js/main.js HTTP/1.1" 200 OK
INFO: - "GET /static/img/favicon-32x32.png HTTP/1.1" 200 OK
This is the journal of ziti-edge-tunnel with INFO-level. Contrary to demo ziti services which have port-ranges
and protocols
defined, the intercept for predalert service only has port
defined.
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] INFO ziti-sdk:utils.c:199 ziti_log_set_level() set log level: root=3/INFO
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] INFO tunnel-sdk:ziti_tunnel.c:60 create_tunneler_ctx() Ziti Tunneler SDK (v0.22.26-local)
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] INFO tunnel-cbs:ziti_dns.c:164 seed_dns() DNS configured with range 100.96.0.0 - 100.127.255.255 (2097150 ips)
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1716 run_tunneler_loop() Loading identity files from /etc/openziti/identities
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1120 load_identities() loading identity file: laptopClient1.json
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] WARN ziti-edge-tunnel:instance.c:40 find_tunnel_identity() Identity ztx[/etc/openziti/identities/laptopClient1.json] is not loaded yet or already removed.
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1120 load_identities() loading identity file: laptop_client.json
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] WARN ziti-edge-tunnel:instance.c:40 find_tunnel_identity() Identity ztx[/etc/openziti/identities/laptop_client.json] is not loaded yet or already removed.
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1120 load_identities() loading identity file: laptop_client1.json
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] WARN ziti-edge-tunnel:instance.c:40 find_tunnel_identity() Identity ztx[/etc/openziti/identities/laptop_client1.json] is not loaded yet or already removed.
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1642 make_socket_path() effective group set to 'ziti' (gid=965)
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO ziti-edge-tunnel:resolvers.c:68 init_libsystemd() Initializing libsystemd
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO tunnel-cbs:ziti_tunnel_ctrl.c:907 load_ziti_async() attempting to load ziti instance[/etc/openziti/identities/laptop_client1.json]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO tunnel-cbs:ziti_tunnel_ctrl.c:914 load_ziti_async() loading ziti instance[/etc/openziti/identities/laptop_client1.json]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO ziti-edge-tunnel:resolvers.c:356 try_libsystemd_resolver() systemd-resolved selected as DNS resolver manager
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1135 load_id_cb() identity[/etc/openziti/identities/laptop_client1.json] loaded
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO tunnel-cbs:ziti_tunnel_ctrl.c:907 load_ziti_async() attempting to load ziti instance[/etc/openziti/identities/laptop_client.json]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO tunnel-cbs:ziti_tunnel_ctrl.c:914 load_ziti_async() loading ziti instance[/etc/openziti/identities/laptop_client.json]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1135 load_id_cb() identity[/etc/openziti/identities/laptop_client.json] loaded
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO tunnel-cbs:ziti_tunnel_ctrl.c:907 load_ziti_async() attempting to load ziti instance[/etc/openziti/identities/laptopClient1.json]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO tunnel-cbs:ziti_tunnel_ctrl.c:914 load_ziti_async() loading ziti instance[/etc/openziti/identities/laptopClient1.json]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1135 load_id_cb() identity[/etc/openziti/identities/laptopClient1.json] loaded
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] ERROR ziti-edge-tunnel:instance-config.c:136 save_tunnel_status_to_file() Could not copy config file [/var/lib/ziti/config.json] to backup config file, the config might not exists at the moment
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.057] ERROR ziti-edge-tunnel:instance-config.c:142 save_tunnel_status_to_file() Could not open config file /var/lib/ziti/config.json to store the tunnel status data
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:454 ziti_init_async() ztx[0] using tlsuv[v0.28.4], tls[Mbed TLS 2.28.5]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:456 ziti_init_async() ztx[0] Loading ziti context with controller[https://96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io:443]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:933 ziti_re_auth_with_cb() ztx[0] starting to re-auth with ctrl[https://96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io:443] api_session_status[0] api_session_expired[TRUE]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:454 ziti_init_async() ztx[1] using tlsuv[v0.28.4], tls[Mbed TLS 2.28.5]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:456 ziti_init_async() ztx[1] Loading ziti context with controller[https://96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io:443]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:933 ziti_re_auth_with_cb() ztx[1] starting to re-auth with ctrl[https://96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io:443] api_session_status[0] api_session_expired[TRUE]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:454 ziti_init_async() ztx[2] using tlsuv[v0.28.4], tls[Mbed TLS 2.28.5]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:456 ziti_init_async() ztx[2] Loading ziti context with controller[https://7ce7e424-6a92-4ff2-9459-ebbba32346fa.production.netfoundry.io:443]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.086] INFO ziti-sdk:ziti.c:933 ziti_re_auth_with_cb() ztx[2] starting to re-auth with ctrl[https://7ce7e424-6a92-4ff2-9459-ebbba32346fa.production.netfoundry.io:443] api_session_status[0] api_session_expired[TRUE]
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.739] INFO ziti-sdk:ziti.c:1698 version_cb() ztx[0] connected to controller https://96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io:443 version v0.32.2(7c53aa006529 2024-02-10T05:53:17Z)
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.773] INFO ziti-sdk:ziti.c:1698 version_cb() ztx[1] connected to controller https://96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io:443 version v0.32.2(7c53aa006529 2024-02-10T05:53:17Z)
Apr 03 19:51:21 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.826] INFO ziti-sdk:ziti.c:1698 version_cb() ztx[2] connected to controller https://7ce7e424-6a92-4ff2-9459-ebbba32346fa.production.netfoundry.io:443 version v0.28.1(f9a62c0baf1c 2023-06-09T20:07:49Z)
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.880] INFO ziti-sdk:ziti.c:1589 ziti_set_api_session() ztx[0] api session set, setting api_session_timer to 1740s
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.880] INFO tunnel-cbs:ziti_tunnel_ctrl.c:767 on_ziti_event() ziti_ctx[laptop_client1] connected to controller
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.880] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1165 on_event() ztx[/etc/openziti/identities/laptop_client1.json] context event : status is OK
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.952] ERROR ziti-sdk:ziti_ctrl.c:262 ctrl_login_cb() ctrl[96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io] INVALID_AUTH(The authentication request failed)
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.952] WARN ziti-sdk:ziti.c:1624 api_session_cb() ztx[1] failed to get api session from ctrl[https://96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io:443] api_session_state[1] INVALID_AUTH[-14] The authentication request failed
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.952] ERROR ziti-sdk:ziti.c:1638 api_session_cb() ztx[1] identity[/etc/openziti/identities/laptop_client.json] cannot authenticate with ctrl[https://96df698b-b55b-4064-a79b-108624c35043.production.netfoundry.io:443]
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.952] INFO ziti-edge-tunnel:tun.c:196 tun_commit_routes() starting 1 route updates
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.952] WARN tunnel-cbs:ziti_tunnel_ctrl.c:781 on_ziti_event() ziti_ctx controller connections failed: failed to authenticate
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.952] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1165 on_event() ztx[/etc/openziti/identities/laptop_client.json] context event : status is failed to authenticate
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.952] ERROR ziti-edge-tunnel:ziti-edge-tunnel.c:1220 on_event() ztx[/etc/openziti/identities/laptop_client.json] failed to connect to controller due to failed to authenticate
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.963] INFO ziti-edge-tunnel:tun.c:118 route_updates_done() route updates[1]: 0/OK
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.985] INFO ziti-sdk:ziti.c:1589 ziti_set_api_session() ztx[2] api session set, setting api_session_timer to 1740s
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.985] INFO tunnel-cbs:ziti_tunnel_ctrl.c:767 on_ziti_event() ziti_ctx[laptopClient1 Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx] connected to controller
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 0.985] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1165 on_event() ztx[/etc/openziti/identities/laptopClient1.json] context event : status is OK
^[[BApr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.570] INFO ziti-sdk:channel.c:271 new_ziti_channel() ch[0] (AWS us-east-1 Edge Router 1) new channel for ztx[0] identity[laptop_client1]
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.570] INFO tunnel-cbs:ziti_tunnel_ctrl.c:839 on_ziti_event() ztx[laptop_client1] added edge router AWS us-east-1 Edge Router 1@389c3da8-4278-44d1-905c-b342c1fd8c84.production.netfoundry.io
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.570] INFO ziti-sdk:channel.c:777 reconnect_channel() ch[0] reconnecting NOW
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.783] INFO ziti-sdk:channel.c:271 new_ziti_channel() ch[1] (Zeds Fabric Router Azure) new channel for ztx[2] identity[laptopClient1 Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx]
Apr 03 19:51:22 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.783] INFO tunnel-cbs:ziti_tunnel_ctrl.c:839 on_ziti_event() ztx[laptopClient1 Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx] added edge router Zeds Fabric Router Azure@dd9dc8aa-b8c6-4423-b4d2-3d80b15f5f49.production.netfoundry.io
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.783] INFO ziti-sdk:channel.c:777 reconnect_channel() ch[1] reconnecting NOW
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.783] INFO ziti-sdk:channel.c:271 new_ziti_channel() ch[2] (Zeds Fabric Router) new channel for ztx[2] identity[laptopClient1 Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.783] INFO tunnel-cbs:ziti_tunnel_ctrl.c:839 on_ziti_event() ztx[laptopClient1 Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx] added edge router Zeds Fabric Router@193.122.155.132
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.783] INFO ziti-sdk:channel.c:777 reconnect_channel() ch[2] reconnecting NOW
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.935] INFO ziti-sdk:posture.c:206 ziti_send_posture_data() ztx[0] first run or potential controller restart detected
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.938] INFO tunnel-cbs:ziti_tunnel_cbs.c:409 new_ziti_intercept() creating intercept for service[predalert_ui] with ziti-tunneler-client.v1 = {"hostname":"predalert.ziti","port":80}
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.938] INFO tunnel-cbs:ziti_dns.c:292 new_ipv4_entry() registered DNS entry predalert.ziti -> 100.96.0.3
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.938] INFO tunnel-cbs:ziti_tunnel_ctrl.c:727 on_service() starting intercepting for service[predalert_ui]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.938] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1290 on_event() =============== service event (added) - predalert_ui:7RCDLQwl6oe2rqTR8mi4Ty ===============
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.938] INFO ziti-edge-tunnel:tun.c:196 tun_commit_routes() starting 1 route updates
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.969] INFO ziti-edge-tunnel:tun.c:118 route_updates_done() route updates[1]: 0/OK
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 1.985] INFO ziti-sdk:posture.c:206 ziti_send_posture_data() ztx[2] first run or potential controller restart detected
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_cbs.c:409 new_ziti_intercept() creating intercept for service[https-whatismyip] with intercept.v1 = {"addresses":["https-whatismyip.ziti"],"portRanges":[{"high":443,"low":443}],"protocols":["tcp"]}
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_dns.c:292 new_ipv4_entry() registered DNS entry https-whatismyip.ziti -> 100.96.0.4
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_ctrl.c:727 on_service() starting intercepting for service[https-whatismyip]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_cbs.c:409 new_ziti_intercept() creating intercept for service[zedsDemoHttpWhatIsMyIp] with intercept.v1 = {"addresses":["whatismyip.ziti"],"portRanges":[{"high":80,"low":80}],"protocols":["tcp"]}
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_dns.c:292 new_ipv4_entry() registered DNS entry whatismyip.ziti -> 100.96.0.5
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_ctrl.c:727 on_service() starting intercepting for service[zedsDemoHttpWhatIsMyIp]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_cbs.c:409 new_ziti_intercept() creating intercept for service[zedsDemoHttpsHttpbin] with intercept.v1 = {"addresses":["httpbin.ziti"],"portRanges":[{"high":443,"low":443}],"protocols":["tcp"]}
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_dns.c:292 new_ipv4_entry() registered DNS entry httpbin.ziti -> 100.96.0.6
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_ctrl.c:727 on_service() starting intercepting for service[zedsDemoHttpsHttpbin]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_cbs.c:409 new_ziti_intercept() creating intercept for service[zedsDemoHttpFireworks] with intercept.v1 = {"addresses":["fireworks.ziti"],"portRanges":[{"high":80,"low":80}],"protocols":["tcp"]}
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_dns.c:292 new_ipv4_entry() registered DNS entry fireworks.ziti -> 100.96.0.7
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_ctrl.c:727 on_service() starting intercepting for service[zedsDemoHttpFireworks]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_cbs.c:409 new_ziti_intercept() creating intercept for service[zedsDemoHttpHttpbin] with intercept.v1 = {"addresses":["httpbin.ziti"],"portRanges":[{"high":80,"low":80}],"protocols":["tcp"]}
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_ctrl.c:727 on_service() starting intercepting for service[zedsDemoHttpHttpbin]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_cbs.c:409 new_ziti_intercept() creating intercept for service[zedsDemoHttpHelloWorld] with intercept.v1 = {"addresses":["hello.ziti"],"portRanges":[{"high":80,"low":80}],"protocols":["tcp"]}
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_dns.c:292 new_ipv4_entry() registered DNS entry hello.ziti -> 100.96.0.8
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_ctrl.c:727 on_service() starting intercepting for service[zedsDemoHttpHelloWorld]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO tunnel-cbs:ziti_tunnel_ctrl.c:742 on_service() hosting server_address[?:hello.ziggy:?] service[predalertUI Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx]
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1290 on_event() =============== service event (added) - https-whatismyip:r9lqikJfX ===============
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1290 on_event() =============== service event (added) - zedsDemoHttpWhatIsMyIp:owB2Rn.fXR ===============
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1290 on_event() =============== service event (added) - zedsDemoHttpsHttpbin:jwMlPbkqXR ===============
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1290 on_event() =============== service event (added) - zedsDemoHttpFireworks:RkxoZ-VfX ===============
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1290 on_event() =============== service event (added) - zedsDemoHttpHttpbin:PvrVQBJfX ===============
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1290 on_event() =============== service event (added) - zedsDemoHttpHelloWorld:B.v.O7JfXR ===============
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1290 on_event() =============== service event (added) - predalertUI Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx:2xas4BHaoFTDHMp9ixibYa ===============
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.246] INFO ziti-edge-tunnel:tun.c:196 tun_commit_routes() starting 5 route updates
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.258] INFO ziti-edge-tunnel:tun.c:118 route_updates_done() route updates[5]: 0/OK
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.325] INFO ziti-sdk:channel.c:669 hello_reply_cb() ch[0] connected. EdgeRouter version: v0.32.2|7c53aa006529|2024-02-10T05:53:17Z|linux|amd64
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.325] INFO tunnel-cbs:ziti_tunnel_ctrl.c:843 on_ziti_event() ztx[laptop_client1] router AWS us-east-1 Edge Router 1 connected
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.629] INFO ziti-sdk:channel.c:669 hello_reply_cb() ch[2] connected. EdgeRouter version: v0.28.1|f9a62c0baf1c|2023-06-09T20:07:49Z|linux|amd64
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.629] INFO tunnel-cbs:ziti_tunnel_ctrl.c:843 on_ziti_event() ztx[laptopClient1 Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx] router Zeds Fabric Router connected
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.699] INFO ziti-sdk:channel.c:669 hello_reply_cb() ch[1] connected. EdgeRouter version: v0.28.1|f9a62c0baf1c|2023-06-09T20:07:49Z|linux|amd64
Apr 03 19:51:23 fedora ziti-edge-tunnel[1935247]: (1935247)[ 2.699] INFO tunnel-cbs:ziti_tunnel_ctrl.c:843 on_ziti_event() ztx[laptopClient1 Predalert YXV0aDB8NjYwN2UyNzUwYTAzMjE0MGI0NGZlNGEx] router Zeds Fabric Router Azure connected
Edit Managed to export the identities and service configs by clicking the "meatball" . . . menu at the top of the relevant tables in NFconsole:
cat v7-services.yml
---
- id: "xxxxxxxxxxxxxxxxxxxxxx"
networkId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
zitiId: "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
name: "predalert_ui"
encryptionRequired: true
attributes:
- "#admin"
- "#ui"
- "#strandmoa"
modelType: "TunnelerToSdk"
ownerIdentityId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
createdBy: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
createdAt: "2024-04-01T16:10:47.569897Z"
updatedAt: "2024-04-01T16:10:47.730143Z"
deletedBy: null
deletedAt: null
configIdByConfigTypeId:
xxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxx
model:
clientIngress:
host: "predalert.ziti"
port: 80
bindEndpointAttributes:
- "@predalert_server1"
edgeRouterAttributes: []
cat endpoints.yml
---
- id: "xxxxxxxxxxxxx"
ownerIdentityId: "xxxxxxxxxxxxx"
createdBy: "xxxxxxxxxxxxx"
createdAt: "2024-04-01T16:25:46.691512Z"
updatedAt: "2024-04-03T17:52:18.016486Z"
deletedBy: null
deletedAt: null
networkId: "xxxxxxxxxxxxx"
zitiId: "tHsg.yb4Ra"
name: "laptop_client1"
typeId: "Default"
appId: "ziti-edge-tunnel"
appVersion: "v0.22.26-local"
branch: "HEAD"
revision: "d336721"
type: "ziti-sdk-c"
version: "0.36.9"
arch: "x86_64"
os: "Linux"
osRelease: "6.8.1-300.fc40.x86_64"
osVersion: "#1 SMP PREEMPT_DYNAMIC Wed Mar 20 04:39:30 UTC 2024"
externalId: null
authPolicyId: "xxxxxxxxxxxxx"
disabled: false
disabledAt: null
disabledUntil: null
hasApiSession: true
hasEdgeRouterConnection: true
lastOnlineAt: "2024-04-03T17:52:18Z"
syncId: null
syncResourceId: null
attributes:
- "#show_ui"
- "#admin"
- "#strandmoa"
interceptConflicts: []
loopbackConflicts: []
jwtExpiresAt: null
online: true
managedBy: "Unmanaged"
jwt: null
mfaEnabled: false
- id: "xxxxxxxxxxxxx"
ownerIdentityId: "xxxxxxxxxxxxx"
createdBy: "xxxxxxxxxxx"
createdAt: "2024-04-01T16:11:33.367875Z"
updatedAt: "2024-04-03T17:44:38.540645Z"
deletedBy: null
deletedAt: null
networkId: "xxxxxxxxxxx"
zitiId: "lsx2.yc4R"
name: "predalert_server1"
typeId: "Default"
appId: null
appVersion: null
branch: "HEAD"
revision: "a4fcab2"
type: "ziti-sdk-c"
version: "0.35.1"
arch: "x86_64"
os: "Linux"
osRelease: "6.8.1-300.fc40.x86_64"
osVersion: "#1 SMP PREEMPT_DYNAMIC Wed Mar 20 04:39:30 UTC 2024"
externalId: null
authPolicyId: "xxxxxxxxxxx"
disabled: false
disabledAt: null
disabledUntil: null
hasApiSession: true
hasEdgeRouterConnection: true
lastOnlineAt: "2024-04-03T17:44:39Z"
syncId: null
syncResourceId: null
attributes:
- "#admin"
- "#server"
- "#strandmoa"
interceptConflicts: []
loopbackConflicts: []
jwtExpiresAt: null
online: true
managedBy: "Unmanaged"
jwt: null
mfaEnabled: false
- id: "xxxxxxxx"
ownerIdentityId: "xxxxxxx"
createdBy: "xxxxxxx"
createdAt: "2024-03-11T16:24:07.170520Z"
updatedAt: "2024-03-11T16:24:07.385978Z"
deletedBy: null
deletedAt: null
networkId: "xxxxxxx"
zitiId: "XgmlP.lnd"
name: "testCZ_1"
typeId: "Default"
appId: null
appVersion: null
branch: null
revision: null
type: null
version: null
arch: null
os: null
osRelease: null
osVersion: null
externalId: null
authPolicyId: "xxxxxxx"
disabled: false
disabledAt: null
disabledUntil: null
hasApiSession: false
hasEdgeRouterConnection: false
lastOnlineAt: null
syncId: null
syncResourceId: null
attributes:
- "#show_ui"
- "#notifications"
interceptConflicts: []
loopbackConflicts: []
jwtExpiresAt: "2024-03-13T16:24:07.287Z"
online: false
managedBy: "Unmanaged"
jwt: "xxxxx"
mfaEnabled: false