Commit graph

37 commits

Author SHA1 Message Date
mmetc
534328ca30
decouple bouncer dependencies: use go-cs-lib/pkg/* ()
* decouple bouncer dependencies: use go-cs-lib/pkg/trace
* decouple bouncer dependencies: use go-cs-lib/pkg/version
* decouple bouncer dependencies: use go-cs-lib/pkg/yamlpatch
* decouple bouncer dependencies: use go-cs-lib/pkg/csstring
* unused import
2023-05-23 10:52:47 +02:00
mmetc
0d1adfc7db
wizard: auto-detect ssh.service correctly on deb distros when auth.log is missing (fix ) () 2023-04-19 11:09:39 +02:00
AlteredCoder
185f9ad541
Alert context ()
Co-authored-by: bui <thibault@crowdsec.net>
2023-01-04 16:50:02 +01:00
mmetc
cc228f1868
Typos, grammar () 2022-12-06 15:55:27 +01:00
Laurence Jones
ac6e0c1b89
fix cron removal () 2022-10-20 16:43:34 +01:00
Laurence Jones
24b540ecde
Cronjob via packages ()
* Final version
2022-10-18 16:11:48 +01:00
Laurence Jones
33383faf9e
Cronjob remove fails due to [[ ()
* Fix

* Fix
2022-10-17 17:09:52 +01:00
Laurence Jones
0ecb6dcd4d
Hub auto update cronjob ()
Add hub cron installation to install scripts

Plus remove on uninstall
2022-10-17 16:04:01 +01:00
mmetc
03b5184837
restrict permissions for plugin configurations () 2022-09-14 14:23:18 +02:00
mmetc
110272484d
use ansible roles from crowdsecurity.testing collection () 2022-09-12 16:07:14 +02:00
mmetc
1aac5d78d9
replace wizard patch for .deb & .rpm packages with an envvar check () 2022-08-16 14:59:59 +02:00
Manuel Sabban
9fac14488a
fix perms for config.yaml installation ()
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-07-12 16:05:27 +02:00
mmetc
fae1f96856
install config.yaml with chmod 600 () 2022-05-17 12:50:18 +02:00
Thibault "bui" Koechlin
ddfe95e45d
user lumberjack rotate instead () 2022-04-28 17:19:03 +02:00
Manuel Sabban
c17c651458
add logrotate file for debian ()
* add logrotate file for debian

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-04-22 15:42:28 +02:00
Shivam Sandbhor
76e97303a5
Deprecate pid_file config ()
* Deprecate pid_file config

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Fix unit test

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Impl review suggestions.

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2022-03-16 09:23:49 +01:00
Manuel Sabban
bec231c1e6
Fix 1314 ()
* fix https://github.com/crowdsecurity/crowdsec/issues/1314
* fix postinst logic
* fix in rpm as well

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-03-10 13:57:04 +01:00
Manuel Sabban
2763366309
switch to make build for packaging ()
* switch to make build for packaging
* build as first target

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-02-18 18:09:19 +01:00
Manuel Sabban
afe1704aa6
fix upgrade when somthing is already listening on 8080 ()
* this should fix issue 
* change cmdline for getting port

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-02-15 11:20:52 +01:00
Kerma Gérald
052ec6e632
email-plugin: fix install in debian package ()
fix some small typo
add the email plugins to debian package

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-02-02 10:08:32 +01:00
mmetc
9c9639d19b
string comparison fix () 2022-02-01 09:55:28 +01:00
Manuel Sabban
01ee09c547
Merge branch 'master' into master 2022-01-25 20:32:46 +01:00
mmetc
8310c10ce3
console_config.yaml -> console.yaml () 2022-01-21 11:52:23 +01:00
Thibault "bui" Koechlin
6e92da76ad
lapi to capi : allow push of tainted/custom/manual decisions ()
* add console command to control signal sharing
* modify metrics endpoint to add lastpush

Co-authored-by: alteredCoder <kevin@crowdsec.net>
2022-01-13 16:46:16 +01:00
Manuel Sabban
25a8ab6163
Merge branch 'crowdsecurity:master' into master 2021-12-23 15:42:37 +01:00
mmetc
64d8c0357b
added debian/README.md 2021-12-22 14:17:32 +01:00
sabban
c8ec37ea4e add debian/install file 2021-12-13 17:41:25 +01:00
sabban
2e146ea3fc update to use debian/install files 2021-12-13 17:37:37 +01:00
mmetc
7dee103b6e
typos of various nature () 2021-12-06 17:29:23 +01:00
mmetc
e6c3100d69
gitignore the files generated while building the debian package () 2021-11-30 10:09:20 +01:00
blotus
66919924d3
don't attempt to start crowdsec if LAPI has been disabled with debconf () 2021-10-22 10:49:44 +02:00
Manuel Sabban
0d075f32cd
fix perms in package installation ()
* fix perms

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-10-22 10:14:15 +02:00
Manuel Sabban
9b5cb6abc9
fucntional tests fix ()
* add patch for the user used for starting plugins
* fix postinst
* fix fucn tests to make it work with ansible
* group_wait to 5s
* small fixes

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-09 16:24:59 +02:00
Manuel Sabban
21dd4851f1
make crowdsec own /etc/crowdsec/* ()
* make debian packages own /etc/crowdsec/*

* make package owns /etc/crowdsec/*

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-08 11:36:59 +02:00
Manuel Sabban
1d955f4258
fix plugins directories ()
* use usr over var for plugins
* add patch for debian directory
* patch rpm conf as well
* update directory structure
* modify config at build time
* use macros

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-07 17:18:55 +02:00
Thibault "bui" Koechlin
950759f6d6
Output plugins ()
* Add plugin system for notifications ()
2021-08-25 11:43:29 +02:00
blotus
1a605f33da
import debian & rpm sources () 2021-08-18 13:57:06 +02:00