View Source Grizzly.DevUtils (grizzly_dev_utils v0.1.0)

Experimental dev utils for Grizzly. Use at your own risk.

Link to this section Summary

Functions

Resets the S2 SPAN table in Z/IP Gateway's database. This is useful for decrypting traffic captured by Zniffer.exe as it will force all S2 nodes to do a nonce exchange the next time they communicate with the controller.

Link to this section Functions

Link to this function

reset_span_table(db_path, opts \\ [])

View Source
@spec reset_span_table(String.t(), [{:restart_zipgateway, boolean()}]) :: :ok

Resets the S2 SPAN table in Z/IP Gateway's database. This is useful for decrypting traffic captured by Zniffer.exe as it will force all S2 nodes to do a nonce exchange the next time they communicate with the controller.

If you are not using Grizzly to manage Z/IP Gateway, you will need to pass the option restart_zipgateway: false. In this case, the caller is responsible for ensuring Z/IP Gateway is not running prior to calling this function.

Be sure to have the network keys loaded into Zniffer.exe before running this. See Grizzly.zniffer_network_keys/0 for more information on how to do this.