Skip to content

ERROR: Bad source address when running with --purge #7

@thousandlemons

Description

@thousandlemons

sudo ./ufw-cf.sh --purge prints the following error:

ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.ERROR: Bad source address
.
Total rules deleted: 0
Total rules created: 0
Total rules ignored: 22
Done.

Here are the relevant existing rules in ufw:

...
80,443/tcp                 ALLOW       173.245.48.0/20            # cloudflare
80,443/tcp                 ALLOW       103.21.244.0/22            # cloudflare
80,443/tcp                 ALLOW       103.22.200.0/22            # cloudflare
80,443/tcp                 ALLOW       103.31.4.0/22              # cloudflare
80,443/tcp                 ALLOW       141.101.64.0/18            # cloudflare
80,443/tcp                 ALLOW       108.162.192.0/18           # cloudflare
80,443/tcp                 ALLOW       190.93.240.0/20            # cloudflare
80,443/tcp                 ALLOW       188.114.96.0/20            # cloudflare
80,443/tcp                 ALLOW       197.234.240.0/22           # cloudflare
80,443/tcp                 ALLOW       198.41.128.0/17            # cloudflare
80,443/tcp                 ALLOW       162.158.0.0/15             # cloudflare
80,443/tcp                 ALLOW       104.16.0.0/13              # cloudflare
80,443/tcp                 ALLOW       104.24.0.0/14              # cloudflare
80,443/tcp                 ALLOW       172.64.0.0/13              # cloudflare
80,443/tcp                 ALLOW       131.0.72.0/22              # cloudflare
...
80,443/tcp                 ALLOW       2400:cb00::/32             # cloudflare
80,443/tcp                 ALLOW       2606:4700::/32             # cloudflare
80,443/tcp                 ALLOW       2803:f800::/32             # cloudflare
80,443/tcp                 ALLOW       2405:b500::/32             # cloudflare
80,443/tcp                 ALLOW       2405:8100::/32             # cloudflare
80,443/tcp                 ALLOW       2a06:98c0::/29             # cloudflare
80,443/tcp                 ALLOW       2c0f:f248::/32             # cloudflare

I'm not sure how to get more debug info as I'm really not proficient in bash. Could you please help take a look?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions