DEBUGGING ON
Secret for this CDN is
CDN is secret is \n
(15:14:34) Marc Pelzer 436: 'R1EuropeAuth_serial' => 'FE23185378E650FCE033C0A87F2E50FC@20060614131417|5808a6116352a72284b1d5c9632a1b9a'
(15:15:49) glomphaim: can you paste your code line where you make the MD5?
(15:15:56) Marc Pelzer 436: ok, mompls
(15:16:38) Marc Pelzer 436: $this->{response}->{cookies}->{R1EuropeAuth_serial} = $userGuid . '@' . strftime("%Y%m%d%H%M%S", localtime(time)) . "|" . $this->{md5}->add($userGuid . '@' . strftime("%Y%m%d%H%M%S", localtime(time)) . $this->{obj}->{int}->{config}->{COOKIE}->{SECRET_PHRASE_realmusic})->hexdigest;
(15:17:39) glomphaim: OK, so you are MD5-ing userguid@timestamp
(15:18:05) Marc Pelzer 436: yep - and i connect the secret string directly to that
serial cookie is \n
COOKIE data is
COOKIE MD5 is
Calculated inbound MD5 is \n
Received inbound MD5 is \n
My calculated MD5 is \n
MD5 checks out OK\n
MD5 is OK
#serial#
NOOL
Timestamp found
There is a timestamp for this user, now figure out if it is cool
is usertime and is dbserial
diff is
DIFF is POSITIVE (or zero). GOOD!
Time difference is OK\n
echo NEGATIVE NUMBER D00D! invalid timestamp
SERIALNUMBER TIMEWARP! POSSIBLE FRAUD!\n
No entry in timestamp database for user
No entry in timestamp database for user \n
MD5 sucks bigtime\n
MD5 on the cookie is bad!
No R1EuropeAuth_serial cookie! Wuzzzupppp?
NO serial cookie! Gimme COOOKIE!\n
Setting new value in cookie
Setting new value in cookie\n
@
@|
Updating time-based serial number in DB
_____________________________________________________________________\n