tempesta-tech / tempesta-test

Test suite for Tempesta FW
11 stars 4 forks source link

malformed tests #461

Closed RomanBelozerov closed 1 year ago

RomanBelozerov commented 1 year ago

tls/handshake.py - added sending data with TCP segmentation when -T option is enabled. malformed directory is renamed, new name - t_malformed deproxy.py - added self.state = stateful.STATE_STOPPED when client or server closes connection. helpers/selfproxy.py is removed. Now for TCP segmentation we have -T option. And also selfproxy splits tls and http data, but for TLS segmentation we have tls tests. dmesg.py and tester.py - added ignoring errors. ASCII symbols from 0x7f to 0xff are not decoded. deproxy_server.py - response can be bytes and string. This is necessary for checks ASCII symbols from 0x7f to 0xff. Data processing is performed in cycle, because there can be more than 1 request in socket. deproxy_client.py - added sending invalid pipeline requests.

http2_general.test_h2_headers - added tests for trailers and incorrect pseudo-headers. test_malformed_crlfs.py - removed chunked version. This is duplicate for -T option. test_malformed_headers.py - tests are separated. Now some tests are waiting for failure.