]>
xenbits.xensource.com Git - xenclient/build.git/log
Jean-Sebastien Legare [Tue, 26 Jan 2010 23:33:57 +0000 (23:33 +0000)]
[package xenclient-ioemu] Target Env was applied to "cd" builtin rather
than the xen-setup command. This was causing the configure to fail
because of missing headers and libraries.
Jean Guyader [Tue, 26 Jan 2010 16:57:31 +0000 (16:57 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
Jean Guyader [Tue, 26 Jan 2010 16:57:04 +0000 (16:57 +0000)]
[package/xen] Build qemu as well.
David Halls [Sun, 24 Jan 2010 22:47:45 +0000 (22:47 +0000)]
Merge branch 'master' of git://git.xci-test.com/xenclient/build
David Halls [Sun, 24 Jan 2010 22:42:30 +0000 (22:42 +0000)]
See email thread below.
Briefly:
- Make curl's test for same user and password before re-using a connection more robust.
- Once auth has finished (succeed or fail), close the connection. This stops the connection being re-used for auth
again later, which confuses curl!
------ EMAIL THREAD STARTS HERE ------
A slight modification. I modified libcurl to do these things:
- Check user name and password match before re-using a connection.
o This ensures that if we ever had multiple, concurrent users, there is no chance a user would end up authenticated as someone else.
- Close the connection once auth has succeeded or failed.
o This ensures that a user won't end up re-using a connection from a previous auth. Curl's state machine doesn't like this. It's probably safest anyway.
- Put a 32 byte random string in the password field (while picking up the NT hash from a file).
o This is to protect against multiple _concurrent_ auth attempts from the _same_ user. Without this, the auth attempts might interfere and fail.
What do you think? I've done these changes outside XenClient so far and will fold them in tomorrow if they seem okay.
David
From: David Halls
Sent: 22 January 2010 18:25
To: Jean-Sebastien Legare
Cc: Ian Pratt; Jean Guyader; Chris Mayers
Subject: libcurl
OK so I found an unpleasant feature of libcurl today: it doesn't quite get NTLM right on its connections.
It doesn't mark NTLM connections as being in use for NTLM so in theory if it decides to re-use a connection doing NTLM, things can fail in weird ways. Here's the bug report I subsequently found:
37. Having more than one connection to the same host when doing NTLM
authentication (with performs multiple "passes" and authenticates a
connection rather than a HTTP request), and particularly when using the
multi interface, there's a risk that libcurl will re-use a wrong connection
when doing the different passes in the NTLM negotiation and thus fail to
negotiate (in seemingly mysterious ways).
It also screws up if you happen to re-use a connection that's previously done NTLM, and want to do NTLM again (the existing bed test harness found that - well done whoever wrote that). It says the authentication is in a bad state. This is because it just re-uses the connection as it's to the same host.
What I've done so far for a fix is to modify curl's connection re-use logic like so:
- if a connection has a username and password associated with it, then it can only be re-used if the new request has a username and password; AND
- the username and password on the connection must match those on the request
This ensures that:
- NTLM still works since the challenge-response multiple requests is performed over the same connection
- connections aren't re-used inadvertently, and that when we do re-use them, it's for the same user. [In XenClient, we only do NTLM to login - after that, we use pass headers around to prove the user is logged on. So we don't need to re-use the authenticated connections.]
However, there remains one problem. If a second NTLM authentication (i.e. login) is required for the same user for any reason, and the first connection is still alive, then it fails. This is because the user name and passwords will match and the first connection will be re-used - and curl's state machine gets into a state.
So I have a workaround for this. We don't actually set any password - we pick the hash up from a file. So if I set the password field to a random string, everything works.
What do you think to this solution? Is it safe enough (I guess a long enough random string should be ok?)
David
Christopher Clark [Wed, 20 Jan 2010 10:46:17 +0000 (10:46 +0000)]
XC-596: Acquire a lot more data in status-report
Christopher Clark [Tue, 19 Jan 2010 11:54:54 +0000 (11:54 +0000)]
XC-1126: Allow host installer to offer upgrade
by removing an entry in the answerfile used by the install CD.
Christopher Clark [Tue, 19 Jan 2010 11:49:53 +0000 (11:49 +0000)]
remove unused old answerfile
xenclient [Tue, 19 Jan 2010 10:06:37 +0000 (10:06 +0000)]
Added patch file for CURL so it can pick up NT password hash from a file
Jean Guyader [Mon, 18 Jan 2010 10:30:31 +0000 (10:30 +0000)]
[package/libcurl] switch to version 7.19.7
Jean Guyader [Fri, 15 Jan 2010 17:42:51 +0000 (17:42 +0000)]
[xenclient/skeleton] Add secure ramdisk.
Jean Guyader [Fri, 15 Jan 2010 17:40:39 +0000 (17:40 +0000)]
[xenclient/skeleton] Add /mnt/secure
Jean Guyader [Fri, 15 Jan 2010 17:39:06 +0000 (17:39 +0000)]
[xenclient/skeleton]: Add /mnt directory
Jean Guyader [Fri, 15 Jan 2010 16:22:11 +0000 (16:22 +0000)]
[xenclient/skeleton] Start two dns one per bridge.
Jean Guyader [Fri, 15 Jan 2010 15:59:54 +0000 (15:59 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
Jean Guyader [Fri, 15 Jan 2010 15:58:15 +0000 (15:58 +0000)]
udhcpd: Add lease file, and change lease time (100 days).
James Mckenzie [Thu, 14 Jan 2010 18:34:44 +0000 (18:34 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
James Mckenzie [Thu, 14 Jan 2010 18:33:36 +0000 (18:33 +0000)]
put libgmch in staging
Jean Guyader [Thu, 14 Jan 2010 16:05:48 +0000 (16:05 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
Jean Guyader [Thu, 14 Jan 2010 16:04:19 +0000 (16:04 +0000)]
[xenclient/skeleton]: Create 2M file for syslog file.
Christopher Clark [Thu, 14 Jan 2010 00:53:51 +0000 (16:53 -0800)]
XC-1070 Host installer: Legal-approved EULA
Tomasz Wroblewski [Wed, 13 Jan 2010 15:10:55 +0000 (15:10 +0000)]
Merge branch 'master' of git://git.xci-test.com/xenclient/build
Tomasz Wroblewski [Wed, 13 Jan 2010 15:09:25 +0000 (15:09 +0000)]
add database demon to init.d
James Mckenzie [Tue, 12 Jan 2010 18:59:56 +0000 (18:59 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
James Mckenzie [Tue, 12 Jan 2010 18:59:33 +0000 (18:59 +0000)]
Use staging gettext for tpm-tools
Jean Guyader [Tue, 12 Jan 2010 18:52:00 +0000 (18:52 +0000)]
[package/ncurses]: Only modify prefix= and exec_prefix=.
Jean Guyader [Tue, 12 Jan 2010 18:34:48 +0000 (18:34 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
Jean Guyader [Tue, 12 Jan 2010 18:34:25 +0000 (18:34 +0000)]
[package/ncurses] Fix ncurses5-config
James Mckenzie [Tue, 12 Jan 2010 17:23:49 +0000 (17:23 +0000)]
Use the toolchain compiler (but don't overide the include files) for tboot
James Mckenzie [Tue, 12 Jan 2010 17:05:48 +0000 (17:05 +0000)]
fix incorrect name of unpacked stamp file for autotools rule in tpm-tools and trousers
James Mckenzie [Tue, 12 Jan 2010 16:57:46 +0000 (16:57 +0000)]
Tidy up tboot.mk, and move Christian's patch into something that can be sent upstream
Christian Limpach [Tue, 12 Jan 2010 01:26:57 +0000 (01:26 +0000)]
Hack around brokenness in latest tboot.hg
Christian Limpach [Tue, 12 Jan 2010 01:26:32 +0000 (01:26 +0000)]
Make xenclient-tboot package select trousers and tpm-tools.
Christian Limpach [Tue, 12 Jan 2010 01:26:14 +0000 (01:26 +0000)]
Fix tpm-tools package.
Jean Guyader [Mon, 11 Jan 2010 17:59:38 +0000 (17:59 +0000)]
Installer: Switch min disk size to 512 so we pick the usb flash up.
Jean Guyader [Mon, 11 Jan 2010 17:58:23 +0000 (17:58 +0000)]
kernel: Set usb as yes.
Christian Limpach [Sat, 9 Jan 2010 00:52:06 +0000 (00:52 +0000)]
Enable ext4 linux kernel module.
Christian Limpach [Sat, 9 Jan 2010 00:13:49 +0000 (00:13 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
Kamala Narasimhan [Fri, 8 Jan 2010 22:11:42 +0000 (17:11 -0500)]
Set xen acpi video configuration by default.
Christian Limpach [Fri, 8 Jan 2010 21:34:12 +0000 (21:34 +0000)]
Fix xcryptsetup.
Ross Philipson [Fri, 8 Jan 2010 15:21:51 +0000 (10:21 -0500)]
Update to the latest TBOOT/SINITs, make trousers/tpmtools generic packages.
Christian Limpach [Fri, 8 Jan 2010 03:30:25 +0000 (03:30 +0000)]
Rename cryptsetup to xcryptsetup since busybox dependencies are a joke...
Christian Limpach [Thu, 7 Jan 2010 20:56:14 +0000 (20:56 +0000)]
Change dependencies.
Christian Limpach [Thu, 7 Jan 2010 01:11:46 +0000 (01:11 +0000)]
Fix cryptsetup/e2fsprogs dependencies.
Christian Limpach [Thu, 7 Jan 2010 00:42:12 +0000 (00:42 +0000)]
Add dependency on pkgconfig since configure step needs it.
Christian Limpach [Thu, 7 Jan 2010 00:15:55 +0000 (00:15 +0000)]
Merge branch 'master' of ssh://latara.uk.xensource.com/home/chris/xc/build
Christopher Clark [Tue, 5 Jan 2010 16:25:44 +0000 (08:25 -0800)]
Refresh the answerfiles txt file.
Christopher Clark [Tue, 5 Jan 2010 00:21:12 +0000 (16:21 -0800)]
XC-1019: Host installer: Fix "EXIT" button in EULA
Christopher Clark [Mon, 4 Jan 2010 23:27:11 +0000 (15:27 -0800)]
XC-1017: Host installer: More fix backwards w/ Escape key
Christopher Clark [Mon, 4 Jan 2010 22:50:30 +0000 (14:50 -0800)]
XC-1017: Host installer: Fix backwards w/ Escape key
Christian Limpach [Thu, 17 Dec 2009 23:04:37 +0000 (23:04 +0000)]
Add luksCheckKey command to verify a passphrase.
Christian Limpach [Thu, 17 Dec 2009 22:50:57 +0000 (22:50 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
James Mckenzie [Sat, 12 Dec 2009 00:57:05 +0000 (00:57 +0000)]
don't use the GPU in dom0
Thomas Horsten [Fri, 11 Dec 2009 19:28:07 +0000 (19:28 +0000)]
[installer-skeleton] Make SSH enabled by default for quick installs
Thomas Horsten [Fri, 11 Dec 2009 19:24:06 +0000 (19:24 +0000)]
Slightly cleaner version of root password change
Thomas Horsten [Fri, 11 Dec 2009 19:17:10 +0000 (19:17 +0000)]
[initscripts] Set password and disable/enable ssh based on installer settings
Thomas Horsten [Fri, 11 Dec 2009 18:36:40 +0000 (18:36 +0000)]
Add password prompt and SSH enable prompt to installer (and answerfiles)
Jean Guyader [Fri, 11 Dec 2009 16:50:36 +0000 (16:50 +0000)]
[package/xenclient/xen] Install pxe rom on the target.
James Mckenzie [Fri, 11 Dec 2009 14:23:45 +0000 (14:23 +0000)]
amt bit swizzling boot time component
Thomas Horsten [Thu, 10 Dec 2009 17:44:56 +0000 (17:44 +0000)]
Add NetworkManager script to handle ppp devices
Thomas Horsten [Thu, 10 Dec 2009 17:38:54 +0000 (17:38 +0000)]
Move NetworkManager's udev files to the correct path
Thomas Horsten [Thu, 10 Dec 2009 17:34:35 +0000 (17:34 +0000)]
dbus-daemon-launch-helper must be SUID root to start services
Thomas Horsten [Thu, 10 Dec 2009 17:28:05 +0000 (17:28 +0000)]
Install HAL's udev rules to the correct directory
Thomas Horsten [Thu, 10 Dec 2009 17:20:01 +0000 (17:20 +0000)]
Add support for PPP device routing
James Mckenzie [Wed, 9 Dec 2009 19:59:48 +0000 (19:59 +0000)]
Add ppp modules for 3g
James Mckenzie [Wed, 9 Dec 2009 17:26:26 +0000 (17:26 +0000)]
Add support for the 3g card we bought in tesco this morninig
Christian Limpach [Wed, 9 Dec 2009 01:07:24 +0000 (01:07 +0000)]
Add cryptsetup.
Christian Limpach [Tue, 8 Dec 2009 20:26:08 +0000 (20:26 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
Christian Limpach [Tue, 8 Dec 2009 20:25:30 +0000 (20:25 +0000)]
Add crypto-sha256 for cryptsetup/luks.
James Mckenzie [Tue, 8 Dec 2009 02:30:39 +0000 (02:30 +0000)]
cannot write to vga memory to clear it until GTT is set up, after which time vbetool will clean it anyway
James Mckenzie [Tue, 8 Dec 2009 02:29:45 +0000 (02:29 +0000)]
make init_raster wait for flr to avoid race with xenvm
Christian Limpach [Tue, 8 Dec 2009 00:32:56 +0000 (00:32 +0000)]
Add modules: dm-crypt, crypto-gf128mul, crypto-cbc and crypto-xts
James Mckenzie [Sat, 5 Dec 2009 22:24:38 +0000 (22:24 +0000)]
Autoconf for input_server
Jean Guyader [Fri, 4 Dec 2009 14:45:50 +0000 (14:45 +0000)]
skeleton: init_raster, Clear vga memory before calling X.
James Mckenzie [Fri, 4 Dec 2009 14:24:20 +0000 (14:24 +0000)]
Add usb-cdrom support in the installer
Christopher Clark [Thu, 3 Dec 2009 19:15:35 +0000 (19:15 +0000)]
XC-696: Proper legal EULA for Private Beta into host installer
Christopher Clark [Thu, 3 Dec 2009 19:02:03 +0000 (19:02 +0000)]
XC-665: implement percentage complete calc for verifying repo
Jean-Sebastien Legare [Wed, 2 Dec 2009 01:40:13 +0000 (01:40 +0000)]
XC-476 We no longer install curl's CA-bundle because of licensing constraints.
Jean-Sebastien Legare [Wed, 2 Dec 2009 00:19:14 +0000 (00:19 +0000)]
XC-476 The installer allows copying a certificate bundle to dom0.
The new installation step is executed only when a Transmitter
backend is setup.
James Mckenzie [Tue, 1 Dec 2009 17:50:05 +0000 (17:50 +0000)]
set the command register to 7 before running vbetool
Jean Guyader [Mon, 30 Nov 2009 19:25:59 +0000 (19:25 +0000)]
toolchain/external: fix ` typo at the end of the line.
James Mckenzie [Mon, 30 Nov 2009 18:57:44 +0000 (18:57 +0000)]
Fix rsync errors during build (race between find+chmod and rsync)
Christopher Clark [Mon, 30 Nov 2009 15:29:55 +0000 (07:29 -0800)]
XC-649: Update the faux-EULA for Private Beta
James Mckenzie [Mon, 30 Nov 2009 06:03:04 +0000 (06:03 +0000)]
Add init_raster
Thomas Horsten [Fri, 27 Nov 2009 17:49:37 +0000 (17:49 +0000)]
[skel/installer] Add /usr/bin/groups to installer skeleton, fixes xc-279
James Mckenzie [Thu, 26 Nov 2009 20:29:02 +0000 (20:29 +0000)]
Clean one line superblanker part #1 patch
James Mckenzie [Thu, 26 Nov 2009 20:27:42 +0000 (20:27 +0000)]
Make X compile (remove kernel drm headers, and fix libdrm_intel.la)
Thomas Horsten [Thu, 26 Nov 2009 15:06:10 +0000 (15:06 +0000)]
Merge branch 'devel-thomasho'
Thomas Horsten [Mon, 5 Oct 2009 16:21:50 +0000 (17:21 +0100)]
[package/xenclient-kernel] Enable AES module
This fixes WPA2. Can now connect to WPA2-PSK and WPA2-Enterprise
networks.
XC-314
Jean Guyader [Thu, 26 Nov 2009 14:40:08 +0000 (14:40 +0000)]
[package/x11r7/intel]: Force dri.
Jean Guyader [Thu, 26 Nov 2009 14:37:29 +0000 (14:37 +0000)]
[package/xorg]: Upgrade Xorg to 1.6.1
Thomas Horsten [Thu, 26 Nov 2009 14:35:15 +0000 (14:35 +0000)]
[package/xenclinet/wifi-backports] Fixes to xenkernel compatibility patch
Jean Guyader [Thu, 26 Nov 2009 13:31:48 +0000 (13:31 +0000)]
[package/xserver_xorg]: Enable dri and mesa3d.
Thomas Horsten [Thu, 26 Nov 2009 11:37:23 +0000 (11:37 +0000)]
Update wpa_supplicant and compat-wireless from upstream
James Mckenzie [Wed, 25 Nov 2009 22:56:31 +0000 (22:56 +0000)]
Quick and dirty (and by god it is) superblanker part #1. Fix this patch to be a one liner once the build system is able to compile Mesa for staging.
Christopher Clark [Wed, 25 Nov 2009 15:57:10 +0000 (07:57 -0800)]
XC-423: Enable verify repository integrity in host installer
Jean Guyader [Wed, 25 Nov 2009 15:12:19 +0000 (15:12 +0000)]
[package/xenclient]: Introduce gmch
Jean Guyader [Wed, 25 Nov 2009 15:09:41 +0000 (15:09 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/build
Jean Guyader [Wed, 25 Nov 2009 15:09:21 +0000 (15:09 +0000)]
[package/libdrm] Change version and fix makefile.
James Mckenzie [Wed, 25 Nov 2009 06:48:59 +0000 (06:48 +0000)]
Fix xorg dependancy issues