[rancid] Re: Going beyond community <removed>?
kkadow at gmail.com
Wed Aug 27 23:12:09 UTC 2008
On Wed, Aug 27, 2008 at 11:16 AM, Austin Schutz <tex at off.org> wrote:
> This seems pretty smart to me, and a useful feature. My only comment
> would be that this is really more like using a CRC checksum- it's not really a
> matter of cryptography. You could use Digest::MD5 if you wanted to go the
> MD5 route, or maybe Digest::CRC if not.
Good point. I'm using String::CRC32 and Statistics::Shannon,
looks like these together do exactly what I was looking for.
I've made the change to "rancid" for SNMP community strings,
patch included below.
begin 644 rancid.patch.gz
MLW$D5O`;8YN=:0 at 6YTS2@3F<TWX96V$"'9#QIW#<(YI)Q6&XB&0T$-DZD6:S
MFN2#TW"7Q%(J=I#P!7O120$!S;DO>*M.Q_%BI^-VJG=0299 at -K\)OLELP?)G
MEL,J%1+,V>)ZUCA9*#0I6F+;-I+\$\Z<A==4 at U&ZC=)>2TE7E(_KA#.*GI`S
M?6:+@%AO\:%,GQ at 7E-*W:MYC.JU$$]`+E%CB;>1T;GS+Z;35"%?86EQT-U1V
M-CY"G&XV6Y[(7>DNQ at J'$0_X*`)CF:PER^<J5\B\/#VN_=Q'!PP7G833"WAJ
MC at R_7^`?\S1F0HQQA--\9Y+P\^0QO)]^O9^.'\(O.)-))M)<XL9PU*+D9IS0
M$L[9B^Q7BOU>O_9H at N]BG]J>,J%HUF65T<-D at KQ/;/<J,\?E"FL_],^H$PJU
<&FBMHQD"_=\.S@<E^$]%S7>J]@=PFT>"C at 0`````
More information about the Rancid-discuss