From d76bf2b8618b89cf725febea85f93b613c65c527 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 8 Sep 2020 09:21:18 +0200 Subject: [PATCH] http: adds test for connect and protocol change --- .../http-connect-fragmented/README.md | 7 +++++ .../http-connect-fragmented/input.pcap | Bin 0 -> 1528 bytes .../http-connect-fragmented/input.txt | 5 ++++ .../http-connect-fragmented/test.yaml | 28 ++++++++++++++++++ .../http-connect-simple/README.md | 7 +++++ .../http-connect-simple/input.pcap | Bin 0 -> 1387 bytes .../http-connect-simple/input.txt | 4 +++ .../http-connect-simple/test.yaml | 28 ++++++++++++++++++ tests/http-connect/http-connect-tls/README.md | 7 +++++ .../http-connect/http-connect-tls/input.pcap | Bin 0 -> 1169 bytes tests/http-connect/http-connect-tls/input.txt | 3 ++ tests/http-connect/http-connect-tls/test.yaml | 25 ++++++++++++++++ 12 files changed, 114 insertions(+) create mode 100644 tests/http-connect/http-connect-fragmented/README.md create mode 100644 tests/http-connect/http-connect-fragmented/input.pcap create mode 100644 tests/http-connect/http-connect-fragmented/input.txt create mode 100644 tests/http-connect/http-connect-fragmented/test.yaml create mode 100644 tests/http-connect/http-connect-simple/README.md create mode 100644 tests/http-connect/http-connect-simple/input.pcap create mode 100644 tests/http-connect/http-connect-simple/input.txt create mode 100644 tests/http-connect/http-connect-simple/test.yaml create mode 100644 tests/http-connect/http-connect-tls/README.md create mode 100644 tests/http-connect/http-connect-tls/input.pcap create mode 100644 tests/http-connect/http-connect-tls/input.txt create mode 100644 tests/http-connect/http-connect-tls/test.yaml diff --git a/tests/http-connect/http-connect-fragmented/README.md b/tests/http-connect/http-connect-fragmented/README.md new file mode 100644 index 000000000..fd9a3e1de --- /dev/null +++ b/tests/http-connect/http-connect-fragmented/README.md @@ -0,0 +1,7 @@ +# Description + +Test HTTP CONNECT followed by HTTP + +# PCAP + +The pcap comes from running txt2pcap.py with input.txt diff --git a/tests/http-connect/http-connect-fragmented/input.pcap b/tests/http-connect/http-connect-fragmented/input.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c102a813ba79d1c5e48791525697482bd1a4e5e5 GIT binary patch literal 1528 zc-p&ic+)~A1{MYcfUq4^!{g2W^D(#p*&xgW#I6hs4j|;f#=ua|z`zK?Z(QUZ9g|-* zfb?u&`v3o*2~aJI{S8KDW>!W<4z8|z=ciy(nILBFBEn30$2Ts@_Z80p&28KugxyRK zhM9R0Xr=|wEDMC0COF*L2sHP6gMi`ne;PnRB(p%~ydc6HsN2qi%)(`kGaElc4p4s% z!ki4e?vVhR69YHr8OR)Ge?LE0=MaU&q+}}-6JrIBkdOdLfU|knU#@|gR3jyNGRA;CWx6=i7->%>5ah$#bw$+bGbGMVK)l?=1k?_Vn_q(PeYiKgx4GipgCcv z=D-}SU}RvR;P1`L6`WdBmRbaJH-v}c`hy%qN2NW`<|tgQ_v7SZNCxUpMwkN96-o{je((_fq@Z(-&n{y_1uY7 z1L@ho^#A`q6QEia`x}hR%&d%z99&&leEYzrGC|C2&?Ic8ywe+tl(?KCptIL^2Cx&M6|yfx4|2WEL)S78)=!mCW9Ik9ka4uH&Y_V@F1bq-NTOiH#gF)>!~2nh+$H`Fua&;Nj5o1Qm72t%HY(#X}E(DsKh0Ap}jfnPT7T9%y*v