Giter Club home page Giter Club logo

quic-go's People

Contributors

aaronriekenberg avatar birneee avatar bt90 avatar dependabot[bot] avatar dunglas avatar ebi-yade avatar glonee avatar hareku avatar jbenoist avatar jfgiorgi avatar juliens avatar julienschmidt avatar kelmenhorst avatar lucas-clemente avatar marcopolo avatar marten-seemann avatar mengelbart avatar mw-jn avatar nmldiegues avatar q191201771 avatar renbou avatar rthellend avatar sukunrt avatar tanghaowillow avatar tatianab avatar tobyxdd avatar twdkeule avatar vinozzz avatar weidideng avatar ydnar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quic-go's Issues

large downloads not working

Client sends ConnectionCloseFrame because of Invalid entropy after a couple of hundert packets on network connections (not on loopback).

prioritize StreamFrames that need to be retransmitted

When a packet is lost and needs to be retransmitted, we immediately send the StopWaitingFrame with the next packet. The StreamFrames contained in the lost packet however are queued and might get transmitted much later if the StreamFrame queue in the PacketPacker is long.

Verify CHLO length

The docs says:

Any message may contain a padding (PAD) tag. These can be used to to defeat traffic analysis. Additionally, we may define a global minimum size for client hellos to limit amplification attacks. Client hellos that are smaller than the minimum would need a PAD tag to make up the difference.

implement Flow control

The client always crashes for downloads of non-trivial amounts of data because we are sending too fast.

Error message:

[0501/115530:VERBOSE1:quic_flow_controller.cc(62)] Client: Stream 5 highest byte offset increased from: 15137 to 16538
[0501/115530:VERBOSE1:quic_flow_controller.cc(62)] Client: Stream 0 highest byte offset increased from: 15137 to 16538
[0501/115530:ERROR:quic_flow_controller.cc(94)] Client: Flow control violation on stream 5, receive window offset: 16384, highest received byte offset: 16538
[0501/115530:VERBOSE1:quic_connection.cc(1913)] Client: Closing connection: 14740099974783558584, with error: QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA (59), and details:  Flow control violation after increasing offset
[0501/115530:VERBOSE1:quic_connection.cc(1928)] Client: Sending connection close packet.

Panic message:

[0501/115530:FATAL:quic_flow_controller.cc(174)] Check failed: bytes_consumed_ <= receive_window_offset_ (16538 vs. 16384)

occasional "authentication failed" errors

Sample output:

<- Reading packet 6 for connection 3793658948447668933
Closing session with error: authentication failed
invalid http2 frame: authentication failed

Queue undecryptable packets for later decryption

Issue #33 is a race condition where the client may send encrypted data, but the server has not processed the handshake yet. In these cases, we should queue the undecryptable packets for later decryption (i.e. at latest once we have forward secure encryption set up), instead of simply discarding them.

There should be an error if:

  • Too many undecryptable packets arrive
  • Queued packets are still undecryptable after FS encryption is set up

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.