Code Monkey home page Code Monkey logo

api's Introduction

api's People

Contributors

darshakthakore avatar martinthomson avatar tfpauly avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

darshakthakore

api's Issues

expire-date -> seconds-remaining

As discussed in the IETF hackathon/informal meeting, the consensus is to change expire-date (an absolute iso datetime) to seconds-remaining integer (named after bytes-remaining)

.well-known

I don't think that we need this. 7710 gives us an entire URI, as can PvD.

Define seconds remaining

The draft currently specifies a deadline as an absolute time. Experience with implementation showed that time remaining (in seconds) was easier to implement and less subject to the vagaries of clock differences.

HTTPS

To meet the architecture requirements.

Captivity enforcement

Hi,

The current documents treat captivity as a transient phase with a well-defined exit process. Often, the users stay in a "captive" mode longer, and they can still access certain resources/websites/apps. Airplanes and out-of-balance mobile users are certain examples.

It is well-known that the network has challenges to enforce desired policies, and falls back into using hacks like DNS/SNI/IP allow lists.

Is the group interested to examine the enforcement aspect, and how the client's OS can assist such enforcement so that they can still work with DoH, ECH etc? We've been looking at use cases that require some sort of "network authorization", and this might be relevant.

Thanks,
Yiannis

p.s.: I tried twice to subscribe to the IETF mailing list but got no confirmation e-mail or anything. Please let me know if you prefer to move this discussion there and if you could check pending subscription in the mailing list.

HMAC key

Should we hold the addition of this until we have something that depends on it being in the API?

Section 3.1.1. should also allow NTP

In the "Server Authentication" section, there is a mention about letting OCSP go through the captive portal before being authorized, so, there should also be mention of NTP or any other time-synch protocol.

Be more precise about bytes remaining

We identified a need to be clearer here that the value counted as both up and down (added together) and that we needed to explicitly say that the count includes the IP packet header.

Flip the `permitted` bit

We should consider flipping the JSON key for permitted to its opposite to match the architecture document description

Define a media type

application/json is fine in the general sense, but if you want to ever do things like versioning, then a media type is important. Crib from geojson if you want a recent example.

Server authentication

As David Bird pointed out, we should describe the model we assume for API server authentication. Then we need to describe the requirements on this.

An important point here is that CRL or OCSP checking are likely to fail for a captive UE. A recommendation for servers to use OCSP stapling is likely necessary (whitelisting CRL or OCSP servers is probably workable, but OCSP stapling is a far superior solution).

Cache-Control: private

Having per-client information (esp. the HMAC key) means that you need to have text about ensuring that the information is kept private. That means a strong admonishment for Cache-Control: private at a minimum.

How does the server identify the user?

I know there has been a lot of discussion about User Equipment Identity, and I'm not sure what the conclusions are, but I think this API document needs to explain how it must work.

Give some guidance about cache configuration

The example says Cache-Control: private but there are no paragraph statements about what policy should be used.
I think we want caching disabled, since the result may change with each GET.

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.