25 Commits

Author SHA1 Message Date
Jonathan Bennett
d939deb811 Spelling corrections, found using the codespell tool. 2016-04-10 12:03:59 -05:00
Michael Rash
aeb415d0e0 move fuzzing_spa_packets file to perl/FKO/t/ for fuzzing tests
This change moves the fuzzing_spa_packets file from the test/fuzzing/
directory into the perl FKO extension t/ directory and is now referenced
directly by the t/04_fuzzing.t test file.  The test suite itself also uses
this file for fuzzing tests as well, but having the FKO built-in tests
enables Test::Valgrind memory checks so it is useful to have this included
in the FKO sources.  (When the FKO module is submitted to CPAN, it should
not depend on non-local files, but it's ok for the test suite to reference
the ../perl/FKO/t/ directory.)
2013-11-26 21:44:53 -05:00
Michael Rash
a673406ebd [test suite] updated fuzzing tests to allow usernames with '.' chars 2012-12-08 20:58:17 -05:00
Michael Rash
aa74fa3eed minor fuzzing README update 2012-10-28 23:31:09 -04:00
Michael Rash
cefac6275b added non digit rand val fuzzing encoding tests 2012-10-27 22:45:28 -04:00
Michael Rash
dced7c6a77 added fuzzing encoding strip eq return packets 2012-10-27 22:34:52 -04:00
Michael Rash
4b25e1e242 added encoding_append_b64_modified_byte equals sign fuzzing encoding tests 2012-10-27 22:28:33 -04:00
Michael Rash
807dd315e5 added encoding_append_b64_modified_byte fuzzing encoding tests 2012-10-27 22:07:40 -04:00
Michael Rash
03255a5547 added non-base64 char to access msg for fuzzing encoding tests 2012-10-26 23:13:41 -04:00
Michael Rash
f3c9f49a67 added fuzzing encoding packets (extra colon 3) 2012-10-26 23:07:35 -04:00
Michael Rash
e89338c431 added fuzzing encoding packets (extra colon 2) 2012-10-26 23:06:09 -04:00
Michael Rash
69ed7ee635 added fuzzing encoding packets (extra colon 1) 2012-10-26 21:47:08 -04:00
Michael Rash
830996b3ac added non-base64 encoding fuzzing packets 2012-10-26 15:52:09 -04:00
Michael Rash
60083cc272 added rm colon5 fuzzing packets 2012-10-25 22:12:47 -04:00
Michael Rash
3ae583813c added fuzzing encoding test that removes colon #5 2012-10-25 22:04:09 -04:00
Michael Rash
91596f4450 added fuzzing encoding test that removes colon #4 2012-10-25 22:01:12 -04:00
Michael Rash
ef635d57e3 added test/fuzzing/patches/encoding_rm_colon1.patch file 2012-10-25 21:57:40 -04:00
Michael Rash
165e618bad Added fuzzing encoding tests that remove the 2nd and 3rd colons 2012-10-25 21:55:01 -04:00
Michael Rash
f6b0d23c1c Added fuzzing spa packet generation for invalid encodings
This commit adds the ability to generate SPA packets that are valid except for
the last encoding step before encryption.  This is independent of supplying
invalid data for SPA packet fields.  To invoke the test suite in this mode,
do something like:

 # ./test-fwknop.pl --enable-perl-module-pkt-gen  --fuzzing-test-tag "encoded_colon1_missing"  --fuzzing-class encoding

This assumes that lib/fko_encode.c has been patched to subvert the encoding
step itself before encryption.  In this case, the first colon after the random
value is removed.
2012-10-25 21:37:52 -04:00
Michael Rash
b3889289b3 added non-base64 user character fuzzing SPA packets 2012-10-25 00:42:02 -04:00
Michael Rash
d16643affa added extra_timestamp_digit fuzzing SPA packets 2012-10-25 00:29:01 -04:00
Michael Rash
e8312c26b9 added colon_1_to_a fuzzing SPA packets 2012-10-25 00:24:19 -04:00
Michael Rash
de512e7d8f added fuzzing/README file 2012-10-25 00:20:55 -04:00
Michael Rash
6a649e26e7 easier SPA fuzzing packet generation and importing 2012-10-25 00:20:08 -04:00
Michael Rash
691d9503ee added test/fuzzing/ directory for fuzzing data and patches 2012-10-19 22:14:24 -04:00