Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need function to GC old IXFR structures #21

Open
4 tasks done
johanix opened this issue Apr 30, 2024 · 1 comment
Open
4 tasks done

Need function to GC old IXFR structures #21

johanix opened this issue Apr 30, 2024 · 1 comment

Comments

@johanix
Copy link
Collaborator

johanix commented Apr 30, 2024

Strawman proposal:

We know all RPZ downstreams. If we track the serial they want to start from in each IXFR requests then we can discard the tail of the IXFR chain with serials older than the oldest RPZ downstream IXFR start.

  • Track claimed serial for each downstream. This is a bit difficult as we know the downstream by addr+port, but they claim a serial via their IXFR request, which will use a random port.
  • Process data from a an update that lead to an update of RPZ (i.e. a new IXFR object was created) into the RPZ AXFR data.
  • Delete IXFR objects from the IXFR chain if they are more than two serials earlier than last claimed serial.
  • Enhance the zone transfer support to be able to send an AXFR if we don't have enough links left in the IXFR chain to satify the IXFR request.
@johanix
Copy link
Collaborator Author

johanix commented May 25, 2024

All done, but not yet tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants