Граф коммитов

2322 Коммитов

Автор SHA1 Сообщение Дата
Anthony Rossi 3ae916336f
Update credscan suppression for openssl3 submodule. (#3506)
* Update credscan suppression for openssl3 submodule.

* Update gdnsuppress
2023-03-13 18:46:57 -04:00
shädam f67fa5373c
Fix 2 Valgrind warnings (#3507)
Co-authored-by: supahero1 <user@example.com>
2023-03-13 18:46:13 -04:00
dependabot[bot] 6737f66a7f
Bump submodules/googletest from `cead3d5` to `391ce62` (#3497)
Bumps [submodules/googletest](https://github.com/google/googletest) from `cead3d5` to `391ce62`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](cead3d57c9...391ce627de)

---
updated-dependencies:
- dependency-name: submodules/googletest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 10:29:45 -04:00
Nick Banks 9f2ebfbf0c
Update PGO data (#3500)
Co-authored-by: QUIC Dev[bot] <quicdev@microsoft.com>
2023-03-13 10:28:46 -04:00
jdcole 0a32e7b03b
Document how to build and use clog2text and lttng (#3501) 2023-03-13 08:02:10 -04:00
dependabot[bot] 4ef9665d50
Bump step-security/harden-runner from 2.2.0 to 2.2.1 (#3499)
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](c8454efe5d...1f99358870)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 12:23:09 -05:00
dependabot[bot] 871cba243e
Bump github/codeql-action from 2.2.5 to 2.2.6 (#3498)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.5 to 2.2.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](32dc499307...16964e90ba)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 12:22:31 -05:00
Nick Banks cc9c6db1ca
Windows Sockets Abstraction Improvements (#3489)
* Windows Sockets Abstraction Improvements

* Update CLOG

* Fix release builds

* Another fix

* Fixed a NULL

* Fix asserts

* Add back CancelIo
2023-03-10 21:56:25 -05:00
Tomas Weinfurt b92b25c15a
get client random if setting TlsSecrets on server (#3481) 2023-03-08 08:56:37 -05:00
Tomas Weinfurt 3c3cd4a34c
Nibanks/stop openssl3 build warnings (#3486)
* Fix Build Warnings on OpenSSL 3

* change dumb to ansi

---------

Co-authored-by: Nick Banks <nibanks@microsoft.com>
2023-03-08 07:25:01 -05:00
Nick Banks 17cd308d14
Improve Send Cleanup Path to Fix Benign Assert (#3479) 2023-03-07 09:31:57 -08:00
Nick Banks 0ea0e26b67
Fix Scorecard Analysis Permissions (#3477) 2023-03-07 09:29:35 -08:00
Marie Píchová e1afd9de87
Ported fix for MacOS status codes from https://github.com/dotnet/runtime/pull/83011 (#3480) 2023-03-07 09:30:14 -05:00
dependabot[bot] b91955000a
Bump submodules/googletest from `3d787f5` to `cead3d5` (#3475)
Bumps [submodules/googletest](https://github.com/google/googletest) from `3d787f5` to `cead3d5`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](3d787f5a0d...cead3d57c9)

---
updated-dependencies:
- dependency-name: submodules/googletest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 08:14:04 -05:00
Nick Banks 8a8f3d863f
Update PGO data (#3476)
Co-authored-by: QUIC Dev[bot] <quicdev@microsoft.com>
2023-03-06 08:13:32 -05:00
jdcole bd8602cffb
Added static library build to default build targets. (#3474) 2023-03-04 11:55:24 -05:00
Yi Huang 1edd42421a
Ingest XDP v0.16.7 and use TCP CIBIR rules when needed (#3462)
Ingest XDP v0.16.7 and use TCP CIBIR rules when needed.

Changes to our tests:
1. 0-RTT tests are disabled. QTIP caches only one packet before handshake completes. So, if multiple 0-RTT packets are sent, only one of them will make it.
2. NAT rebind doesn't apply to TCP.  So, they are disabled.
3. Due to implementation limitations, sharing bindings isn't supported. Some tests are tweaked to always create a new binding per connection. For simplicity, the implementation assumes client side sockets have a 1:1 mapping to QUIC connection.
2023-03-01 01:32:50 +00:00
dependabot[bot] fe2fc5944a
Bump submodules/googletest from `7a7231c` to `3d787f5` (#3467)
Bumps [submodules/googletest](https://github.com/google/googletest) from `7a7231c` to `3d787f5`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](7a7231c442...3d787f5a0d)

---
updated-dependencies:
- dependency-name: submodules/googletest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 12:57:45 +00:00
Nick Banks 0dc6b18500
Update PGO data (#3468)
Co-authored-by: QUIC Dev[bot] <quicdev@microsoft.com>
2023-02-27 07:42:26 -05:00
dependabot[bot] ba59fd4c38
Bump step-security/harden-runner from 2.1.0 to 2.2.0 (#3466)
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](18bf8ad2ca...c8454efe5d)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 13:02:05 -05:00
dependabot[bot] 7140b1e826
Bump github/codeql-action from 2.2.4 to 2.2.5 (#3465)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](17573ee1cc...32dc499307)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 13:01:44 -05:00
Daiki AMINAKA d0db2f9e2c
Fix DatagramSend test by expecting multiple loss (#3458)
* Fix DatagramSend with loss detection

* avoid infinit loop

* DatagramLost is also modified

* change variable name and make it const

* Update src/test/lib/DatagramTest.cpp

---------

Co-authored-by: Nick Banks <nibanks@microsoft.com>
2023-02-23 09:10:48 -08:00
Yi Huang b749fdab0a
QTIP (QUIC over TCP) (#3446)
## Description
QTIP (QUIC over TCP): A variant of QUIC with TCP headers instead of UDP headers. This is different from a TCP tunnel in that it does not use TCP’s retransmission and congestion control logic: it simply uses TCP headers (and a few pure TCP SYN and RST packets with no QUIC payload) to masquerade as TCP traffic.

Client Side:

1. When the initial packet is passed down to raw datapath, we cache the send and send a SYN instead.
2. When SYN+ACK is received, we send an ACK and then resume the initial packet and construct a RST to be sent later (because at this moment we know what sequence and ACK numbers to use).
3. When the first data packet is received, we will know what sequence number and ACK number to use. The ACK number after handshake is always acking the peer's SYN+ACK. The sequence number is always ISN+2, where ISN+1 is reserved for RST. By doing so, all data packets are retransmissions but still in window.
4. When the QUIC connection is shut down, the cached RST is sent.

Server side:
1. Statelessly respond to all SYN/FIN received.
2. When the first data packet is received, it's identical to 3.
2023-02-22 17:13:36 -08:00
Nick Banks 23c231ef67
Few Fixes Identified On Twitter (#3459) 2023-02-22 08:39:15 -05:00
Tomas Weinfurt f9b2988e9a
another attempt to fix quic loading when chacha is missing (#3447) 2023-02-22 08:33:23 -05:00
Nick Banks 6c8f9e2913
Move BVTs to GitHub (#3451) 2023-02-21 08:35:10 -05:00
Nick Banks da3c8e8497
Update NASM Version (#3457) 2023-02-20 19:43:26 -05:00
Nick Banks 83fc6400ce
Disable Perf Counter Telemetry Asserts in Debug Mode (#3441) 2023-02-19 13:05:56 -08:00
Nick Banks eac18cc371
Update PGO data (#3455)
Co-authored-by: QUIC Dev[bot] <quicdev@microsoft.com>
2023-02-19 09:25:26 -05:00
Daiki AMINAKA 12313abadc
Fix loopback test to use same port as that of server (#3452) 2023-02-18 20:21:05 -05:00
dependabot[bot] 625dc1814b
Bump submodules/googletest from `b73f27f` to `7a7231c` (#3454)
Bumps [submodules/googletest](https://github.com/google/googletest) from `b73f27f` to `7a7231c`.
- [Release notes](https://github.com/google/googletest/releases)
- [Commits](b73f27fd16...7a7231c442)

---
updated-dependencies:
- dependency-name: submodules/googletest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 14:30:49 -05:00
dependabot[bot] b4bdb865d5
Bump microsoft/setup-msbuild from 1.1.3 to 1.3.1 (#3453)
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.1.3 to 1.3.1.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.1.3...1ff57057b5cfdc39105cd07a01d78e9b0ea0c14c)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 14:30:24 -05:00
Nick Banks b337ac9c88
Fix SpinQuic Context Issues (#3357) 2023-02-17 11:15:09 -05:00
Koishilll c90c8af98f
Fix a stub mismatch in C# interface (#3449) 2023-02-17 08:12:36 -05:00
jdcole 6d1dfb37b0
Add static msquic archive to CMake install. (#3438) 2023-02-16 15:56:52 -05:00
Tomas Weinfurt 7c8fb616d3
fix packaging for OpenSSL 3 (#3445) 2023-02-16 15:55:38 -05:00
Nick Banks 548cf192bc
Update the Binding Lookup Logic to Match Server and Client Sockets (#3439) 2023-02-16 15:40:06 -05:00
Nick Banks 4100ca26b8
Fix Listner Use after Free in Cleanup Path (#3444) 2023-02-16 14:19:27 -05:00
Nick Banks 3a9ac0e836
Fix Recent Breaks in Unittests (#3442) 2023-02-16 11:42:17 -05:00
Nick Banks f042ec7f3c
Fix Manual Flag for OpenSSL3 Perf Pipeline (#3418) 2023-02-16 11:35:44 -05:00
Nick Banks bcee79675a
Fix Stream Blocked (#3432) 2023-02-16 09:45:58 -05:00
Nick Banks 4ff0079b2b
Fix Race Condition Between Enqueue and Dequeue of Event Queue (#3440) 2023-02-16 09:45:24 -05:00
Tomas Weinfurt dfd805c13a
fix MAC_CTX creation with OpenSSL 3 (#3436) 2023-02-16 07:35:25 -05:00
Nick Banks 333b9dd167
Improvements to Trackdown Stress Failures (#3437) 2023-02-15 17:14:35 -08:00
Nick Banks fdd15b3d6f
More GitHub Automation Improvements (#3434) 2023-02-15 13:32:22 -08:00
Nick Banks 749fe615b6
Move Stress Tests to GitHub (#3433) 2023-02-15 11:41:18 -05:00
Tomas Weinfurt 38569f0091
make chacha optional on Linux (#3423) 2023-02-15 13:45:23 +00:00
Daiki AMINAKA 335d3e96f6
Use same Tls as Prep (#3429)
* use same tls as prep

* copy get-buildconfig.ps1 for performance test
2023-02-14 16:24:46 -08:00
Yi Huang e1f5cfe21b
fix cdpxlinux paths (#3428) 2023-02-14 00:46:11 +00:00
Nick Banks 60b99d5774
Add GitHub Action to Build MsQuic (#3409) 2023-02-13 16:23:01 -08:00