I was trying to set up a demo using multiple VirtualBox VMs and my Windows Host system, but couldn’t get the overlay to work. On the Windows side, as it’s my corporate PC, I guess it could be an antivirus.
On all Linux and windows machines where the tunnelers are installed, the name webserver.ziti and datenbank.ziti can’t be resolved.
On the Debian machines it isn’t available in /etc/resolv.conf. Is there anything that needs to be done to allow the Tunneler to modify the resolv.conf file?
Thanks!
Windows:
> nslookup webserver.ziti 100.64.0.2
Server: UnKnown
Address: 100.64.0.2
*** webserver.ziti wurde von UnKnown nicht gefunden: Non-existent domain.
> Get-DnsClientNrptRule
Name : {A925910B-9A0D-41A9-8D86-D5672548640D}
Version : 2
Namespace : {webserver.ziti}
IPsecCARestriction :
DirectAccessDnsServers :
DirectAccessEnabled : False
DirectAccessProxyType :
DirectAccessProxyName :
DirectAccessQueryIPsecEncryption :
DirectAccessQueryIPsecRequired :
NameServers : 100.64.0.2
DnsSecEnabled : False
DnsSecQueryIPsecEncryption :
DnsSecQueryIPsecRequired :
DnsSecValidationRequired :
NameEncoding : Disable
DisplayName : ziti-edge-tunnel:webserver.ziti
Comment : Added by ziti-edge-tunnel
/etc/resolv.conf
# Generated by NetworkManager
search fritz.box
nameserver 172.31.134.110
nameserver 10.15.60.6
nameserver 192.168.178.1
Debian Logs:
Nov 25 10:16:58 webserver systemd[1]: Starting Ziti Edge Tunnel...
Nov 25 10:16:58 webserver ziti-edge-tunnel.sh[973]: NOTICE: no new JWT files in /opt/openziti/etc/identities/*.jwt
Nov 25 10:16:58 webserver systemd[1]: Started Ziti Edge Tunnel.
Nov 25 10:16:58 webserver ziti-edge-tunnel[976]: (976)[ 0.000] INFO ziti_log_set_level set log level: root=2
Nov 25 10:16:58 webserver ziti-edge-tunnel[976]: (976)[ 0.090] INFO ziti_log_set_level set log level: root=2
Windows Logs:
[2022-11-25T09:08:24.932Z] INFO ziti-edge-tunnel:instance-config.c:86 load_tunnel_status_from_file() Loading config file from C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/config.json
[2022-11-25T09:08:24.933Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1879 run() ============================ service begins ================================
[2022-11-25T09:08:24.933Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1880 run() Logger initialization
[2022-11-25T09:08:24.933Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1881 run() - initialized at : Fri Nov 25 2022, 10:08:24 AM (local time), 2022-11-25T09:08:24 (UTC)
[2022-11-25T09:08:24.933Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1882 run() - log file location: C:\Program Files (x86)\NetFoundry, Inc\Ziti Desktop Edge\/logs/service/ziti-tunneler.log.202211250000.log
[2022-11-25T09:08:24.933Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1883 run() ============================================================================
[2022-11-25T09:08:24.934Z] INFO ziti_log_set_level set log level: root=4
[2022-11-25T09:08:24.936Z] INFO ziti-edge-tunnel:tun.c:147 tun_open() Wintun v0.0 loaded
[2022-11-25T09:08:24.936Z] INFO ziti-edge-tunnel:tun.c:496 cleanup_adapters() Cleaning up orphan wintun adapters
[2022-11-25T09:08:25.221Z] DEBUG ziti-edge-tunnel:tun.c:375 if_change_cb() interface change: if_idx = 0, change = 3
[2022-11-25T09:08:25.221Z] INFO ziti-edge-tunnel:tun.c:379 if_change_cb() default route is now via if_idx[10]
[2022-11-25T09:08:25.221Z] INFO ziti-edge-tunnel:tun.c:385 if_change_cb() updating excluded routes
[2022-11-25T09:08:25.262Z] DEBUG ziti-edge-tunnel:tun.c:351 tun_add_route() adding route: 100.64.0.0/10
[2022-11-25T09:08:25.262Z] DEBUG ziti-edge-tunnel:windows-scripts.c:444 is_nrpt_policies_effective() Executing add test nrpt rule. powershell -Command "Add-DnsClientNrptRule -Namespace '.ziti.test' -NameServers '100.64.0.2' -Comment 'Added by ziti-edge-tunnel' -DisplayName 'ziti-edge-tunnel:.ziti.test'"
[2022-11-25T09:08:25.264Z] DEBUG ziti-edge-tunnel:tun.c:375 if_change_cb() interface change: if_idx = 15, change = 0
[2022-11-25T09:08:25.401Z] DEBUG ziti-edge-tunnel:tun.c:375 if_change_cb() interface change: if_idx = 15, change = 0
[2022-11-25T09:08:25.404Z] DEBUG ziti-edge-tunnel:tun.c:375 if_change_cb() interface change: if_idx = 15, change = 0
[2022-11-25T09:08:31.587Z] DEBUG ziti-edge-tunnel:windows-scripts.c:461 is_nrpt_policies_effective() test nrpt rule query returned 1 items
[2022-11-25T09:08:31.587Z] INFO ziti-edge-tunnel:windows-scripts.c:469 is_nrpt_policies_effective() NRPT policies are effective in this system
[2022-11-25T09:08:31.587Z] DEBUG ziti-edge-tunnel:windows-scripts.c:430 remove_single_nrpt_rule() Executing Remove nrpt rule: powershell -Command "Get-DnsClientNrptRule | where Namespace -eq '.ziti.test' | Remove-DnsClientNrptRule -Force -ErrorAction SilentlyContinue"
[2022-11-25T09:08:34.760Z] DEBUG ziti-edge-tunnel:windows-scripts.c:435 remove_single_nrpt_rule() Removed nrpt rules
[2022-11-25T09:08:34.760Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1552 run_tunnel() Setting interface metric to 255
[2022-11-25T09:08:34.760Z] DEBUG ziti-edge-tunnel:windows-scripts.c:492 update_interface_metric() Executing Update Interface metric script :
[2022-11-25T09:08:34.760Z] DEBUG ziti-edge-tunnel:windows-scripts.c:493 update_interface_metric() powershell -Command "$i=Get-NetIPInterface | Where -FilterScript {$_.InterfaceAlias -Eq "ziti-tun0"}
Set-NetIPInterface -InterfaceIndex $i.ifIndex -InterfaceMetric 255"
[2022-11-25T09:08:34.763Z] DEBUG ziti-edge-tunnel:windows-scripts.c:499 update_interface_metric() Updated Interface metric
[2022-11-25T09:08:34.763Z] INFO tunnel-sdk:ziti_tunnel.c:60 create_tunneler_ctx() Ziti Tunneler SDK (2.1.9)
[2022-11-25T09:08:34.769Z] DEBUG ziti-edge-tunnel:tun.c:301 tun_setup_read() tun=0000025e71e68950, adapter=0000025e723e0860, session=0000025e723e0cc0
[2022-11-25T09:08:34.769Z] INFO tunnel-cbs:ziti_dns.c:168 seed_dns() DNS configured with range 100.64.0.0 - 100.127.255.255 (4194302 ips)
[2022-11-25T09:08:34.770Z] DEBUG tunnel-sdk:ziti_tunnel.c:320 ziti_tunneler_intercept() intercepting address[udp:100.64.0.2/32:53] service[ziti:dns-resolver]
[2022-11-25T09:08:34.770Z] DEBUG ziti-edge-tunnel:tun.c:351 tun_add_route() adding route: 100.64.0.2/32
[2022-11-25T09:08:34.770Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1595 run_tunneler_loop() Loading identity files from C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry
[2022-11-25T09:08:34.770Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:1077 load_identities() skipping the configuration file: config.json
[2022-11-25T09:08:34.770Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:1080 load_identities() skipping the backup configuration file: config.json.backup
[2022-11-25T09:08:34.770Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1092 load_identities() loading identity file: dominik.json
[2022-11-25T09:08:34.770Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:1072 load_identities() skipping file in config dir as it's not the proper type. type: 2. file: ZitiUpdateService
[2022-11-25T09:08:34.772Z] DEBUG ziti-edge-tunnel:windows-scripts.c:515 update_symlink() Executing update symlink script :
[2022-11-25T09:08:34.772Z] DEBUG ziti-edge-tunnel:windows-scripts.c:516 update_symlink() powershell -Command "Get-Item -Path "C:\Program Files (x86)\NetFoundry, Inc\Ziti Desktop Edge\/logs/service/ziti-tunneler.log" | Remove-Item
New-Item -Itemtype SymbolicLink -Path "C:\Program Files (x86)\NetFoundry, Inc\Ziti Desktop Edge\/logs/service/ziti-tunneler.log" -Target "C:\Program Files (x86)\NetFoundry, Inc\Ziti Desktop Edge\/logs/service/ziti-tunneler.log.202211250000.log""
[2022-11-25T09:08:34.774Z] DEBUG ziti-edge-tunnel:windows-scripts.c:522 update_symlink() Updated symlink script
[2022-11-25T09:08:34.774Z] INFO tunnel-cbs:ziti_tunnel_ctrl.c:864 load_ziti_async() attempting to load ziti instance from file[C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/dominik.json]
[2022-11-25T09:08:34.774Z] INFO tunnel-cbs:ziti_tunnel_ctrl.c:871 load_ziti_async() loading ziti instance from C:\Windows\system32\config\systemprofile\AppData\Roaming\NetFoundry\dominik.json
[2022-11-25T09:08:34.775Z] INFO ziti_log_set_level set log level: root=4
[2022-11-25T09:08:34.776Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1107 load_id_cb() identity[C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/dominik.json] loaded
[2022-11-25T09:08:34.777Z] DEBUG ziti-edge-tunnel:instance-config.c:131 save_tunnel_status_to_file() Deleted backup config file C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/config.json.backup
[2022-11-25T09:08:34.777Z] DEBUG ziti-edge-tunnel:instance-config.c:134 save_tunnel_status_to_file() Copied config file to backup config file C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/config.json.backup
[2022-11-25T09:08:34.778Z] DEBUG ziti-edge-tunnel:instance-config.c:156 save_tunnel_status_to_file() Saved current tunnel status into Config file C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/config.json
[2022-11-25T09:08:34.778Z] INFO ziti-sdk:ziti.c:426 ziti_init_async() ztx[0] Ziti C SDK version 0.30.8 @ecfee7b(HEAD) starting at (2022-11-25T09:08:34.778)
[2022-11-25T09:08:34.778Z] INFO ziti-sdk:ziti.c:429 ziti_init_async() ztx[0] using uv_mbed[v0.14.11], tls[mbed TLS 3.2.1]
[2022-11-25T09:08:34.778Z] INFO ziti-sdk:ziti.c:430 ziti_init_async() ztx[0] Loading from config[C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/dominik.json] controller[https://zt-controller:1280]
[2022-11-25T09:08:34.778Z] INFO ziti-sdk:ziti_ctrl.c:407 ziti_ctrl_init() ctrl[zt-controller] ziti controller client initialized
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti.c:452 ziti_init_async() ztx[0] using metrics interval: 0
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti.c:259 ziti_set_unauthenticated() ztx[0] setting api_session_state[0] to 0
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti_ctrl.c:244 ziti_ctrl_clear_api_session() ctrl[zt-controller] clearing api session token for ziti_controller
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti.c:919 ziti_re_auth() ztx[0] re-auth executing, transitioning to unauthenticated
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti.c:259 ziti_set_unauthenticated() ztx[0] setting api_session_state[0] to 0
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti_ctrl.c:244 ziti_ctrl_clear_api_session() ctrl[zt-controller] clearing api session token for ziti_controller
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti.c:290 is_api_session_expired() ztx[0] is_api_session_expired[TRUE] - api_session is null
[2022-11-25T09:08:34.778Z] INFO ziti-sdk:ziti.c:866 ziti_re_auth_with_cb() ztx[0] starting to re-auth with ctlr[https://zt-controller:1280] api_session_status[0] api_session_expired[TRUE]
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti.c:252 ziti_set_auth_started() ztx[0] setting api_session_state[0] to 1
[2022-11-25T09:08:34.778Z] DEBUG ziti-sdk:ziti.c:324 ziti_stop_api_session_refresh() ztx[0] ziti_stop_api_session_refresh: stopping api session refresh
[2022-11-25T09:08:34.812Z] DEBUG ziti-sdk:ziti_ctrl.c:324 ctrl_body_cb() ctrl[zt-controller] completed GET[/version] in 0.034 s
[2022-11-25T09:08:34.812Z] INFO ziti-sdk:ziti.c:1532 version_cb() ztx[0] connected to controller https://zt-controller:1280 version v0.26.11(807dd591b1f5 2022-11-10T14:53:29Z)
[2022-11-25T09:08:34.813Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:708 on_events_client() Received events client connection request, count: 1
[2022-11-25T09:08:34.813Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:757 send_events_message() Events Message => {"Op":"status","Status":{"Active":true,"Duration":9881,"StartTime":"2022-11-25T09:08:24.932521Z","Identities":[{"Name":"dominik","Identifier":"C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming/NetFoundry/dominik.json","FingerPrint":"dominik","Active":true,"Loaded":true,"Config":{"ztAPI":"https://zt-controller:1280"},"ControllerVersion":"v0.26.11","IdFileStatus":true,"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":"debug","ServiceVersion":{"Version":"2.1.9","BuildDate":"Thu-11/10/2022-20:02:42-+00"},"TunIpv4":"100.64.0.1","TunIpv4Mask":10,"AddDns":false,"ApiPageSize":25}}
[2022-11-25T09:08:34.813Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:664 on_cmd_client() Received IPC client connection request, count: 1
[2022-11-25T09:08:34.838Z] DEBUG ziti-sdk:ziti_ctrl.c:324 ctrl_body_cb() ctrl[zt-controller] completed POST[/authenticate?method=cert] in 0.059 s
[2022-11-25T09:08:34.838Z] DEBUG ziti-sdk:ziti_ctrl.c:257 ctrl_login_cb() ctrl[zt-controller] authenticated successfully session[clawa73wu02r7cq3k8qu0ed5q]
[2022-11-25T09:08:34.838Z] DEBUG ziti-sdk:ziti.c:1449 api_session_cb() ztx[0] logged in successfully => api_session[clawa73wu02r7cq3k8qu0ed5q]
[2022-11-25T09:08:34.838Z] DEBUG ziti-sdk:ziti.c:1399 ziti_set_api_session() ztx[0] ziti api session expires in 1800 seconds
[2022-11-25T09:08:34.838Z] INFO ziti-sdk:ziti.c:1423 ziti_set_api_session() ztx[0] api session set, setting api_session_timer to 1740s
[2022-11-25T09:08:34.838Z] DEBUG ziti-sdk:ziti.c:329 ziti_schedule_api_session_refresh() ztx[0] ziti_schedule_api_session_refresh: scheduling api session refresh: 1740000ms
[2022-11-25T09:08:34.838Z] DEBUG ziti-sdk:ziti.c:284 ziti_set_fully_authenticated() ztx[0] setting api_session_state[1] to 3
[2022-11-25T09:08:34.838Z] DEBUG ziti-sdk:ziti.c:284 ziti_set_fully_authenticated() ztx[0] setting api_session_state[3] to 3
[2022-11-25T09:08:34.838Z] INFO tunnel-cbs:ziti_tunnel_ctrl.c:726 on_ziti_event() ziti_ctx[dominik] connected to controller
[2022-11-25T09:08:34.847Z] DEBUG tunnel-sdk:ziti_tunnel.c:127 ziti_tunneler_exclude_route() excluding zt-controller from tunneler intercept
[2022-11-25T09:08:34.847Z] DEBUG tunnel-sdk:ziti_tunnel.c:143 ziti_tunneler_exclude_route() 10.1.0.1 is a local address on VirtualBox Host-Only Network; not excluding route
[2022-11-25T09:08:34.847Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1137 on_event() ztx[C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/dominik.json] context event : status is OK
[2022-11-25T09:08:34.847Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:1189 on_event() ztx[C:\Windows\system32\config\systemprofile\AppData\Roaming/NetFoundry/dominik.json] controller connected
[2022-11-25T09:08:34.847Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:757 send_events_message() Events Message => {"Op":"identity","Action":"added","Fingerprint":"dominik","Id":{"Name":"dominik","Identifier":"C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming/NetFoundry/dominik.json","FingerPrint":"dominik","Active":true,"Loaded":true,"Config":{"ztAPI":"https://zt-controller:1280"},"ControllerVersion":"v0.26.11","IdFileStatus":true,"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}}
[2022-11-25T09:08:34.847Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:757 send_events_message() Events Message => {"Op":"controller","Action":"connected","Identifier":"C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming/NetFoundry/dominik.json","Fingerprint":"dominik"}
[2022-11-25T09:08:34.847Z] DEBUG ziti-sdk:ziti_ctrl.c:774 ctrl_paging_req() ctrl[zt-controller] starting paging request GET[/current-identity/edge-routers]
[2022-11-25T09:08:34.850Z] DEBUG ziti-sdk:ziti_ctrl.c:324 ctrl_body_cb() ctrl[zt-controller] completed GET[/current-identity] in 0.012 s
[2022-11-25T09:08:34.852Z] DEBUG ziti-sdk:ziti_ctrl.c:324 ctrl_body_cb() ctrl[zt-controller] completed GET[/current-identity] in 0.004 s
[2022-11-25T09:08:34.855Z] DEBUG ziti-sdk:ziti_ctrl.c:324 ctrl_body_cb() ctrl[zt-controller] completed GET[/current-identity/edge-routers?limit=25&offset=0] in 0.007 s
[2022-11-25T09:08:34.855Z] DEBUG ziti-sdk:ziti_ctrl.c:340 ctrl_body_cb() ctrl[zt-controller] received 1/1 for paging request GET[/current-identity/edge-routers]
[2022-11-25T09:08:34.855Z] DEBUG ziti-sdk:ziti_ctrl.c:352 ctrl_body_cb() ctrl[zt-controller] completed paging request GET[/current-identity/edge-routers] in 0.007 s
[2022-11-25T09:08:34.859Z] INFO ziti-sdk:channel.c:231 new_ziti_channel() ch[0] (zt-controller-edge-router@tls://zt-controller:8442) new channel for ztx[0] identity[dominik]
[2022-11-25T09:08:34.859Z] INFO tunnel-cbs:ziti_tunnel_ctrl.c:797 on_ziti_event() ztx[dominik] added edge router zt-controller-edge-router@tls://zt-controller:8442@zt-controller
[2022-11-25T09:08:34.867Z] DEBUG tunnel-sdk:ziti_tunnel.c:127 ziti_tunneler_exclude_route() excluding zt-controller from tunneler intercept
[2022-11-25T09:08:34.867Z] DEBUG tunnel-sdk:ziti_tunnel.c:143 ziti_tunneler_exclude_route() 10.1.0.1 is a local address on VirtualBox Host-Only Network; not excluding route
[2022-11-25T09:08:34.867Z] INFO ziti-sdk:channel.c:742 reconnect_channel() ch[0] reconnecting NOW
[2022-11-25T09:08:34.867Z] DEBUG ziti-sdk:channel.c:713 reconnect_cb() ch[0] connecting to zt-controller:8442
[2022-11-25T09:08:34.878Z] DEBUG ziti-sdk:ziti_ctrl.c:324 ctrl_body_cb() ctrl[zt-controller] completed GET[/current-api-session/service-updates] in 0.029 s
[2022-11-25T09:08:34.878Z] DEBUG ziti-sdk:ziti_ctrl.c:774 ctrl_paging_req() ctrl[zt-controller] starting paging request GET[/services]
[2022-11-25T09:08:34.881Z] DEBUG ziti-sdk:ziti_ctrl.c:324 ctrl_body_cb() ctrl[zt-controller] completed GET[/services?limit=25&offset=0] in 0.002 s
[2022-11-25T09:08:34.881Z] DEBUG ziti-sdk:ziti_ctrl.c:340 ctrl_body_cb() ctrl[zt-controller] received 1/1 for paging request GET[/services]
[2022-11-25T09:08:34.881Z] DEBUG ziti-sdk:ziti_ctrl.c:352 ctrl_body_cb() ctrl[zt-controller] completed paging request GET[/services] in 0.002 s
[2022-11-25T09:08:34.881Z] DEBUG ziti-sdk:ziti.c:1146 update_services() ztx[0] sending service event 1 added, 0 removed, 0 changed
[2022-11-25T09:08:34.881Z] DEBUG tunnel-cbs:ziti_tunnel_ctrl.c:683 on_service() service[client_to_webserver]
[2022-11-25T09:08:34.881Z] INFO tunnel-cbs:ziti_tunnel_cbs.c:403 new_ziti_intercept() creating intercept for service[client_to_webserver] with intercept.v1 = {"addresses":["webserver.ziti"],"dialOptions":{"connectTimeoutSeconds":5,"identity":""},"portRanges":[{"high":8080,"low":8080}],"protocols":["tcp"],"sourceIp":""}
[2022-11-25T09:08:34.881Z] INFO tunnel-cbs:ziti_dns.c:296 new_ipv4_entry() registered DNS entry webserver.ziti -> 100.64.0.3
[2022-11-25T09:08:34.881Z] DEBUG tunnel-sdk:ziti_tunnel.c:320 ziti_tunneler_intercept() intercepting address[tcp:100.64.0.3/32:8080] service[client_to_webserver]
[2022-11-25T09:08:34.881Z] DEBUG ziti-edge-tunnel:tun.c:351 tun_add_route() adding route: 100.64.0.3/32
[2022-11-25T09:08:34.881Z] INFO tunnel-cbs:ziti_tunnel_ctrl.c:686 on_service() starting intercepting for service[client_to_webserver]
[2022-11-25T09:08:34.881Z] DEBUG ziti-edge-tunnel:instance.c:258 setTunnelPostureDataTimeout() service[client_to_webserver] timeout=-1 timeoutRemaining=-1
[2022-11-25T09:08:34.881Z] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1262 on_event() =============== service event (added) - client_to_webserver:71lcuwaI1ukqLuUfCMcu03 ===============
[2022-11-25T09:08:34.881Z] DEBUG ziti-edge-tunnel:windows-scripts.c:171 chunked_add_nrpt_rules() Executing Add domains NRPT script :
[2022-11-25T09:08:34.881Z] DEBUG ziti-edge-tunnel:windows-scripts.c:172 chunked_add_nrpt_rules() powershell -Command "$Namespaces = @(
@{n='webserver.ziti';})
ForEach ($Namespace in $Namespaces) {
$ns=$Namespace['n']
$Rule = @{Namespace=${ns}; NameServers=@('100.64.0.2'); Comment='Added by ziti-edge-tunnel'; DisplayName='ziti-edge-tunnel:'+${ns}; }
Add-DnsClientNrptRule @Rule
}
"
[2022-11-25T09:08:34.884Z] DEBUG ziti-edge-tunnel:windows-scripts.c:178 chunked_add_nrpt_rules() Added domains using NRPT script
[2022-11-25T09:08:34.884Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:757 send_events_message() Events Message => {"Op":"bulkservice","Action":"updated","Identifier":"C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming/NetFoundry/dominik.json","Fingerprint":"dominik","AddedServices":[{"Id":"71lcuwaI1ukqLuUfCMcu03","Name":"client_to_webserver","Protocols":["tcp"],"Addresses":[{"IsHost":true,"HostName":"webserver.ziti","Prefix":0}],"Ports":[{"High":8080,"Low":8080}],"OwnsIntercept":true,"IsAccessible":true,"Timeout":-1,"TimeoutRemaining":-1}],"RemovedServices":[]}
[2022-11-25T09:08:34.884Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:757 send_events_message() Events Message => {"Op":"identity","Action":"updated","Fingerprint":"dominik","Id":{"Name":"dominik","Identifier":"C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming/NetFoundry/dominik.json","FingerPrint":"dominik","Active":true,"Loaded":true,"Config":{"ztAPI":"https://zt-controller:1280"},"ControllerVersion":"v0.26.11","IdFileStatus":true,"MfaEnabled":false,"MfaNeeded":false,"Services":[{"Id":"71lcuwaI1ukqLuUfCMcu03","Name":"client_to_webserver","Protocols":["tcp"],"Addresses":[{"IsHost":true,"HostName":"webserver.ziti","Prefix":0}],"Ports":[{"High":8080,"Low":8080}],"OwnsIntercept":true,"IsAccessible":true,"Timeout":-1,"TimeoutRemaining":-1}],"Metrics":{"Up":0,"Down":0},"MfaMinTimeout":-1,"MfaMaxTimeout":-1,"MfaMinTimeoutRem":-1,"MfaMaxTimeoutRem":-1,"MinTimeoutRemInSvcEvent":-1,"MaxTimeoutRemInSvcEvent":-1,"ServiceUpdatedTime":"2022-11-25T09:08:34.884913Z","Deleted":false,"Notified":false}}
[2022-11-25T09:08:34.903Z] DEBUG ziti-sdk:channel.c:861 on_channel_connect_internal() ch[0] connected
[2022-11-25T09:08:34.904Z] INFO ziti-sdk:channel.c:640 hello_reply_cb() ch[0] connected. EdgeRouter version: v0.26.11|807dd591b1f5|2022-11-10T14:53:29Z|linux|amd64
[2022-11-25T09:08:34.904Z] INFO tunnel-cbs:ziti_tunnel_ctrl.c:801 on_ziti_event() ztx[dominik] router zt-controller-edge-router@tls://zt-controller:8442 connected
[2022-11-25T09:08:34.922Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:708 on_events_client() Received events client connection request, count: 2
[2022-11-25T09:08:34.922Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:757 send_events_message() Events Message => {"Op":"status","Status":{"Active":true,"Duration":9990,"StartTime":"2022-11-25T09:08:24.932521Z","Identities":[{"Name":"dominik","Identifier":"C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming/NetFoundry/dominik.json","FingerPrint":"dominik","Active":true,"Loaded":true,"Config":{"ztAPI":"https://zt-controller:1280"},"ControllerVersion":"v0.26.11","IdFileStatus":true,"MfaEnabled":false,"MfaNeeded":false,"Services":[{"Id":"71lcuwaI1ukqLuUfCMcu03","Name":"client_to_webserver","Protocols":["tcp"],"Addresses":[{"IsHost":true,"HostName":"webserver.ziti","Prefix":0}],"Ports":[{"High":8080,"Low":8080}],"OwnsIntercept":true,"IsAccessible":true,"Timeout":-1,"TimeoutRemaining":-1}],"Metrics":{"Up":0,"Down":0},"MfaMinTimeout":-1,"MfaMaxTimeout":-1,"MfaMinTimeoutRem":-1,"MfaMaxTimeoutRem":-1,"MinTimeoutRemInSvcEvent":-1,"MaxTimeoutRemInSvcEvent":-1,"ServiceUpdatedTime":"2022-11-25T09:08:34.884913Z","Deleted":false,"Notified":false}],"IpInfo":{"Ip":"100.64.0.1","Subnet":"255.192.0.0","MTU":65535,"DNS":"100.64.0.2"},"LogLevel":"debug","ServiceVersion":{"Version":"2.1.9","BuildDate":"Thu-11/10/2022-20:02:42-+00"},"TunIpv4":"100.64.0.1","TunIpv4Mask":10,"AddDns":false,"ApiPageSize":25}}
[2022-11-25T09:08:34.922Z] DEBUG ziti-edge-tunnel:ziti-edge-tunnel.c:664 on_cmd_client() Received IPC client connection request, count: 2
[2022-11-25T09:08:35.839Z] INFO ziti-sdk:posture.c:204 ziti_send_posture_data() ztx[0] first run or potential controller restart detected
[2022-11-25T09:08:35.839Z] DEBUG ziti-sdk:posture.c:208 ziti_send_posture_data() ztx[0] posture checks must_send set to TRUE, new_session_id[TRUE], must_send_every_time[TRUE], new_controller_instance[TRUE]
[2022-11-25T09:08:40.007Z] DEBUG ziti-edge-tunnel:tun.c:375 if_change_cb() interface change: if_idx = 15, change = 0
[2022-11-25T09:08:44.885Z] DEBUG ziti-sdk:ziti_ctrl.c:324 ctrl_body_cb() ctrl[zt-controller] completed GET[/current-api-session/service-updates] in 0.003 s