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
24f1959bab
Rename user struct to fix ubuntu arm build failure
2012-02-05 00:49:30 +01:00
Marcel Bokhorst
a569030bb7
Android support ( #105 ) patch from Marcel Bokhorst
2012-02-04 20:34:05 +01:00
Erik Ekman
0be4332193
Fix things mentioned in #91
2012-02-04 20:34:05 +01:00
Erik Ekman
b22e3da5a0
#89 , use remote ip as second ip in ifconfig on FreeBSD
2012-02-04 20:34:05 +01:00
J. A. Bezemer
60dfbf1b34
merge dns and user #76
2012-02-04 20:34:04 +01:00
Erik Ekman
b6eb8d75d4
Fix FreeBSD build error, remove more includes
2012-02-04 20:34:03 +01:00
Erik Ekman
e5370ad95b
#36 , basic raw mode tunnel works
2012-02-04 20:34:02 +01:00
Erik Ekman
58d9615160
#36 , upstream traffic now sent in raw mode
2012-02-04 20:34:02 +01:00
Erik Ekman
54195968c7
Use winsock2.h, use ws2tcpip.h for socklen_t
2012-02-04 20:34:01 +01:00
Erik Ekman
155f0c6f37
Merged branch with mingw port. Compiles now, tun work to do
2012-02-04 20:34:00 +01:00
Erik Ekman
d4e077aff4
downstream fragsize is now per user
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
a5031ee9dd
Happy new year
2012-02-04 20:33:59 +01:00
Erik Ekman
8d27febc7d
Implemented new protocol for upstream data
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
d7f2d60d56
Use base64 is case is preserved and plus sign is allowed
2012-02-04 20:33:58 +01:00
Erik Ekman
49695a4cb4
Updated year
2012-02-04 20:33:57 +01:00
Erik Ekman
3fc9eaeaa3
Improved latency for traffic initiated from server
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
3748056240
Added packet_init
2012-02-04 20:33:56 +01:00
decker
df926094a5
add patch from decker for osx
2012-02-04 20:33:38 +01:00
Erik Ekman
dbfecb5be6
#6 reworked encoding
2007-06-09 16:18:59 +00:00
Erik Ekman
15a83534a8
new year
2007-03-21 00:00:27 +00:00
Erik Ekman
08ecccc7fe
#11 only read from tun if any active user is not sending
2007-02-11 11:51:30 +00:00
Erik Ekman
23ad29522b
#11 moved user code to user.c
2007-02-11 11:21:18 +00:00