summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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-25Add support for Bootfile name option (#91)insomniac
2018-07-24.Owen Mooney
2018-07-24Add support for Bootfile name optionOwen Mooney
2018-07-24Merge pull request #90 from mooneyow/masterinsomniac
Added UserClass option to DHCPv4
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-07-16Merge pull request #86 from insomniacslk/netboot_no_url_no_failinsomniac
Netboot: don't fail if no netboot url is returned
2018-07-16Netboot: don't fail if no netboot url is returnedAndrea Barberio
2018-07-14Merge pull request #83 from pmazzini/masterinsomniac
add DecapsulateRelayIndex
2018-07-14return error if index < -1Pablo Mazzini
2018-07-14add missing filePablo Mazzini
2018-07-14add DecapsulateRelayIndexPablo Mazzini
2018-07-14extend DecapsulateRelayPablo Mazzini
2018-07-13Optiana GetOneOption (#85)insomniac
2018-07-13Added negative test caseAndrea Barberio
2018-07-13linterAndrea Barberio
2018-07-13Added tests for GetOneOptionAndrea Barberio
2018-07-13[OptIANA] Added GetOneOption methodAndrea Barberio
2018-07-13Make Future buffered to avoid concurrency issues (#84)Mikołaj Walczak
2018-07-12GetInnerRelay: update commentPablo Mazzini
2018-07-12add GetInnerRelayPablo Mazzini
2018-07-12Asynchronous client for DHCPv6 (#80)Mikołaj Walczak
2018-07-11NewSolicitWithCID for DHCPv6 (#76)Mikołaj Walczak
2018-07-08add NewReplyFromDHCPv6Message (#78)Pablo Mazzini
Add a more generic NewReplyFromMessage to avoid code duplication. This is one step closer towards fixing issue #73. Leave NewReplyFromRequest, NewReplyFromRenew and NewReplyFromRebind for backwards compatibility.
2018-07-08add DelOption to OptIANA (#77)Pablo Mazzini
2018-07-05DHCPv6.Exchange now applies modifiers correctly for both solicit and request ↵insomniac
(#75)
2018-06-28Added OptDomainNameServer for DHCPv4 (#74)insomniac
2018-06-11Pass through unknown DUIDs (#71)Michael Stapelberg
I’m building on a program which works with user-supplied DUIDs. Before this change, the code would panic when users provide a DUID which is not (yet) implemented. In addition to this being a better failure mode, the behavior is also mandated by the DHCPv6 RFC: https://tools.ietf.org/html/rfc3315#section-9 states: Clients and servers MUST treat DUIDs as opaque values and MUST only compare DUIDs for equality.
2018-06-11add NewReplyFromRenew and NewReplyFromRebind (#72)Pablo Mazzini
2018-06-10add IsNetboot and IsUsingUEFI (#70)Pablo Mazzini
2018-05-26Add NewRelayReplFromRelayForw (#69)Pablo Mazzini
2018-05-25OptBootFileURL fields are now public (#68)insomniac
2018-05-25OptUserClass does not allow empty user classes (#67)insomniac
2018-05-21Tests for DUID, OptIAAddress and several fixes (#66)insomniac
2018-05-20Unbreak build after changing OptIANA interface (#65)insomniac
2018-05-20OptIANA and OptElapsedTime now have public fieldsAndrea Barberio
2018-05-12OptDomainSearchList: made fields public and added unit tests (#64)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-05-10OptDNSRecursiveNameServer gets public fields and tests, removes setter and ↵insomniac
getter (#62)
2018-05-08OptStatusCode: public fields, proper codes, and tests (#61)insomniac
2018-05-06Added code coverage via Codecov (#60)insomniac
2018-05-06Added tests for OptServerId (#59)insomniac
2018-05-06Added tests for OptClientId and using net.HardwareAddr for DUID (#58)insomniac
2018-05-06Added tests for OptClientArchType (#57)insomniac