19 Commits

Author SHA1 Message Date
Erik Ekman
2c7940cf77 Fix clang warning
"a function declaration without a prototype is deprecated in all versions of C"
2024-07-15 23:54:25 +02:00
Erik Ekman
13d081f5ed Convert fail_unless to ck_assert[_msg]
To work with check 0.15.0

Add == 0 to change fail_if to asserts as well.
2020-07-23 22:31:53 +02:00
Erik Ekman
d8bf5cc85b Fix test build after removed test 2015-07-19 10:03:27 +02:00
Erik Ekman
f61ed01a3c Remove unused method users_waiting_on_reply() 2015-07-19 09:48:36 +02:00
Erik Ekman
9a45c4aa66 Change license wording to follow ISC license exactly
"Permission to use, copy, modify, and distribute this software" is now
"Permission to use, copy, modify, and/or distribute this software".

Add license header to source files missing one.
2014-08-07 21:18:33 +02:00
Erik Ekman
b715be5cf3 Fix authentication bypass bug
The client could bypass the password check by continuing after getting error
from the server and guessing the network parameters. The server would still
accept the rest of the setup and also network traffic.

Add checks for normal and raw mode that user has authenticated before allowing
any other communication.

Problem found by Oscar Reparaz.
2014-06-16 21:43:22 +02:00
Erik Ekman
a23899513d Remove trailing whitespace 2014-06-01 08:46:54 +02:00
Erik Ekman
388afe3845 Update copyright 2014-06-01 08:46:54 +02:00
Erik Ekman
01416bbca5 Reorganize imports for OpenBSD 2012-02-12 10:39:24 +01:00
Marcel Bokhorst
a569030bb7 Android support (#105) patch from Marcel Bokhorst 2012-02-04 20:34:05 +01:00
Erik Ekman
85104a4088 Fix test cases 2012-02-04 20:34:04 +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
e7fdb0a5f5 Reverted [686], [689] and [692]. SSH login now works again. Increased version. 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
bacb0d2bfb Add 2007 in tests 2007-06-09 18:15:29 +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