Skip to content

v0.30.4

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Sep 19:18
· 848 commits to release-next since this release
v0.30.4
b9bf4d9

Release 0.30.4

What's New

  • ziti edge quickstart
  • Edge SDK terminator improvements
  • host.v1 and host.v2 connectTimeout/connectTimeoutSeconds
  • edge/fabric merge

ziti edge quickstart

  • ziti edge quickstart](#1298). You can now download
    the ziti CLI and have a functioning network with just one command. The network it creates is
    ephemeral and is intended to be torn down when the process exits. It is intended for quick
    evaluation and testing of an overlay network. It supports the following flags:

        --already-initialized     Specifies the PKI does not need to be created and the db does not need to be initialized. Recommended to be combined with --home. If --home is not specified the environment will be destroyed on shutdown! default: false
        --ctrl-address string     Sets the advertised address for the control plane and API
        --ctrl-port int16         Sets the port to use for the control plane and API
    -h, --help                    help for quickstart
        --home string             Sets the directory the environment should be installed into. Defaults to a temporary directory. If specified, the environment will not be removed on exit.
    -p, --password string         Password to use for authenticating to the Ziti Edge Controller. default: admin
        --router-address string   Sets the advertised address for the integrated router
        --router-port int16       Sets the port to use for the integrated router
    -u, --username string         Username to use when creating the Ziti Edge Controller. default: admin
    

    Example Usage:

    ziti edge quickstart \
      --ctrl-address potato \
      --ctrl-port 12345 \
      --router-address avacado \
      --router-port 23456 \
      --home $HOME/.ziti/pet-ziti \
      --already-initialized \
      --username someOtherUsername \
      --password someOtherPassword
    

Edge SDK Terminator Improvements

There was a race condition in edge sdk terminator handling, where if sdk noticed a broken connection
before the router did, it would reconnect and rebind while the router still though it had the old
connection and old binding. Because we were using the session token to key terminator state in the
router, the new terminator information would overwrite the old terminator information in the router.
However, in the controller, the information wouldn't get overridden, since we use a UUID to key
things in the controller. When the router noticed the old connection was gone it would try to clean
things up, but since the state had been overwritten, it couldn't and the controller would be left
with an orphaned terminator.

The router now uses a UUID as well so there shouldn't be any more orphaned terminators.

host.v1/host.v2 change

The host.v2 config type was mostly a collection of host.v1 instances. However, there was a one small
difference. The host.v1 type had connectTimeoutSeconds in listenOptions, where host.v2
had connectTimeout, defined as a duration.

To bring them into alignment, both attributes are now supported in both config types.
However, connectTimeout will take precedence if both are present. connectTimeout is not yet
supported by all tunnelers. The following still need to be updated:

  • ziti-edge-tunnel
  • Desktop Edge for Windows
  • Desktop Edge for Mac
  • Mobile Edge for Android
  • Mobile Edge for IOS

Once it is supported, we will deprecate connectTimeoutSeconds with a lengthy deprecation period.
At the end of the deprecation period we will migrate any remaining connectTimeoutSeconds values
to connectTimeout.

Edge and Fabric Merges

The code from the fabric and edge repositories has been merged into the ziti repository. Once issues have been migrated, those two projects will be archived.

Component Updates and Bug Fixes