| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | [dhcp] Do not transition to DHCPREQUEST without a valid DHCPOFFER | Michael Brown | 2008-06-11 | 1 | -1/+1 | |
| | | | | | | | A missing test for dhcp->dhcpoffer in dhcp_timer_expired() was causing the client to transition to DHCPREQUEST after timing out on waiting for ProxyDHCP even if no DHCPOFFERs had been received. | |||||
| * | [slam] Request all remaining blocks if we run out of space for the blocklist | Michael Brown | 2008-06-10 | 1 | -22/+41 | |
| | | | | | | | | | In a SLAM NACK packet, if we run out of space to represent the missing-block list, then indicate all remaining blocks as missing. This avoids the need to wait for the one-second timeout before receiving the blocks that otherwise wouldn't have been requested due to running out of space. | |||||
| * | [slam] Speed up NACK transmission by restricting the block-list length | Michael Brown | 2008-06-10 | 1 | -20/+62 | |
| | | | | | | | | | | | Shorter NACK packets take less time to construct and spew out less debug output, and there's a limit to how useful it is to send a complete missing-block list anyway; if the loss rate is high then we're going to have to retransmit an updated missing-block list anyway. Also add pretty debugging output to show the list of requested blocks. | |||||
| * | [slam] Fix multicast address parsing | Michael Brown | 2008-06-10 | 1 | -8/+11 | |
| | | | | | | slam_parse_multicast_address() was failing to strip the initial "/" from the URI path. | |||||
| * | [slam] Add Scalable Local Area Multicast (SLAM) protocol support | Michael Brown | 2008-06-10 | 1 | -0/+749 | |
| | | | | | | Tested against the mini-slamd server located in contrib/mini-slamd with a single client, on a lossy network. | |||||
| * | [DHCP] Add "dhcp-server" setting to help end-user diagnostics | Michael Brown | 2008-06-05 | 1 | -0/+8 | |
| | | ||||||
| * | [Settings] Expose SMBIOS via settings API | Michael Brown | 2008-03-28 | 1 | -2/+3 | |
| | | | | | In particular, expose the system UUID as a setting ("smbios/uuid"). | |||||
| * | [DHCP] Add support for ProxyDHCP requests | Michael Brown | 2008-03-27 | 1 | -345/+546 | |
| | | | | | | | | | | | | | | | | | The PXE spec is (as usual) unclear on precisely when ProxyDHCPREQUESTs should be issued. We adapt the following, slightly paranoid approach: If an offer contains an IP address, then it is a normal DHCPOFFER. If an offer contains an option #60 "PXEClient", then it is a ProxyDHCPOFFER. Note that the same packet can be both a normal DHCPOFFER and a ProxyDHCPOFFER. After receiving the normal DHCPACK, if we have received a ProxyDHCPOFFER, we unicast a ProxyDHCPREQUEST back to the ProxyDHCP server on port 4011. If we time out waiting for a ProxyDHCPACK, we treat this as a non-fatal error. | |||||
| * | [DHCP] Save precious packet-aligned memory by copying DHCP responses | Michael Brown | 2008-03-26 | 1 | -33/+16![]() | |
| | | | | | | Copy DHCP responses to a standard malloc()ed buffer, rather than retaining the I/O buffer that they arrived in. | |||||
| * | [Settings] Remove assumption that all settings have DHCP tag values | Michael Brown | 2008-03-25 | 3 | -183/+154![]() | |
| | | | | | | | | | | | | | Allow for settings to be described by something other than a DHCP option tag if desirable. Currently used only for the MAC address setting. Separate out fake DHCP packet creation code from dhcp.c to fakedhcp.c. Remove notion of settings from dhcppkt.c. Rationalise dhcp.c to use settings API only for final registration of the DHCP options, rather than using {store,fetch}_setting throughout. | |||||
| * | [DHCP] Fix DHCP state confusion. | Michael Brown | 2008-03-25 | 1 | -2/+5 | |
| | | | | | | DHCP code was using an incorrect check for whether to construct a DHCPDISCOVER or DHCPREQUEST packet. | |||||
| * | [Settings] copy_settings() should not fail if some settings are missing! | Michael Brown | 2008-03-24 | 1 | -18/+54 | |
| | | ||||||
| * | [DHCP] Fix up fake-packet creation as used by PXENV_GET_CACHED_INFO | Michael Brown | 2008-03-23 | 1 | -37/+107 | |
| | | | | | | | | | | | | Add dedicated functions create_dhcpdiscover(), create_dhcpack() and create_proxydhcpack() for use by external code such as the PXE preboot code. Register ProxyDHCP options under the global scope "proxydhcp". Unregister previously-acquired DHCP and ProxyDHCP settings when DHCP succeeds. | |||||
| * | [DHCP] FIXME: quick temporary settings fix, needs update for new API | Marty Connor | 2008-03-22 | 1 | -0/+4 | |
| | | ||||||
| * | [Settings] DHCP is now working using the new settings API. | Michael Brown | 2008-03-21 | 1 | -3/+4 | |
| | | ||||||
| * | [Settings] Migrate DHCP and NVO code to the new settings API (untested) | Michael Brown | 2008-03-21 | 1 | -437/+197![]() | |
| | | ||||||
| * | [Settings] Use a settings applicator to set the default TFTP URI. | Michael Brown | 2008-03-21 | 1 | -0/+43 | |
| | | ||||||
| * | [Settings] Use a settings applicator to configure IPv4 routes. | Michael Brown | 2008-03-21 | 1 | -43/+0![]() | |
| | | ||||||
| * | [Settings] Introduce settings applicators. | Michael Brown | 2008-03-21 | 1 | -18/+17![]() | |
| | | | | | | | | Convert DHCP option applicators in dns.c and iscsi.c to settings applicators. Kill off DHCP option applicators. | |||||
| * | Modify gPXE core and drivers to work with the new timer subsystem | Alexey Zaytsev | 2008-03-02 | 1 | -0/+1 | |
| | | | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com> | |||||
| * | [DHCP] Fix RFC4390 client identifier constructions. | Michael Brown | 2008-02-27 | 1 | -1/+1 | |
| | | | | | | | RFC 4390 provides for the DHCP client identifier to contain the link-layer hardware type and MAC address when the MAC address exceeds 16 bytes. However, the hardware type field is only 8 bits; we were assuming 16 bits. | |||||
| * | Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe | Michael Brown | 2008-01-22 | 3 | -13/+14 | |
| |\ | ||||||
| | * | Make seek information part of the xfer metadata, rather than an entirely | Michael Brown | 2008-01-08 | 3 | -7/+6![]() | |
| | | | | | | | | | | | | | | | separate xfer method. Add missing .alloc_iob entries to several xfer_interface_operations structures. | |||||
| | * | When the DHCP file/sname fields are empty, don't allow them to override | Michael Brown | 2008-01-07 | 1 | -6/+8 | |
| | | | | | | | | | their equivalent DHCP-option-specified values. | |||||
| * | | Add preliminary support for MTFTP. | Michael Brown | 2007-12-26 | 1 | -112/+295 | |
| |/ | ||||||
| * | Fix compiler warnings that appear only on OpenBSD. | Michael Brown | 2007-12-06 | 1 | -7/+7 | |
| | | ||||||
| * | Various warnings fixups for OpenBSD with gcc-3.3.5. | Michael Brown | 2007-12-07 | 1 | -1/+1 | |
| | | ||||||
| * | Add RFC2090 TFTP multicast support. | Michael Brown | 2007-11-28 | 1 | -82/+300 | |
| | | ||||||
| * | Quick hack to be able to accept transfers from servers that don't | Michael Brown | 2007-11-25 | 1 | -0/+2 | |
| | | | | | supply options. | |||||
| * | Allow DHCP server to instruct gPXE to ignore ProxyDHCP (which will | Michael Brown | 2007-11-21 | 1 | -8/+16 | |
| | | | | | | | also avoid waiting for ProxyDHCP offers). Also reduce the ProxyDHCP timeout, because it's already irritating me. | |||||
| * | Add ProxyDHCP support. | Michael Brown | 2007-11-21 | 1 | -25/+54 | |
| | | ||||||
| * | Remove some assumptions about DHCP obtaining only a single options block. | Michael Brown | 2007-11-21 | 1 | -3/+7 | |
| | | ||||||
| * | Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets. | Michael Brown | 2007-11-21 | 1 | -10/+25 | |
| | | ||||||
| * | Add UUID to DHCP request as option 97 (if available). | Michael Brown | 2007-11-21 | 1 | -0/+13 | |
| | | ||||||
| * | Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us | Michael Brown | 2007-09-21 | 1 | -2/+36 | |
| | | | | | to construct DHCP packets suitable for Infiniband. | |||||
| * | Bugfix: DHCP message type should be a one-byte option... (d'oh) | Michael Brown | 2007-09-13 | 1 | -2/+1![]() | |
| | | ||||||
| * | Check for correct block number in tftp_rx_data(). | Michael Brown | 2007-09-08 | 1 | -1/+9 | |
| | | | | | (Problem observed by Clay McClure in VMware Fusion.) | |||||
| * | Minor style fix: structure fields are generally initialised in the | Michael Brown | 2007-09-06 | 1 | -1/+1 | |
| | | | | | order in which they occur. | |||||
| * | TFTP default blocksize fix from Vampyre | Marty Connor | 2007-08-30 | 1 | -0/+1 | |
| | | ||||||
| * | Use start_timer_nodelay() in protocols which rely on the retry timer | Michael Brown | 2007-08-13 | 2 | -2/+2 | |
| | | | | | | to generate the initial transmission; this cuts off around 0.3s per instantiated connection. | |||||
| * | Allowed zero-cost enforced ordering of features in startup banner | Michael Brown | 2007-08-02 | 2 | -0/+6 | |
| | | | | | | | list. Added FEATURE() macros to most relevant (non-driver) files. | |||||
| * | Add FEATURE() macro, plus code to display features at startup time, | Michael Brown | 2007-08-02 | 1 | -0/+15 | |
| | | | | | | and generate DHCP options to indicate features to DHCP server (and to PXE NBPs). | |||||
| * | Add identifier for the network device into the DHCP request. | Michael Brown | 2007-07-31 | 1 | -0/+25 | |
| | | ||||||
| * | Centralise construction of the DHCP request and response packets. | Michael Brown | 2007-07-31 | 1 | -37/+104 | |
| | | ||||||
| * | nameserver should be static | Michael Brown | 2007-07-17 | 1 | -1/+1 | |
| | | ||||||
| * | Add debug message when nameserver setting is applied/changed via DHCP. | Michael Brown | 2007-07-08 | 1 | -0/+4 | |
| | | ||||||
| * | Separate the "is data ready" function of xfer_seek() into an | Michael Brown | 2007-07-08 | 3 | -0/+4 | |
| | | | | | | xfer_window() function, which can return a scalar rather than a boolean. | |||||
| * | Kill off unused request() method in data-xfer interface. | Michael Brown | 2007-07-08 | 3 | -4/+0![]() | |
| | | ||||||
| * | convert to zalloc | Holger Lubitz | 2007-07-06 | 1 | -2/+1![]() | |
| | | ||||||
| * | convert to zalloc | Holger Lubitz | 2007-07-06 | 1 | -2/+1![]() | |
| | | ||||||

