Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-19 | networkd: don't consider deprecated or tentative addresses when determining ↵ | Tom Gundersen | |
operstate https://bugs.freedesktop.org/show_bug.cgi?id=81287 | |||
2014-08-19 | networkd: netdev - add missing callback when adding stacked devices | Tom Gundersen | |
As the comment says, the passed in callback must always be invoked, or the underlying link will hang. This was missed when reworking the code, so add it back in. | |||
2014-08-19 | networkd: link - don't enforce ENSLAVING state | Tom Gundersen | |
We are only guaranteed to stay in ENSLAVING state whilst enslaving by bridges/bonds, not when adding stacked devices (as then the underlying device can be IFF_UP'ed and configured in parallel), so drop these asserts. | |||
2014-08-19 | networkd: fix use-after-free | Tom Gundersen | |
Elements must be removed from the hashtable before they are freed. | |||
2014-08-18 | networkd: fix how we generate lists in link_save() | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=82721 | |||
2014-08-18 | networkd: warn when ignoring unsupported tuntap options | Tom Gundersen | |
The interface for creating tuntap devices should be ported to rtnl so it would support the same settings as other kinds. In the meantime, the best one can do is to drop in a .link file to set the desired options. | |||
2014-08-16 | networkctl: use safe_qsort in case no links are present | Thomas Hindoe Paaboel Andersen | |
Unlikely to happen but still... | |||
2014-08-15 | networkd: print nice warnings if people configure invalid domain names | Lennart Poettering | |
2014-08-15 | networkd: fix minor memory leak | Lennart Poettering | |
2014-08-15 | networkctl: show acquired system domains | Lennart Poettering | |
2014-08-15 | sd-network: add system-wide sd_network_get_domains() API | Lennart Poettering | |
2014-08-15 | networkd: always write out locally configured settings first, dhcp-acquired ↵ | Lennart Poettering | |
ones later This is primarily important for the domains list, as we really should prefer the locally configured domain over the dhcp supplied ones when we use it as a search list. | |||
2014-08-15 | networkd: remove "*" from domains list | Lennart Poettering | |
Also, simplify things a bit and make sure we don't forget looking at one of the entries. | |||
2014-08-15 | networkctl: two OOM fixes | Lennart Poettering | |
2014-08-15 | sd-network: add support for wildcard domains | Tom Gundersen | |
2014-08-15 | networkd: add support for Domains= to .network files | Tom Gundersen | |
This allows the search/routing domanis to be specified per link/network and be passed on to resolved. | |||
2014-08-15 | util: never use ether_ntoa(), since it formats with %x, not %02x, which ↵ | Lennart Poettering | |
makes ethernet addresses look funny | |||
2014-08-15 | networkctl: increase column width for link type to 18, to accomodate for ↵ | Lennart Poettering | |
'ieee80211_radiotap' | |||
2014-08-15 | networkd: rename UseDomainName to UseDomains | Tom Gundersen | |
This option will also apply to the search domains, so make it plural. | |||
2014-08-15 | networkctl: print local domain name in status output | Lennart Poettering | |
2014-08-15 | networkd: don't respect domainname from DHCP by default | Tom Gundersen | |
Most routers will send garbage, so make this opt-in only. | |||
2014-08-14 | sd-network: add sd_network_linkg_get_domains() | Tom Gundersen | |
For now this only exposes the domain name (DHCP Option 15), and not the search string (DHCP Option 119), which will be implemented in a follow-up patch. | |||
2014-08-14 | networkd: link - don't enter LINK_CONFIGURED more than once | Tom Gundersen | |
2014-08-14 | networkd: link - print address lifetime for tracked addresses | Tom Gundersen | |
This should help in debugging issues with DHCP lease renewal. | |||
2014-08-14 | networkctl: also use the same color logic when running "networkctl status" ↵ | Lennart Poettering | |
without arguments | |||
2014-08-14 | networkctl: add the same color logic to "list" and "status" outputs | Lennart Poettering | |
And always put operational state first, setup state second. | |||
2014-08-14 | networkctl: name setup state variable setup_state | Lennart Poettering | |
2014-08-14 | networkctl: update column header to new 'setup' state naming | Lennart Poettering | |
2014-08-13 | sd-networkd: rename link_get_state to link_get_setup_state | Tom Gundersen | |
Suggested by Kay and Lennart. | |||
2014-08-13 | sd-network: rename operstates 'down' -> 'off' and 'up' -> 'no-carrier' | Tom Gundersen | |
Suggested by Lennart and Kay. | |||
2014-08-13 | sd-network: /_get_link_/_link_get_/ | Tom Gundersen | |
The link is the 'object', so make this in line with our usual naming convention. Suggested by Kay and Lennart. | |||
2014-08-13 | networkctl: color status dump without link name | Daniel Buch | |
Lets mimic colored operational state dump as if link name is appiled | |||
2014-08-13 | networkctl: add colors to admin state and fix alignment | Tom Gundersen | |
It is useful to color in the admin state both to easily spot failed links, but also to quickly distinguish between links that are fully configured and in degraded mode (only IPv4LL) or in degraded mode and still waiting for DHCP. | |||
2014-08-13 | sd-network: rename state INITALIZING to PENDING and expose as any other state | Tom Gundersen | |
This is the state when we are waiting for udev to initialize the device, and waiting for libudev and rtnl to be in sync. In the future we probably will also be waiting for nl80211. At this point we do not yet have enough information to know whether or not networkd should be handling the device. | |||
2014-08-12 | networkd: dhcp4 - fix copy-paste error | Tom Gundersen | |
Reported by poma. | |||
2014-08-12 | networkd: disable ipv4ll default routes by default | Tom Gundersen | |
This causes machines without connectivity to hang where they would otherwise fail. Keep it opt-in for now, but consider whether we sholud just drop it. | |||
2014-08-12 | sd-network: split the operstate 'unknown' into 'down' and 'up' | Tom Gundersen | |
2014-08-12 | networkd: link - split out dhcp4 handling | Tom Gundersen | |
2014-08-12 | networkd: link - fix IN_SET usage | Tom Gundersen | |
2014-08-12 | networkd: link - split out ipv4ll handling | Tom Gundersen | |
2014-08-12 | networkd: link - make check for whether addresses/routes are being ↵ | Tom Gundersen | |
configured implicit | |||
2014-08-12 | networkd: split out networkd-link.h | Tom Gundersen | |
2014-08-12 | networkctl: make networkctl status without link name show all local IP addresses | Lennart Poettering | |
2014-08-12 | networkctl: when outputing a list fo links, sort them by ifindex | Lennart Poettering | |
2014-08-12 | networkctl: add a bit of color to the output | Lennart Poettering | |
2014-08-12 | networkctl: add new switch "-a" to "networkctl status" to show verbose ↵ | Lennart Poettering | |
status of all local links | |||
2014-08-12 | networkctl: properly format MAC addresses | Lennart Poettering | |
2014-08-12 | sd-network: add API to output all collected system-wide NTP and DNS servers | Lennart Poettering | |
Also, output the collected information in "networkctl". | |||
2014-08-12 | networkd: expose a global list of DNS and NTP servers in the state file | Lennart Poettering | |
2014-08-12 | networkd: update manager_save() to use fflush_and_check() to simplify things ↵ | Lennart Poettering | |
a bit |