platform/upstream/openconnect.git
15 years agoTag version 0.91 v0.91
David Woodhouse [Thu, 2 Oct 2008 21:15:54 +0000 (22:15 +0100)]
Tag version 0.91

15 years agofix tag check
David Woodhouse [Thu, 2 Oct 2008 21:15:03 +0000 (22:15 +0100)]
fix tag check

15 years agokill neon.c
David Woodhouse [Thu, 2 Oct 2008 21:10:19 +0000 (22:10 +0100)]
kill neon.c

15 years agouse correct file for key
David Woodhouse [Thu, 2 Oct 2008 21:09:29 +0000 (22:09 +0100)]
use correct file for key

15 years agoremove curl.c
David Woodhouse [Thu, 2 Oct 2008 21:06:51 +0000 (22:06 +0100)]
remove curl.c

15 years agoHandle PIN and code in either order
David Woodhouse [Thu, 2 Oct 2008 20:59:34 +0000 (21:59 +0100)]
Handle PIN and code in either order

15 years agofix up append_opt length handling and escaping
David Woodhouse [Thu, 2 Oct 2008 20:21:55 +0000 (21:21 +0100)]
fix up append_opt length handling and escaping

15 years agodownload config
David Woodhouse [Thu, 2 Oct 2008 18:20:56 +0000 (19:20 +0100)]
download config

15 years agoAsynchronous DTLS (re)connection
David Woodhouse [Thu, 2 Oct 2008 16:11:05 +0000 (17:11 +0100)]
Asynchronous DTLS (re)connection

15 years agonew dtls_state var
David Woodhouse [Thu, 2 Oct 2008 13:57:04 +0000 (14:57 +0100)]
new dtls_state var

15 years agoreconnect on dtls dpd
David Woodhouse [Thu, 2 Oct 2008 13:44:49 +0000 (14:44 +0100)]
reconnect on dtls dpd

15 years agoNo need to SSL_CTX_add_session()
David Woodhouse [Thu, 2 Oct 2008 13:19:34 +0000 (14:19 +0100)]
No need to SSL_CTX_add_session()

15 years agoCheck options on reconnect
David Woodhouse [Thu, 2 Oct 2008 12:45:16 +0000 (13:45 +0100)]
Check options on reconnect

15 years agoHandle CSTP reconnect with same cookie
David Woodhouse [Thu, 2 Oct 2008 12:20:54 +0000 (13:20 +0100)]
Handle CSTP reconnect with same cookie

15 years agodon't reallocate deflate_pkt
David Woodhouse [Thu, 2 Oct 2008 11:49:41 +0000 (12:49 +0100)]
don't reallocate deflate_pkt

15 years agoIt looks like we do receive DPD requests occasionally. Handle them
David Woodhouse [Thu, 2 Oct 2008 11:13:04 +0000 (12:13 +0100)]
It looks like we do receive DPD requests occasionally. Handle them

15 years agoignore incoming keepalive packets
David Woodhouse [Thu, 2 Oct 2008 11:03:01 +0000 (12:03 +0100)]
ignore incoming keepalive packets

15 years agofewer magic numbers
David Woodhouse [Thu, 2 Oct 2008 11:00:32 +0000 (12:00 +0100)]
fewer magic numbers

15 years agoHandle write stalls
David Woodhouse [Thu, 2 Oct 2008 10:58:43 +0000 (11:58 +0100)]
Handle write stalls

15 years agouse generic KA stuff for cstp
David Woodhouse [Thu, 2 Oct 2008 10:44:31 +0000 (11:44 +0100)]
use generic KA stuff for cstp

15 years agouse generic KA stuff for dtls
David Woodhouse [Thu, 2 Oct 2008 10:20:19 +0000 (11:20 +0100)]
use generic KA stuff for dtls

15 years agoAdd keepalive calculation function for use by ssl and dtls
David Woodhouse [Thu, 2 Oct 2008 09:14:20 +0000 (10:14 +0100)]
Add keepalive calculation function for use by ssl and dtls

15 years agomore info in times struct
David Woodhouse [Thu, 2 Oct 2008 08:47:09 +0000 (09:47 +0100)]
more info in times struct

15 years agotimes to own struct
David Woodhouse [Thu, 2 Oct 2008 08:39:59 +0000 (09:39 +0100)]
times to own struct

15 years agoAttempt resend of packets on SSL
David Woodhouse [Thu, 2 Oct 2008 08:33:50 +0000 (09:33 +0100)]
Attempt resend of packets on SSL

