Skip to content

update-ipsets on Debian 12: Cannot access ./install.config #511

@slrslr

Description

@slrslr

https://github.com/firehol/firehol/blob/master/sbin/update-ipsets says:

# update-ipsets - for FireHOL - A firewall for humans...
# This script depends on iprange, found also in firehol.
# It does not depend on firehol. You can use it without firehol.

I have tried to use it without firehol on Debian 12.10, 6.1.0-34-amd64 under root user like this:

apt install iprange ipset && curl -s https://raw.githubusercontent.com/firehol/firehol/refs/heads/master/sbin/update-ipsets|bash

result:

Cannot access ./install.config

iprange --version; ipset --version

iprange 1.0.4
ipset v7.17, protocol version: 7

After:

apt install firehol && systemctl disable firehol fireqos
find /etc /var /usr -name install.config

it is found at /usr/lib/firehol/install.config

So I run:

cd /usr/lib/firehol/ && curl -s https://raw.githubusercontent.com/firehol/firehol/refs/heads/master/sbin/update-ipsets|bash

This time it ran the script, with a few errors on the top:

                   geolite2_country|  ERROR  Command 'unzip' is not installed.
                                   | 
                       geolite2_asn|  ERROR  Command 'unzip' is not installed.
                                   | 
                     ipdeny_country|  DISABLED  
                                   | To enable run: update-ipsets enable ipdeny_country
                                   | 
                ip2location_country|  ERROR  Command 'unzip' is not installed.
                                   | 
                       ipip_country|  ERROR  Command 'unzip' is not installed.

running:

apt install unzip
curl -s https://raw.githubusercontent.com/firehol/firehol/refs/heads/master/sbin/update-ipsets|bash

worked without error now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions