Zbigniew Jędrzejewski-Szmek
05d418fed9
Merge pull request #17085 from yuwata/network-configure-mdb-entries-on-bridge-master
...
network: allow to configure mdb entries on bridge master
2020-09-18 13:06:44 +02:00
Yu Watanabe
1034044260
Merge pull request #15050 from ssahani/fq-pie
...
network: tc: add support for FQ-PIE packet scheduler
2020-09-18 03:50:02 +09:00
Yu Watanabe
dc0e90d2e0
Merge pull request #16929 from ssahani/network-bare-udp
...
network: introduce Bare UDP Tunnelling
2020-09-17 20:34:15 +09:00
Yu Watanabe
1797240104
network: old kernel may not support to configure bridge MDB entries on bridge master
2020-09-17 18:15:22 +09:00
Yu Watanabe
a55100e66c
network: allow to configure bridge MDB entries on bridge master
2020-09-17 18:12:40 +09:00
Yu Watanabe
fdeecf7bba
network: tc: refuse to set 0 for FlowQueuePIE.PacketLimit=
2020-09-17 17:16:49 +09:00
Susant Sahani
8f6b6d7091
network: TC - introduce fq pie
...
see https://patchwork.ozlabs.org/patch/1233253/
2020-09-17 17:12:07 +09:00
Susant Sahani
a9b8450bd4
network: Allow vxlan to be created without .network file
2020-09-17 15:49:36 +09:00
Yu Watanabe
b0486c732a
network: refuse to configure IPv4LL for bareudp netdev
2020-09-17 15:18:18 +09:00
Susant Sahani
e6980c7270
network: Introduce bare UDP
2020-09-17 15:05:58 +09:00
Yu Watanabe
8e412d64ce
network: add debug message for configuring MDB entries
2020-09-17 00:04:22 +09:00
Yu Watanabe
1f24158971
network: configure bridge MDB entries after bridge has carrier
2020-09-17 00:04:22 +09:00
Yu Watanabe
46205ffcdf
network: drop [BridgeMDB] entries if Bridge= is not set
2020-09-17 00:04:22 +09:00
Yu Watanabe
03ae449015
network: check MulticastGroupAddress= is neither a local multicast address nor all nodes address
2020-09-17 00:04:22 +09:00
Yu Watanabe
5fb16c7c77
network: drop unnecessary headers
2020-09-17 00:04:22 +09:00
Yu Watanabe
6c9ebb7a90
network: move functions in networkd-mdb.c
2020-09-17 00:04:22 +09:00
Yu Watanabe
41bed67613
Merge pull request #16998 from zonque/networkd/mdb
...
network: add support for setting MDB entries
2020-09-15 16:30:39 +09:00
Frantisek Sumsal
69e3234db7
tree-wide: fix typos found by codespell
...
Reported by Fossies.org
2020-09-14 15:32:37 +02:00
Yu Watanabe
85b6a8110d
network: do not add prefix to RA if radv is not configured
...
Fixes #17017 .
2020-09-11 19:28:46 +02:00
Daniel Mack
3db468ea87
network: add support for setting MDB entries
...
Multicast snooping enabled bridges maintain a database for multicast
port memberships to decide which mulicast packet is supposed to
egress on which port.
This patch teaches networkd to add entries to this database manually
by adding `[BridgeMDB]` sections to `.network` configuration files.
2020-09-10 18:55:15 +02:00
Lennart Poettering
6ae05c9b14
Merge pull request #16947 from keszybz/socket-parsing-rework
...
Socket parsing rework
2020-09-10 16:47:37 +02:00
Zbigniew Jędrzejewski-Szmek
f29d38b7d4
Merge pull request #17003 from yuwata/conf-parser-downgrade-log-level
...
tree-wide: downgrade log level in conf-parsers
2020-09-10 15:43:29 +02:00
Yu Watanabe
17d2b2e4ef
network: replace FRA_IFNAME -> FRA_IIFNAME
...
No functional change, as FRA_IFNAME is an alias of FRA_IIFNAME.
2020-09-10 18:57:07 +09:00
Yu Watanabe
2102d33cfb
network: also process RTM_NEWRULE or RTM_DELRULE message which does not contain src and dst addresses
...
Fixes #16784 .
2020-09-10 18:57:07 +09:00
Yu Watanabe
bd1000b4a0
network: fix the default mask for FirewallMark=
...
And always send FRA_FWMASK if FirewallMark= is set.
C.f. b8964ed9fa
Partially fixes #16784 .
2020-09-10 18:56:18 +09:00
Yu Watanabe
c2d6fcb147
network: do not assign return value if the parse_fwmark_fwmask() fails
...
This also removes redundant logs, and makes input string not copied if
it does not contain '/'.
2020-09-10 18:19:03 +09:00
Yu Watanabe
d85b0d69f1
network: add debug log for removing routing policy rules
2020-09-10 18:19:03 +09:00
Yu Watanabe
755dbda355
network: also logs priority of routing policy rules
2020-09-10 18:18:59 +09:00
Yu Watanabe
b6c7c4a87b
network: update log message for rtnl messages
2020-09-10 18:14:24 +09:00
Yu Watanabe
e3489e96b3
network: slightly update log message
2020-09-10 13:59:04 +09:00
Yu Watanabe
2ca601d8cb
network do not ignore OOM error in config_parse_macsec_key_id()
2020-09-10 13:59:04 +09:00
Yu Watanabe
696c0832e2
network: use _cleanup_ attribute at one more place
2020-09-10 13:59:04 +09:00
Yu Watanabe
a8a50f4fb7
network: do not ignore OOM error in wireguard_decode_key_and_warn()
2020-09-10 13:59:04 +09:00
Yu Watanabe
02241e4339
network: unify config_parse_wireguard_public_key() and config_parse_wireguard_preshared_key()
2020-09-10 13:57:39 +09:00
Zbigniew Jędrzejewski-Szmek
2313524aa0
basic: convert ifname_valid_full() to take flags and allow numeric interfaces
2020-09-10 00:46:44 +02:00
Lennart Poettering
e5f1b999eb
network: don't fail on various config parse errors
...
We typically don't fail on config parse errors (to maximize compat),
let's not do this in these cases either.
2020-09-09 23:43:16 +02:00
Lennart Poettering
40eb1b0ae8
tree-wide: prefer AF_xyz over PF_xyz
...
This really doesn't matter given that AF_xyz and PF_xyz are equivalent
in all ways, but we almost always use AF_xyz, hence stick to it
universally and convert the remaining PF_ to AF_
2020-09-09 23:42:55 +02:00
Lennart Poettering
244d9793ee
Merge pull request #16984 from yuwata/make-log_xxx_error-void
...
Make log_xxx_error() or friends return void
2020-09-09 16:28:51 +02:00
Yu Watanabe
a725efb08b
network: increase receive buffer size for device monitor
...
If networkd creates huge amount of netdevs, then the buffer of device
monitor becomes easily flowed.
Hopefully fixes #16865 .
2020-09-09 06:39:05 +09:00
Yu Watanabe
d31f33e3c9
network: do not start device monitor if /sys is read-only
...
Follow-up for bf331d8717
.
2020-09-09 06:39:05 +09:00
Yu Watanabe
e13af7bdb6
network: honor the buffer size specified in networkd.socket
2020-09-09 06:39:05 +09:00
Yu Watanabe
8c63924c8d
network: ignore error on increasing netlink receive buffer size
2020-09-09 06:39:05 +09:00
Yu Watanabe
d157714b68
network: make log_link_error() or friends return void
2020-09-09 02:34:38 +09:00
Lennart Poettering
26c65933ba
Merge pull request #16978 from keszybz/two-variable-reduction-patches
...
Two variable reduction patches
2020-09-08 17:13:21 +02:00
Zbigniew Jędrzejewski-Szmek
a9aa8deb29
Merge pull request #16618 from yuwata/network-ipv6token-prefixstable
...
network: make prefixstable mode of IPv6Token= can be applied any received prefixes
2020-09-08 13:36:27 +02:00
Zbigniew Jędrzejewski-Szmek
90e74a66e6
tree-wide: define iterator inside of the macro
2020-09-08 12:14:05 +02:00
Yu Watanabe
b27caa34f6
network: make prefixstable mode of IPv6Token= can be applied to any received prefixes
...
Closes #4625 .
2020-09-08 14:32:33 +09:00
Yu Watanabe
50550722e3
network: fix NDisc handling for the case when multiple routers exist
...
69203fba70
does not consider the case that
multiple routers exist, and causes #16719 .
Fixes #16719 .
2020-09-08 02:30:04 +09:00
Yu Watanabe
501b09dbf2
network: expose route_{hash,compare}_func()
2020-09-08 02:30:04 +09:00
Yu Watanabe
99a2878457
network: expose address_{hash,compare}_func()
2020-09-08 02:30:04 +09:00