Commit Graph

70 Commits

Author SHA1 Message Date
Erik Ekman
eed52b783f #51 handle one block encode/decode for base64 2012-02-04 20:34:00 +01:00
Erik Ekman
1cdba385ef Added tests on forwarded query cache 2012-02-04 20:34:00 +01:00
Erik Ekman
95513517ee refactored tests 2012-02-04 20:34:00 +01:00
Erik Ekman
b6fc3fc0ef Made dns_get_id return unsigned short, added test cases 2012-02-04 20:34:00 +01:00
Erik Ekman
3ee49377e8 Extended test cases 2012-02-04 20:34:00 +01:00
Erik Ekman
0836ad0a5b revert cygwin stuff 2012-02-04 20:34:00 +01:00
Erik Ekman
97bf71e944 Make it build and fix tests in cygwin 2012-02-04 20:33:59 +01:00
Erik Ekman
dc17bc69fe #40, fix dots in hostname when length is 113, 170, 227... Includes test. 2012-02-04 20:33:59 +01:00
Erik Ekman
3ba81894fc add osflags for tests 2012-02-04 20:33:59 +01:00
Erik Ekman
c164b8ea54 allow custom check path 2012-02-04 20:33:59 +01:00
Erik Ekman
c7fa4ddde2 Assign client IPs within the network (fixes #28), also limit number of users depending on netmask (for #27) 2012-02-04 20:33:59 +01:00
Erik Ekman
7b76616015 Happy new year 2012-02-04 20:33:59 +01:00
Erik Ekman
62824e92ed Handle trans id >= 0x8000, fix bug #37 2012-02-04 20:33:58 +01:00
Erik Ekman
7fafac62e7 update tests after inline dot function now uses 57 as distance 2012-02-04 20:33:58 +01:00
Erik Ekman
2c4c5ec1ba Added simple 5bits to 8 and reverse encoder, with test 2012-02-04 20:33:58 +01:00
Erik Ekman
7eb7c02e5f Updated encoding tests 2012-02-04 20:33:58 +01:00
Erik Ekman
e7fdb0a5f5 Reverted [686], [689] and [692]. SSH login now works again. Increased version. 2012-02-04 20:33:58 +01:00
Erik Ekman
612d142819 Print failed tests 2012-02-04 20:33:58 +01:00
Erik Ekman
33c1efb9ca Base64 codec now uses + as 64th char 2012-02-04 20:33:58 +01:00
Erik Ekman
3fc9eaeaa3 Improved latency for traffic initiated from server 2012-02-04 20:33:57 +01:00
Erik Ekman
06f60e2a3b Removed needless va_str() 2012-02-04 20:33:57 +01:00
Erik Ekman
07e98f181c reverting the code after 0.4.1, except for some patches 2012-02-04 20:33:56 +01:00
Erik Ekman
70d4843166 Fix tests, dotting does not spare a char anymore 2012-02-04 20:33:56 +01:00
Erik Ekman
124c83b7f5 Link test with packet 2012-02-04 20:33:56 +01:00
Erik Ekman
91178e7066 Init variables, fix #26 2012-02-04 20:33:55 +01:00
Erik Ekman
ba8f2cfac1 base64 impl now escapes dots. does not really respect buflen 2007-06-10 18:55:18 +00:00
Erik Ekman
bacb0d2bfb Add 2007 in tests 2007-06-09 18:15:29 +00:00
Erik Ekman
1173bf2c8e added base64 test in header 2007-06-09 17:52:02 +00:00
Erik Ekman
7c53be08c0 added base64 codec 2007-06-09 17:49:19 +00:00
Erik Ekman
1e7486bdd2 make sure len is always correct 2007-06-09 17:48:28 +00:00
Erik Ekman
019fb51ee6 Fixed tests after #6 api changes 2007-06-09 16:57:33 +00:00
Erik Ekman
3341f3c268 Additional checks 2007-02-11 15:04:44 +00:00
Erik Ekman
68c4233f9b Added test on user handling methods 2007-02-11 14:39:43 +00:00
Erik Ekman
7ea80349f5 Use -pedantic in tests, fixed all warnings 2007-02-11 14:07:26 +00:00
Erik Ekman
05927b97e4 Fix testcases after refactoring 2007-02-11 01:46:45 +00:00
Erik Ekman
71e9359ed0 #3 fixed last test, added A char 2007-02-08 21:10:46 +00:00
Erik Ekman
79f9940b83 #3 fixed decode query test 2007-02-08 20:53:37 +00:00
Erik Ekman
a8127f410c #3 updated encoding testcase to new usage 2007-02-08 20:42:24 +00:00
Erik Ekman
c58df44dc6 Reverting unintended commit 2007-02-05 19:47:03 +00:00
Erik Ekman
9355cd7829 #10 fixed basic ack. pings bigger than 110 still lost 2007-02-05 19:44:46 +00:00
Erik Ekman
da636b1f47 #3 fix issue with topdomain. Also make sure ping packet is type NULL 2007-02-04 23:08:09 +00:00
Erik Ekman
0fd3d9e62e #3 Make testcases compile. They still need to be adjusted to the new way of working 2007-02-04 22:11:00 +00:00
Erik Ekman
1deab43f13 #4 make tests pass as well 2007-02-04 15:28:24 +00:00
Erik Ekman
3e52c974bc Empty buffer before writing, added packet dump function 2007-01-28 13:32:41 +00:00
Erik Ekman
a78b85fbf2 Fix signedness warnings 2007-01-28 13:05:16 +00:00
Erik Ekman
1a46808b8a Rework query testcase, some dns cleanup 2007-01-28 11:52:36 +00:00
Erik Ekman
89c99f1ddf Use dns_decode for packets from client 2007-01-28 06:47:51 +00:00
Erik Ekman
d1c36f3db4 Added dns_decode test for response 2007-01-28 06:11:54 +00:00
Erik Ekman
82c634619c Add testcase for dns_encode on answers 2007-01-28 05:57:44 +00:00
Erik Ekman
d1ffedae43 Added test on dns_encode 2007-01-28 05:37:13 +00:00