Skip to content

Commit 624ea55

Browse files
committed
WIP: setup btest
1 parent 36854d2 commit 624ea55

File tree

7 files changed

+363
-216
lines changed

7 files changed

+363
-216
lines changed

.github/workflows/checks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
run: |
2626
nix -Lv build ./#zeek-release
2727
nix develop -c zeek --version
28+
- name: Check Zeek Plugins
29+
run: nix develop -c zeek -N
2830
- name: Check Query Script
2931
run: |
3032
nix develop -c zeek scripts/zeek-query.zeek >/dev/null 2>&1

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.DS_Store
22
*.vscode
3-
README_OLD.org
3+
README_OLD.org
4+
cache

README.org

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@
22
#+EMAIL: gtrunsec@hardenedlinux.org
33
#+DATE: 10 August 2019
44
#+DESCRIPTION:
5-
#+KEYWORDS:
5+
#+KEYWORDS: IDS Zeek
66
#+LANGUAGE: en cn
7-
#+SETUPFILE: ~/org-notes/setup/darkcss.local
8-
#+hugo_publishdate: (0 5)
9-
#+hugo_auto_set_lastmod: t
10-
#+HUGO_categories:
11-
#+HUGO_tags:
127
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
13-
#+SELECT_TAGS: export
14-
#+EXCLUDE_TAGS: noexport
158
* Buding Zeek with Nix package manager
169

1710
** Install Nix
@@ -26,7 +19,7 @@ exec bash
2619

2720
** Building Zeek's binary by Nix
2821
#+begin_src sh :async t :exports both :results output
29-
git clone https://github.com/hardenedlinux/zeek-nix
22+
git clone https://github.com/hardenedlinux/zeek2nix
3023
nix-build
3124
# without clone
3225
nix run github:hardenedlinux/zeek-nix#zeekTLS
@@ -45,14 +38,6 @@ sudo ./result/bin/zeek deploy
4538
./result/bin/zeek status
4639
#+end_src
4740

48-
** Using Nix zeek Scripts which were locked rev for Users
49-
#+begin_src sh :async t :exports both :results output
50-
git clone https://github.com/hardenedlinux/zeek-nix
51-
cd zeek-scripts
52-
nix-build
53-
#+end_src
54-
- ./reuslt/bin/<zeek-scirpts>
55-
5641
* DONE Deploy Zeek kafka topics with NixOS => Disnix
5742
or Do a kafka topics test.
5843

0 commit comments

Comments
 (0)