docker-pi-hole VS crowdsec

Compare docker-pi-hole vs crowdsec and see what are their differences.

crowdsec

CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI. (by crowdsecurity)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
docker-pi-hole crowdsec
203 169
7,786 7,720
2.7% 1.8%
7.8 9.6
3 days ago 7 days ago
Shell Go
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

docker-pi-hole

Posts with mentions or reviews of docker-pi-hole. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-10.
  • Problem - Pi-Hole not getting many DNS requests
    2 projects | /r/pihole | 10 Jul 2023
    Yesterday I deployed the official pi hole docker container on my raspberry pi 3 and set a custom DNS address on my phone addressing to the pi.
  • No internet access for containers co-hosted with pihole
    6 projects | /r/docker | 13 May 2023
    More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
    6 projects | /r/docker | 13 May 2023
    version: "3" # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ networks: dns_net: driver: bridge ipam: config: - subnet: 10.2.0.0/24 services: pihole: depends_on: [unbound] container_name: pihole image: pihole/pihole:latest hostname: pihole networks: dns_net: ipv4_address: 10.2.0.100 ports: - "5335:53/tcp" - "5335:53/udp" - "7000:80/tcp" environment: TZ: ${TZ} WEBPASSWORD: ${PWD} FTLCONF_LOCAL_IPV4: ${HOST_IP} # Set to server's LAN IP, used by web block modes. PIHOLE_DNS_: 10.2.0.200 # Upstream DNS server(s) for Pi-hole to forward queries to, separated by a semicolon DNSMASQ_LISTENING: all # "Listen on all interfaces, permit all origins" # Volumes store your data between container upgrades volumes: - /var/lib/docker/volumes/pihole/etc-pihole:/etc/pihole - /var/lib/docker/volumes/pihole/etc-dnsmasq.d:/etc/dnsmasq.d healthcheck: disable: true restart: unless-stopped unbound: # https://github.com/MatthewVance/unbound-docker container_name: unbound image: mvance/unbound:latest hostname: unbound networks: dns_net: ipv4_address: 10.2.0.200 ports: - "${HOST_IP}:53:53/udp" - "${HOST_IP}:53:53/tcp" healthcheck: disable: true restart: unless-stopped
  • Synology/MACVLAN/BRIDGE help
    2 projects | /r/synology | 9 May 2023
    services: pihole: container_name: pihole image: pihole/pihole:latest hostname: pihole # Container hostname (optional) domainname: mynetwork.local # Container domain (optional) mac_address: f7:55:63:b0:68:83 # Random MAC address (optional) networks: virtualnet: # Name of macvlan ipv4_address: 192.168.100.249 # Desired IP for pihole dns: - 127.0.0.1 - 1.1.1.1 ports: - "53:53/tcp" - "53:53/udp" - "67:67/udp" - "80:80/tcp" - "443:443/tcp" volumes: - ./pihole-configs/:/etc/pihole/ - ./dnsmasq.d-configs/:/etc/dnsmasq.d/ # DNSMASQ_USER # https://github.com/pi-hole/docker-pi-hole/issues/963 # https://github.com/pi-hole/docker-pi-hole/blob/master/README.md#upgrade-notes environment: FTLCONF_LOCAL_IPV4: 10.59.0.6 # Desired IP for pihole VIRTUAL_HOST: pihole.mynetwork.local DNSMASQ_USER: root PIHOLE_DNS_: 1.1.1.1;1.0.0.1;2606:4700:4700::1111;2606:4700:4700::1001 restart: unless-stopped # Set container to always restart
  • Need a totally updated guide for setting up pi-hole on Synology DSM 7.1.1+
    2 projects | /r/pihole | 6 May 2023
    I have't yet used the NAS with docker so I don't know how exactly to set it up, but I run my pihole in a container and I just followed the official guide https://github.com/pi-hole/docker-pi-hole
    2 projects | /r/pihole | 6 May 2023
  • I'm struggling to get a Pi-Hole docker container working on my home network
    2 projects | /r/pihole | 28 Mar 2023
    More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
  • can i run a pi hole server on a jailbroken iphone ?
    3 projects | /r/pihole | 22 Mar 2023
  • What's the easiest way to redirect a local domain name to nginx proxy manager?
    2 projects | /r/selfhosted | 14 Mar 2023
    The Pi-hole documentation addresses the port 53 conflict for Ubuntu and Fedora. See the section “Installing on Ubuntu or Fedora” on this page.
  • DNS Issues
    3 projects | /r/pihole | 21 Feb 2023
    Docker Tag 2023.02.2

