Yu Watanabe
4e14e54638
Merge pull request #12549 from yuwata/network-sittun-disable-link-local-addressing-12547
...
network: disable LinkLocalAddressing on sit devices
2019-05-16 05:11:05 +02:00
Yu Watanabe
db439337f9
Merge pull request #12576 from ssahani/fou
...
networkd: FOU tunnel support Local and Peer tunnel addresses
2019-05-16 05:10:35 +02:00
Susant Sahani
4502a61c8a
networkd: FOU tunnel support Local and Peer tunnel addresses
2019-05-16 10:24:48 +09:00
Susant Sahani
397a74ddea
sd-netlink: Add Fou properties FOU_ATTR_LOCAL_V4/FOU_ATTR_PEER_V4
...
FOU_ATTR_LOCAL_V6
FOU_ATTR_PEER_V6
FOU_ATTR_PEER_PORT
FOU_ATTR_IFINDEX
2019-05-16 10:24:48 +09:00
Yu Watanabe
a3824444e5
linux: update headers from current kernel master
2019-05-16 10:24:47 +09:00
Susant Sahani
69c317a07f
networkd: introduce netdev ipvtap
...
This patch adds netdev ipvtap that is based on the
IP-VLAN network interface, called ipvtap. An ipvtap device can be created
in the same way as an ipvlan device, using 'kind ipvtap', and then accessed
using the tap user space interface.
2019-05-16 09:48:53 +09:00
Yu Watanabe
af2fa2c116
network: disable link local addressing on ipip, gre, sit, and vti netdevs
...
Closes #12547 .
2019-05-16 05:53:41 +09:00
Yu Watanabe
b71d9a1296
wait-online: ignore -ENODATA on updating link information
...
When netdev is not created yet, the -ENODATA is returned.
2019-05-16 05:53:41 +09:00
Yu Watanabe
710ce9e537
network: link_check_ready() returns earlier if routes are not configured yet
...
link_request_set_routes() calls link_check_ready(), so it is not
necessary to continue that here.
2019-05-16 05:53:41 +09:00
Yu Watanabe
05dc2132e0
Merge pull request #12496 from yuwata/network-on-device-default-route
...
network: add DefaultRouteOnDevice= setting in [Network] section
2019-05-15 22:46:25 +02:00
Yu Watanabe
80a8a7fb20
analyze: fix help message
2019-05-15 15:09:45 +02:00
Lennart Poettering
73130b0bcf
Merge pull request #12565 from zachsmith/fix-log-message-typos
...
systemd-sleep: Fix typos in log messages
2019-05-15 10:50:03 +02:00
Thadeu Lima de Souza Cascardo
59c55e73ea
ask-password: prevent buffer overrow when reading from keyring
...
When we read from keyring, a temporary buffer is allocated in order to
determine the size needed for the entire data. However, when zeroing that area,
we use the data size returned by the read instead of the lesser size allocate
for the buffer.
That will cause memory corruption that causes systemd-cryptsetup to crash
either when a single large password is used or when multiple passwords have
already been pushed to the keyring.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
2019-05-15 10:49:46 +02:00
Yu Watanabe
5d5003ab35
network: add DefaultRouteOnDevice= setting in [Network] section
...
When enabled, then default route bound to the interface will be created.
This is useful when adding routes on point-to-point interfaces.
Closes #788 .
2019-05-15 12:44:30 +09:00
Yu Watanabe
807341ec99
network: add missing error check
2019-05-15 12:44:30 +09:00
Susant Sahani
deb2cfa4c6
networkd: do not generate MAC for bridge device.
...
closes https://github.com/systemd/systemd/issues/12558
2019-05-15 04:03:14 +02:00
Zach Smith
6835d78dfe
fix typo in partition device message
2019-05-14 07:08:27 -07:00
Michael Biebl
b62bc66018
Merge pull request #12536 from poettering/rdrand-workaround-on-amd
...
random-util: eat up bad RDRAND values seen on AMD CPUs
2019-05-14 12:29:41 +02:00
Yu Watanabe
6e114a2475
Merge pull request #12555 from ssahani/route-properties
...
networkd: route add support to configure fastopen_no_cookie
2019-05-14 09:03:52 +02:00
Susant Sahani
1501b429a9
networkd: DHCP client add support to send RELEASE packet
...
closes #10820
2019-05-14 09:03:01 +02:00
Zach Smith
45733c9d21
fix typo in wakealarm message
2019-05-13 20:01:36 -07:00
Susant Sahani
67c193bfb0
networkd: route fix coding style
2019-05-14 08:09:54 +05:30
Susant Sahani
633c725865
networkd: route add support to configure fastopen_no_cookie
...
This patch adds fastopen_no_cookie option to enable/disable TCP fastopen
without a cookie on a per-route basis.
2019-05-14 08:08:36 +05:30
Susant Sahani
bdb397ed10
networkd: bridge FDB support more NTF_* flags
...
Add support to configure NTF_ROUTER and NTF_USE
2019-05-14 02:24:51 +02:00
Yu Watanabe
d8f31d7d32
Merge pull request #12537 from yuwata/network-link-local-follow-ups
...
network: do not send ipv6 token to kernel
2019-05-14 02:22:18 +02:00
Susant Sahani
f4679bcb57
sd-netlink: support RTAX_FASTOPEN_NO_COOKIE
2019-05-13 16:44:55 +05:30
Yu Watanabe
bc45457f08
Merge pull request #12516 from yuwata/network-split-link
...
networkd: split networkd-link.c
2019-05-12 00:51:23 +02:00
Susant Sahani
d70c9bbd6c
networkd: Geneve add support for inherit for TTL
2019-05-12 00:39:13 +02:00
Yu Watanabe
9f6e82e6eb
network: do not send ipv6 token to kernel
...
We disabled kernel RA support. Then, we should not send
IFLA_INET6_TOKEN.
Thus, we do not need to send IFLA_INET6_ADDR_GEN_MODE twice.
Follow-up for 0e2fdb83bb
and
4eb086a387
.
2019-05-12 07:32:00 +09:00
Yu Watanabe
8e2cb51ce0
network: move MulticastRouter to netdev/bridge.[ch]
2019-05-11 06:24:04 +09:00
Yu Watanabe
86e2be7bc3
network: drop unnecessary initializations
2019-05-11 06:24:04 +09:00
Yu Watanabe
4799f19e30
network: move link_set_bond() to netdev/bond.c
2019-05-11 06:24:04 +09:00
Yu Watanabe
9a81f11956
network: move link_set_bridge to netdev/bridge.c
2019-05-11 06:24:04 +09:00
Yu Watanabe
3ddcbeea45
network: move CAN link related functions to networkd-can.c
2019-05-11 06:24:00 +09:00
Yu Watanabe
06d7cee589
network: make BindCarrier= work with CAN devices
...
If CAN device is set `BindCarrier=` then the interface could not be
down. This fixes the issue.
2019-05-11 06:21:43 +09:00
Yu Watanabe
8e54db83e2
network: make link_drop() can take custom handler
...
It will be used in the later commit.
2019-05-11 06:15:35 +09:00
Yu Watanabe
7f8539504c
network: move sd_lldp related functions to networkd-lldp-rx.c
2019-05-11 06:14:39 +09:00
Susant Sahani
be7468f07a
LLDP: Fix logs for LLDP
...
```
May 10 11:08:54 test systemd-networkd[447]: wwan0: Failed to stop LLDP: Success
May 10 11:08:54 test systemd-networkd[447]: wwan0: Gained carrier
May 10 11:08:54 test systemd-networkd[447]: wwan0: Failed to start LLDP: Success
```
2019-05-11 06:14:39 +09:00
Yu Watanabe
0b20047244
network: move link_lldp_emit_enabled() to networkd-lldp-tx.c
2019-05-11 06:14:39 +09:00
Lennart Poettering
1c53d4a070
random-util: eat up bad RDRAND values seen on AMD CPUs
...
An ugly, ugly work-around for #11810 . And no, we shouldn't have to do
this. This is something for AMD, the firmware or the kernel to
fix/work-around, not us. But nonetheless, this should do it for now.
Fixes : #11810
2019-05-10 15:31:46 -04:00
Lennart Poettering
cb367b1785
Merge pull request #12518 from keszybz/naming-scheme
...
Document our naming schemes properly
2019-05-10 15:14:59 -04:00
Susant Sahani
f4a8ca329a
networkd: VXLAN support keyword 'inherit' for TTL
2019-05-10 20:41:04 +02:00
Yu Watanabe
cd43199671
Merge pull request #12520 from ssahani/geneve
...
networkd: Geneve add DF feature and allow TTL to bechosen by kernel
2019-05-10 19:47:19 +02:00
Lennart Poettering
1c2a88a2e7
Merge pull request #12526 from keszybz/some-trivial-follow-ups-for-the-varlink-pr
...
Some trivial follow ups for the varlink PR
2019-05-10 13:29:58 -04:00
Zbigniew Jędrzejewski-Szmek
77740b5993
journalctl: improve error messages
...
Follow-up for #12230 .
2019-05-10 16:55:37 +02:00
Zbigniew Jędrzejewski-Szmek
1d3fe304fd
Use sd_event_source_disable_unref()
2019-05-10 16:55:37 +02:00
Zbigniew Jędrzejewski-Szmek
aa7585fd8e
sd-event: add sd_event_source_disable_unrefp() too
...
I do not have any immediate use for it, but let's add it for completeness.
2019-05-10 16:55:37 +02:00
Zbigniew Jędrzejewski-Szmek
afd15bbb4b
sd-event: add sd_event_source_disable_unref() helper
2019-05-10 16:55:35 +02:00
Susant Sahani
328184d1fc
networkd: Geneve Allow TTL to be zero.
...
Also verify VNI is set
2019-05-10 22:45:26 +09:00
Susant Sahani
aac350192b
networkd: Geneve add support configure IP don't fragment
2019-05-10 22:45:26 +09:00