1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
Commit Graph

15103 Commits

Author SHA1 Message Date
Tom Gundersen
85923f79e1 sd-dhcp: network - set TOS on outgoing packets
This should improve performance on busy wireless networks and the
like. Inspired by a similar change in dnsmasq.
2014-05-06 22:09:05 +02:00
Tom Gundersen
085cabf266 dhcp-network: don't pass ifindex to bind_udp_socket
UDP sockets can anyway not be bound to specific netdev's. The packages would have to be filtered
when received instead.
2014-05-06 21:58:08 +02:00
Lennart Poettering
b408026b98 man: document sd_event_add_time(3) 2014-05-06 18:51:08 +02:00
Lennart Poettering
7b8b9686e0 timesyncd: hook up systemd-timesyncd with systemd-timedated
Later on we will probably remove support for controlling any other NTP
implementations but systemd-timesyncd, but for now, let's keep things
generic
2014-05-06 18:20:49 +02:00
Lennart Poettering
661278ee29 timesyncd: never accept NTP time from server that is older than systemd's release time 2014-05-06 18:08:04 +02:00
Lennart Poettering
dfdb269daf journald: remove some dead code 2014-05-06 17:03:28 +02:00
Lennart Poettering
a429267c44 load-fragment: minor cleanup 2014-05-06 17:03:09 +02:00
Lennart Poettering
8dfb5bced2 update TODO 2014-05-06 17:02:54 +02:00
Lennart Poettering
e8af69739a timesyncd: read server settings from a configuration file
Also, allow compiling in a default server list via a configure command
line item.
2014-05-06 17:02:11 +02:00
Lennart Poettering
16c058ba01 timesyncd: when an NTP server doesn't respond, proceed with the next 2014-05-06 16:15:02 +02:00
Lennart Poettering
376cd3b89c list: make LIST_FIND_TAIL work for empty lists 2014-05-06 13:07:15 +02:00
Lennart Poettering
2db3e2023d update TODO 2014-05-06 13:04:29 +02:00
Lennart Poettering
600809211e timesyncd: keep order of NTP servers 2014-05-06 12:34:37 +02:00
Lennart Poettering
1df52dd282 update TODO 2014-05-06 12:34:37 +02:00
Lennart Poettering
05f7fc0fe3 timesyncd: make sure to reread /etc/resolv.conf when we try the next NTP server 2014-05-06 12:34:37 +02:00
Kay Sievers
136aa3b444 timesyncd: accept NTP version 3 responses 2014-05-06 12:29:20 +02:00
Lennart Poettering
881c74201d timesyncd: add a more servers by default 2014-05-06 01:37:29 +02:00
Lennart Poettering
becad8f1ed timesyncd: also try next server when sendto() fails 2014-05-06 01:37:13 +02:00
Lennart Poettering
7a183c4c73 timesyncd: don't busy loop when we cannot connect to any servers 2014-05-06 01:29:47 +02:00
Lennart Poettering
678522cff0 timesyncd: properly handle multiple configured NTP servers and multiplei IP addresses per server name 2014-05-06 01:17:35 +02:00
Lennart Poettering
856a5a7d76 timesyncd: lookup name server via sd-resolve, support IPv6, react to SIGINT/SITERM 2014-05-05 23:53:17 +02:00
Lennart Poettering
73dec31974 sd-resolve: make sure we can destroy a query object from its own callback handler 2014-05-05 23:49:19 +02:00
Lennart Poettering
cc567911ba sd-event: allow disabling event sources when an event object is dying anyway 2014-05-05 23:48:25 +02:00
Lennart Poettering
59bc1fd776 sd-event: make it easy to bind signal handling to event loop exits
By passing a NULL callback provide a simple way to make event loops exit
on SIGTERM and other signals.
2014-05-05 23:47:59 +02:00
Lennart Poettering
7ed0dd4be6 timesync: use safe_close() where possible 2014-05-05 21:47:38 +02:00
Lennart Poettering
5f8cfaee52 timesync: always initialize structs when declaring them as far as possible with contsant values 2014-05-05 21:47:09 +02:00
Lennart Poettering
43ba1b3e64 build-sys: enable timesyncd by default 2014-05-05 21:39:10 +02:00
Lennart Poettering
37efac5ddb update TODO 2014-05-05 21:19:06 +02:00
Lennart Poettering
76cf10dab7 build-sys: move async.[ch] to src/shared
So that we can use it at multiple places.
2014-05-05 21:19:06 +02:00
Kay Sievers
99a17ada9c core: require cgroups filesystem to be available
We should no longer pretend that we can run in any sensible way
without the kernel supporting us with cgroups functionality.
2014-05-05 18:52:36 +02:00
Kay Sievers
61fb23db45 hwdb: update 2014-05-05 14:23:10 +02:00
Kay Sievers
ee03381e21 timesyncd: log drift value as signed 2014-05-05 14:21:40 +02:00
Tom Gundersen
7ca1d31964 sd-rtnl-message: append - fix uninitialized memory
We were not properly clearing the padding at the front of some containers.
2014-05-03 18:14:42 +02:00
Tom Gundersen
3f781aa8a0 sd-rtnl: route - allow setting multiple matching routes 2014-05-03 18:14:42 +02:00
Tom Gundersen
8faf88e5eb TODO 2014-05-03 18:14:42 +02:00
Kay Sievers
ef6191945e timesyncd: log drift correction 2014-05-03 15:09:33 +02:00
Lennart Poettering
8a474b0c04 async: add asynchronous close() call 2014-05-02 17:57:37 +02:00
Lennart Poettering
7348b3adb3 update TODO 2014-05-02 17:57:37 +02:00
Kay Sievers
d67006fe53 timesyncd: use nanosecond mode 2014-04-30 17:25:46 +02:00
Kay Sievers
81c36b3f28 timesyncd: remove debug code 2014-04-30 09:37:59 +02:00
Umut Tezduyar Lindskog
8ddbeaa23c networkd: dont configure route if lease doesn't have one 2014-04-30 00:05:28 +02:00
Tom Gundersen
7e141e498c sd-network: add support for only listening to some types of changes 2014-04-30 00:05:28 +02:00
Kay Sievers
ba9f11dc98 timesyncd: limit debug values to milliseconds 2014-04-29 23:48:23 +02:00
Michal Sekletar
d20850cbf4 update TODO 2014-04-29 22:18:14 +02:00
Tom Gundersen
bc4155669a sd-dhcp-lease: fix double realloc 2014-04-29 21:57:59 +02:00
Kay Sievers
d38cbe1bb7 build-sys: fix linking order for networkd-wait-only 2014-04-29 16:26:51 +02:00
Lennart Poettering
93f1bcf400 sd-resolve: rework sd-resolve to be callback based, similar in style to sd-bus and sd-event 2014-04-29 15:45:16 +02:00
Tom Gundersen
4c06153f7b networkd: fix distcheck 2014-04-29 15:42:05 +02:00
Tom Gundersen
109731eb25 sd-dhcp-lease: (de)serialize DNS and NTP servers
Also use inet_ntoa rather than inet_ntop.
2014-04-29 15:05:33 +02:00
Tom Gundersen
0b21bde96d sd-dhcp-leaes: use newdup() 2014-04-29 12:46:06 +02:00