Skip to content

crowdsec: update from upstream latest release 1.2.3 #17615

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

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

erdoukki
Copy link
Contributor

@erdoukki erdoukki commented Jan 15, 2022

Maintainer: Gérald Kerma / @erdoukki
Compile tested: (aarch64_cortex-a53, espressoBin, OpenWrt master and 21.02)
Run tested: (aarch64_cortex-a53, espressoBin, OpenWrt 21.02.x and 19.07.x, tests done)

Tests:
installation and upgrade: ok
logging: ok
enroll in webconsole: ok
cscli: ok
service reload/restart/status/disable/enable: ok

OpenWrt Version tested:
21.02.x
19.07.x

Description:
update from latest upstream release 1.2.3
updated copyright

Changes (from 1.2.2):
crowdsecurity/crowdsec@v1.2.2...v1.2.3

Tests:

root@STARGATE:~# crowdsec --version
2022/01/15 11:06:46 version: v1.2.2-openwrt-1.2.2-1
2022/01/15 11:06:46 Codename: alphaga
2022/01/15 11:06:46 BuildDate: 2022-01-14_14:21:08
2022/01/15 11:06:46 GoVersion: 
2022/01/15 11:06:46 Constraint_parser: >= 1.0, <= 2.0
2022/01/15 11:06:46 Constraint_scenario: >= 1.0, < 3.0
2022/01/15 11:06:46 Constraint_api: v1
2022/01/15 11:06:46 Constraint_acquis: >= 1.0, < 2.0
root@STARGATE:~# opkg install /root/crowdsec_1.2.3-2_aarch64_cortex-a53.ipk 
Upgrading crowdsec on root from 1.2.2-1 to 1.2.3-2...
Configuring crowdsec.
local API already registered...
online API already registered...
INFO[15-01-2022 11:07:37 AM] Wrote new 210740 bytes index to /etc/crowdsec/hub/.index.json 
WARN[15-01-2022 11:07:38 AM] crowdsecurity/syslog-logs : overwrite        
WARN[15-01-2022 11:07:38 AM] crowdsecurity/geoip-enrich : overwrite       
WARN[15-01-2022 11:07:38 AM] crowdsecurity/dateparse-enrich : overwrite   
WARN[15-01-2022 11:07:38 AM] crowdsecurity/sshd-logs : overwrite          
WARN[15-01-2022 11:07:39 AM] crowdsecurity/ssh-bf : overwrite             
WARN[15-01-2022 11:07:39 AM] crowdsecurity/ssh-slow-bf : overwrite        
WARN[15-01-2022 11:07:39 AM] crowdsecurity/sshd : overwrite               
WARN[15-01-2022 11:07:39 AM] crowdsecurity/sshd : overwrite               
WARN[15-01-2022 11:07:39 AM] crowdsecurity/linux : overwrite              
INFO[15-01-2022 11:07:39 AM] /etc/crowdsec/collections/sshd.yaml already exists. 
INFO[15-01-2022 11:07:39 AM] /etc/crowdsec/collections/linux.yaml already exists. 
INFO[15-01-2022 11:07:39 AM] Enabled crowdsecurity/linux                  
INFO[15-01-2022 11:07:39 AM] Run 'sudo systemctl reload crowdsec' for the new configuration to be effective. 
WARN[15-01-2022 11:07:39 AM] crowdsecurity/whitelists : overwrite         
INFO[15-01-2022 11:07:39 AM] Enabled crowdsecurity/whitelists             
INFO[15-01-2022 11:07:39 AM] Run 'sudo systemctl reload crowdsec' for the new configuration to be effective. 
INFO[15-01-2022 11:07:40 AM] Upgrading collections                        
INFO[15-01-2022 11:07:40 AM] crowdsecurity/linux : up-to-date             
INFO[15-01-2022 11:07:40 AM] crowdsecurity/sshd : up-to-date              
INFO[15-01-2022 11:07:40 AM] All collections are already up-to-date       
INFO[15-01-2022 11:07:40 AM] Upgrading parsers                            
INFO[15-01-2022 11:07:40 AM] crowdsecurity/geoip-enrich : up-to-date      
INFO[15-01-2022 11:07:40 AM] crowdsecurity/whitelists : up-to-date        
INFO[15-01-2022 11:07:40 AM] crowdsecurity/dateparse-enrich : up-to-date  
INFO[15-01-2022 11:07:40 AM] crowdsecurity/syslog-logs : up-to-date       
INFO[15-01-2022 11:07:40 AM] crowdsecurity/sshd-logs : up-to-date         
INFO[15-01-2022 11:07:40 AM] All parsers are already up-to-date           
INFO[15-01-2022 11:07:40 AM] Upgrading scenarios                          
INFO[15-01-2022 11:07:40 AM] crowdsecurity/ssh-slow-bf : up-to-date       
INFO[15-01-2022 11:07:40 AM] crowdsecurity/ssh-bf : up-to-date            
INFO[15-01-2022 11:07:40 AM] All scenarios are already up-to-date         
INFO[15-01-2022 11:07:40 AM] Upgrading postoverflows                      
INFO[15-01-2022 11:07:40 AM] No postoverflows installed, nothing to upgrade 
uci: Entry not found
Collected errors:
 * resolve_conffiles: Existing conffile /etc/crowdsec/online_api_credentials.yaml is different from the conffile in the new package. The new conffile will be placed at /etc/crowdsec/online_api_credentials.yaml-opkg.
 * resolve_conffiles: Existing conffile /etc/crowdsec/local_api_credentials.yaml is different from the conffile in the new package. The new conffile will be placed at /etc/crowdsec/local_api_credentials.yaml-opkg.
 * resolve_conffiles: Existing conffile /etc/crowdsec/config.yaml is different from the conffile in the new package. The new conffile will be placed at /etc/crowdsec/config.yaml-opkg.
root@STARGATE:~# crowdsec --version
2022/01/15 11:08:38 version: v1.2.3-openwrt-1.2.3-2
2022/01/15 11:08:38 Codename: alphaga
2022/01/15 11:08:38 BuildDate: 2022-01-15_10:03:09
2022/01/15 11:08:38 GoVersion: 1.13.8
2022/01/15 11:08:38 Constraint_parser: >= 1.0, <= 2.0
2022/01/15 11:08:38 Constraint_scenario: >= 1.0, < 3.0
2022/01/15 11:08:38 Constraint_api: v1
2022/01/15 11:08:38 Constraint_acquis: >= 1.0, < 2.0

Signed-off-by: Kerma Gérald gandalf@gk2.net

@BKPepe
Copy link
Member

BKPepe commented Jan 15, 2022

in commit mesasge should be also: updated copyright otherwise you are doing more changes than you said

update from latest upstream release 1.2.3
updated copyright

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
@erdoukki
Copy link
Contributor Author

okay, thanks.
commit message updated accordinly.

@erdoukki
Copy link
Contributor Author

erdoukki commented Jan 17, 2022

@BKPepe @PolynomialDivision @jefferyto
Can you please review this PR ?

@BKPepe
Copy link
Member

BKPepe commented Jan 18, 2022

@erdoukki Please stop spamming developers. They will get to it once they have time to be able to look at it. No need to rush.

@BKPepe BKPepe merged commit de41b63 into openwrt:master Jan 18, 2022
@erdoukki
Copy link
Contributor Author

thanks

@erdoukki erdoukki deleted the crowdsec-1.2.3 branch January 18, 2022 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants