Wireshark mailing list archives

Re: how are the Radius dictionary files used?


From: Eliot Lear <lear () ofcourseimright com>
Date: Thu, 15 Dec 2016 15:59:27 +0100

Thanks much for this, Alexis.  I'll have a pull request ready in short
order.

Eliot


On 12/14/16 12:45 PM, Alexis La Goutte wrote:
Hi Eliot,


On Wed, Dec 14, 2016 at 9:10 AM, Eliot Lear <lear () ofcourseimright com
<mailto:lear () ofcourseimright com>> wrote:

    Hi everyone,

    I'm doing some work to add support for a new DHCP option.  I've
    already
    added and tested code in the appropriate dissector files, but I
    see that
    there are several files in the radius/ directory (dictionary.dhcp and
    dictionary.freedhcp).  These look roughly like the dictionary
    files used
    by freeradius, but with the possibility of compound types.  The option
    I'm adding is fairly straight forward: it's a length and string.  It
    doesn't get much simpler.  Should I place an entry in these files
    indicating "byte string"?

For DHCP, Wireshark don't use RADIUS dicto like freeradius

You need to modify packet-bootp.c (or packet-dhcpv6.c) for add new option.
 


    Apologies if this is in a FAQ somewhere.  A pointer to the answer
    would
    be fine.

    Thanks,

    Eliot


    ___________________________________________________________________________
    Sent via:    Wireshark-dev mailing list
    <wireshark-dev () wireshark org <mailto:wireshark-dev () wireshark org>>
    Archives:    https://www.wireshark.org/lists/wireshark-dev
    <https://www.wireshark.org/lists/wireshark-dev>
    Unsubscribe:
    https://www.wireshark.org/mailman/options/wireshark-dev
    <https://www.wireshark.org/mailman/options/wireshark-dev>
                 mailto:wireshark-dev-request () wireshark org
    <mailto:wireshark-dev-request () wireshark org>?subject=unsubscribe




___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Attachment: signature.asc
Description: OpenPGP digital signature

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: