summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update TODOLennart Poettering2015-02-11
|
* networkd DHCPv4 logging endian fixPaul Martin2015-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Tue, Feb 10, 2015 at 08:10:43PM +0100, Lennart Poettering wrote: > Hmm, I think it would be nicer to use be32toh() here instead, since it > ensures the macro is (to a limited degree) typesafe. > > Any chance you could rework that? From: Paul Martin <paul.martin@codethink.co.uk> Date: Wed, 11 Feb 2015 11:47:16 +0000 Subject: [PATCH] networkd dhcpv4 logging endian fix On a big-endian host, systemd-networkd prints out IPv4 network addresses byte reversed: Feb 10 16:43:32 hostname systemd-networkd[151]: eth0 : DHCPv4 address 158.1.24.10/16 via 1.1.24.10 The address obtained is 10.24.1.158/16 and the route is 10.24.0.0/16 dev eth0 src 10.24.1.187 The macro ADDRESS_FMT_VAL() unpacks a "struct in_addr" in a little-endian specific manner. This patch forces the passed address into host order, then unpacks it. On an x86 later than i486, compiled with -O2, the only extra overhead is a single bswap instruction.
* man: boilerplate unificationZbigniew Jędrzejewski-Szmek2015-02-10
|
* man: fix reference to glob manpageZbigniew Jędrzejewski-Szmek2015-02-10
|
* man: add systemd.generator(7)Zbigniew Jędrzejewski-Szmek2015-02-10
| | | | | | | | | This is largely based on http://www.freedesktop.org/wiki/Software/systemd/Generators/, and obsoletes that page. It seems that we do a much better job of keeping man pages up-to-date compared to wiki pages. Man pages are also easier to find for users. https://bugs.freedesktop.org/show_bug.cgi?id=89048
* TODOTom Gundersen2015-02-10
|
* net: support globbing and disjunction in Match logicTom Gundersen2015-02-10
| | | | Match{Name,OrginalName,Type,Driver,Path} can now take a space-separated glob of matches.
* networkd: fdb - refactor a bitTom Gundersen2015-02-10
| | | | | | Pass around Link objcets rather than FdbEntry objects. The link objects have an up-to-date ifname we can use for logging. match_name sholud _never_ be used for anything except matching. Firstly, it may be unset (usually is), and secondly it may not be up-to-date.
* networkd: bus - expose MatchMACTom Gundersen2015-02-10
|
* man: sd_bus_path_encode - fix order of argumentsTom Gundersen2015-02-10
|
* networkd: network-bus - use sd_bus_path_{en,de}codeTom Gundersen2015-02-10
|
* CODING_STYLE: elaborate on O_CLOEXEC a bitLennart Poettering2015-02-10
|
* tree-wide: Always use recvmsg with MSG_CMSG_CLOEXECCristian Rodríguez2015-02-10
|
* test-lldp: fix minor OOMLennart Poettering2015-02-10
|
* test-lldp: initialize structs when we define themLennart Poettering2015-02-10
|
* test-lldp: use strndup() where possibleLennart Poettering2015-02-10
|
* libsystemd-network: Avoid potential NULL dereference in test-lldpPhilippe De Swert2015-02-10
| | | | | | | | As a malloc0 could fail, doing a strncpy without checking could cause issues. Adding an assert should be good enough and in line with other similar routines in the code. Found with Coverity Fixes: CID#1261402
* update TODOLennart Poettering2015-02-10
|
* bus-proxyd: initialize ioctl structure only onceLennart Poettering2015-02-10
|
* .gitignore: add systemd-pullVincent Batts2015-02-10
|
* journald: don't specify inline in local functionsLennart Poettering2015-02-10
| | | | | | | | Leave it to the compiler to figure out whether it shall inline stuff or not. Only place where using static inline is OK to use is in in header files, really.
* shared: untabifyLennart Poettering2015-02-10
|
* logind: tell Coverity that we knowingly ignore mkdir()'s return valueLennart Poettering2015-02-10
|
* update TODOLennart Poettering2015-02-10
|
* keymap: Add microphone mute keymap for several HP laptopsHui Wang2015-02-10
| | | | | | | | | | | On these several HP laptops, the microphone mute hotkey is "Fn+F8" and the scancode for this hotkey is 0x81, but this scancode was mapped to fn_esc in the HP generic keymap section. To fix this problem, we add a machine specific keymap section to add the correct keymap rule. BugLink: https://bugs.launchpad.net/bugs/1409721 BugLink: https://bugs.launchpad.net/bugs/1334968 Signed-off-by: Hui Wang <hui.wang@canonical.com>
* networkd: link_object_find - don't accept invalid inputTom Gundersen2015-02-09
| | | | Reported by Zbigniew.
* networkd: support route scopesTom Gundersen2015-02-09
| | | | | | | For now we only support the hardcoded values RT_SCOPE_{UNIVERSE,LOCAL,HOST}, and not numerical values or values from /etc/iproute2/rt_scopes. This addresses https://bugs.freedesktop.org/show_bug.cgi?id=88508.
* treewide: correct typos and use consistent "MAC" spellingTorstein Husebø2015-02-09
|
* networkd: bus - switch to properly escaped object pathsTom Gundersen2015-02-09
|
* networkd: add support for IPv6 tokensTom Gundersen2015-02-09
| | | | | | | | | | | | | | | | | This allows the admin to set the host-specific part of IPv6 addresses, but still receive the prefix via SLAAC. .network file snippet: [Network] IPv6Token=::12 gives: $ ip token token ::12 dev eth0 This closes https://bugs.freedesktop.org/show_bug.cgi?id=81177.
* networkd: generalize IPv4LL to LinkLocalTom Gundersen2015-02-09
| | | | | | This allows both IPv4 and IPv6 link-local addresses to be enabled or disabled. By default we still enable IPv6LL and disable IPv4LL. The old config option is kept for backwards compatibility, but removed from the documentation.
* sd-rtnl: fix typesystem for IFLA_AF_SPECTom Gundersen2015-02-09
| | | | Got this one wrong, it is not a union, just a nested container.
* language fallback: it_CH (Italian, Swiss) -> it_IT (Italian, Italy)Daniele Medri2015-02-09
|
* networkd: add basic org.freedesktop.network1.Network interfaceTom Gundersen2015-02-08
|
* networkd: add network_get_by_nameTom Gundersen2015-02-08
|
* build-sys: properly enable the networkd dbus activationTom Gundersen2015-02-08
|
* sd-rtnl: add support for IFLA_INET6_*Tom Gundersen2015-02-08
|
* sd-rtnl: extend type system to allow address-family to decide the union membersTom Gundersen2015-02-08
| | | | | | So far we only supported selecting them by sibling attributes. (This stuff is all a bit crazy, but there seems to be no other way...)
* networkd: use valid bus pathsMantas Mikulėnas2015-02-08
| | | | | | Object path components must start with [A-Za-z_] (AFAIK). Also the value of 'p' is undefined if asprintf fails. Compare to user_bus_path() in src/login/logind-user-dbus.c:281.
* sd-rtnl: don't treat 0-length messages speciallyTom Gundersen2015-02-08
| | | | Still parse the CMSG data, and most importantly make sure we drop the message when peeking.
* sysctl: consider --prefix while parsing the filesUmut Tezduyar Lindskog2015-02-07
| | | | | | | | | | | not while applying the parsed sysctl values. Otherwise info "Overwriting earlier assignment of %s in file %s" is visible many times even though the given --prefix doesn't try to set the overridden value. This also optimizes the startup tiny bit since we have udev rules running on network devices and setting sysctl through the rules.
* Add Silesian and Kashubian to language fallback mapPiotr Drąg2015-02-07
| | | | | | | Silesian and Kashubian speakers would prefer to fall back to Polish (pl) translations instead of English (C). https://bugs.freedesktop.org/show_bug.cgi?id=89021
* bus-proxyd: fix 'ListQueuedOwners' callLukasz Skalski2015-02-07
| | | | | | | | | Set proper kdbus_cmd_list object size, otherwise: dbus-send --system --dest=org.freedesktop.DBus --type=method_call \ print-reply / org.freedesktop.DBus.ListQueuedOwners string:org.freedesktop.systemd1 Error org.freedesktop.DBus.Error.InvalidArgs: Invalid argument
* localed: add LANGUAGE= fallback when LANG= is specifiedZbigniew Jędrzejewski-Szmek2015-02-06
| | | | | | | | For the entries listed in the first column of language-fallback-map, the entry from the second column will be used for LANGUAGE=, if LANGUAGE= is not explicitly specified. https://bugzilla.redhat.com/show_bug.cgi?id=624158
* Add language fallback mapNaveen Kumar2015-02-06
| | | | | | | | This map will be used to provide a fallback for translations. For example, a Niederdeutsch (nds) speaker prefers to fall back to German (de) translations rather then the English (C) ones. https://bugzilla.redhat.com/show_bug.cgi?id=624158#c9
* build-sys: remove reference to long gone fileZbigniew Jędrzejewski-Szmek2015-02-06
| | | | | Interesting that automake doesn't complain about this at all. That file was removed in 3fb97a58fa3f233.
* units: networkd - fix busname to work on kdbusTom Gundersen2015-02-06
|
* sd-rtnl: don't fall over when receiving 0 bytes from the socketTom Gundersen2015-02-06
| | | | | | | causes EOF. Seems like a kernel bug. Ignoring it seems to work be the best we can do for now... See https://bugs.freedesktop.org/show_bug.cgi?id=88397
* sd-rtnl: fix creation of synthetic error repliesTom Gundersen2015-02-06
|
* udev: net_setup - clarify reason for failure of persistent mac address policyTom Gundersen2015-02-06
|