Vtp password hash value

the vtp password is send as a md5 hash value in the vtp advertisements.
but the hash value is computed using only the password or it is computed using some otheer field also if yeh then which fields

Hi,
from "Troubleshooting VLAN Trunk Protocol" :
"The general purpose of an MD5 value is to verify the integrity of a received packet and to detect any changes to the packet or corruption of the packet during transit. When a switch detects a new revision number that is different from the currently stored value, the switch sends a request message to the VTP server and requests the VTP subsets. A subset advertisement contains a list of VLAN information. The switch calculates the MD5 value for the subset advertisements and compares the value to the MD5 value of the VTP summary advertisement. If the two values are different, the switch increases the No of config digest errors counter."
By the way: I made a couple of tests and it seems that the only relevant field in the summary advertisement, which is not used for the MD5 computation, is the timestamp. I attached a wireshark-capture with summary advertisements from two different switches. I made the same changes on both switches at different times before I connected them (I even configured the same updater IPs on both because different IDs resulted in different hash values. This is interesting because the updater ID is used only in the summary advertisements). You can see that the MD5 values are the same in both messages although the timestamps are different. Any changes of vlan information also resulted in different hash values, as expected.
Hope that helps
Rolf
P.S.: You can find the packet formats in "Understanding VLAN Trunk Protocol"