15 years agomv -f
David Woodhouse [Thu, 2 Oct 2008 08:33:14 +0000 (09:33 +0100)]
mv -f

15 years agocompr send from pkt structure too
David Woodhouse [Thu, 2 Oct 2008 08:05:44 +0000 (09:05 +0100)]
compr send from pkt structure too

15 years agoheader in pkt for ssl too
David Woodhouse [Thu, 2 Oct 2008 07:55:32 +0000 (08:55 +0100)]
header in pkt for ssl too

15 years agoheader in pkt
David Woodhouse [Thu, 2 Oct 2008 07:55:22 +0000 (08:55 +0100)]
header in pkt

15 years agostop poll loop when close dtls
David Woodhouse [Thu, 2 Oct 2008 07:52:41 +0000 (08:52 +0100)]
stop poll loop when close dtls

15 years agodon't try new dtls ver
David Woodhouse [Thu, 2 Oct 2008 07:51:27 +0000 (08:51 +0100)]
don't try new dtls ver

15 years agofix SEGV on engine failure
David Woodhouse [Thu, 2 Oct 2008 06:36:23 +0000 (07:36 +0100)]
fix SEGV on engine failure

15 years agosame dpd fixes as in dtls, for ssl
David Woodhouse [Thu, 2 Oct 2008 04:57:38 +0000 (05:57 +0100)]
same dpd fixes as in dtls, for ssl

15 years agofix dpd in dtls
David Woodhouse [Thu, 2 Oct 2008 04:57:25 +0000 (05:57 +0100)]
fix dpd in dtls

15 years agofix version in useragent
David Woodhouse [Thu, 2 Oct 2008 04:56:36 +0000 (05:56 +0100)]
fix version in useragent

15 years agotag and tarball helper targets
David Woodhouse [Thu, 2 Oct 2008 03:45:17 +0000 (04:45 +0100)]
tag and tarball helper targets

15 years agodon't build getwebvpn by default any more
David Woodhouse [Thu, 2 Oct 2008 03:33:42 +0000 (04:33 +0100)]
don't build getwebvpn by default any more

15 years agofix deps on version.h for new checkouts v0.90
David Woodhouse [Thu, 2 Oct 2008 03:32:10 +0000 (04:32 +0100)]
fix deps on version.h for new checkouts

15 years agoadd missing version.sh
David Woodhouse [Thu, 2 Oct 2008 03:30:35 +0000 (04:30 +0100)]
add missing version.sh

15 years agochange version with tags too
David Woodhouse [Thu, 2 Oct 2008 03:27:52 +0000 (04:27 +0100)]
change version with tags too

15 years agoprint it so that we get the new one, not the old
David Woodhouse [Thu, 2 Oct 2008 03:26:18 +0000 (04:26 +0100)]
print it so that we get the new one, not the old

15 years agoreport version string when building
David Woodhouse [Thu, 2 Oct 2008 03:24:09 +0000 (04:24 +0100)]
report version string when building

15 years agodepend on version.sh so that a new tag causes a new version.h
David Woodhouse [Thu, 2 Oct 2008 03:22:30 +0000 (04:22 +0100)]
depend on version.sh so that a new tag causes a new version.h

15 years agoadd a version number
David Woodhouse [Thu, 2 Oct 2008 03:20:48 +0000 (04:20 +0100)]
add a version number

15 years agofix uninitialised cookieonly var, add 'printcookie' option
David Woodhouse [Thu, 2 Oct 2008 02:48:58 +0000 (03:48 +0100)]
fix uninitialised cookieonly var, add 'printcookie' option

15 years agoAdd --cookieonly option
David Woodhouse [Wed, 1 Oct 2008 21:11:20 +0000 (22:11 +0100)]
Add --cookieonly option

15 years agoRemove Neon stuff
David Woodhouse [Wed, 1 Oct 2008 20:21:36 +0000 (21:21 +0100)]
Remove Neon stuff

15 years agoSubmit request in a single SSL record.
David Woodhouse [Wed, 1 Oct 2008 18:04:20 +0000 (19:04 +0100)]
Submit request in a single SSL record.

15 years agoinclude ctype.h
David Woodhouse [Wed, 1 Oct 2008 16:38:50 +0000 (17:38 +0100)]
include ctype.h

15 years agoremove typo
David Woodhouse [Wed, 1 Oct 2008 16:36:20 +0000 (17:36 +0100)]
remove typo

