Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-01 | BSDP: Add MessageTypeFromPacket helper | Sean Karlage | |
This is a helper function to extract the BSDP message type from a given `dhcpv4.DHCPv4` packet structure. It's useful in helping to identify what kind of BSDP packet you're dealing with (since the distinction is only made in one of the vendor-specific options encapsulated in Option 43). | |||
2018-09-29 | BSDP: Fix parsing offset for boot image lists | Sean Karlage | |
While parsing boot images, the current code reads to the end of the data stream; however, this could lead to reading past the boot image option and reading into the next option. Instead, contain how far the option parsing code reads by only looking at the max length specified in the option. | |||
2018-08-19 | Added String methods for types (#140) | insomniac | |
* Added String methods for types * Reverted change on bsdp.OptionCode | |||
2018-08-15 | refactor tests to take advantage of new helper functions | Sean Karlage | |
2018-08-15 | Merge branch 'master' into bsdp-acks | Sean Karlage | |
2018-08-15 | Put back NewInformListForInterface to maintain compat | Sean Karlage | |
2018-08-15 | Merge branch 'master' into dhcpv4-moar-tests | Sean Karlage | |
2018-08-15 | Add nil check for Images slice | Sean Karlage | |
2018-08-14 | BSDP: Add code to generate ACKs for INFORMs | Sean Karlage | |
2018-08-13 | BSDP: Exchange returns list of pointers, not list of objects | Andrea Barberio | |
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 | 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 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-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-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-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 | 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-05 | Move bsdp functionality to its own subpackage. Bring in ↵ | Sean Karlage | |
stretchr/testify/assert for nicer asserts |