networkException
dcfac3a3f9
parse-helpers: allow port 0 for socket bind items
...
This patch adds a new parameter to parse_ip_port_range, giving callers
the option to allow ranges to have their min be 0 instead of 1.
This is then used by parse_ip_ports_token, intern used by
parse_socket_bind_item to allow port 0 when restricting bind system
calls with SocketBindDeny / SocketBindAllow.
With this, users running server software written using the golang
standard library will be able to effectively sandbox their software,
albeit with a small loss in security protections by allowing the
process to bind on a random port in the
/proc/sys/net/ipv4/ip_local_port_range.
2024-01-06 08:27:14 +09:00
..
2023-12-21 19:15:01 +01:00
2023-12-28 18:26:52 +08:00
2023-08-16 12:52:56 +02:00
2023-10-31 18:32:13 +01:00
2023-08-09 20:44:57 +08:00
2023-08-13 13:02:58 +08:00
2023-12-25 01:56:40 +09:00
2023-12-23 03:52:21 +09:00
2023-12-13 17:35:22 +01:00
2023-11-06 14:39:01 +01:00
2023-11-06 14:39:01 +01:00
2023-11-13 13:27:07 +01:00
2023-12-11 10:51:56 +00:00
2023-09-23 00:13:06 +08:00
2023-09-19 21:45:27 +08:00
2024-01-03 11:53:52 +01:00
2024-01-03 11:53:52 +01:00
2024-01-03 13:37:08 +01:00
2023-11-29 11:04:59 +00:00
2023-10-05 17:10:00 +02:00
2024-01-01 18:42:23 +08:00
2024-01-01 15:57:55 +08:00
2024-01-01 18:42:24 +08:00
2024-01-01 18:42:24 +08:00
2023-11-02 14:09:23 +01:00
2023-12-13 09:58:45 +01:00
2023-10-26 09:28:29 +02:00
2023-10-18 14:39:33 +02:00
2023-12-21 19:15:01 +01:00
2023-12-21 19:15:01 +01:00
2023-10-18 14:39:33 +02:00
2023-09-11 12:24:23 +01:00
2023-12-25 20:17:48 +09:00
2023-09-27 12:10:46 +02:00
2024-01-04 23:18:28 +09:00
2023-11-13 00:46:39 +09:00
2023-10-24 13:37:10 +02:00
2023-08-14 18:46:08 +02:00
2024-01-05 17:20:05 +01:00
2024-01-05 17:20:05 +01:00
2023-12-25 01:56:40 +09:00
2023-11-28 20:23:45 +00:00
2023-10-26 22:30:42 +02:00
2023-10-19 18:03:21 +01:00
2023-10-19 18:03:21 +01:00
2024-01-04 16:51:57 +08:00
2023-10-16 12:08:39 +02:00
2023-12-25 01:56:40 +09:00
2023-12-13 17:35:22 +01:00
2023-11-03 09:30:24 +01:00
2023-12-18 10:27:27 +01:00
2024-01-03 08:40:33 +09:00
2024-01-03 08:40:33 +09:00
2023-10-23 11:23:56 +01:00
2023-10-23 11:23:56 +01:00
2024-01-02 17:48:53 +01:00
2023-09-27 11:51:13 +02:00
2023-12-27 11:15:48 +01:00
2023-10-31 17:15:21 +09:00
2023-10-31 17:15:21 +09:00
2023-11-23 11:39:07 +00:00
2023-08-15 18:34:46 +00:00
2023-08-14 10:27:57 +02:00
2023-08-14 10:27:57 +02:00
2023-12-28 20:44:01 +08:00
2024-01-04 22:56:33 +01:00
2023-11-03 09:30:24 +01:00
2023-09-27 18:10:11 +00:00
2023-11-03 09:30:24 +01:00
2023-12-01 19:45:02 +09:00
2023-12-25 02:13:49 +09:00
2023-12-25 20:01:32 +09:00
2023-12-25 17:47:18 +08:00
2023-12-25 01:56:40 +09:00
2023-08-09 17:53:46 +09:00
2023-12-06 23:37:32 +01:00
2023-10-11 10:10:49 +02:00
2023-08-24 15:25:38 +02:00
2024-01-05 12:43:06 +01:00
2023-12-27 22:38:42 +08:00
2023-12-10 14:08:46 +09:00
2023-10-17 14:36:54 +02:00
2023-12-25 01:56:40 +09:00
2023-12-14 18:57:05 +09:00
2023-08-29 17:06:47 +03:00
2024-01-03 11:23:27 +01:00
2024-01-03 11:23:27 +01:00
2023-10-05 19:09:12 +02:00
2023-12-25 15:38:59 +09:00
2023-09-19 10:05:38 +02:00
2023-12-25 01:56:40 +09:00
2023-09-22 08:17:42 +02:00
2023-09-22 08:17:42 +02:00
2023-11-09 05:13:27 +09:00
2023-11-09 05:13:27 +09:00
2023-10-20 10:43:50 +02:00
2024-01-05 14:45:15 +01:00
2024-01-05 14:45:15 +01:00
2023-08-16 12:52:56 +02:00
2023-07-28 19:34:03 +01:00
2023-08-29 11:25:52 +02:00
2023-12-25 18:26:59 +01:00
2023-11-11 12:33:19 +00:00
2023-11-11 12:33:19 +00:00
2023-12-25 01:29:38 +09:00
2023-08-08 15:41:43 +02:00
2023-10-31 17:15:21 +09:00
2024-01-04 23:21:39 +01:00
2023-09-26 13:26:22 +09:00
2023-12-13 17:35:22 +01:00
2023-12-13 17:35:22 +01:00
2023-12-25 01:56:40 +09:00
2023-12-14 08:50:44 +00:00
2023-12-14 08:50:44 +00:00
2023-10-19 18:31:44 +09:00
2024-01-03 18:38:46 +01:00
2023-12-06 22:12:48 +01:00
2023-12-25 20:17:48 +09:00
2023-12-14 13:13:45 +09:00
2023-11-01 00:50:43 +00:00
2023-12-19 19:15:52 +09:00
2023-12-19 19:15:52 +09:00
2023-12-25 15:38:59 +09:00
2023-08-17 09:48:17 +02:00
2023-12-19 13:14:16 +03:00
2023-12-19 13:14:16 +03:00
2023-11-02 14:09:23 +01:00
2024-01-04 12:26:40 +01:00
2024-01-04 12:26:40 +01:00
2024-01-06 08:27:14 +09:00
2023-08-17 13:23:39 +02:00
2023-10-23 11:24:18 +01:00
2023-10-23 11:24:18 +01:00
2023-09-29 21:54:16 +02:00
2023-09-29 21:54:16 +02:00
2024-01-05 12:14:26 +01:00
2024-01-05 12:32:36 +03:00
2023-11-13 14:17:05 +00:00
2023-11-13 14:17:05 +00:00
2023-12-07 15:35:54 +01:00
2023-11-22 08:59:23 +09:00
2023-12-21 19:15:01 +01:00
2023-12-21 19:15:01 +01:00
2023-08-04 00:24:54 +01:00
2023-08-04 00:24:54 +01:00
2023-08-13 12:54:56 +08:00
2023-08-13 12:54:56 +08:00
2023-07-21 14:22:53 +02:00
2023-07-28 19:34:03 +01:00
2023-12-25 01:56:40 +09:00
2023-10-24 13:37:10 +02:00
2023-12-03 18:01:30 +09:00
2023-08-21 18:50:29 +02:00
2023-12-05 19:25:50 +00:00
2023-11-11 12:33:19 +00:00
2023-11-17 17:47:37 +01:00
2023-11-17 17:47:37 +01:00
2023-10-30 11:34:21 +00:00
2023-10-27 17:57:03 +08:00
2023-12-18 10:28:03 +01:00
2023-12-05 17:20:27 +00:00
2023-09-02 19:47:58 +08:00
2023-12-24 02:02:18 +09:00
2023-12-24 02:02:18 +09:00
2023-11-03 11:19:46 +01:00
2023-11-03 11:19:46 +01:00
2024-01-05 11:34:46 +01:00
2024-01-05 11:34:46 +01:00
2023-11-13 19:18:23 +01:00
2023-11-13 19:18:23 +01:00
2023-08-21 23:15:12 +02:00
2024-01-05 14:44:59 +01:00
2023-08-24 13:20:39 +02:00
2023-07-28 19:34:03 +01:00
2024-01-05 12:43:06 +01:00
2023-11-28 17:46:01 +08:00
2024-01-01 19:13:14 +01:00
2023-12-25 01:56:40 +09:00
2023-10-14 17:40:07 +02:00
2023-10-06 11:49:38 +02:00
2023-12-21 19:19:12 +01:00
2023-12-21 19:19:12 +01:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-12-22 11:54:43 +09:00
2023-12-22 11:54:43 +09:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-10-06 11:49:38 +02:00
2023-11-28 04:10:25 +09:00
2023-10-06 11:49:38 +02:00
2023-11-07 14:25:40 +01:00
2023-11-01 12:50:52 +01:00
2023-10-16 12:08:39 +02:00
2023-10-16 12:08:39 +02:00
2023-10-26 11:52:07 +01:00
2023-10-06 11:49:38 +02:00
2023-11-28 04:10:25 +09:00
2023-10-06 11:49:38 +02:00
2024-01-03 11:54:48 +01:00
2024-01-03 11:53:29 +01:00
2023-12-02 16:59:07 +01:00
2024-01-05 19:08:12 +09:00
2024-01-05 19:08:12 +09:00
2023-12-22 23:06:49 +08:00
2023-09-09 03:19:22 +08:00