Open spirillen opened 2 years ago
Ixfrdist fails to load as serial does not fit in 31 bits
serial does not fit in 31 bits
Really :smiley:
:arrow_double_up:
The crash appears to be because the serial of one of the zones is larger than 31 bits.
Short description
Ixfrdist fails to load as
serial does not fit in 31 bits
Environment
Steps to reproduce
Expected behaviour
Really :smiley:
Actual behaviour
:arrow_double_up:
Other information
The debug log
``` sudo gdb ixfrdist GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or laterthe config
```bash grep -vE "^(#|$)" /etc/powerdns/ixfrdist.yml work-dir: '/var/lib/ixfrdist' uid: _ixfrdist gid: _ixfrdist listen: - '127.0.0.1:5303' acl: - '0.0.0.0/0' axfr-max-records: 0 axfr-timeout: 700 failed-soa-retry: 10 keep: 2 tcp-in-threads: 10 domains: - domain: rpz.mypdns.cloud master: 127.0.0.1:5300 - domain: rpz.urlhaus.abuse.ch master: 127.0.0.1:5300 ```find /var/lib/ixfrdist -ls
```shell find /var/lib/ixfrdist -ls 1837474 4 drwxr-xr-x 4 _ixfrdist _ixfrdist 4096 Aug 4 10:40 /var/lib/ixfrdist 1835157 4 drwxr-xr-x 2 _ixfrdist _ixfrdist 4096 Aug 4 10:40 /var/lib/ixfrdist/rpz.mypdns.cloud. 1836255 17136 -rw-r--r-- 1 _ixfrdist _ixfrdist 17546644 Aug 4 10:40 /var/lib/ixfrdist/rpz.mypdns.cloud./2021043012 1835458 4 drwxr-xr-x 2 _ixfrdist _ixfrdist 4096 Aug 4 10:40 /var/lib/ixfrdist/rpz.urlhaus.abuse.ch. 1836276 28 -rw-r--r-- 1 _ixfrdist _ixfrdist 27256 Aug 4 10:40 /var/lib/ixfrdist/rpz.urlhaus.abuse.ch./2208021133 ```