Crowdsec finally comming to pfSense
-
@mmetc said in Crowdsec finally comming to pfSense:
@provels you can download the archive I linked, there is the same content as the *pkg files but for freebsd 15. A new release with crowdsec 1.6.1 should be uploaded soon, I'll make sure to build the *pkg files with version 15
I'm currently on version 1.6.0. To upgrade, should I execute only the following commands? Other than the re2 and pfsense packages, it appears that the remaining packages are the same version.
setenv IGNORE_OSVERSION yes pkg add -f https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3-1.6.1/re2-20240401.pkg pkg add -f https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3-1.6.1/crowdsec-1.6.1.pkg
Is there any breaking changes I should be aware of? I'm running pfSense CE 2.7.2....thanks.
-
@mmetc FWIW, the crowdsec-1.6.0_1.pkg in the tar linked above worked fine for me.
https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3/freebsd-15-amd64.tar
However, the 1.6.1 package linked below pretty much blew up my system
https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/tag/v0.1.3-1.6.1
Caused a lockup on installation and save, Apparently ZFS saved my butt, directories below the root folder vanished, system eventually rolled itself back to mid-December. Perhaps a coincidence, but for me it was a mess.
EDIT - Ok, since I love hitting myself in the head with a hammer, I tried again... System crashed out shortly after, threw me back to 23.09 deleted my saved logs after 12/7 and threw a bunch of error's. Someone else can test, I've had it.
-
I attempted to upgrade only those two packages initially. After the upgrade, Crowdsec ceased to function, and even pressing 'save' on the settings page without making any changes, to force a restart, did not help.
Subsequently, I performed the complete 5-package upgrade following the sequence outlined in the documentation, but it still failed to start.
Ultimately, rebooting my pfSense resolved the issue, and it began working.
In previous upgrades of earlier versions, I recall never having to reboot my pfSense. It's strange.
-
Continuing my self-abuse, I have found that the 1.6.0 version works fine on 24.03-RELEASE AFAICT even though it's compiled for Freebsd 14. Both the 1.6.0_1 and 1.6.1 will crash out and fubar the system. Think I'll wait for the Netgate Seal of Approval.
-
@provels Did you test last one 1.6.1_1 released 9 hours ago?
-
@Antibiotic No, I can wait. You first!
-
@provels Any ideas when will come to official? or even planning to come?As i know a huge problem was with a use of ram disk. I do not know, they are resolve this problem or not!
-
-
@Antibiotic No idea. I hadn't even heard of it before this thread.
-
Yes, would be great if it is 'officially' supported by Pfsense.