15 years agosupport mangling in SecurID PIN
David Woodhouse [Wed, 1 Oct 2008 16:31:31 +0000 (17:31 +0100)]
support mangling in SecurID PIN

15 years agoquieten a little more, don't get name twice
David Woodhouse [Wed, 1 Oct 2008 16:07:41 +0000 (17:07 +0100)]
quieten a little more, don't get name twice

15 years agodon't remember username if not from command line
David Woodhouse [Wed, 1 Oct 2008 15:54:50 +0000 (16:54 +0100)]
don't remember username if not from command line

15 years agoslight cleanup
David Woodhouse [Wed, 1 Oct 2008 15:17:08 +0000 (16:17 +0100)]
slight cleanup

15 years agoAttempt second form
David Woodhouse [Wed, 1 Oct 2008 14:41:00 +0000 (15:41 +0100)]
Attempt second form

15 years agoremember username
David Woodhouse [Wed, 1 Oct 2008 13:20:26 +0000 (14:20 +0100)]
remember username

15 years agomove more form handling out into separate function
David Woodhouse [Wed, 1 Oct 2008 13:17:37 +0000 (14:17 +0100)]
move more form handling out into separate function

15 years agomove error and message stuff into UI; print cookie
David Woodhouse [Wed, 1 Oct 2008 12:59:02 +0000 (13:59 +0100)]
move error and message stuff into UI; print cookie

15 years agousername has to be allocated since we might free it
David Woodhouse [Wed, 1 Oct 2008 12:53:47 +0000 (13:53 +0100)]
username has to be allocated since we might free it

15 years agouse username if given
David Woodhouse [Wed, 1 Oct 2008 12:42:16 +0000 (13:42 +0100)]
use username if given

15 years agoAdd user argument
David Woodhouse [Wed, 1 Oct 2008 12:38:39 +0000 (13:38 +0100)]
Add user argument

15 years agoecho input
David Woodhouse [Wed, 1 Oct 2008 12:38:16 +0000 (13:38 +0100)]
echo input

15 years agouse OpenSSL UI for prompting user. Don't abort on login fail
David Woodhouse [Wed, 1 Oct 2008 12:31:33 +0000 (13:31 +0100)]
use OpenSSL UI for prompting user. Don't abort on login fail

15 years agoAttempt form handling
David Woodhouse [Wed, 1 Oct 2008 12:17:20 +0000 (13:17 +0100)]
Attempt form handling

15 years agoattempt to handle POST
David Woodhouse [Wed, 1 Oct 2008 12:01:35 +0000 (13:01 +0100)]
attempt to handle POST

15 years agolet method change
David Woodhouse [Wed, 1 Oct 2008 11:56:11 +0000 (12:56 +0100)]
let method change

15 years agoSubmit cookies with request
David Woodhouse [Wed, 1 Oct 2008 11:51:26 +0000 (12:51 +0100)]
Submit cookies with request

15 years agoHandle cookie deletion properly
David Woodhouse [Wed, 1 Oct 2008 11:47:00 +0000 (12:47 +0100)]
Handle cookie deletion properly

15 years agostart to parse xml response
David Woodhouse [Wed, 1 Oct 2008 11:27:21 +0000 (12:27 +0100)]
start to parse xml response

15 years agomove cookie func to http.c
David Woodhouse [Wed, 1 Oct 2008 11:01:26 +0000 (12:01 +0100)]
move cookie func to http.c

15 years agoSingle function to obtain cookie
David Woodhouse [Wed, 1 Oct 2008 11:00:35 +0000 (12:00 +0100)]
Single function to obtain cookie

15 years agoSome cookies have no attributes
David Woodhouse [Wed, 1 Oct 2008 10:59:41 +0000 (11:59 +0100)]
Some cookies have no attributes

15 years agoOnly check config sha1 if we have a config
David Woodhouse [Wed, 1 Oct 2008 10:44:08 +0000 (11:44 +0100)]
Only check config sha1 if we have a config

15 years agoTidy up cookie handling, check XML config file sha1 against server
David Woodhouse [Wed, 1 Oct 2008 10:39:26 +0000 (11:39 +0100)]
Tidy up cookie handling, check XML config file sha1 against server

15 years agoAttempt to avoid the assert() which Marcel saw.
David Woodhouse [Wed, 1 Oct 2008 10:02:20 +0000 (11:02 +0100)]
Attempt to avoid the assert() which Marcel saw.

15 years agoJustify wheel re-invention
David Woodhouse [Wed, 1 Oct 2008 09:14:23 +0000 (10:14 +0100)]
Justify wheel re-invention

