NICMx / FORT-validator

RPKI cache validator
MIT License
47 stars 23 forks source link

Corrupted HTTP download on retry #76

Closed ydahhrk closed 7 months ago

ydahhrk commented 2 years ago

The FILE is not reset on retry, which means an HTTP download that fails mid-transfer will result in it being appended to its own half, thereby dumping garbage into the local repository.

This can happen to TALs (from --init-tals and --init-as0-tals),TAs, and RRDP Notifications, Snapshots and Deltas.

Branch rrdp-refactor has a WIP of this bug.