Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-20 | sd-dhcp-lease: fix copy-paste error asserting wrong function argument | Thomas Haller | |
2014-11-19 | sd-dhcp-lease: load/save client ID | Dan Williams | |
The lease is usually tied to the client ID, so users of the lease may want to know what client ID it was acquired with. | |||
2014-11-18 | sd-dhcp-lease: expose load/save functions | Tom Gundersen | |
Based on patch by Dan Williams. | |||
2014-11-01 | sd-dhcp-lease: use shared default prefixlen function | Tom Gundersen | |
Also change the default prefixlen function to only access the first octet of the in_addr. | |||
2014-11-01 | sd-dhcp-lease: use unaligned read helpers | Tom Gundersen | |
2014-10-27 | shared: in-addr-utils - add default_subnet_mask and default_prefixlen methods | Tom Gundersen | |
These use the (deprecated) IPv4 address classes to deduce the corresponding subnet masks. This is useful when addresses without subnet masks and prefix lengths are given. Make use of these new functions from sd-dhcp-lease. | |||
2014-08-15 | dhcp: the localhost isn't valid as hostname either | Lennart Poettering | |
2014-08-15 | sd-dhcp-lease: verify hostname and domainnames we receive | Tom Gundersen | |
2014-07-23 | networkd: merge DNS and NTP entries when exporting | Tom Gundersen | |
In the state files, do not distinguish where the various entries came from (static or DHCP), but include them all in the same list. | |||
2014-07-17 | sd-network: remove redundant array size parameter from functions that return ↵ | Lennart Poettering | |
arrays As long as the number of array entries is relatively small it's nicer to simply return the number of entries directly, instead of using a size_t* return parameter for it. | |||
2014-06-29 | Add support for DHCP static route options | Eugene Yakubovich | |
This adds support for DHCP options 33 and 121: Static Route and Classless Static Route. To enable this feature, set UseRoutes=true in .network file. Returned routes are added to the routing table. | |||
2014-06-29 | sd-dhcp-client/networkd: set lifetimes for IPv4 addresses | Patrik Flykt | |
Note that /proc/sys/net/ipv4/ip_dynaddr needs to be non-zero. [tomegun: hook up DHCP renew events to increase the lifetime when necessary] | |||
2014-05-20 | dhcp-lease: add support for parsing a few more dhcp options | Tom Gundersen | |
2014-05-20 | dhcp-lease: refactor lease parsing | Tom Gundersen | |
Use helper functions, and add some more sanity checking/asserts. | |||
2014-05-19 | sd-dhcp-lease/sd-network: modernization and fix leak | Tom Gundersen | |
2014-05-19 | sd-dhcp-lease: move in_addr (de)serialization to shared network code | Tom Gundersen | |
2014-04-30 | networkd: dont configure route if lease doesn't have one | Umut Tezduyar Lindskog | |
2014-04-29 | sd-dhcp-lease: fix double realloc | Tom Gundersen | |
2014-04-29 | sd-dhcp-lease: (de)serialize DNS and NTP servers | Tom Gundersen | |
Also use inet_ntoa rather than inet_ntop. | |||
2014-04-29 | sd-dhcp-leaes: use newdup() | Tom Gundersen | |
2014-04-29 | sd-dhcp-lease: add NTP support | Tom Gundersen | |
Export the NTP servers so timesyncd can use them. | |||
2014-04-12 | test-dhcp-client: unref lease objects to make valgrind happy | Zbigniew Jędrzejewski-Szmek | |
Also unref client objects in test code, and initalize logging, to DEBUG by default. | |||
2014-03-21 | sd-dhcp-client: add fallback subnet masks | Tom Gundersen | |
The DHCP RFC does not require the DHCP server to send a subnet mask, so if it is missing, let's try to use the default subnet masks based on address class. In case the class the address belongs to does not have a default subnet mask, we fail as before. Also improve logging when handling invalid dhcp messages, and simply ignore them rather than stop the whole dhcp client. | |||
2014-03-14 | networkd: fix creation of runtime dirs at startup | Tom Gundersen | |
This allows us to drop the repeated attempted creations of the runtime dirs during runtime. | |||
2014-03-03 | sd-dhcp-lease: add sd_dhcp_lease_get_next_server() | Tom Gundersen | |
2014-03-03 | sd-dhcp-lease: add sd_dhcp_lease_get_server_identifier() | Tom Gundersen | |
2014-03-03 | sd-dhcp-lease: add Root Path support | Tom Gundersen | |
This is necessary when mounting /dev/nfs based on a DHCP lease. | |||
2014-02-28 | sd-network: add new library | Tom Gundersen | |
This is similar to sd-login, but exposes the state of networkd rather than logind. Include it in libsystemd-dhcp and rename it to libsystemd-network. |