Commit Graph

16 Commits

Author SHA1 Message Date
David Anderson 10fdef0cdd client: fix GUI RPC password generation bug on Win
Apparently when Win runs in a VM, the random number generation functions
(e.g. CryptGenRandom()) don't work.
We weren't checking for this, resulting in a garbage (and guessable) password.

Also change function names to indicate that string is not just random,
but also hard to guess.
2019-11-28 00:50:31 -08:00
David Anderson 20357201fd enhancements to GUI RPC, HTTP version
- The authentication hash in HTTP header now includes the request message.
  This prevents bad guys from intercepting request message and substituting
  a different request.
- Authentication info sent to client (i.e. the GUI) now includes a random string,
  used as an additional salt in the authentication hash.
  This prevents bad guys from recording and reusing authentication headers.
2019-06-25 23:43:07 -07:00
David Anderson 13a5b9bf3e change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
David Anderson 6f29a50812 validator: fixes and features
- add --is_gzip option to sample_bitwise_validator.
  If set, all files are treated as gzip archives.
  Check their 10-byte header to verify that it's a gzip file,
  but ignore it when comparing files.
- validator.cpp: don't error out on unparsed cmdline args,
  since we're now using them in sample_bitwise_validator
  and sample_substr_validator.
- fix build error on Debian
2014-03-20 12:38:29 -07:00
David Anderson 93b8289b60 - XML parser: return error if string exceeds buffer size.
- client: when parsing MD5, use 64 instead of 33 char buffer.
    When the XML parser reads a string,
    it enforces the buffer size limit BEFORE it strips whitespace.
    So if a project put whitespaces before or after the MD5,
    it would fail to parse.
2013-03-29 22:36:53 -07:00
David Anderson ad6a61a3a6 - sample bitwise validator: make it work for binary files
fixes #886, #887

svn path=/trunk/boinc/; revision=17966
2009-05-01 18:25:17 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson b56b31363a more random password generation
svn path=/trunk/boinc/; revision=8753
2005-10-27 20:03:51 +00:00
David Anderson d25c0d383c *** empty log message ***
svn path=/trunk/boinc/; revision=6767
2005-07-23 07:24:51 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Karl Chen 9b8664bf4f *** empty log message ***
svn path=/trunk/boinc/; revision=3865
2004-07-13 14:19:19 +00:00
Karl Chen 08e5d9130d *** empty log message ***
svn path=/trunk/boinc/; revision=3864
2004-07-13 14:18:47 +00:00
Rom Walton 475c5ed811 *** empty log message ***
svn path=/trunk/boinc/; revision=3029
2004-03-04 11:41:43 +00:00
David Anderson 316de23144 Added upload authentication
svn path=/trunk/boinc/; revision=162
2002-07-05 05:33:40 +00:00
David Anderson d5d4634807 Initial revision
svn path=/trunk/boinc/; revision=10
2002-04-30 22:22:54 +00:00