mbedtls/programs/test
Hanno Becker 98aaf25686 Add bad_cid option UDP proxy to insert unexpected CID records
This commit adds the command line option 'bad_cid' to the UDP proxy
`./programs/test/udp_proxy`. It takes a non-negative integral value N,
which if not 0 has the effect of duplicating every 1:N CID records
and modifying the CID in the first copy sent.

This is to exercise the stacks documented behaviour on receipt
of unexpected CIDs.

It is important to send the record with the unexpected CID first,
because otherwise the packet would be dropped already during
replay protection (the same holds for the implementation of the
existing 'bad_ad' option).
2019-06-03 16:07:50 +01:00
..
benchmark.c Improve macro hygiene 2019-02-19 17:59:00 +00:00
CMakeLists.txt Remove ssl_cert_test sample app 2019-04-07 16:49:18 +03:00
cpp_dummy_build.cpp cpp_dummy_build: Add missing header psa_util.h 2019-04-14 15:55:20 -05:00
query_compile_time_config.c Fix aligment in programs/test/query_compile_time_config.c 2019-02-07 10:38:22 +00:00
selftest.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
udp_proxy.c Add bad_cid option UDP proxy to insert unexpected CID records 2019-06-03 16:07:50 +01:00
udp_proxy_wrapper.sh udp_proxy_wrapper.sh: fix cleanup not cleaning up 2017-10-24 11:25:19 +01:00
zeroize.c Fix coverity defects 2018-06-06 03:44:03 +01:00