GithubHelp home page GithubHelp logo

Comments (3)

job avatar job commented on September 28, 2024 1

made some progress

vurt$ ./cmd/stayrtr/stayrtr -cache=/var/db/rpki-client/json -checktime=true
ERRO[0000] Error updating: VRP JSON file is older than 24 hours: 2020-07-17 13:38:44 +0000 UTC
INFO[0000] StayRTR Server started (sessionID:13855, refresh:3600, retry:600, expire:7200)
^C

vurt$ ./cmd/stayrtr/stayrtr -cache=/var/db/rpki-client/json -checktime=false
INFO[0000] New update (971 uniques, 971 total prefixes). 0 bytes. Updating sha256 hash  -> 2e25e354abf2c393784daf1e6ca4f7cff5b013abc81a9ccff6ed9818244d0b95
INFO[0000] Updated added, new serial 0
INFO[0000] StayRTR Server started (sessionID:21149, refresh:3600, retry:600, expire:7200)

from stayrtr.

randomthingsandstuff avatar randomthingsandstuff commented on September 28, 2024

What about when expires key doesn't exist? Wasn't this added to up-rev rpki-client code only? Not sure if this will be problematic from xversion perspective.

from stayrtr.

job avatar job commented on September 28, 2024

We have a few (not mutually exclusive) options:

  • If expires does not exist anywhere in the JSON, issue a warning "please use a modern validator"
  • Use metadata->buildtime + (24*60*60)as poor man's substitute. That variable has been around for long time

from stayrtr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.