[rancid] Re: Going beyond community <removed>?

K K 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.

Kevin


begin 644 rancid.patch.gz
M'XL(")3>M4@``W)A;F-I9"YP871C:`"=4UUOVC`4?89?<6ME$*\)D(\"A1(Q
MH4J\L%9DVA,:RH(96<&)8M,53?SW73LI!3%4;7EPG.M[SKD^]\;O1'[7NFE5
M`]@*!J',$_ZCUQM-1Y[;/P0CF0B9Q*+7"U<1YRE71]5;/[KM6DZKBQ]B^QW*
MLW$D5O`;8YN=:0 at 6YTS2@3F<TWX96V$"'9#QIW#<(YI)Q6&XB&0T$-DZD6:S
M:;U""Q0869K!X&^UV`%GOTR-IB4;XK8Y-\E=H0$-B//8<P_E8(!8*BPRO*]<
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*B/)T-A2[OU<((W:4?-,P\5+*RG4\WVM5]$,BN"JV"GW?J8)-^M0MP"MSMDF
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`````
`
end


More information about the Rancid-discuss mailing list