Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event sock has only partial info with regard to bind services #640

Open
r-caamano opened this issue May 1, 2023 · 0 comments
Open

event sock has only partial info with regard to bind services #640

r-caamano opened this issue May 1, 2023 · 0 comments

Comments

@r-caamano
Copy link
Member

ziti-edge-tunnel-event.sock does not provide allowed source addresses, portRanges and protocols for hosted services. So it is currently required to scan the log file in order to get the allowedSourceAddresses for a bind service.

event sock:

{"Op":"bulkservice","Action":"updated","Identifier":"dctun01.json","Fingerprint":"dctun01","AddedServices":[{"Id":"w2uZG6tCQAmcmdz5MIBNv","Name":"dc-access","Protocols":["tcp"],"Addresses":[{"IsHost":false,"IP":"172.16.240.139","Prefix":32}],"Ports":[{"High":22,"Low":22}],"OwnsIntercept":true,"IsAccessible":false,"Timeout":-1,"TimeoutRemaining":-1,"Permissions":{"Bind":true,"Dial":false}}],"RemovedServices":[]}

log file:

config[host.v1]={"allowedAddresses":["172.16.240.139"],"allowedPortRanges":[{"high":22,"low":22}],"allowedProtocols":["tcp"],"allowedSourceAddresses":["192.168.1.0/24"],"forwardAddress":true,"forwardPort":true,"forwardProtocol":true}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant