Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-29 | Add some helper tools for tests | Sean Karlage | |
Adds new `OptionGetter` interface that helps when asserting that certain packets/vendor-specific opts contain specific options. | |||
2018-07-29 | OptRouter: fix lint | Pablo Mazzini | |
2018-07-29 | OptRouter: fix test | Pablo Mazzini | |
2018-07-29 | add OptRouter | Pablo Mazzini | |
2018-07-29 | Add modifier support to NewReplyFromRequest | Owen Mooney | |
2018-07-29 | DHCPv4: Refactor methods for easier testing | Sean 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-29 | Add support for modifiers to dhcpv4 | Owen Mooney | |
2018-07-29 | OptSubnetMask: add options test | Pablo Mazzini | |
2018-07-29 | parse OptSubnetMask | Pablo Mazzini | |
2018-07-29 | OptSubnetMask: change Length() | Pablo Mazzini | |
2018-07-29 | add OptSubnetMask | Pablo Mazzini | |
2018-07-29 | add NewReplyFromRequest (#100) | Pablo Mazzini | |
2018-07-27 | [DHCPv4] BroadcastSendReceive now can wait for specific reply types (#95) | insomniac | |
2018-07-27 | BSDP: 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-25 | Added additional ParseOption tests (#93) | Owen Mooney | |
2018-07-25 | Add TFTP server name option (#92) | Owen Mooney | |
2018-07-24 | . | Owen Mooney | |
2018-07-24 | Add support for Bootfile name option | Owen Mooney | |
2018-07-24 | . | Owen Mooney | |
2018-07-24 | Spelling | Owen Mooney | |
2018-07-24 | Return error on empty User Class | Owen Mooney | |
2018-07-24 | Don't parse past length | Owen Mooney | |
2018-07-24 | Added UserClass option to DHCPv4 | Owen Mooney | |
2018-06-28 | Added OptDomainNameServer for DHCPv4 (#74) | insomniac | |
2018-05-11 | add 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-18 | Fixed 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-30 | Remove 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-27 | Add 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-26 | Add some more specific bsdp options + vendor specific implementation (#21) | Sean Karlage | |
Add some more specific options + vendor specific implementation | |||
2018-03-22 | Add vendor specific information option | Sean Karlage | |
2018-03-22 | Add specific BSDP options | Sean Karlage | |
2018-03-18 | Fixed file names that had the content swapped | Andrea Barberio | |
2018-03-17 | Added OptionBroadcastAddress | Andrea Barberio | |
2018-03-16 | dhcpv4: Added OptionDomainName | Andrea Barberio | |
2018-03-16 | Add more specific dhcpv4 options (#17) | Sean Karlage | |
Added several DHCPv4 options | |||
2018-03-13 | Add OptionGeneric, comment out other code so tests compile/pass | Sean Karlage | |
2018-03-10 | dhcpv4: fix client regression | Andrea Barberio | |
2018-03-10 | Move Exchange back to method on client, rebase | Sean Karlage | |
2018-03-10 | Refactor client code, add timeout capabilities | Sean Karlage | |
2018-03-07 | Fixed build tag for darwin-only bsdp package | Andrea Barberio | |
2018-03-06 | Refactor tests to use stretchr/testify/require | Sean Karlage | |
2018-03-06 | Fixed types for BSDP too | Andrea Barberio | |
2018-03-06 | Fixed types in dhcpv4 and dhcpv6 | Andrea Barberio | |
2018-03-05 | Move bsdp functionality to its own subpackage. Bring in ↵ | Sean Karlage | |
stretchr/testify/assert for nicer asserts | |||
2018-03-03 | Fix 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-03 | Add better formatting for vendor opts | Sean Karlage | |
2018-03-03 | Add BSDP support | Sean 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-07 | Added OS-specific implementations for binding to a network device | Andrea Barberio | |
2018-02-02 | More comments | Andrea Barberio | |
2018-02-02 | More comments | Andrea Barberio | |