Similar Messages

  • Unknown VTP password

    I added a new switch to my network, but it's not picking up any VLAN information. I made it a VTP client and entered the correct VTP domain name. I did notice that the MD5 hash for the VTP password was different from the VTP server's. I tried clearing the VTP password on the new switch, but the hashes are still different. Someone else set up the VTP server and other switches on the network and there is no documentation of what the password might be. Am I correct in assuming that this is the cause of the VLAN info not updating on my new switch? Are there any steps to recover an unknown VTP password? If I can't recover the existing password, what are my options? Thanks for any help you can provide me.

    You asked:
    Am I correct in assuming that this is the cause of the VLAN info not updating on my new switch? Are there any steps to recover an unknown VTP password? If I can't recover the existing password, what are my options?
    >>> Yes, this is a very good reason why VTP is not being updated on the client. Steps to recover unknown password depends on whether you have access to the VTP server and you have enable access. Below is how you reset the VTP password to no password.
    6k (enable) set vtp passwd null
    Generating MD5 secret for the password ....
    VTP domain cisco modified
    6k (enable) sh vtp domain
    Domain Name Domain Index VTP Version Local Mode Password
    cisco 1 2 server configured
    Vlan-count Max-vlan-storage Config Revision Notifications
    71 1023 400 disabled
    Last Updater V2 Mode Pruning PruneEligible on Vlans
    x.x.x.x enabled disabled 2-1000
    6k (enable) set vtp passwd ?
    Password (0 to clear)
    6k (enable) set vtp passwd 0
    Resetting the password to Default value....
    VTP domain cisco modified
    6k (enable) sh vtp doma
    Domain Name Domain Index VTP Version Local Mode Password
    cisco 1 2 server -
    Vlan-count Max-vlan-storage Config Revision Notifications
    71 1023 400 disabled
    Last Updater V2 Mode Pruning PruneEligible on Vlans
    x.x.x.x enabled disabled 2-1000
    6k-4a (enable)
    Please rate helpful posts.

  • How to Decode.. using hash value

    Hi Guys,
    I have created a function Enc_Password on my form. following is the code:
    FUNCTION Enc_Password ( P_String IN VARCHAR2 ) RETURN VARCHAR2
    IS
    BEGIN
    RETURN DBMS_UTILITY.Get_Hash_Value( P_String, 9, 1001000200 );
    END Enc_Password;
    Now i call this function on button press event of my form by this code
    Dec_Pass := Enc_Password (:login_blk.password);
    THE PASSWORD IS ENCRYPTED.........
    HOW CAN I DECRYPT IT AGAIN, IS THERE ANY REVERSE.....
    S THERE ANY REVERSE USING HAS VALUE
    plis help,
    Imran Baig

    Hi,
    Thanks for the reply.
    Actually i have already used this in one of my form. Just now i have found that in some cases i have to decrypt/decode the password as well.
    It means that is no way yo decode data and hash value is just used for encode??
    pliz help,
    Imran Baig

  • Password by Values did not work.

    Hi,
    I had to create a user for the client by cloning another user (all we wanted to have a different name for the user as per our new naving conventions).
    While creating the user I used "password by values" to create the new user. After the new user creation I checked that in dba_users the password was showing same.
    Later today user complaint that he cannot login with the new user and getting ORA-01017.
    Then I asked the user for the current password and and changed it for the new user as well. Now the user can login but the value for password column in dba_users is different.
    Can anyone think of a reason for this ?
    Platform is Oracle 9.2.0.7 on Solaris 5.10
    Thanks,
    Ankit.

    Hi,
    >>all we wanted to have a different name for the user as per our new naving conventions).
    So, this will not work because even if the password are identical, the hashed password use the user name as salt for the hashing algorithm.
    Cheers
    Legatti

  • Hash Values in BODS

    Hello Experts,
    I am a newbie to Data Services. We are using Data Services XI 3.0 Premium. I was given a task to identify duplicates by using hash values so that there is no loss of data and at the same time we can identify the duplicates. I was able to find that functionality in Oracle. But client wants the functionality in Data Services, before it loads into Oracle. I looked everywhere, couldn't find the right information. Help would be really appreciated. Please let me know if any further information needed.
    Thank you for going through my post. I really appreciate your time.
    Thank you,
    Sandeep.

    Hi
    As per your statement "to identify duplicates considering bunch of columns together" you can implement logic using BODS built in function "gen_row_num_by_group"
    create new column in query transformation say "Dup_find" with data type int
    write logic in mapping tab as below
    gen_row_num_by_group( field1 ||  field2 || field3 || ....... ) and drag the subsequent fields in group by tab as well
    the above logic will return the row ids per group
    example
    FIELD1     FIELD2     FIELD3     DUP_FIELD
    A                    B                    C                    1
    A                    B                    C                    2
    A                    B                    C                    3
    D                    E                    F                    1
    G                    H                    I                     1
    take two query transformations in parallel
    In first query transformation, you have to filter the duplicate records using "WHERE" clause
    WHERE DUP_FIELD > 1 ( map this to one temp table to catch duplicate records )
    in second  query transformation, you can consider only unique records using "WHERE" clause
    WHERE DUP_FIELD = 1 ( map this to second temp table to catch unique records )
    hope it helps in your requirement
    Thanks
    Ahalya

  • Crystal 2008 not showing a Hash Value correctly

    We are using a SQL database with Crystal 2008.
    The Problem:
    We are having some issues displays the hash value of a varchar(20) in our crystal reports. Every value in the field is either going to be a Null or 20 characters long. We are getting varying length characters, when it should not. And it is showing blank for some of the records when the double check shows that they exist.
    What can we do to make Crystal 2008 show these fields correctly? I can use a command but that is a temporary solution for a reoccuring problem with the field in question.
    Thank you for your time!
    Dan

    We use EncryptbyCert() function in SQL. It returns only a value that is either null or 20 characters long. That is all I am able to give for information about that.

  • Delete hash value row in Bex report output

    Hi All,
    Can anybody suggest how can i remove hash value(not assigned) row in Bex report out put.
    my report looks like this:
    rows
    project position
      (hierarchy)
      WBS element
        (hierarchy)
        Order
    For each Project position and WBS element hierarchies, i did supress the " not assigned" tick in hiearchy attributes in RSH1.
    but in colums i have budget as one of the column.
      this budget comes from project position nodes to last node of WBS element but not in order, for order it will be blank but after this order a new row coming up with bold" Not assigned" with that budget amount against this not assigned.
    My problem is how can i get rid of this not assinged entire row. I search so many links in SDN, they talk about just to replace the not assigned  to some other value as blank or something like that.
    Please suggest me how can i get rid of this.
    i did tried to restrict Order with "#" but then the whole budget column getting blank.
    Regards
    Robyn.

    HI Arun,
    As i mentioned earlier, i have gone through these links, they just talk about replacing # value or Not Assigned  to some other value or blank.
    my issue is i need to get rid of that entire row.
    when i drop proj def hierarchy ,then wbs hierachy starts, sometimes at the end of wbs hierarchy i get row with #
    and sometimes after wbs hierarchy ,then order row then # row is coming.
    even after i tick supress unassigned nodes in both Projdef and wbs hierarchies.
    i am not supposed to simply replace #( not assigned) symbol or text with some other symbol or text ( thats what they discussing in these links).
    i created that macro they said in those links but its just deleting # symbol to blank not the whole row.
    hope i made my issue clear.
    i have seen so many other links as well
    [Re: Bex macros]
    Regards
    Robyn.

  • Hash values coming in extraction,how to rectify

    Dear All,
    During Extraction we are getting hash values,for which our extraction is getting failed,we manually edit the psa and doing the load from PSA to Cube,is there a way where we can restrict this hash values
    so our extraction din failed,in rskc all values are maintaide including hash.
    pls suggest.
    Thanks,
    Sapta

    Hi,
         Characters whose hexadecimal value is 00-1F these will be displayed as # and we think this is maintained in RSKC and even then the load is failed... the invalid characters are displayed as # and there by u need to stop them . Even With ALL_CAPITAL u will not be able and it wont be good to use ALL_CAPITAL in rskc.  this is part of code which i used to eliminate such cases.........and this is absolutely working fine... it will be invalid characters....
    DATA: L_S_ERRORLOG TYPE RSSM_S_ERRORLOG_INT,
             G_ALLOWED_CHAR(300) TYPE C.
    IF G_ALLOWED_CHAR IS INITIAL.
    CALL FUNCTION 'RSKC_ALLOWED_CHAR_GET'
    IMPORTING
    E_ALLOWED_CHAR = G_ALLOWED_CHAR.
    ENDIF.
    concatenate G_ALLOWED_CHAR 'abcdefghijklmnopqrstuvwxyz£Ö@[]' into G_ALLOWED_CHAR.
    in the above concatentate statement add all the characters which u want to allow apart from the allowed characters .....**
    do.
    if not RESULT co g_allowed_char.
    shift RESULT+sy-fdpos left.
    else.
    exit.
    endif.
    enddo.
    Here result is the field for which say invalid characters are coming ...above is the code to remoce invalid characters from the field Result.....
    Regards
    vamsi

  • Differences between sql id and hash value

    Hello All,
    I have read the following from Tom's web site. Ask Tom "What is a child cursor"
    Dear Tom,
    Appreicate your services to the oracle community.
    What is the column combinations which is leading to SQL_ID.  is SQL_ID = hash_value + address ?  Regards Lalitha
    Followup   August 28, 2012 - 1pm UTC:
    sql id = hash( sql statement )
    hash value is maintained for backward compatibility, sqlid is a new, better hash.
    I am just wondering what did he mean when he said "hash value is maintained for backward compatibility, sqlid is a new, better hash."?
    If both of them are the output of hash function, could someone please explain clearly what is the differences between SQL_ID and HASH_VALUE?
    Thanks for your help.

    SQL_ID is just a fancy representation of hash value | Tanel Poder's blog: IT & Mobile for Geeks and Pro…
    Regards
    Jonathan Lewis

  • Calculating HASH values with WCCP

    Ok, I'm just not getting the HASH calculations.  Can somebody please explain how the HASH values translate into subnets?
    Thanks,
    Patrick

    Patrick,
    I'm not a 100% sure of the algorithm used to determine what subnet is assigned to which WCCP bucket.  However, I do know it involves an XOR of various L3 and L4 header fields in the packet.
    To view the how the calculation has been performed you can run the hidden IOS command
    show ip wccp hash <dst-ip> <src-ip> <dst-port> <src-port>
    Router# show ip wccp 61 hash 0.0.0.0 10.88.81.10 0 0
    WCCP hash information for:
        Primary Hash:   Src IP: 10.88.81.10
      Bucket:   9
        WCCP Client: 10.88.81.12
    Router#
    Hope this helps,
    Mike Korenbaum
    Cisco WAAS PDI Help Desk
    http://www.cisco.com/go/pdihelpdesk

  • Calculating hash values for really big files

    I am using the following code to calculate the hash values of files
    public static String hash(File f, String algorithm)
                throws IOException, NoSuchAlgorithmException {
            if (!f.isFile()) {
                throw new IOException("Not a file");
            RandomAccessFile raf = new RandomAccessFile(f, "r");
            byte b[] = new byte[(int) raf.length()];
            raf.readFully(b);
            raf.close();
            MessageDigest messageDigest = MessageDigest.getInstance(algorithm);
            messageDigest.update(b);
            return toHexString(messageDigest.digest());
        }Now the problem is, for really big files, 100 MB or over, I get an OutOfMemoryError.
    I have used the -Xms and -Xms options to increase the JVM heap size, and untimately made it to work. However, I think this is lame and there is also a limit to the -Xmx option.
    Is there any other way I can calculate the hash values of these really big files?
    Thanks a lot in advance.

    why do u open the file the way u do ?
    why to u upload ALL the file AT ONCE into the memory ?
    i would do it like this:
    FileInputStream fis = new FileInputStream (f);
    int fileSize = f.available();
    byte buffer[] = new byte[1000];
    MessageDigest messageDigest = MessageDigest.getInstance(algorithm);
    for(int read = 0;read < fileSize;read +=1000;)
    if(fis.available() > 1000)
    fis.read(buffer, read, 1000);
    else if(fis.available() > 0)
    fis.read(buffer, read, fis.available());
    else
    break;
    messageDigest.update(b);
    fis.close();
    return toHexString(messageDigest.digest());

  • Hash value in report

    Hi sdn,
    I'm getting hash value in report for one infoobject,that is for 0customer .Could you pls let me know how to remove that particular problem.
    thanks
    R

    Hi
    So u have records as follows:
    ckf            Customer Text       Value
    Base         # Not Assigned      -59,286.60
    value
    So as for the above...if there is no data as the JR.. said,it will display in that row as # or Not Assigned.
    1.So if u want dont want to display it & then u can EXCLUDE that # values in ur FILTER as other guy says.
    2.Do as per JR..
    3. U cannot totally remove tht frm ur report...becoz..where there is dependent char. which has data
    Hope this helps.

  • Problem w. hash-value calculation for CLOB with DBMS_UTILITY.GET_HASH_VALUE

    Hello Oracle-Experts,
    I had to calculate hash-values for a corrorponding CLOB-field (see my post 'Buffer to small ORA-22835 error after migration from 9i to 10g' in forum 'database general').
    I calculate the hash-values with the DBMS_UTILITY.GET_HASH_VALUE, e.g:
         SQL> SELECT DBMS_UTILITY.GET_HASH_VALUE(LPAD('X',3998,'X'),1,POWER(2,30)) FROM dual;
         DBMS_UTILITY.GET_HASH_VALUE(LPAD('X',3998,'X'),1,POWER(2,30))
         1053896858
    Because the calculation failed with 10g I had taken a closer look at this function and realised the following results:
    VALUE                                             DBMS_UTILITY.GET_HASH_VALUE(VALUE,1,POWER(2,30))
    LPAD('X',3997,'X') 557754150
    LPAD('X',3998,'X')      1053896858
    LPAD('X',3999,'X')          888036750
    LPAD('X',4000,'X') 162062978
    LPAD('X',4001,'X')          162062978
    LPAD('X',4002,'X') 162062978
    LPAD('X',10000,'X') 162062978
    It seems to me that I can't use this function for clob-values with a length greater than 4000 characters because of collisions. Maybe someone with experience
    can give me a hint to handle this problem. Worst case i had to write my own CLOB_2_HASH function.
    TIA + Best regards
    Matthias

    Yeah, the 4000-byte limit would be a factor in working CLOBs. I if you only had 4000 bytes you would not need a CLOB in the first place.
    If you don't find something better then writing your own function might be the thing to do.

  • Password hashes in OSX Mavericks

    Where are password hashes stored and how are they stored?

    HI nytrash,
    Please let me know what is the version of Acrobat you are using. Or it is reader that is installed on your machine.
    Regards.

  • Who will generate hash value

    Hi Everyone,
    I need some information about hash value getting generated for every new SQl
    I think that PGA will generate hash value every time
    thanks in advance
    Shareef

    912856 wrote:
    Hi Everyone,
    I need some information about hash value getting generated for every new SQl
    I think that PGA will generate hash value every time
    PGA would "generate" the value? Isn't it that the hash-values are generated by hash functions ? If you want information about how the parsing works, please read,
    http://docs.oracle.com/cd/E11882_01/server.112/e16638/optimops.htm#i21299
    And,
    http://docs.oracle.com/cd/E11882_01/server.112/e25789/sqllangu.htm#CNCPT1740
    Aman....

Maybe you are looking for

  • Flash Crashes across all browsers and recent fatal errors

    This problem has basicly been going on for years and my operating system has been resintalled a couple of times before but basicly the problem is that adobe flash player (and Microsoft Silverlight) would crash a browser (IE, Chrome, and Firefox) ofte

  • IBook G4 Wigging out

    If this has already been addressed, I apologize. I just wasn't entirely sure how to phrase this to see if anyone else was having this problem. For the past several months, my iBook G4 (2005) has been freaking out at random intervals. What do I mean b

  • Bridge/windows 7 crash

    after trying to stack HDR for panorama it begins to read the images and when the progress bar is almost complete it crashes everytime, saying windows has to close the program due to an unexpected error.

  • Setup IdM 8.0 with NetBeans 6.1, setRepo issues

    It seems like the setRepo command doesn't work. I'm trying to use the MySQL repo, but it reverts back to jdbc:hsqldb:hsql://127.0.0.1 What am I missing ? ps: the javapassion.com tutorials are informative, but I've still got some problems.

  • Cisco 4402 WLC IOS Upgradation using CLI and Web Interface

    Hi, I would like to know how to upgrade IOS of Cisco 4402 WireLess LAN Controller using CLI and Web interface ? Can any one help me regarding the same. Please answer as soon as possible. Thanks in advance.