Sebastiaan van Stijn
5c358743af
daemon: info: remove bridge-nf-call-iptables / ip6tables warnings
...
Historically, the `bridge` network-driver would detect whether netfiltering
was enabled in the kernel or, if disabled, try to do a `modprobe` when
initializing the driver. This approach became problematic, as loading the
module was not always performed at startup depending on daemon configuration,
or the daemon may have failed to load the module. The `/info` response
would include a warning to inform the user that some functionality may not
be available;
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Starting with db25b0dcd0 , detecting whether
netfiltering is enabled now [happens when needed][1], which was further improved
on to not depend on `modprobe` in 264c15bfc4 and
4740820716 .
Because of the above, the `/info` output would now return warnings in any
situation where netfiltering was not enabled on the host before the daemon
started, which may be either _incorrect_ (i.e., the module may have been
loaded afterwards), or irrelevant, because netfiltering is not needed in
all situations.
This patch removes the warnings from the `/info` response,
[1]: 944e403502/libnetwork/drivers/bridge/setup_bridgenetfiltering.go (L16-L77)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-13 10:09:41 +01:00
..
2024-11-22 23:59:20 +11:00
2024-11-28 16:41:19 +01:00
2024-12-12 19:01:04 +01:00
2023-09-05 12:09:26 +02:00
2024-11-27 14:44:21 +01:00
2024-11-19 13:55:54 +01:00
2023-08-24 17:51:07 +02:00
2024-07-01 23:53:28 +02:00
2022-12-21 11:09:01 +01:00
2023-10-11 17:52:23 +02:00
2024-11-22 23:59:21 +11:00
2024-06-20 11:10:54 +02:00
2024-07-01 23:53:28 +02:00
2024-06-20 10:21:42 +02:00
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2024-06-10 10:20:45 +02:00
2024-06-10 10:20:45 +02:00
2024-06-10 10:20:45 +02:00
2024-07-22 19:20:12 +00:00
2024-07-02 12:34:53 +02:00
2024-10-28 10:30:23 +01:00
2023-03-30 10:29:07 +01:00
2023-08-29 00:38:08 +02:00
2024-06-04 17:44:46 +02:00
2024-11-19 13:55:54 +01:00
2024-10-20 14:04:07 +02:00
2023-05-19 20:38:51 +02:00
2024-11-05 10:00:10 +00:00
2024-11-05 14:22:53 +00:00
2024-11-05 14:22:53 +00:00
2024-11-26 11:47:31 +00:00
2023-09-15 20:12:27 +02:00
2024-11-19 13:55:55 +01:00
2024-09-06 21:53:09 +10:00
2023-07-18 14:18:42 +02:00
2024-06-13 13:29:39 +02:00
2024-01-19 17:32:21 +01:00
2024-11-19 13:55:54 +01:00
2024-11-25 18:28:37 +00:00
2024-12-03 08:59:00 +08:00
2024-05-29 22:38:27 +02:00
2024-11-12 14:02:15 +01:00
2024-12-04 18:19:41 +00:00
2024-06-17 20:19:20 +01:00
2023-05-19 20:38:51 +02:00
2024-11-06 21:04:31 +03:00
2024-11-18 10:42:00 +01:00
2023-10-11 17:52:23 +02:00
2023-05-19 20:38:51 +02:00
2023-10-11 17:52:23 +02:00
2024-11-12 14:02:15 +01:00
2024-06-30 19:13:23 +02:00
2024-10-26 18:31:39 +02:00
2024-07-02 12:46:48 +02:00
2023-08-23 15:47:43 +02:00
2023-08-23 15:47:43 +02:00
2023-08-29 00:38:08 +02:00
2023-11-10 20:09:25 +00:00
2024-11-12 14:02:15 +01:00
2024-10-26 18:31:39 +02:00
2024-11-19 13:55:54 +01:00
2024-10-26 18:31:39 +02:00
2024-11-19 13:55:54 +01:00
2024-07-02 12:46:47 +02:00
2024-11-19 13:55:54 +01:00
2024-10-25 12:44:44 -07:00
2024-11-28 16:32:51 +01:00
2023-09-07 18:38:19 +00:00
2024-09-11 19:44:35 +02:00
2024-11-12 14:02:15 +01:00
2024-12-13 10:09:41 +01:00
2024-10-24 11:19:42 +01:00
2024-11-19 13:55:56 +01:00
2024-07-03 17:14:03 +02:00
2023-06-01 14:45:25 -04:00
2024-07-03 17:14:03 +02:00
2024-11-19 13:55:56 +01:00
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2024-10-15 22:40:39 +02:00
2023-07-07 13:01:36 +02:00
2023-07-07 13:01:36 +02:00
2024-11-22 23:59:20 +11:00
2023-05-19 20:38:51 +02:00
2022-09-23 16:56:52 -04:00
2024-07-02 12:46:48 +02:00
2023-12-12 22:51:23 +01:00
2023-12-12 22:51:23 +01:00
2024-08-22 21:33:46 +00:00
2024-10-26 18:31:39 +02:00
2023-06-01 14:45:24 -04:00
2023-10-11 17:52:23 +02:00
2024-11-28 10:03:46 +01:00
2024-11-19 13:55:55 +01:00
2024-11-06 12:54:50 +01:00
2023-10-11 17:52:23 +02:00
2024-10-18 12:59:08 +02:00
2023-07-22 11:56:41 +02:00
2024-12-08 17:13:38 +01:00
2024-10-26 18:31:39 +02:00
2024-01-31 21:08:34 -05:00
2024-11-05 10:00:09 +00:00
2024-10-26 18:31:39 +02:00
2024-10-26 18:31:39 +02:00
2024-11-22 23:59:20 +11:00
2024-10-26 18:31:39 +02:00
2024-06-14 15:25:07 +02:00
2024-07-05 19:05:15 -04:00
2024-12-11 20:29:46 +01:00
2023-06-01 14:45:25 -04:00
2023-06-01 14:45:25 -04:00
2024-12-11 20:29:46 +01:00
2024-06-17 14:50:09 +02:00
2024-10-17 14:04:37 +02:00
2024-10-17 14:04:37 +02:00
2024-06-13 13:29:39 +02:00
2024-11-12 14:02:15 +01:00
2024-07-27 00:05:57 +02:00
2023-06-01 14:45:25 -04:00
2024-11-12 14:02:15 +01:00
2024-10-26 18:31:39 +02:00
2023-05-19 20:38:51 +02:00
2024-10-20 14:10:17 +02:00
2024-11-05 10:01:49 +00:00
2024-11-05 10:01:49 +00:00
2024-06-14 15:25:07 +02:00
2024-11-06 21:04:31 +03:00
2024-11-05 10:01:49 +00:00
2023-03-15 17:52:45 +01:00
2024-06-20 10:21:42 +02:00
2024-11-13 15:05:56 +01:00
2024-06-20 10:21:42 +02:00
2024-06-13 13:29:39 +02:00
2024-11-12 14:02:15 +01:00
2023-08-29 00:38:08 +02:00
2024-11-07 15:55:16 +01:00
2024-06-14 15:25:07 +02:00
2023-06-06 12:13:05 -04:00
2024-10-26 18:31:39 +02:00
2024-06-14 15:25:07 +02:00
2024-07-26 13:50:45 +02:00
2024-07-26 13:50:13 +02:00
2024-07-26 13:50:39 +02:00