Commit Graph

1305 Commits

Author SHA1 Message Date
Lennart Poettering 777920bc03 update TODO 2014-03-24 16:24:07 +01:00
David Herrmann 374c356979 sd-bus: mark sd_bus_unref() as broken regarding self-refs
If you allocate a message with bus==NULL and then unref the main bus,
it will free your message underneath and your program will go boom!

To fix that, we really need to figure out what the semantics for
self-references (m->bus) should be and when/where/what accesses are
actually allowed.

Same is true for the pseudo-thread-safety we employ..
2014-03-22 19:35:25 +01:00
Umut Tezduyar Lindskog b5db00e52e sd-ipv4ll/networkd: generate predictable addresses
Increase the chance of using the same link local address between reboots. The
pseudo random sequence of addresses we attempt is now seeded with data that is
very likely to stay the same between reboots, but at the same time be unique
to the specific machine/nic.

First we try to use the ID_NET_NAME_* data from the udev db combined with the
machin-id, which is guaranteed to be unique and persistent, if available. If
that is not possible (e.g., in containers where we don't have access to the
udev db) we fallback to using the MAC address of the interface, which is
guaranteed to be unique, and likely to be persistent.

[tomegun: three minor changes:

 - don't expose HASH_KEY in the siphash24 header
 - get rid of some compile-warnings (and some casts at the same time),
   by using uint8_t[8] rather than uint64_t in the api
 - added commit message]
2014-03-21 20:24:10 +01:00
Lennart Poettering c144692179 update TODO 2014-03-21 03:43:46 +01:00
Tom Gundersen 155e8b9adc TODO 2014-03-20 20:19:59 +01:00
Lennart Poettering f1b2c3eccb update TODO 2014-03-20 04:19:23 +01:00
Lennart Poettering b5640d8245 update TODO 2014-03-19 23:25:41 +01:00
Lennart Poettering 5a2e420c1f update TODO 2014-03-19 19:09:00 +01:00
Lennart Poettering 7973ca1927 update TODO 2014-03-19 16:25:11 +01:00
Lennart Poettering 4658568002 update TODO 2014-03-19 04:17:37 +01:00
Lennart Poettering 622efd8775 update TODO 2014-03-19 02:28:03 +01:00
Lennart Poettering ec8408740a update TODO 2014-03-19 01:48:23 +01:00
Lennart Poettering cb9da7f24f update TODO 2014-03-18 21:06:08 +01:00
Lennart Poettering 9459781ee6 udate TODO 2014-03-18 17:59:11 +01:00
Lennart Poettering df23374071 update TODO 2014-03-18 04:48:26 +01:00
Lennart Poettering 4c63a53ac5 update TODO 2014-03-17 18:15:57 +01:00
Lennart Poettering 7366b080b3 update TODO 2014-03-17 15:18:11 +01:00
Tom Gundersen e09826dcf1 networkd: netdev - support joining already existing netdevs 2014-03-15 20:10:36 +01:00
Lennart Poettering edb2935c5c update TODO 2014-03-14 21:17:14 +01:00
Lennart Poettering b64c7b3d5b update TODO 2014-03-14 01:49:44 +01:00
Lennart Poettering bddabb5770 update TODO 2014-03-13 01:39:09 +01:00
Lennart Poettering 769918ecd3 update TODO 2014-03-12 16:39:31 +01:00
Lennart Poettering f8791e820b update TODO 2014-03-11 19:10:53 +01:00
Lennart Poettering 2be56ff1e4 update TODO 2014-03-11 18:02:27 +01:00
Lennart Poettering 756461fd56 update TODO 2014-03-11 04:20:11 +01:00
Lennart Poettering 7ced1d8f87 update TODO 2014-03-11 03:09:00 +01:00
Lennart Poettering 2cb46a2b0c update TODO 2014-03-11 02:48:59 +01:00
Lennart Poettering 2ecfc64e59 update TODO 2014-03-10 23:17:42 +01:00
Lennart Poettering 2a781fc9bd update TODO 2014-03-08 04:06:04 +01:00
Lennart Poettering a0e5b17733 update TODO 2014-03-07 04:38:39 +01:00
Lennart Poettering 0939968c77 update TODO 2014-03-06 05:04:51 +01:00
Lennart Poettering 6a3f892a23 update TODO 2014-03-06 04:00:42 +01:00
Umut Tezduyar Lindskog 848e3e24b0 man: ipv4 link-local 2014-03-05 21:46:31 +01:00
Lennart Poettering 32f2443099 update TODO 2014-03-05 04:41:40 +01:00
Lennart Poettering efc141b8ff update TODO 2014-03-05 02:31:10 +01:00
Lennart Poettering 726a6e9630 update TODO 2014-03-04 20:02:50 +01:00
Umut Tezduyar Lindskog 5c1d3fc93d sd-network: IPv4 link-local support [v2]
Implements IPv4LL with respect to RFC 3927
(http://tools.ietf.org/rfc/rfc3927.txt) and integrates it
with networkd. Majority of the IPv4LL state machine is
taken from avahi (http://avahi.org/) project's autoip.

IPv4LL can be enabled by IPv4LL=yes under [Network]
section of .network file.

IPv4LL works independent of DHCP but if DHCP lease is
aquired, then LL address will be dropped.

[tomegun: removed a trailing newline and a compiler warning]
2014-03-03 23:24:34 +01:00
Lennart Poettering 7ba4fedb80 update TODO 2014-03-03 23:18:25 +01:00
Lennart Poettering 18633feaae update TODO 2014-03-03 21:55:41 +01:00
Lennart Poettering e361df9e75 update TODO 2014-03-03 21:08:49 +01:00
Tom Gundersen 474cba1c7d TODO 2014-03-01 14:13:18 +01:00
Thomas Hindoe Paaboel Andersen 9319e46051 update TODO 2014-03-01 04:03:52 +01:00
Lennart Poettering 9c423fbf2a update TODO 2014-02-26 02:19:28 +01:00
Lennart Poettering 23fae27185 update TODO 2014-02-25 02:37:59 +01:00
Lennart Poettering 4e72e29a39 update TODO 2014-02-24 21:23:19 +01:00
Lennart Poettering 650264033f update TODO 2014-02-24 17:36:06 +01:00
Lennart Poettering 539237644e update TODO 2014-02-24 15:35:20 +01:00
Lennart Poettering f8901862b2 update TODO 2014-02-24 13:21:55 +01:00
Lennart Poettering 46a96f4323 update TODO 2014-02-24 04:04:23 +01:00
Lennart Poettering 9e281251e9 update TODO 2014-02-24 03:38:58 +01:00