thus spake Simon Schlachter on Thursday, March 11, 2004 6:10 AM:

> hi everyone
> 
> i am a computer science student and am currently trying to implement a
> razor2-client in java.

neat!

> since there is almost no documentation i'm
> trying to reverse engineer the whole thing.

there's some documentation on razor.sf.net and I found this as well:
http://www.stearns.org/razor-caching-proxy/razor2-protocol

> there are two questions i
> can't answer by reading the source code:
> 
> (1) is it necessary that every client and every catalogue server
> choose the exactly same parts of a message for hashing? the fact that
> the server supplies a seed for the random number generator leads me
> to this assumption.

yes, there needs to be some agreement on what part of the message the
hash is based on or the hashes won't match.

> (2) if (1) is true, why do you use perls random number generator
> (which could be different on every client) for this purpose, instead
> of including an own one in your source code, making razor independent
> from the rng of the system it is running on. (as a matter of fact,
> you get different random numbers if you run razor on linux vs if you
> run it on windows)

perl normally uses drand48() for rand which is well defined and [I'm
assuming] behaves the same on all platforms.  this can be overridden
during perl configuration, however.

> (3) what are signatures v5 and higher that are used by spamnet? are
> they documented anywhere or are they kind of "secret" since they only
> appear in spamnet, not in razor?

they are proprietary.

-- 
j u l e s @ p o p m o n k e y . c o m
http://www.popmonkey.com

I've stopped 301,515 spam messages. You can too!
One month FREE spam protection at http://www.cloudmark.com/spamnetsig/



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to