Git Product home page Git Product logo

net-dhcp's People

Contributors

choroba avatar djzort avatar haarg avatar kyzn avatar njtaylor avatar rfdrake avatar shadowwa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

net-dhcp's Issues

missing option 121 (or 249)

From https://rt.cpan.org/Ticket/Display.html?id=65890:

I was just trying out 0.66 of Net::DHCP::Packet (but also looking at 0.67_1 @ http://search.cpan.org/~djzort/Net-DHCP-0.67/lib/Net/DHCP/Packet.pm) and I don't see any support for IANA option 121 (aka MS option 249) for classless static routes. Notice:

Options :
...
(121) = \x10\x0A\x0A\x00\x00\x0A\x0A\x00\x01

I could obviously just wait for you to add it and update (and will when you do) but any hints on how to parse that in the meanwhile? I guess I need to "unpack()" it.

Implementing getSubOptionValue

I've got a need to implement the getSubOptionValue method: I need to get the option 82 subtype 1 to know what client just tried getting a DHCP address.

It looks like getSubOptionValue is implemented, but commented-out completely with a FIXME note above. What's left to fix so that I can make this method work?

Makefile.PL

Hello,

Where can I find the Makefile.PL file ?

Regards.

According to RFC3396 long dhcp options must be splitted

If using long dhcp options (e.g. option 43) these should be splitted into multiple options. Currently if using addOptionRaw(DHO_VENDOR_ENCAPSULATED_OPTIONS ... with a value > 255 bytes Net::DHCP creates a malformed dhcp packet because it puts the whole data into a single option 43. According to RFC3396 Net::DHCP must split the option into multiple options of the same type. So currently we have for example a single option 43 with 500 bytes but there should be two options 43. One with the first 255 bytes of the value and another one with the remaining 245 bytes. This applies not just for the option 43 but here it is most common that you have a lot of data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.