summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
AgeCommit message (Collapse)Author
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.
2018-03-30Remove build tags (#27)Sean Karlage
Removes build tags from BSDP and breaks vendor class identifier into OS-specific implementations so it is easier to integrate bsdp with other libs.
2018-03-27Add parsing for Option 124: Vendor-Identifying Vendor Class (#26)Brandon Bennett
Add support for parsing option 124 which is Vendor-Identifying Vendor Class which is defined in https://tools.ietf.org/html/rfc3925.
2018-03-26Add some more specific bsdp options + vendor specific implementation (#21)Sean Karlage
Add some more specific options + vendor specific implementation
2018-03-22Add vendor specific information optionSean Karlage
2018-03-22Add specific BSDP optionsSean Karlage
2018-03-18Fixed file names that had the content swappedAndrea Barberio
2018-03-17Added OptionBroadcastAddressAndrea Barberio
2018-03-16dhcpv4: Added OptionDomainNameAndrea Barberio
2018-03-16Add more specific dhcpv4 options (#17)Sean Karlage
Added several DHCPv4 options
2018-03-13Add OptionGeneric, comment out other code so tests compile/passSean Karlage
2018-03-10dhcpv4: fix client regressionAndrea Barberio
2018-03-10Move Exchange back to method on client, rebaseSean Karlage
2018-03-10Refactor client code, add timeout capabilitiesSean Karlage
2018-03-07Fixed build tag for darwin-only bsdp packageAndrea Barberio
2018-03-06Refactor tests to use stretchr/testify/requireSean Karlage
2018-03-06Fixed types for BSDP tooAndrea Barberio
2018-03-06Fixed types in dhcpv4 and dhcpv6Andrea Barberio
2018-03-05Move bsdp functionality to its own subpackage. Bring in ↵Sean Karlage
stretchr/testify/assert for nicer asserts
2018-03-03Fix issue where server would not process the INFORM[SELECT] as a select ↵Sean Karlage
packet. Also add some undocumented options that seem to be used (shadow mounts, machine name).
2018-03-03Add better formatting for vendor optsSean Karlage
2018-03-03Add BSDP supportSean Karlage
Adds support for constructing INFORM/ACK messages from Apple's Boot Service Discovery Protocol for netbooting (pxebooting) Apple hardware. The canonical reference for BSDP is: http://opensource.apple.com/source/bootp/bootp-198.1/Documentation/BSDP.doc
2018-02-07Added OS-specific implementations for binding to a network deviceAndrea Barberio
2018-02-02More commentsAndrea Barberio
2018-02-02More commentsAndrea Barberio
2018-02-02Improved commentsAndrea Barberio
2018-02-02Changed API from NewDiscovery to NewDiscoveryForInterfaceAndrea Barberio
2018-02-02Added commentsAndrea Barberio
2018-02-02Removed wrong charAndrea Barberio
2018-02-02Replaced ugly code for generating MAC stringAndrea Barberio
2017-12-07Fixed dhcpv4.Exchange interfaceAndrea Barberio
2017-12-05Initial commitAndrea Barberio