summaryrefslogtreecommitdiff
path: root/src/network
Commit message (Collapse)AuthorAge
* networkd-netdev: fix white spaceSusant Sahani2014-06-02
|
* networkd: introduce veth device supportSusant Sahani2014-06-02
| | | | | | | | | | | | | | | This patch adds veth device support to networkd. Example conf: File: veth.netdev [NetDev] Name=veth-test Kind=veth [Peer] Name=veth-peer
* networkd: run as unpriviliged "systemd-network" userLennart Poettering2014-06-01
| | | | | | This allows us to run networkd mostly unpriviliged with the exception of CAP_NET_* and CAP_SYS_MODULE. I'd really like to get rid of the latter though...
* Fix several small typosJonathan Boulle2014-05-24
|
* sd-network: avoid false positive compiler warning caused by LTOTom Gundersen2014-05-24
| | | | | | | | | | | | | | | | Djalal Harouni <tixxdz@opendz.org>: There is also this one genrated by LTO, IMO it's a false positive since we do *check* for "lease" but the code is not consistent since in that code path, "lease" is initialized to NULL in other places, except for this one: src/resolve/resolved-manager.c: In function 'manager_update_resolv_conf': src/libsystemd-network/sd-dhcp-lease.c:67:18: warning: 'lease' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lease->dns_size) { ^ src/network/sd-network.c:146:24: note: 'lease' was declared here sd_dhcp_lease *lease; ^
* Revert "update gitignore"Kay Sievers2014-05-22
| | | | This reverts commit 351efdc7a4d900a1aebca517dd0b46b89cdd7306.
* networkd: link - serialize link when addresses changeTom Gundersen2014-05-21
| | | | Thanks to Kay for tracking this down.
* update gitignoreKay Sievers2014-05-21
|
* networkd: introduce sit tunnelSusant Sahani2014-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces sit tunnel support to networkd Example conf: file: sit.netdev [NetDev] Name=sit-tun Kind=sit MTUBytes=1480 [Tunnel] Local=10.65.223.238 Remote=10.65.223.239 file: sit.network [Match] Name=em1 [Network] Tunnel=sit-tun [tomegun: rebased]
* networkd-wait-online: wait for addresses to be configuredTom Gundersen2014-05-19
|
* networkd/sd-network: extend operational statesTom Gundersen2014-05-19
| | | | Expose states 'degraded' or 'routable' if a link has a site/link-local or a routable address, respectively.
* networkd/sd-network: expose statically configured NTP serversTom Gundersen2014-05-19
|
* networkd: fixup static DNS serializationTom Gundersen2014-05-19
|
* sd-dhcp-lease/sd-network: modernization and fix leakTom Gundersen2014-05-19
|
* resolved: add daemon to manage resolv.confTom Gundersen2014-05-19
| | | | Also remove the equivalent functionality from networkd.
* sd-network: expose DNS informationTom Gundersen2014-05-19
|
* networkd: link - serialize DNS informationTom Gundersen2014-05-19
|
* sd-dhcp-lease: move in_addr (de)serialization to shared network codeTom Gundersen2014-05-19
|
* networkd: log - only log about udev initalization on debug levelTom Gundersen2014-05-17
|
* networkd: keep list of active addressesTom Gundersen2014-05-17
|
* networkd: IP address equalityTom Gundersen2014-05-17
|
* networkd: add missing filesTom Gundersen2014-05-16
|
* networkd: manager - read fallback DNS servers from config fileTom Gundersen2014-05-16
| | | | We will still use the compiled-in defaults if no DNS entry exists in the config file.
* networkd: network - store DNS servers in List rather than SetTom Gundersen2014-05-16
| | | | This way we preserve the order of preference.
* networkd: hardcode a set of default dns serversTom Gundersen2014-05-16
| | | | Similarly to NTP servers, this can be set at compile-time.
* networkd: log the initialization status of linksTom Gundersen2014-05-16
|
* networkd: fix typoTom Gundersen2014-05-16
|
* networkd: rename Address and Route list fieldsTom Gundersen2014-05-16
|
* networkd: logging - align messagesTom Gundersen2014-05-15
|
* networkd: log ifindices when links and netdevs are addedTom Gundersen2014-05-15
|
* networkd: rename NetDev variable for consistency with LinkTom Gundersen2014-05-15
|
* networkd, build-sys: spelling fixZbigniew Jędrzejewski-Szmek2014-05-15
|
* sd-bus: introduce sd_bus_slot objects encapsulating callbacks or vtables ↵Lennart Poettering2014-05-15
| | | | | | | | | | | attached to a bus connection This makes callback behaviour more like sd-event or sd-resolve, and creates proper object for unregistering callbacks. Taking the refernce to the slot is optional. If not taken life time of the slot will be bound to the underlying bus object (or in the case of an async call until the reply has been recieved).
* networkd-ipip-tunnel: add support ttlSusant Sahani2014-05-12
| | | | Add support for ipip tunnel ttl.
* networkd: manager - don't leak kmod contextTom Gundersen2014-05-12
| | | | Also, keep the kmod_new internal to networkd-manager.c
* networkd: introduce ipip tunnelSusant Sahani2014-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables basic ipip tunnel support. It works with kernel module ipip example conf: file: ipip.netdev [NetDev] Name=ipip-tun Kind=ipip MTUBytes=1480 [Tunnel] Local=192.168.223.238 Remote=192.169.224.239 TTL=64 file: ipip.network [Match] Name=em1 [Network] Tunnel=ipip-tun [tomegun: - drop unused variable - take ref when enslaving]
* networkd: get preexiting addresses when a link is addedTom Gundersen2014-05-11
|
* networkd: listen for address changesTom Gundersen2014-05-10
| | | | | This is proof-of-concept only, as we only log the changes but don't do anything with it.
* rtnl: change from bitmask to enum for rtnl groupsTom Gundersen2014-05-10
| | | | | The bitmask is deprecated in the kernel, so move to the new interface. At the moment this does not make a difference for us, but it avoids having to change the API in the future.
* networkd: link - redo flag change loggingTom Gundersen2014-05-10
| | | | | | | | | Make the logging less verbose by only printing all the changed flags on one line, at the same time make it more complete by supporting all flags currently supported by the kernel. We still fall back to printing the raw flags in case we get something we do not recognize This may be useful when running on new kernels.
* networkd: network - fix leakTom Gundersen2014-05-10
|
* networkd: manager - initialize variablesTom Gundersen2014-05-10
|
* networkd: netdev - rephrase logging message a bitTom Gundersen2014-05-10
| | | | Make it fit with what is logged from the link.
* networkd: manager - refactor link tracking a bitTom Gundersen2014-05-10
|
* networkd: link - don't log errors when missing routes/addresses are droppedTom Gundersen2014-05-09
| | | | We were ignoring the wrong errno.
* networkd: link - handle links coming back to lifeTom Gundersen2014-05-09
| | | | | When enslaving devices, we may receieve DELLINK/NEWLINK for the same ifindex, let's not be confused by this.
* networkd: reorder bonding and bridgingTom Gundersen2014-05-09
| | | | | A link should only ever be part of one, but if we accidentally do both, let's do it in the right order so the failure is more obvious in the logs.
* networkd: manager - drop links and netdevs when we receive DELLINKTom Gundersen2014-05-09
|
* networkd: netdev - drop if creation failsTom Gundersen2014-05-09
| | | | This ensures that all links waiting to be enslaved are notified that the netdev does not exist.
* networkd: link - introduce LINGER state and link_drop()Tom Gundersen2014-05-09
| | | | We need the LINGER state in case we still have references to the link after it has been dropped.