-
Notifications
You must be signed in to change notification settings - Fork 2
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
Blacklists are empty after filter sync #102
Comments
Hey. Having same issue @psalecker , plus rules are not being createad at all 🥲.. Using pfSense Plus 24.11. However before in 24.03 i tested with manual decision and it worked and blocked the traffic. But now, it does not block anything. And also the table gets empty. @mmetc Thanks for your work. If you need to debug further. let me know. Best regards. And Happy Holidays |
@FlurryNight have you installed this pre-release version? https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/tag/v0.1.5-1.6.4pre can you please run "cscli support dump" and send the resulting file to [email protected] Are you also using two pfsense instances? |
Hello, yes. I also have upgraded to see if it would solve. Previously i was using stable. Okay i will do that soon as i can. No. Only one. Thanks |
I've sent the email :). Thanks |
Hi @FlurryNight I have not been able to replicate your issue -- the filter table is only empty when the bouncer is not running, but that's not what I see from the logs. You can try the new version at https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/tag/v0.1.5-1.6.4pre2 if it's still not working we can switch to email for more details thanks |
Hello, Thanks for the response. I've upgraded but no luck.. i also can't exactly point why.. Another thing i noticed from the start, is after enabling the crowdsec package in settings or doing pkg upgrades i had to do for it to be detected in the Crowdsec Platform and to function okay. don't know if that is a issue too. However since i upgraded pfSense to 24.11 i dont know why the rules are not being created, and since the tables get empty it not possible to do the manual rules. the thing is like you said, all seems normal. bouncer is running and etc. Could it be from some change from netgate in this last version? We can do a call in Discord now in January if you need to debug live, if you have discord contact me via the email i've sent. and i send you my tag. Thanks again, and have a happy new year |
I'm using CrowdSec on pfSense Plus 24.03 and noticed that the
crowdsec_blacklists
andcrowdsec6_blacklists
PF tables are often empty, while thecrowdsec-firewall-bouncer
is working as it should. I narrowed the problem down to thefilter_configure_sync
function of pfSense.The easiest way to reproduce it is to call
/etc/rc.filter_configure_sync
:In practice I saw two use-cases where this happens:
/etc/crontab
, that is clearing the tables every 15 minutes:0,15,30,45 * * * * root /etc/rc.filter_configure_sync
Ideally the CrowdSec package would hook into the
filter_configure_sync
function and either prevents that the entries get removed or adds them back immediately.The text was updated successfully, but these errors were encountered: