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

2 Коммитов

Автор SHA1 Сообщение Дата
Gaurav Singh 1a32822791
Fuzz Handshake packet (#4074)
* receive packet

* populated the packet struct

* added ACK frame sending

* Initial ACK frame response sent

* added handshake decryption

* Completed handshake decryption

* finshed processing handshake packet

* fuzzed handshake packet and sent

* fixed Read key not available bug

* fixed a bug

* Testing to see if pipelines passes

* pop packet when decryption fail

* minor change

* only free packet after we are done processing

* attempt to fix the pipeline

* packet copy is sent

* recv event modified

* zeroed out send buffer

* minor change

* minor

* free packet event

* redefined few variables to fix memory leak

* minor change

* fixed recv datagram bug

* attempt to fix the pipeline

* test

* added few checks

* minor change

* minor change

* debug statement

* some debug statements for the pipeling

* minor change

* Few fixes

* minor

* added allocated check

* chain processing changed

* cleaned up code

* minor change

* minor change

* minor change

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* minor code cleanups:

* mode changes

* minor

* made initial packet and handshake packet fuzzing work together

* minor change

* debug

* minor change

* minor change

* minor change

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* minor change

* few cxplatevent changes

* few minor changes

* handle failure

* minor

* few minor things

* delete state buffer after every iteration

* minor

* minor

* test change

* minor change

* minor change

* added startms

* added result flag

* cleanup code and few debug statements

* cleanup

* Made packet as stack variable

* reverted change

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* resolved comments

* fixed potential memory leak

* Update src/tools/recvfuzz/recvfuzz.cpp

Co-authored-by: Nick Banks <nibanks@microsoft.com>

* resolved comments

* New handshake each iteration

* removed unnecessary comment

* minor change

* minor change

* Some modifications

* fixed memory leaks

* minor change

* freed up send data

* revert

* revert

* minor change

* minor changes

* test

* add free send data

* rest

* modified implementation

* minor change

* few optimisations

* attempt to fix

* added ASAN option

* resolved comments

* minor refactoring

* minor change

---------

Co-authored-by: Nick Banks <nibanks@microsoft.com>
2024-03-12 18:39:38 +05:30
Gaurav Singh ee3da4ec01
Receive path Initial packet Fuzzer (#3896) 2023-10-25 08:03:07 -04:00