summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-10-03BSDP: Fix MessageTypeFromPacket to return a pointerSean Karlage
As @insomiacslk pointed out in #161, it's probably better to return a pointer rather than a (MessageType, bool) combo.
2018-10-01Merge pull request #161 from get9/bsdp-message-type-helperSean Karlage
BSDP: Add MessageTypeFromPacket helper
2018-10-01add commentSean Karlage
2018-10-01BSDP: Add MessageTypeFromPacket helperSean 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-30Added listener timeout to the dhcpv6 clientAndrea Barberio
2018-09-29BSDP: Fix parsing offset for boot image listsSean 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-09-27Implemented basic DHCPv6 server handler (#157)insomniac
2018-09-27Addressed feedbackAndrea Barberio
2018-09-27fix race conditionsAndrea Barberio
2018-09-27linterAndrea Barberio
2018-09-27Proper response handler in testAndrea Barberio
2018-09-27LinterAndrea Barberio
2018-09-27Async read and testsAndrea Barberio
2018-09-27Added client and server constructor testsAndrea Barberio
2018-09-27Avoid router7 check on go1.9Andrea Barberio
2018-09-27linterAndrea Barberio
2018-09-27Implemented basic DHCPv6 server handlerAndrea Barberio
2018-09-20Add NoPrefixAvail status code (#155)Dave Barr
As per https://www.ietf.org/rfc/rfc3633.txt section 16, status code 6 has been reserved for "Delegating router has no prefixes available to assign to the IAPD(s)"
2018-09-17Merge pull request #154 from pmazzini/infrequestPablo Mazzini
NewReplyFromDHCPv6Message: reply to information request
2018-09-12NewReplyFromDHCPv6Message: reply to information requestPablo Mazzini
2018-09-10Removed workaround for pcapgo.OpenEthernet from tests (#153)insomniac
2018-09-06Test that we do not break router7 builds (#152)insomniac
2018-08-31GetGlobalAddr utility function (#81)Mikołaj Walczak
2018-08-30Updated README.md (#151)insomniac
* Update README.md * Update README.md (#150)
2018-08-24DHCPv4 relay modifier (#149)Mikołaj Walczak
2018-08-22add OptVendorClass (#148)Pablo Mazzini
2018-08-22Requested Options modifier for DHCPv4 (#147)Mikołaj Walczak
2018-08-21fix ParseOptVIVC (#146)Pablo Mazzini
2018-08-21Remove depracated function calls from the library (#145)Mikołaj Walczak
2018-08-20ORO Modifier (#144)Mikołaj Walczak
2018-08-20Async DHCPv4 client (#134)Mikołaj Walczak
2018-08-20Travis-CI: build with go1.11rc1 (#142)insomniac
2018-08-19Added String methods for types (#140)insomniac
* Added String methods for types * Reverted change on bsdp.OptionCode
2018-08-19Merge pull request #138 from insomniacslk/insomniacslk-patch-3insomniac
Update README.md
2018-08-19Update README.mdinsomniac
2018-08-19Update README.mdinsomniac
2018-08-17BSDP: Add code to generate ACKs for INFORMs (#136)insomniac
2018-08-15refactor tests to take advantage of new helper functionsSean Karlage
2018-08-15Merge branch 'master' into bsdp-acksSean Karlage
2018-08-15Merge pull request #99 from get9/dhcpv4-moar-testsSean Karlage
DHCPv4: Refactor methods for easier testing
2018-08-15Put back NewInformListForInterface to maintain compatSean Karlage
2018-08-15revert breaking changes so this can be merged without issuesSean Karlage
2018-08-15Merge branch 'master' into dhcpv4-moar-testsSean Karlage
2018-08-15Add nil check for Images sliceSean Karlage
2018-08-15Merge branch 'master' into bsdp-acksSean Karlage
2018-08-15NewRelayReplFromRelayForw: add remoteid (#135)insomniac
2018-08-15Repeat tests which use real UDP traffic (#133)Mikołaj Walczak
2018-08-15NewRelayReplFromRelayForwPablo Mazzini
2018-08-15NewRelayReplFromRelayForw: update error msgPablo Mazzini
2018-08-15stop parsing after end (#132)Pablo Mazzini