mbedtls/programs/test
Hanno Becker 34dcf4e6f6 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-05-24 10:07:42 +01:00
..
benchmark.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
CMakeLists.txt Remove ssl_cert_test sample app 2019-04-07 16:51:18 +03:00
cpp_dummy_build.cpp cpp_dummy_build: Add NIST key wrapping header 2018-07-24 16:51:09 +01:00
query_compile_time_config.c Fix aligment in programs/test/query_compile_time_config.c 2019-02-07 10:32:31 +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-05-24 10:07:42 +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