Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-15 | dhcpv4: print values of unknown types in stringifiers. | Christopher Koch | |
2019-01-15 | dhcpv4: conform to RFC 2131 with respect to options. | Christopher Koch | |
Removes AddOption and GetOption. RFC 2131 specifies that options may only appear once (Section 4.1). If an option does appear more than once, its byte values must be concatenated. RFC 3396 further specifies that to send options longer than 255 bytes, one option may be split into multiple option codes, which must be concatenated back together by the receiver. Both of these are concerned with the byte representation of options. Fact is, based on both RFCs one can say that an option may only appear once, but may be composed of multiple values. Because an option may appear only once logically in any case, we remove the AddOption and GetOption functions and leave only UpdateOption and GetOneOption. Also remove all additions & checks of the End option - the marshaling and unmarshaling code is exclusively responsible for that now. | |||
2019-01-14 | bsdp: simplify version type. | Christopher Koch | |
2019-01-14 | dhcpv4: thoroughly fix type docs. Refer to RFCs. | Christopher Koch | |
2019-01-14 | dhcpv4: change OptionCode to an interface for humanization. | Christopher Koch | |
Interface'd OptionCodes can print the correct human string. It sucks because option codes are just a byte, but depending on where you use them, they are interpreted differently. BSDP option codes != DHCP option codes. | |||
2019-01-14 | iana: rename HwTypeType to HWType, add package comment. | Christopher Koch | |
2019-01-14 | Rename iana.ArchType to iana.Arch. | Christopher Koch | |
2019-01-14 | dhcpv4: move all list of IPs types to options_ips.go. | Christopher Koch | |
2019-01-11 | dhcpv4: remove unused Option.Length function. | Christopher Koch | |
2019-01-11 | dhcpv4: simplify marshaling options to binary. | Christopher Koch | |
- Consolidate writing the option code and length to Options.Marshal rather than doing it in each individual option. - Use uio in marshaling code. | |||
2019-01-10 | dhcpv4: remote OptionGetter interface in favor of Options type. | Christopher Koch | |
2019-01-10 | dhcpv4: simplify option parsing. | Christopher Koch | |
option's codes and lengths were being parsed twice: once in ParseOption and once in each option type's Parse implementation. Consolidate such that it only happens once. Additionally, only pass data to options that they should parse -- we know the length before the Parse function is called, so the option only gets to see the data it needs to see. Also, use uio.Lexer to simplify parsing code in general. Easier to read and reason about. | |||
2019-01-09 | dhcpv4: export packet members; remove setters and getters. | Christopher Koch | |
2019-01-09 | dhcpv4: simplify host name and boot file handling. | Christopher Koch | |
2019-01-09 | dhcpv4: simplify handling of client MAC. | Christopher Koch | |
2019-01-09 | dhcpv4: nicer (un-)marshaling of DHCP messages. | Christopher Koch | |
2019-01-09 | dhcpv4: introduce TransactionID type. | Christopher Koch | |
2018-12-23 | [ztpv4] make it consistent with ztpv6 (#221) | insomniac | |
* [ztpv4] make it consistent with ztpv6 | |||
2018-12-23 | update error message | Pablo Mazzini | |
2018-12-22 | increase coverage | Pablo Mazzini | |
2018-12-22 | [ztpv4] make it consistent with ztpv6 | Pablo Mazzini | |
2018-12-12 | [dhcpv6/ztpv6] Adding Parsing Vendor Opts and Parsing Remote Id Opts lib for ↵ | Chris Gorham | |
ztpv6 (#208) | |||
2018-12-09 | Added netconf v4 tests and required modifiers (#219) | insomniac | |
2018-12-09 | Merge branch 'master' into netboot_v4_test | insomniac | |
2018-12-09 | Addressed pmazzini's feedback | Andrea Barberio | |
2018-12-09 | Add Go code highlighting in examples | Nikolas Sepos | |
Signed-off-by: Nikolas Sepos <nikolas.sepos@gmail.com> | |||
2018-12-08 | Also simplified corresponding v6 modifiers | Andrea Barberio | |
2018-12-08 | Added netconf v4 tests and required modifiers | Andrea Barberio | |
2018-12-08 | Added netconf basic testing and required modifiers | Andrea Barberio | |
2018-11-29 | interfaces: added package with interface facilities | Andrea Barberio | |
2018-11-27 | simplify client interface (#181) | Pablo Mazzini | |
2018-11-27 | update README: add CoreDHCP | Pablo Mazzini | |
2018-11-27 | Removed ineffective assignment | Andrea Barberio | |
2018-11-27 | Added missing check in tests | Andrea Barberio | |
2018-11-27 | dhcpv6: using stretchr test framework for OptVendorOpts | Andrea Barberio | |
2018-11-27 | Removed unreachable code, fixed misspelling (#212) | insomniac | |
* Removed unreachable code * Addressed misspelling errors | |||
2018-11-27 | Test TransactionID generation | Mikołaj Walczak | |
2018-11-26 | Add badges to README | Mikołaj Walczak | |
2018-11-26 | Add missing error check in GenerateTransactionID | Mikołaj Walczak | |
2018-11-21 | remove deprecated functions (#182) | Pablo Mazzini | |
2018-11-21 | rfc1035label: using a structure to hold original data | Andrea Barberio | |
2018-11-20 | Added example for DHCPv6 server | Andrea Barberio | |
2018-11-20 | netboot: delay in IfUp to avoid hammering the CPU | Andrea Barberio | |
2018-11-20 | rfc1035label: support compression pointers | Andrea Barberio | |
2018-11-19 | dhcpv4: run on unconfigured interfaces (#198) | insomniac | |
2018-11-18 | iputils: add ExtractMAC (#199) | insomniac | |
2018-11-18 | iputils: add ExtractMAC | Pablo Mazzini | |
2018-11-18 | iputils: add ExtractMAC | Pablo Mazzini | |
2018-11-18 | ExtractMAC: increase coverage | Pablo Mazzini | |
2018-11-18 | iputils: add ExtractMAC | Pablo Mazzini | |