Commit Graph

5 Commits

Author SHA1 Message Date
DavidKorczynski 9373996909
openvpn: fix coverage. (#6020) 2021-07-10 11:25:47 +01:00
DavidKorczynski a9c49afb78
openvpn: new fuzzers (#5985)
* openvpn: add first take on forward fuzzer.

* updated the forward fuzzer.

* Add a certificate verification fuzzer.

* update packet_id fuzzer.

* fix max length we us for buffer creation.
2021-06-30 14:37:44 +01:00
DavidKorczynski 1c54b327c8
openvpn: three new fuzzers and improved proxy fuzzer (#5979)
* add list fuzzer

* add header file inclusion order.

* added an mroute fuzzer.

* add packet id fuzzer.

* refactor list, mroute and packet_id fuzzers.

* set it up so fgets always returns a string with an ASCII char.

* refactor build script.

* hook fopen and fclose in builtin_console.
2021-06-28 21:45:31 +01:00
DavidKorczynski 5d7cc94d00
openvpn: new fuzzer and refactoring to make all fuzzers c instead of cpp (#5977)
* refactor to have C-based fuzzers instead of C. Also adds route fuzzer.

* remove cpp fuzzers.

* refactor route fuzzer.

* Fix route fuzzer and add options file.

* minor refactoring.

* fix leak in route fuzzer. This should also be fixed upstream.

* minor cleanup.
2021-06-27 19:25:53 +01:00
DavidKorczynski 01765e6f2b
Openvpn: improve proxy fuzzer and fuzzing infrastructure (#5971)
* openvpn: improve buffer fuzzer.

* Improve state of openvpn fuzzing, the proxy fuzzer in particular.
2021-06-25 17:01:09 +01:00