Federico Di Pierro
bdcfbba90b
chore(docker,scripts): set old eBPF probe as lowest priority driver.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2024-04-18 11:18:54 +02:00
Federico Di Pierro
ac61543276
fix(docker,scripts): do not load falcoctl driver loader when installing Falco deb package in docker image.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2024-04-15 17:22:44 +02:00
Federico Di Pierro
7cc57a9fa0
docs(scripts): leave a small comment.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2024-04-15 15:13:44 +02:00
Federico Di Pierro
2ede48ccfc
chore(scripts): updated debian and rpm post installation scripts to deal with new automatic driver selection as default behavior.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2024-04-15 15:13:44 +02:00
Federico Di Pierro
96f50ddac5
chore(scripts): integrate back master changes FALCO_DRIVER_CHOICE
and FALCOCTL_ENABLED
.
...
Also, env variables always have precedence over dialog (ie: if they are set, we always skip dialog).
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-12-11 16:37:39 +01:00
Federico Di Pierro
1dd47668dd
chore(scripts): only configure falcoctl driver type when a driver is selected.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-12-11 16:37:39 +01:00
Federico Di Pierro
33451cf0bc
fix(scripts): fixed driver names for new falcoctl/Falco naming.
...
But keep old systemd units names to avoid a breaking change.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-12-11 16:37:39 +01:00
Federico Di Pierro
be100f7ad5
new(docker,scripts): dropped falco-driver-loader in favor of new falcoctl driver
command.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-12-11 16:37:39 +01:00
Vicente J. Jiménez Miras
13991f1ea7
Add use of FALCO_DRIVER_CHOICE and FALCOCTL_ENABLED env vars
...
Signed-off-by: Vicente J. Jiménez Miras <vjjmiras@gmail.com>
2023-12-06 10:13:25 +01:00
Leonardo Grasso
fe50ac22ee
update: add SPDX license identifier
...
See https://github.com/falcosecurity/evolution/issues/318
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
2023-09-21 13:21:47 +02:00
Andrea Terzolo
7ebf4b8dff
fix(scripts): revert part of 7a794b70a71896a3eb1971ca66cc0c19b9a104e6
...
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
2023-01-31 14:48:05 +01:00
Federico Di Pierro
207fc65d08
chore(scripts): for local installations, only try the dkms build.
...
In this way, dkms will gracefully handle kernels updates.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-01-30 11:29:56 +01:00
Andrea Terzolo
660da98e4c
fix: configure_file in CMake
...
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
2023-01-28 12:35:47 +01:00
Federico Di Pierro
26c00a3948
chore: couple of small fixes.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-01-25 17:37:37 +01:00
Andrea Terzolo
3c7fc1a8c5
cleanup: rename plugin unit into custom unit
...
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
2023-01-25 17:37:37 +01:00
Andrea Terzolo
a67657f316
docs: fix some comments
...
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
2023-01-25 17:37:37 +01:00
Andrea Terzolo
7ed5f39da0
scripts: remove falco.target and use require falcoctl with Wants=
...
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
2023-01-25 17:37:37 +01:00
Federico Di Pierro
f96f2179ba
fix(scripts): some small fixes around falco and falcoctl systemd services logic.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-01-25 17:37:37 +01:00
Federico Di Pierro
0f22fde7cd
update(scripts): multiple renamings to falcoctl service + fixed description.
...
Moreover, now falcoctl service is enabled by default. It being bound to falco.target
allows us to avoid it running when falco.target is not running.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-01-25 17:37:37 +01:00
Federico Di Pierro
ffce069c96
update(scripts): added a falcoctl systemd service.
...
Add a new dialog to choose whether to enable falcoctl feed.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2023-01-25 17:37:37 +01:00
Federico Di Pierro
380dd23a60
update(scripts): typo
...
Co-authored-by: Andrea Terzolo <andrea.terzolo@polito.it>
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
4c550bbe06
chore(scripts): manage dialog cancel button, and increase dialog vertical size to comprehend all of 5 options.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Andrea Terzolo
ee08c4d3de
update: remove falco target
...
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
988256d930
fix(scripts): fixed rpm dialog script.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
4fc10bc774
chore(scripts,cmake): rename modern_bpf to modern-bpf in deb and rpm scripts.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
01f4af480d
fix(scripts): fixed some debian issues by directly using systemctl tool.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
cb20cf83ff
new(scripts, cmake): added support for modern bpf probe.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
c6f668bc71
cleanup(scripts, cmake): fix switch in deb and rpm postinst scripts.
...
Cleanup cmake cpackgenerator options.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
Co-authored-by: Andrea Terzolo <andrea.terzolo@polito.it>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
cbea78b283
fix(scripts): by default, do not enable any driver.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
ca55e70a33
chore: make dontstart default dialog selection.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
4e57670599
chore(scripts): add back a dontstart option.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
91fe2e9e24
chore(scripts): added support for falco@plugin.target.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
b04bb2e32e
chore(scripts): renamed Don't Start to Plugin.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
e26aa6a385
chore(scripts): when running in non-interactive mode, do not enable neither start any driver.
...
Eg: when building Falco docker image, and installing Falco package, we don't want it to build any driver.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
818f717622
chore(scripts,cmake): dialog is an optional dep, do not list it among deps.
...
Cleaned up unused vars in postinst scripts.
Finally, only show dialog window in interactive shells.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
b6078ce1be
new(scripts): allow rpm/deb users to decide at configure time which driver to use (kmod or ebpf).
...
Manage it via a bash dialog interface.
Moreover, use falco-driver-loader instead of dkms to build bpf/kmod after package install.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Federico Di Pierro
06fe9e6985
new(scrips): improve systemd units for rpm and debian.
...
Unify them; plus, rework systemd units to support eBPF too.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-12-15 14:09:19 +01:00
Stanley Chan
7610ee53e5
cleanup(scripts): cleanup systemd unit in DEB installer
...
Signed-off-by: Stanley Chan <pocketgamer5000@gmail.com>
2022-10-07 14:47:00 +02:00
Andrea Terzolo
21b127ef65
docs(falco_scripts): update Copyright
...
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
2022-04-29 13:46:58 +02:00
Federico Di Pierro
ff21544186
update(build)!: replaced various PROBE
with DRIVER
where necessary.
...
Follow-up of https://github.com/falcosecurity/libs/pull/197 .
Updated libs too to master version, as needed.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
2022-02-08 09:50:39 +01:00
JenTing Hsiao
b1801c28c7
Bump year to 2021
...
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-03-12 10:45:31 +01:00
JenTing Hsiao
39bb5c28c7
Migrate from init to systemd in debian package
...
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-03-12 10:45:31 +01:00
Leonardo Di Donato
24d04e6125
fix(scripts/debian): refinements to the scripts for DEB package
...
Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2020-04-17 13:30:52 +02:00
Lorenzo Fontana
c76518c681
update: license headers
...
Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2019-10-08 16:02:26 +02:00
Mark Stemm
6445cdb950
Better copyright notices ( #426 )
...
* Use correct copyright years.
Also include the start year.
* Improve copyright notices.
Use the proper start year instead of just 2018.
Add the right owner Draios dba Sysdig.
Add copyright notices to some files that were missing them.
2018-09-26 19:49:19 -07:00
Mark Stemm
ec5adfe892
Build and package standalone falco kernel module
...
Start packaging (and building when necessary) a falco-specific kernel
module in falco releases. Previously, falco would depend on sysdig and
use its kernel module instead.
The kernel module was already templated to some degree in various
places, so we just had to change the templated name from
sysdig/sysdig-probe to falco/falco-probe.
In containers, run falco-probe-loader instead of
sysdig-probe-loader. This is actually a script in the sysdig repository
which is modified in https://github.com/draios/sysdig/pull/789 , and uses
the filename to indicate what kernel module to build and/or load.
For the falco package itself, don't depend on sysdig any longer but instead
depend on dkms and its dependencies, using sysdig as a guide on the set
of required packages.
Additionally, for the package pre-install/post-install scripts start
running falco-probe-loader.
Finally, add a --version argument to falco so it can pass the desired
version string to falco-probe-loader.
2017-03-20 15:56:37 -07:00