crowdsec

Posts with mentions or reviews of crowdsec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.
  • Brute.Fail Watch brute force attacks in real time
    3 projects | news.ycombinator.com | 2 Jun 2023
    Hey we actually built the second part as a product. Its a modern revamp of fail2ban combined with crowdsourcing aspect to deliver an up-to-date blocklist of active threats. You can check it out at https://github.com/crowdsecurity/crowdsec
  • Did you have serious attacks on your exposed services before?
    2 projects | /r/selfhosted | 30 Apr 2023
    This tool crowdsec.net is really interesting to mitigate and enact defense systems for different scenarios.
  • Feature Request: CrowdSec
    3 projects | /r/firewalla | 25 Apr 2023
    CrowdSec is licensed under MIT open source license, you can find a copy of the text here: “Copyright 2020, CrowdSec SAS (http://crowdsec.net), Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.” That’s all there is to it. Like in the case of Debian, you can do anything you want with it, for free, period. You just need to embed this license when you redistribute the product.
  • Hardening exposed WireGuard ports
    3 projects | /r/selfhosted | 6 Nov 2022
    Do I need something like crowdsec, or is WireGuard secure enough on its own?
  • Banning users for certain actions
    3 projects | /r/flask | 8 Oct 2022
    You could try out https://crowdsec.net. It’s an advanced FOSS framework for detecting a number of different attacks and not limited to just brute force attacks like Fail2Ban as /u/nonself suggests. The basic concept of CrowdSes is that it reads log, detects attacks, mitigates attacks (CrowdSec integrates directly into the Flask application) and shares information about those attacks with everyone else using CrowdSec. Disclaimer: I am head of community at CrowdSec so my opinions may be a little biased :-)
  • How to access Docker containers on home server from public IP?
    6 projects | /r/selfhosted | 4 Oct 2022
    You need to setup reverse proxy. nginx-proxy-manager, swag. There are also more options like caddy, haproxy etc... You can also setup a VPN and or a service like authelia, fail2ban, crowdsec to restrict access to your site.
  • Crosscompiling CrowdSec on amd64 (Ubuntu 22.04) to arm64 (FriendlyWRT / OpenWRT 22.04)?
    2 projects | /r/CrowdSec | 24 Sep 2022
    Release v1.4.1 · crowdsecurity/crowdsec (github.com)
  • Block traffic from every country except the USA? - Apache2/SSH
    2 projects | /r/sysadmin | 15 Sep 2022
    Not what you suggested but have you considered https://crowdsec.net? Not just a collaborative and more advanced version of Fail2Ban but in this case you want it because of the collaborative blocklist; we made an article showing that 92% of attacks was blocked in advanced by ip reputation before any attacks were performed. Disclaimer: I am head of community so I might be a bit biased. It’s still a cool FOSS project though :-)
  • Newbie help...docker, portainer, godaddy
    6 projects | /r/selfhosted | 14 Sep 2022
    You need to look into reverse proxy. Most common one is nginx-proxy-manager which has a nice GUI. There is also SWAG. Both can been configured to get free SSL certificates. For security: authelia, fail2ban, crowdsec. I also suggest to configure wireguard, wg-easy. If you have any questions, we are here. Welcome and good luck!
  • Large scale Internet SSH brute force attacks seem to have stopped here
    10 projects | news.ycombinator.com | 29 Aug 2022
    So in that way everybody using CrowdSec are helping each other out. More information at https://crowdsec.net.

What are some alternatives?

When comparing docker-pi-hole and crowdsec you can also consider the following projects:

Fail2Ban - Daemon to ban hosts that cause multiple authentication errors

Wazuh - Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.

Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface

pfSense - Main repository for pfSense

ModSecurity - ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx that is developed by Trustwave's SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. With over 10,000 deployments world-wide, ModSecurity is the most widely deployed WAF in existence.

Suricata - Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.

docker-pihole-unbound - Run Pi-Hole + Unbound on Docker

ansible-collection-hardening - This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL

Snort - Snort++

OSSEC - OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.

docker-fail2ban - Fail2ban Docker image