15 years agofixme: cookies
David Woodhouse [Wed, 1 Oct 2008 02:30:47 +0000 (03:30 +0100)]
fixme: cookies

15 years agoBugger it. Own HTTP parsing
David Woodhouse [Wed, 1 Oct 2008 02:28:21 +0000 (03:28 +0100)]
Bugger it. Own HTTP parsing

15 years agoStart of code to use neon. This doesn't work either.
David Woodhouse [Wed, 1 Oct 2008 00:04:45 +0000 (01:04 +0100)]
Start of code to use neon. This doesn't work either.

Maybe I will just fall back to doing the bloody http parsing for myself.

15 years agoSwitch to using Neon for XML parsing.
David Woodhouse [Tue, 30 Sep 2008 23:41:02 +0000 (00:41 +0100)]
Switch to using Neon for XML parsing.

15 years agoUse SecurID based login to retrieve webvpn cookie
Marcel Holtmann [Tue, 30 Sep 2008 22:38:16 +0000 (00:38 +0200)]
Use SecurID based login to retrieve webvpn cookie

15 years agofixme: redirects happen
David Woodhouse [Tue, 30 Sep 2008 21:21:31 +0000 (22:21 +0100)]
fixme: redirects happen

15 years agoLook up hosts in XML config file
David Woodhouse [Tue, 30 Sep 2008 21:18:25 +0000 (22:18 +0100)]
Look up hosts in XML config file

15 years agoRemove a bunch of stuff from TODO
David Woodhouse [Tue, 30 Sep 2008 17:29:10 +0000 (18:29 +0100)]
Remove a bunch of stuff from TODO

15 years agoMake cert and key options a little saner
David Woodhouse [Tue, 30 Sep 2008 13:13:00 +0000 (14:13 +0100)]
Make cert and key options a little saner

15 years agodoh. Fix latency fuckup
David Woodhouse [Tue, 30 Sep 2008 08:40:18 +0000 (09:40 +0100)]
doh. Fix latency fuckup

15 years agoClean up exit handling a little
David Woodhouse [Tue, 30 Sep 2008 08:20:55 +0000 (09:20 +0100)]
Clean up exit handling a little

15 years agoEnable compression by default, allow DTLS to be disabled
David Woodhouse [Tue, 30 Sep 2008 08:20:29 +0000 (09:20 +0100)]
Enable compression by default, allow DTLS to be disabled

15 years agoChange name of MTU environment variable
David Woodhouse [Tue, 30 Sep 2008 07:39:22 +0000 (08:39 +0100)]
Change name of MTU environment variable

15 years agofix up server verification a bit
David Woodhouse [Tue, 30 Sep 2008 07:15:15 +0000 (08:15 +0100)]
fix up server verification a bit

15 years agoAdd server cert verification
David Woodhouse [Tue, 30 Sep 2008 04:01:17 +0000 (05:01 +0100)]
Add server cert verification

15 years agohandle SIGHUP too
David Woodhouse [Tue, 30 Sep 2008 03:34:00 +0000 (04:34 +0100)]
handle SIGHUP too

15 years agoClean up messages a little
David Woodhouse [Tue, 30 Sep 2008 03:31:59 +0000 (04:31 +0100)]
Clean up messages a little

15 years agoClean up CSTP option handling
David Woodhouse [Tue, 30 Sep 2008 03:20:48 +0000 (04:20 +0100)]
Clean up CSTP option handling

15 years agoadmit what we know about xml download
David Woodhouse [Mon, 29 Sep 2008 17:53:26 +0000 (18:53 +0100)]
admit what we know about xml download

15 years agoAdd comments on OpenSSL patches
David Woodhouse [Mon, 29 Sep 2008 14:51:24 +0000 (15:51 +0100)]
Add comments on OpenSSL patches

15 years agoTidy up option handling a little
David Woodhouse [Mon, 29 Sep 2008 14:41:42 +0000 (15:41 +0100)]
Tidy up option handling a little

15 years agoAdd capability to use vpnc's route mangling script
David Woodhouse [Mon, 29 Sep 2008 14:23:27 +0000 (15:23 +0100)]
Add capability to use vpnc's route mangling script

15 years agoset up for invoking script for config
David Woodhouse [Mon, 29 Sep 2008 13:56:53 +0000 (14:56 +0100)]
set up for invoking script for config

15 years agoFD_CLOEXEC
David Woodhouse [Mon, 29 Sep 2008 13:48:25 +0000 (14:48 +0100)]
FD_CLOEXEC