Cookiecutter template for a Zeek package implementing a protocol analyzer written in BinPAC.
- GitHub repo: https://github.com/grigorescu/binpac_quickstart
- Free software: BSD license
- Script testing with
btest
- GitHub integration: Actions for testing and building documentation as GitHub Pages
- GitLab CI support
- Code coverage analysis
Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher):
pip install -U cookiecutter
Generate a Zeek package project:
cookiecutter https://github.com/grigorescu/binpac_quickstart.git
Answer some questions, and it will create a new directory for you, initialized as a git repo.
If you'd like free Zeek script coverage reports via Coveralls, login and sync your repositories.
Some of the questions that that cookiecutter will prompt you for will likely be the same across many different packages. You can create a cookiecutter configuration file as ~/.cookiecutterrc
, which will be read as the defaults:
default_context:
github_username: "grigorescu"
project_credits: "Vlad Grigorescu <[email protected]>"
project_namespace: "ESnet"
copyright_owner: "Energy Sciences Network"
open_source_license: "BSD license"