mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet > GPU to 72

Reply
 
Thread Tools
Old 2013-02-09, 16:08   #34
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by Aramis Wyler View Post
ohnoes - we all have all lowercase letters in our password! We could be hacked almost twice as fast! We're DOOMED! They're going to unreserve my exponents!

Edit: Good catch, Mog.
I don't have all lower case..... What I have detected is that only the first 8 chars of the password are checked by GPU72. My 9th is upper case and manual testing via IE and FIREFOX shows I can login with or without my 9th character.

That is why I never noticed it during my unit testing.

Let me fix the code anyway.
swl551 is offline   Reply With Quote
Old 2013-02-09, 16:25   #35
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

100110000000102 Posts
Default

Quote:
Originally Posted by swl551 View Post
What I have detected is that only the first 8 chars of the password are checked by GPU72.
Interesting. Excellent detective work.

I'm actually leveraging on Apache's BASIC AUTH, which has other issues I don't like. I didn't know about this one though...

Yet another reason I'd like to implement Digest authentication, but when I tried to do so many users complained that they had had their browser "Remember this password", and the browsers didn't know how to deal with such a change.

As an aside Scott, I'm assuming your fetching code could handle Digest auth as well? (With modification, of course.) I probably won't do this until I finally release a proper fetching API for you to use instead. And, of course, implement a "I've forgotten my password." function on the site for the humans.
chalsall is online now   Reply With Quote
Old 2013-02-09, 16:32   #36
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

14508 Posts
Default

Quote:
Originally Posted by chalsall View Post
Interesting. Excellent detective work.

I'm actually leveraging on Apache's BASIC AUTH, which has other issues I don't like. I didn't know about this one though...

Yet another reason I'd like to implement Digest authentication, but when I tried to do so many users complained that they had had their browser "Remember this password", and the browsers didn't know how to deal with such a change.

As an aside Scott, I'm assuming your fetching code could handle Digest auth as well? (With modification, of course.) I probably won't do this until I finally release a proper fetching API for you to use instead. And, of course, implement a "I've forgotten my password." function on the site for the humans.
I have never implemented an auth request using digest authentication, but many examples exist clearly demonstrating the c# web libraries support it.
I think we'll be OK on that.
swl551 is offline   Reply With Quote
Old 2013-02-09, 16:49   #37
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by mognuts View Post
I can't seem to get this tool to work, which is very frustrating because it would be very useful. I keep getting the following error:

Code:
 
The remote server returned an error: (401) Unauthorized.
This implies (I think) that I'm using the wrong username and password but I've checked and double checked and still no joy. One thing I've noticed is that looking at the console output it converts the first character of my password from upper case to lower case. For example, lets say that my password is 'Bloggs', it it submitting 'bloxxxxxx'. Could this be the reason and if so, how do I solve it? Any information greatfully received.

mog
Fixed.
version 1.0.4
1. Fixed bug that forced password into all lower case.
2. If program startup contains NO command line parameter it tries to use GPU72config.txt as the default. Exception is thrown if no config file can be resolved.

Get from http://mersenneforum.org/misfit/
swl551 is offline   Reply With Quote
Old 2013-02-09, 16:55   #38
Aramis Wyler
 
Aramis Wyler's Avatar
 
"Bill Staffen"
Jan 2013
Pittsburgh, PA, USA

6508 Posts
Default

Default config option - nice.
Aramis Wyler is offline   Reply With Quote
Old 2013-02-09, 20:01   #39
mognuts
 
mognuts's Avatar
 
Sep 2008
Bromley, England

2B16 Posts
Default

Just tried the latest version and it works perfectly. Thank you very much for fixing this so quickly. I can't thank you enough!

mog
mognuts is offline   Reply With Quote
Old 2013-02-22, 09:36   #40
mognuts
 
mognuts's Avatar
 
Sep 2008
Bromley, England

538 Posts
Default

Quote:
Originally Posted by swl551 View Post
Currently the work fetcher determines when to fetch work based on the number of "Factor" lines in the target file. An alternative is to fetch if the calculated GhzDays payload of the file drops below a threshold. This provides a much better method for calibrating the balance between work consumption and work fetching.

Is there any interest in this?

The floor is open.
I would be very interested in this, together with a modification to handle the "Let GPU72 decide" option (just setting the option number to 9 doesn't appear to work) and a 'silent mode' where no console window is displayed.

However, since the work fetcher has now been built into MISFIT it seems unlikely there will be any more developments.

Last fiddled with by mognuts on 2013-02-22 at 09:38 Reason: Spelling mistake for doesn't.
mognuts is offline   Reply With Quote
Old 2013-02-22, 14:15   #41
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default

Quote:
Originally Posted by mognuts View Post
I would be very interested in this, together with a modification to handle the "Let GPU72 decide" option (just setting the option number to 9 doesn't appear to work) and a 'silent mode' where no console window is displayed.

However, since the work fetcher has now been built into MISFIT it seems unlikely there will be any more developments.
The fetcher does not enforce any constraint on the #9 so it should work.

command shell script has START /B option to create with no window.

And you are right: No additional development will be performed since MISFIT provides a full featured system. (I will perform bug fixes only)

Last fiddled with by swl551 on 2013-02-22 at 14:18
swl551 is offline   Reply With Quote
Old 2013-02-22, 14:59   #42
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·5·7·139 Posts
Default

Quote:
Originally Posted by mognuts View Post
...(just setting the option number to 9 doesn't appear to work)...
The system did see a single request from you (2013-02-21 18:53:07 UTC) using MISFIT (or the fetcher -- I can't tell the difference since they both use the same UA) asking for one candidate with the option set to 9. The request was satisified.
chalsall is online now   Reply With Quote
Old 2013-02-22, 15:16   #43
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by chalsall View Post
The system did see a single request from you (2013-02-21 18:53:07 UTC) using MISFIT (or the fetcher -- I can't tell the difference since they both use the same UA) asking for one candidate with the option set to 9. The request was satisified.

Wasn't MISFIT as I have not released #9 code support.

Last fiddled with by swl551 on 2013-02-22 at 15:38
swl551 is offline   Reply With Quote
Old 2013-02-22, 19:44   #44
mognuts
 
mognuts's Avatar
 
Sep 2008
Bromley, England

43 Posts
Default

Quote:
Originally Posted by chalsall View Post
The system did see a single request from you (2013-02-21 18:53:07 UTC) using MISFIT (or the fetcher -- I can't tell the difference since they both use the same UA) asking for one candidate with the option set to 9. The request was satisified.
Yes, and no. The website offered me a different range of workunit than the fetcher gave me. I tried it again a few minutes ago and this happened:

The GPU72 website using 'Let GPU72 Decide' offered me:
Code:
Factor 61,998,xxx from 72 to 73
and correctly gave me:
Code:
Factor=N/A,61998xxx,72,73
but the fetcher (using option 9) gave me:
Code:
Factor=2013-2-22,63115xxx,71,73
The requests were only a few seconds apart.

Last fiddled with by mognuts on 2013-02-22 at 19:56 Reason: Added more information.
mognuts is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
a lyric finding tool MattcAnderson Soap Box 1 2017-01-01 15:18
Auto-XYYXF tool fivemack NFS@Home 3 2016-07-06 04:01
TF fetching/reporting toolkit for Linux swl551 PrimeNet 20 2014-06-19 15:00
GPU72's fetching/reporting API Aramis Wyler GPU to 72 44 2013-04-10 13:41
tool to help with Top 5000 list Mini-Geek Lounge 6 2008-05-04 03:19

All times are UTC. The time now is 14:52.


Fri Jul 16 14:52:12 UTC 2021 up 49 days, 12:39, 2 users, load averages: 1.38, 1.42, 1.59

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.