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

nixos/packetbeat: Add basic module for packetbeat #94862

Closed
wants to merge 4,538 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
4538 commits
Select commit Hold shift + click to select a range
77293ba
strigi: drop
jtojnar Sep 1, 2020
8401161
Merge pull request #96120 from jtojnar/cleaner-wx
jtojnar Sep 2, 2020
e68e048
qt4: drop multimedia & webkit options
jtojnar Sep 2, 2020
5a1a7d3
steam-run: remove ancient gstreamer dependency
jtojnar Sep 2, 2020
d2d24c9
appimage: remove ancient gst dep
jtojnar Sep 2, 2020
de1c054
limesurvey: 3.17.12+190823 -> 3.23.0+200813
davidak Sep 1, 2020
4c82b0c
gst_all_1.gst-validate: use correct gstreamer
jtojnar Sep 2, 2020
d38821a
Merge pull request #96905 from marsam/update-ncspot
marsam Sep 2, 2020
1c47df2
Merge pull request #84542 from petabyteboy/feature/plasma-5-18
ttuegel Sep 2, 2020
de5d2d6
ibm-plex: 5.1.0 -> 5.1.3
marsam Sep 2, 2020
54eacc7
Merge pull request #96918 from lucperkins/doppler-3.10.3
marsam Sep 2, 2020
9fb67a2
googleearth: do not use legacy gst
jtojnar Sep 2, 2020
8bc01e4
webcamoid: drop legacy gst
jtojnar Sep 2, 2020
cc4f18e
tiscamera: drop legacy gst
jtojnar Sep 2, 2020
9a1f609
tiscamera: clean up
jtojnar Sep 2, 2020
4a4e642
gstreamer: drop legacy
jtojnar Sep 2, 2020
1965a24
Merge pull request #61019 from volth/gcc.arch-amd
Ericson2314 Sep 2, 2020
3db58a2
tunefish: init at unstable 2020-08-13 (#96539)
orivej Sep 2, 2020
9d0d3a0
linux-rt: add update script
orivej Aug 30, 2020
f623e0f
linux-rt_5_4: init at 5.4.61-rt37
orivej Aug 30, 2020
713b162
linux-rt_5_6: init at 5.6.19-rt12
orivej Aug 30, 2020
5bc4467
Merge pull request #96702 from orivej/linux-rt
orivej-nixos Sep 2, 2020
1a68e21
nixos/systemd: support adding and overriding tmpfiles.d via environme…
orivej Sep 2, 2020
c66477b
git-town: 7.3.0 → 7.4.0
Sep 2, 2020
d8d4fc6
git-lfs: 2.11.0 -> 2.12.0
marsam Sep 2, 2020
34c2ad1
pitivi: clean up
jtojnar Sep 2, 2020
895f0ce
chromedriver: 83.0.4103.39 -> 85.0.4183.87
endgame Sep 2, 2020
f68e684
surge: init at 1.6.6
magnetophon Mar 11, 2020
e0baa46
surge: 1.6.6 -> 1.7.1
magnetophon Aug 28, 2020
018f086
surge: fix build
orivej Sep 2, 2020
ae5bd28
Merge pull request #82308 from magnetophon/surge
orivej-nixos Sep 2, 2020
de45bbe
Merge pull request #96684 from magnetophon/LV2plugins
orivej-nixos Sep 2, 2020
2c152ee
pitivi: Fix build
jtojnar Sep 2, 2020
84d0f3f
pkgsMusl.libusb-compat-0_1: fix eval
jtojnar Sep 2, 2020
f1a29ad
Merge pull request #96904 from danieldk/1password-0.8.4
danieldk Sep 2, 2020
b268e89
Merge pull request #96944 from xoe-labs/da-bump-gittown
danieldk Sep 2, 2020
8511890
maintainers: add rople380
rople380 Aug 31, 2020
128e0ec
godu: init at 1.3.0
rople380 Aug 25, 2020
765d037
Merge pull request #96879 from romildo/rm.deepin.doc
worldofpeace Sep 2, 2020
f333296
nixos/biboumi: init
ju1m Aug 8, 2020
df8eed0
ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0 -> 4.11.1
marsam Sep 1, 2020
745a867
ocamlPackages.re: disable tests with OCaml < 4.04
vbgl Aug 28, 2020
910ac86
ocamlPackages.ocp-index: 1.2 → 1.2.1
vbgl Aug 28, 2020
f20daaa
Merge pull request #96282 from rople380/master
danieldk Sep 2, 2020
c5dcb96
powerdevil: fix hash of patch
vcunat Sep 2, 2020
ee0d559
oci-seccomp-bpf-hook: move to linuxPackages
zowoq Sep 1, 2020
27b0c4b
nixos/containers: add oci-seccomp-bpf-hook
saschagrunert Aug 31, 2020
4034145
Merge pull request #96945 from endgame/chromedriver-bump
marsam Sep 2, 2020
18348c7
Merge pull request #96042 from rnhmjoj/loaOf
worldofpeace Sep 2, 2020
31008a8
Merge pull request #96937 from jtojnar/drop-strigi
worldofpeace Sep 2, 2020
32f5e5d
Merge pull request #96677 from edude03/patch-2
elseym Sep 2, 2020
8d3123d
Merge pull request #96738 from jojosch/dbeaver_7.2.0
aanderse Sep 2, 2020
09c383c
Merge pull request #94917 from ju1m/biboumi
Sep 2, 2020
259aaf6
Merge pull request #96926 from davidak/limesurvey-update
aanderse Sep 2, 2020
a38a959
radicale: 3.0.3 -> 3.0.5
dotlambda Aug 31, 2020
3d3eef2
etesync-dav: loosen radicale version bounds
dotlambda Sep 1, 2020
ab525fa
python3Packages.cirq: unbreak
drewrisinger Sep 1, 2020
e5bb747
numworks-udev-rules: init on 02/09/2020
SCOTT-HAMILTON Sep 2, 2020
f9bf64f
oh-my-zsh: 2020-08-31 -> 2020-09-02
NeQuissimus Sep 2, 2020
b2679e8
rustup: add zlib as runtime dependency
Gerschtli Aug 31, 2020
f145223
Merge pull request #96831 from SCOTT-HAMILTON/numworks
danieldk Sep 2, 2020
dff0034
Merge pull request #96948 from jtojnar/fix-pitivi
jtojnar Sep 2, 2020
8739e42
Merge pull request #96925 from jtojnar/gpaste-session-path
worldofpeace Sep 2, 2020
7f9acb7
Zettlr: init at 1.7.5
tfmoraes Jul 9, 2020
df58a63
left4gore: Init at 2.3
dasJ Sep 2, 2020
a47d059
dash: Fix cross build
Ericson2314 Sep 2, 2020
9c6f11f
signal-desktop: 1.34.5 -> 1.35.1
primeos Sep 2, 2020
3e687bf
Merge pull request #96500 from r-ryantm/auto-update/python2.7-elastic…
risicle Sep 2, 2020
3678223
rclone: 1.52.3 -> 1.53.0
marsam Sep 2, 2020
43afce4
portfolio: 0.48.0 -> 0.48.1
oyren Sep 2, 2020
8e6f466
Merge pull request #96563 from obsidiansystems/skip-cudnn_cnn_infer-i…
matthewbauer Sep 2, 2020
304de03
Merge pull request #96402 from matthewbauer/bazel-jdk-headless
matthewbauer Sep 2, 2020
3a9b91b
Merge pull request #96562 from obsidiansystems/bazel-add-dont-add-baz…
matthewbauer Sep 2, 2020
e1d6f7c
python3Packages.matrix-nio: 0.14.1 -> 0.15.1
symphorien Sep 2, 2020
634d404
pantalaimon: 0.6.5 -> 0.7.0
symphorien Sep 2, 2020
008f45f
gitAndTools.gita: 0.10.9 -> 0.10.10
Sep 2, 2020
0d820de
Merge pull request #96310 from yvesf/qcad-3.25.0.0
risicle Sep 2, 2020
eef5656
go_1_14: 1.14.7 -> 1.14.8
zowoq Sep 1, 2020
e98facb
pythonPackages.httpcore: init at 0.10.2
risicle Aug 27, 2020
063692b
pythonPackages.httpx: 0.12.1 -> 0.14.2
risicle Aug 27, 2020
4f61203
pythonPackages.starlette: 0.13.6 -> 0.13.8
risicle Aug 27, 2020
ce47cdb
pythonPackages.asgi-csrf: init at 0.7
risicle Aug 27, 2020
4e94600
pythonPackages.mergedeep: init at 1.3.0
risicle Aug 27, 2020
f1b9dcd
pythonPackages.datasette: 0.39 -> 0.46
risicle Aug 27, 2020
a2842c7
Merge pull request #96561 from jonringer/fix-jupyterhub-ldapauthentic…
risicle Sep 2, 2020
1b235b4
dep2nix: regenerate deps.nix
zowoq Aug 30, 2020
e14d5a2
leaps: regenerate deps.nix
zowoq Aug 30, 2020
135a6f8
python3Packages.phonopy: fix build and tests
jonringer Aug 27, 2020
d6c7a19
Merge pull request #96943 from marsam/update-ibm-plex
marsam Sep 3, 2020
8761381
terraform_0_13: 0.13.1 -> 0.13.2 (#96971)
Sep 3, 2020
55e8cbd
Merge pull request #96501 from jonringer/fix-phonopy
risicle Sep 3, 2020
2eacb60
goreplay: init at 1.1.0
lovek323 Aug 31, 2020
4adac63
recursive: 1.062 -> 1.064
marsam Sep 3, 2020
f7100e6
flow: 0.132.0 -> 0.133.0
marsam Sep 3, 2020
d46e488
Merge pull request #96474 from dguibert/dg/libreoffice-7
7c6f434c Sep 3, 2020
742c734
Merge pull request #96494 from jitwit/j
7c6f434c Sep 3, 2020
02a2649
Merge pull request #89748 from heinic/krb5-lists
Mic92 Sep 3, 2020
7b73713
programs.zsh: remove unnecessary `with`
danieldk Sep 3, 2020
96bc644
Merge pull request #96997 from danieldk/oh-my-zsh-unnecessary-with-pkgs
rnhmjoj Sep 3, 2020
aadbc19
bandwhich: 0.16.0 -> 0.17.0
Ma27 Sep 3, 2020
412a28d
element-web: 1.7.4 -> 1.7.5
Ma27 Sep 3, 2020
bf007a2
element-desktop: 1.7.4 -> 1.7.5
Ma27 Sep 3, 2020
e30287c
gst_all_1.gst-rtsp-server: fix pkgconfig includedir and libdir
doronbehar Sep 3, 2020
a213818
Add vscode json language server
Sep 3, 2020
d217a00
Update node packages nix expression
Sep 3, 2020
766958b
Merge pull request #96595 from mweinelt/pinnwand
mweinelt Sep 3, 2020
31772af
ddrescueview: 0.4alpha3 -> 0.4alpha4
timokau Sep 3, 2020
596de92
ultrastardx: unstable-2019-01-07 -> 2020.4.0
timokau Sep 3, 2020
d43db8a
libreoffice-still: fix build
B4dM4n Sep 3, 2020
f806b3c
Merge pull request #86663 from helsinki-systems/init-left4gore
Lassulus Sep 3, 2020
f928b91
fpc: 3.0.4 -> 3.2.0
timokau Sep 3, 2020
6ff5c40
fpc: add support for aarch64-linux
timokau Sep 3, 2020
53bce4d
ocamlPackages.piqi-ocaml: 0.7.5 → 0.7.7
vbgl Aug 29, 2020
9fd106a
Merge pull request #97015 from B4dM4n/libreoffice-still-fix-build
dguibert Sep 3, 2020
eda3730
krohnkite: fix typo
samuelgrf Sep 3, 2020
31cb1dc
kwin-tiling: fix typo
samuelgrf Sep 3, 2020
970bfc0
securefs: 0.8.3 -> 0.11.1
Sep 3, 2020
556b29d
emacs: Add missing patches to the Emacs derivations
DamienCassou Sep 3, 2020
6592980
direnv: 2.21.3 -> 2.22.0 (#97011)
zimbatm Sep 3, 2020
c643d58
Merge pull request #95760 from janders223/master
roberth Sep 3, 2020
7ff50a7
Merge pull request #96564 from K900/murmur-grpc
infinisil Sep 3, 2020
b9326ec
yabai: 3.2.1 -> 3.3.0
cmacrae Sep 3, 2020
c25a7cd
Merge pull request #97006 from timokau/fpc-3.2.0-aarch64
timokau Sep 3, 2020
baf51e4
hedgewars: fix build on aarch64
timokau Sep 3, 2020
d1ffe81
htop: 3.0.0 -> 3.0.1
Izorkin Sep 3, 2020
30f07d1
pythonPackages.dnspython: use 1.x for Python 2
FRidh Sep 3, 2020
987f1d5
Merge pull request #97032 from Izorkin/htop
Ma27 Sep 3, 2020
7992188
treewide: convert patch series files to Nix expressions
deviant Aug 25, 2020
423fc3f
lib/strings: deprecate readPathsFromFile
deviant Aug 25, 2020
7a4e3e5
pythonPackages.dnspython_1: add missing file, fixes eval
FRidh Sep 3, 2020
40a3b21
breeze-plymouth: remove trailing whitespace
deviant Sep 3, 2020
bd3583f
Merge pull request #96970 from obsidiansystems/dash-cross
Ericson2314 Sep 3, 2020
ac96859
linux: 4.14.195 -> 4.14.196
NeQuissimus Sep 3, 2020
1272d20
linux: 4.19.142 -> 4.19.143
NeQuissimus Sep 3, 2020
9c49998
linux: 4.4.234 -> 4.4.235
NeQuissimus Sep 3, 2020
0865dc9
linux: 4.9.234 -> 4.9.235
NeQuissimus Sep 3, 2020
e5aeed5
linux: 5.4.61 -> 5.4.62
NeQuissimus Sep 3, 2020
94c2122
linux: 5.8.5 -> 5.8.6
NeQuissimus Sep 3, 2020
8cf4ec8
nixos/systemd: Don't use apply for $PATH
dasJ Jun 19, 2020
96ea00a
Merge pull request #97031 from timokau/hedgewars-aarch64
Mic92 Sep 3, 2020
17d334e
Merge pull request #96900 from danieldk/zotero-impurity
danieldk Sep 3, 2020
e807447
Merge pull request #97026 from DamienCassou/add-patches-back-to-emacs
adisbladis Sep 3, 2020
e0aea88
openmpi: 4.0.4 -> 4.0.5
markuskowa Sep 3, 2020
653d925
black-macchiato: init at 1.3.0
jperras Sep 2, 2020
80f1cc1
maintainers: add jperras
jperras Sep 2, 2020
59f5cbd
Merge pull request #96932 from chkno/gtg-tests
AndersonTorres Sep 3, 2020
6b043b1
Merge pull request #93631 from danielfullmer/k2pdfopt-2.52
AndersonTorres Sep 3, 2020
3a6cea9
Merge pull request #96523 from Izorkin/netdata
Mic92 Sep 3, 2020
328e886
Merge pull request #96567 from kampka/gocryptfs
Mic92 Sep 3, 2020
f6c94e7
netpbm: clean up
jtojnar Sep 3, 2020
1c55613
hydra-unstable: 2020-08-04 -> 2020-09-02
Ma27 Sep 3, 2020
cc0ad3f
Merge pull request #96863 from mweinelt/zigbee2mqtt
mweinelt Sep 3, 2020
d86a966
kwin-dynamic-workspaces: init at 1.0.1
samuelgrf Sep 3, 2020
8272eff
Merge pull request #96269 from deviant/remove-quilt-series
infinisil Sep 3, 2020
4e7728e
svlint: init at 0.4.7
trepetti Sep 3, 2020
e5ec35b
Merge pull request #95983 from OPNA2608/update-bambootracker-0.4.4
jonringer Sep 3, 2020
4030b3f
cordless: init at 2020-08-30
colemickens Sep 2, 2020
982b8ff
Merge pull request #96940 from colemickens/cordless
jonringer Sep 3, 2020
ea5d0dc
honggfuzz: 2.2 -> 2.3.1
r-ryantm Aug 2, 2020
c941a63
honggfuzz: patch hfuzz-cc.c to fix path to buildtime-provided clang
risicle Sep 3, 2020
0fdc832
buildah: 1.15.1 -> 1.15.2
saschagrunert Sep 3, 2020
8f43f32
Merge pull request #97046 from Ma27/hydra-fix
worldofpeace Sep 3, 2020
9ac15bd
yarn: 1.22.4 -> 1.22.5
r-ryantm Sep 3, 2020
04e0c46
snippetpixie: 1.3.3 -> 1.4.1
ianmjones Sep 3, 2020
0fd664e
Merge pull request #97022 from samuelgrf/fix/kwin-scripts-typo
peterhoeg Sep 4, 2020
41c29f2
Merge pull request #91092 from helsinki-systems/systemd-path-noapply
infinisil Sep 4, 2020
af189fb
Merge pull request #97057 from ianmjones/fix/snippetpixie-update
worldofpeace Sep 4, 2020
48b902d
meshlab: 2020.03 -> 2020.07
tfmoraes Aug 2, 2020
915ee2f
Merge pull request #96990 from marsam/update-recursive
marsam Sep 4, 2020
565d04a
argo: 2.10.0 -> 2.10.1
r-ryantm Sep 4, 2020
584315b
Merge pull request #97029 from cmacrae/yabai/upgrade/3.3.0
marsam Sep 4, 2020
1dcf64b
Merge pull request #96989 from marsam/update-rclone
marsam Sep 4, 2020
476216e
croc: 8.0.13 -> 8.3.0
equirosa Sep 3, 2020
219b7f7
Merge pull request #97059 from r-ryantm/auto-update/yarn
marsam Sep 4, 2020
6d41460
Merge pull request #97069 from r-ryantm/auto-update/argo
marsam Sep 4, 2020
14b70e8
Merge pull request #97024 from sephii/securefs_0_11_1
marsam Sep 4, 2020
01ed700
Merge pull request #97010 from marsam/update-git-lfs
marsam Sep 4, 2020
417d98f
Merge pull request #97012 from marsam/update-flow
marsam Sep 4, 2020
678e918
hotspot: 1.2.0 -> 1.3.0
bbigras Sep 4, 2020
e8306e3
python3Packages.azure-mgmt-synapse: init at 0.3.0
jonringer Sep 2, 2020
781b32a
python3Packages.azure-multiapi-storage: 0.3.5 -> 0.4.1
jonringer Sep 2, 2020
81fcdbb
python3Packages.azure-mgmt-appconfiguration: 0.5.0 -> 0.6.0
jonringer Sep 2, 2020
c7e7a3c
python3Packages.azure-mgmt-containerservice: 9.2.0 -> 9.3.0
jonringer Sep 2, 2020
3d29275
python3Packages.azure-mgmt-reservations: 0.7.0 -> 0.8.0
jonringer Sep 2, 2020
b346c10
python3Packages.azure-mgmt-storage: 11.1.0 -> 11.2.0
jonringer Sep 2, 2020
23ebed8
python3Packages.azure-synapse-accesscontrol: init at 0.2.0
jonringer Sep 2, 2020
fd45756
python3Packages.azure-synapse-spark: init at 0.2.0
jonringer Sep 2, 2020
3a3077a
python3Packages.azure-mgmt-keyvault: fix overridden package
jonringer Sep 2, 2020
25edae3
azure-cli: 2.10.1 -> 2.11.1
jonringer Sep 2, 2020
762434f
python39: 3.9.0b5 -> 3.9.0rc1
jonringer Sep 1, 2020
4906881
vokosscreen-ng: init at 3.0.5
SCOTT-HAMILTON Aug 25, 2020
f3bf0f1
Merge pull request #97043 from markuskowa/upd-openmpi
markuskowa Sep 4, 2020
4333138
kde applications: 20.08.0 -> 20.08.1
peterhoeg Sep 4, 2020
8003bb3
hedgewars: enable build on hydra
timokau Sep 4, 2020
fd457ec
codeql: 2.2.4 -> 2.2.5 (#97097)
r-ryantm Sep 4, 2020
e385f98
oh-my-zsh: 2020-09-02 -> 2020-09-03
NeQuissimus Sep 4, 2020
cadc152
ocamlPackages.csexp: init at 1.3.1
marsam Sep 3, 2020
c7e8da6
dune_2: 2.7.0 -> 2.7.1
marsam Sep 3, 2020
5829744
Merge pull request #97084 from bbigras/hotspot
nh2 Sep 4, 2020
a1b634b
Merge pull request #97020 from samuelgrf/initpkg/dynamic-workspaces
ttuegel Sep 4, 2020
1a3ebe5
sublime-merge-dev: 2022 -> 2031
victorluft Sep 2, 2020
740b2f8
sublime-merge: 2020 -> 2033
victorluft Sep 2, 2020
adcb00e
ocamlPackages.merlin: 3.3.8 -> 3.3.9
marsam Sep 3, 2020
f9f84cf
Merge pull request #97121 from peterhoeg/u/kapps_20081
ttuegel Sep 4, 2020
ee7e23f
openambit: init at 0.5
rycee Aug 12, 2020
2b8a771
Merge pull request #97095 from timokau/hedgewars-hydra
timokau Sep 4, 2020
5079e1c
Merge pull request #96939 from jtojnar/drop-gst-010
jtojnar Sep 4, 2020
16592e5
vimPlugins: Refactor coc-* plugins and fix coc-go
Sep 3, 2020
8a28f7f
vimPlugins: Remove coc-* from vim-plugin-names
Sep 3, 2020
b468834
vimPlugins: update
Sep 3, 2020
58e585c
vimPlugins: Document node-based plugins
jbaum98 Sep 3, 2020
c2d50fb
zenmonitor: 1.4.1 -> 1.4.2
r-ryantm Aug 31, 2020
9f5aed0
antibody: 6.1.0 -> 6.1.1
r-ryantm Sep 4, 2020
49b2bc6
asls: 0.4.2 -> 0.5.0
r-ryantm Sep 4, 2020
4c15e6d
welle-io: 2.1 -> 2.2
r-ryantm Sep 3, 2020
1cc8a03
Merge pull request #96853 from r-ryantm/auto-update/antimicroX
jonringer Sep 4, 2020
8646c47
AusweisApp2: 1.20.1 -> 1.20.2
r-ryantm Sep 4, 2020
2a13231
pythonPackages.apsw: 3.32.2-r1 -> 3.33.0-r1
mjlbach Sep 4, 2020
e883800
yaru-theme: 20.10.1 -> 20.10.2
r-ryantm Aug 31, 2020
bbdb8b0
bazarr: 0.9 -> 0.9.0.2
r-ryantm Sep 4, 2020
b8a0cfd
amfora: 1.4.0 -> 1.5.0
r-ryantm Sep 4, 2020
a24cac6
django-maintenance-mode: init at 0.14.0
MrMebelMan Jul 9, 2019
bd3afd6
python3Packages.sqlalchemy-citext: fix tests
jonringer Sep 4, 2020
4bec5d5
du-dust: 0.5.2 -> 0.5.3
r-ryantm Sep 4, 2020
d1e19e7
python27Packages.josepy: 1.3.0 -> 1.4.0
r-ryantm Aug 27, 2020
ea14b3a
python27Packages.dominate: 2.5.1 -> 2.5.2
r-ryantm Aug 27, 2020
3e65293
dapper: 0.5.1 -> 0.5.3
r-ryantm Sep 4, 2020
49f820d
dnsproxy: 0.31.0 -> 0.32.0
r-ryantm Sep 4, 2020
17994f1
nixos/packetbeat: Add basic module for packetbeat
lejonet Aug 7, 2020
1664a17
nixos/packetbeat: Make stateDir a full path instead of a path under /…
lejonet Aug 8, 2020
3e49a3a
nixos/packetbeat: Add configFile option
lejonet Aug 8, 2020
6779594
nixos/packetbeat: Remove a trailing whitespace
lejonet Aug 8, 2020
f5e5b57
nixos/packetbeat: add settings option
aanderse Aug 8, 2020
93346d7
nixos/packetbeat: Merge @aanderse suggestion with some fixes
lejonet Aug 8, 2020
61d7945
nixos/packetbeat: Merge infinsils suggestions and add some top-level …
lejonet Aug 29, 2020
8c7ed97
dcrd: 1.5.1 -> 1.5.2
r-ryantm Sep 4, 2020
28d7bc1
Merge pull request #96559 from romildo/fix.efl
romildo Sep 4, 2020
9dc1d6a
Merge pull request #96558 from romildo/fix.terminology
romildo Sep 4, 2020
84e2a0d
espanso: 0.7.0 -> 0.7.1
r-ryantm Sep 4, 2020
c9745a5
Merge pull request #96676 from romildo/upd.marwaita-manjaro
romildo Sep 4, 2020
d9c33b2
nixos/doc/releases: update the docs as promised
worldofpeace Apr 30, 2020
f2e98e8
fixup! nixos/doc/releases: update the docs as promised
worldofpeace Aug 15, 2020
951efe4
fixup! nixos/doc/releases: update the docs as promised
jtojnar Aug 16, 2020
b23f144
python3Packages.ftputil: fix tests
jonringer Sep 3, 2020
d32c437
catt: fix pychromecast version
jonringer Aug 27, 2020
712f366
Merge pull request #94579 from tfmoraes/meshlab-20.07
risicle Sep 4, 2020
e3e39aa
svls: init at 0.1.17
trepetti Sep 3, 2020
06e8f13
nixos/packetbeat: Move freeformType attribute to the right level
lejonet Sep 4, 2020
9c1e96f
Merge
lejonet Sep 4, 2020
c5646ea
nixos/packetbeat: Fix rebase screw up
lejonet Sep 4, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@
./services/logging/logrotate.nix
./services/logging/logstash.nix
./services/logging/rsyslogd.nix
./services/logging/packetbeat.nix
./services/logging/syslog-ng.nix
./services/logging/syslogd.nix
./services/mail/clamsmtp.nix
Expand Down
185 changes: 185 additions & 0 deletions nixos/modules/services/logging/packetbeat.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.services.packetbeat;

packetbeatYml = pkgs.writeText "packetbeat.yml" ''
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment below about a settings option which could replace this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will look into that RFC, I've added the configFile option, that short-circuits the config options in the module, and lets the user handle the configuration file as they please.

name: ${cfg.name}
tags: ${builtins.toJSON cfg.tags}

${cfg.configFlows}
${cfg.configProtocols}
${cfg.extraConfig}
'';

in
{
options = {

services.packetbeat = {

enable = mkEnableOption "packetbeat";

package = mkOption {
type = types.package;
default = pkgs.packetbeat;
defaultText = "pkgs.packetbeat";
example = literalExample "pkgs.packetbeat7";
description = ''
The packetbeat package to use
'';
};

name = mkOption {
type = types.str;
default = "packetbeat";
description = "Name of the beat";
};

tags = mkOption {
type = types.listOf types.str;
default = [];
description = "Tags to place on the shipped log messages";
};

stateDir = mkOption {
lejonet marked this conversation as resolved.
Show resolved Hide resolved
type = types.str;
default = "packetbeat";
description = ''
Directory below <literal>/var/lib/</literal> to store packetbeat's
own logs and other data. This directory will be created automatically
using systemd's StateDirectory mechanism.
'';
};

configFlows = mkOption {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is just yaml does it even need is open option? RFC42 has been promoting a settings option which I think would benefit this module greatly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is just yaml, this was a quick way of getting the module usable. My plan was to first get something usable, then refactor it to be smart too.

type = types.lines;
default = ''
packebeat.flows:
timeout: 30s
period: 10s
'';
description = ''
Configuration of how packetbeat should handle flows. See
<link xlink:href='https://www.elastic.co/guide/en/beats/packetbeat/current/configuration-flows.html'/>
for all available configuration options.
'';
};

configProtocols = mkOption {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this benefit from a structured type? Maybe type = with types; attrsOf (either (bool (listOf port)));.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not impossible, its purely yaml it needs to generate, so a structured type would probably fit. As said in other comments, this was a quick way to getting it usable.

type = types.lines;
default = ''
packetbeat.protocols:
- type: icmp
enabled: true
- type: amqp
ports: [5672]
- type: cassandra
ports: [9042]
- type: dhcpv4
ports: [67, 68]
- type: dns
ports: [53]
- type: http
ports: [80, 8080, 8000, 5000, 8002]
- type: memcache
ports: [11211]
- type: mysql
ports: [3306,3307]
- type: pgsql
ports: [5432]
- type: redis
ports: [6379]
- type: thrift
ports: [9090]
- type: mongodb
ports: [27017]
- type: nfs
ports: [2049]
- type: tls
ports:
- 443 # HTTPS
- 993 # IMAPS
- 995 # POP3S
- 5223 # XMPP over SSL
- 8443
- 8883 # Secure MQTT
- 9243 # Elasticsearch

'';
description = ''
Configuration of what protocols packetbeat should gather info about.
See <link xlink:href='https://www.elastic.co/guide/en/beats/packetbeat/current/configuration-protocols.html'/>
for the configuration options available.
'';
};

extraConfig = mkOption {
type = types.lines;
default = ''
packetbeat.interfaces.device: any

setup.template.settings:
index.number_of_shards: 1

setup.kibana:
host: "localhost:5601"

output.elasticsearch:
hosts: ["localhost:9200"]

processors:
- # Add forwarded to tags when processing data from a network tap or mirror.
if.contains.tags: forwarded
then:
- drop_fields:
fields: [host]
else:
- add_host_metadata: ~
- add_cloud_metadata: ~
- add_docker_metadata: ~
'';
description = "Any other configuration options you want to add";
};

};
};

config = mkIf cfg.enable {

assertions = [
{
assertion = !hasPrefix "/" cfg.stateDir;
message =
"The option services.packetbeat.stateDir shouldn't be an absolute directory." +
" It should be a directory relative to /var/lib/.";
}
{
assertion = cfg.configProtocols != "" || cfg.configFlows != "";
message =
"The options services.packetbeat.configProtocols and/or services.packetbeat.configFlows should" +
" be set or else packetbeat won't do anything useful and error out.";
}
];

systemd.services.packetbeat = {
description = "Packetbeat log shipper";
wantedBy = [ "multi-user.target" ];
preStart = ''
mkdir -p ${cfg.stateDir}/data
mkdir -p ${cfg.stateDir}/logs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to log to stdout instead so journald can pick this up?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an option to log to stderr (-e) that could be used in ExecStart

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an option to log to stderr that should make it possible for journald to pick it up (-e).

'';
serviceConfig = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not run as root if not required. Maybe DynamicUser would be appropriate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is completely copied from the official unit, packetbeat needs to run as root because it captures packets from interfaces. I dunno if CAP_NET_ADMIN might be enough instead of having root, but this is how the official systemd unit does it.

StateDirectory = cfg.stateDir;
ExecStart = ''
${cfg.package}/bin/packetbeat \
-c ${packetbeatYml} \
-path.data /var/lib/${cfg.stateDir}/data \
-path.logs /var/lib/${cfg.stateDir}/logs'';
Restart = "always";
};
};
};
}