Re: Password multibple duplicated string problem
Bill Fenner <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAF4SogaUQM=NhUNVweFFuYnLzANioKFZ_EGA2+ZfeMHT=P5L1Q@mail.gmail.com> |
This is how the password -> Ku algorithm works: it repeats the password until it has 1 megabyte of data, then runs the hash algorithm over that data. See https://tools.ietf.org/html/rfc2574#page-78 . Bill On Wed, Feb 11, 2015 at 5:07 AM, JiaZhaohan <[email protected]> wrote: > Hi, > > I don't know if it is a general problem. I didn't search out any related > issues. > > I use "password" as my password of snmpd. I can get result from "snmpget > -v3 -c private -u username -a MD5 -A password -l authPriv -x DES -X > password localhost 1.3.6.1.4.1.x" > > However, I can user the multiple times of password to get the result too: > > "snmpget -v3 -c private -u username -a MD5 -A passwordpassword -l > authPriv -x DES -X passwordpassword localhost 1.3.6.1.4.1.x". > "snmpget -v3 -c private -u username -a MD5 -A passwordpasswordpassword -l > authPriv -x DES -X passwordpasswordpassword localhost 1.3.6.1.4.1.x". > > Moreover, I tried to change my password to "abcdabcd" which is duplicated > "abcd" strings. All the following snmpget whose password is the multiple > times of "abcd" work: > "snmpget -v3 -c private -u username -a MD5 -A abcdabcd -l authPriv -x > DES -X abcdabcd localhost 1.3.6.1.4.1.x" > "snmpget -v3 -c private -u username -a MD5 -A abcdabcdabcd -l authPriv > -x DES -X abcdabcdabcd localhost 1.3.6.1.4.1.x" > "snmpget -v3 -c private -u username -a MD5 -A abcdabcdabcdabcd -l > authPriv -x DES -X abcdabcdabcdabcd localhost 1.3.6.1.4.1.x" > > I don't know if any one met the same problem before. > > Thanks > Zhaohan > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users