summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
AgeCommit message (Collapse)Author
2018-08-02add OptClientArchTypePablo Mazzini
2018-08-02OptUserClass: use only the flag as authoritativePablo Mazzini
2018-08-02OptUserClass: fix short lengthPablo Mazzini
2018-08-02fix OptUserClassPablo Mazzini
2018-08-01Parse non-RFC compliant user class (#114)Owen Mooney
2018-08-01add OptDomainSearch (#111)insomniac
2018-08-01rename dnscompress to rfc1035labelPablo Mazzini
2018-08-01add OptNTPServers (#115)Pablo Mazzini
2018-08-01Add support for modifiers to dhcpv4 (#102)insomniac
2018-08-01add OptHostName (#112)insomniac
2018-08-01extract rfc1035labelPablo Mazzini
2018-07-31OptHostName: update rfc urlPablo Mazzini
2018-07-31OptHostName: update rfc urlPablo Mazzini
2018-07-31OptHostName: update rfc urlPablo Mazzini
2018-07-31fix OptHostNamePablo Mazzini
2018-07-31add OptHostNamePablo Mazzini
2018-07-31OptDomainSearch: fix String()Pablo Mazzini
2018-07-31OptDomainSearchPablo Mazzini
2018-07-31OptDomainSearch: add commentsPablo Mazzini
2018-07-31add OptDomainSearchPablo Mazzini
2018-07-30DHCPv6: Rename Option constants to CamelCaseSean Karlage
To appease linters
2018-07-30fix OptIPAddressLeaseTimePablo Mazzini
2018-07-30OptIPAddressLeaseTime: fix testPablo Mazzini
2018-07-30add OptIPAddressLeaseTimePablo Mazzini
2018-07-29Add some helper tools for testsSean Karlage
Adds new `OptionGetter` interface that helps when asserting that certain packets/vendor-specific opts contain specific options.
2018-07-29OptRouter: fix lintPablo Mazzini
2018-07-29OptRouter: fix testPablo Mazzini
2018-07-29add OptRouterPablo Mazzini
2018-07-29Add modifier support to NewReplyFromRequestOwen Mooney
2018-07-29DHCPv4: Refactor methods for easier testingSean Karlage
This refactors the input parameters for construction DISCOVER/INFORM* packets so that it's easier to write unit tests for DHCPv4 and BSDP methods. It also adds a bunch of unit tests for both packages and rounds out their test coverage.
2018-07-29Add support for modifiers to dhcpv4Owen Mooney
2018-07-29OptSubnetMask: add options testPablo Mazzini
2018-07-29parse OptSubnetMaskPablo Mazzini
2018-07-29OptSubnetMask: change Length()Pablo Mazzini
2018-07-29add OptSubnetMaskPablo Mazzini
2018-07-29add NewReplyFromRequest (#100)Pablo Mazzini
2018-07-27[DHCPv4] BroadcastSendReceive now can wait for specific reply types (#95)insomniac
2018-07-27BSDP: Refactor to use dhcpv4.GetOneOption (#94)Sean Karlage
Refactors BSDP code to use `dhcpv4.GetOneOption` instead of manually searching through the list of options.
2018-07-25Added additional ParseOption tests (#93)Owen Mooney
2018-07-25Add TFTP server name option (#92)Owen Mooney
2018-07-24.Owen Mooney
2018-07-24Add support for Bootfile name optionOwen Mooney
2018-07-24.Owen Mooney
2018-07-24SpellingOwen Mooney
2018-07-24Return error on empty User ClassOwen Mooney
2018-07-24Don't parse past lengthOwen Mooney
2018-07-24Added UserClass option to DHCPv4Owen Mooney
2018-06-28Added OptDomainNameServer for DHCPv4 (#74)insomniac
2018-05-11add dhcpv4.GetOption and dhcpv4.GetSingleOption methods (#63)Brandon Bennett
GetOption and GetOneOption are convenience methods for getting a DHCPv4 option from its Option Code. GetOption returns a list of options that match since the DHCP RFC allows for an option to be present multiple times with its values appended together. (Note: I am not sure I've ever seen this done and it's not clear if how option parsing would work for more complex values. Is appending done at the byte level? ) GetOneOption will return the first found option that matches a code.
2018-04-18Fixed DHCPv4 listener (#37)insomniac
Fixed DHCPv4 listener There were two bugs in the DHCPv4 client: * the listener was called *after* the sender * the listener was not binding to the same interface as the sender, but listening for every UDP packet This is now fixed.