]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: usr: Check "asnum" validity in GeoIP ACLs main
authorEvan Hunt <each@isc.org>
Wed, 5 Aug 2026 18:10:23 +0000 (18:10 +0000)
committerEvan Hunt <each@isc.org>
Wed, 5 Aug 2026 18:10:23 +0000 (18:10 +0000)
commit9667b263dfc4908c04bf24357ab19b406ce00e23
treee61140e5d3041c34198ab07cacf6ab0782c3f12e
parent29ced40c7723742909ddd5061183010a21e6daef
parentc37d432c5ea4aa46b4fde6a3ddb7c9080d1d5eab
fix: usr: Check "asnum" validity in GeoIP ACLs

We now check the validity of autonomous system (AS) numbers when
parsing GeoIP ACLs that use `asnum` elements at configuration time.

`asnum` values start with an optional case-insensitive "AS" prefix, followed only by decimal digits, with no spaces or other extraneous characters. The value represented cannot exceed 2^32.

Closes #6255

Merge branch '6255-check-asnum' into 'main'

See merge request isc-projects/bind9!12438