Mark Andrews
b51c9eb797
Properly reject zero length ALPN in commatxt_fromtext
...
ALPN are defined as 1*255OCTET in RFC 9460. commatxt_fromtext was not
rejecting invalid inputs produces by missing a level of escaping
which where later caught be dns_rdata_fromwire on reception.
These inputs should have been rejected
svcb in svcb 1 1.svcb alpn=\,abc
svcb1 in svcb 1 1.svcb alpn=a\,\,abc
and generated 00 03 61 62 63 and 01 61 00 02 61 62 63 respectively.
The correct inputs to include commas in the alpn requires double
escaping.
svcb in svcb 1 1.svcb alpn=\\,abc
svcb1 in svcb 1 1.svcb alpn=a\\,\\,abc
and generate 04 2C 61 62 63 and 06 61 2C 2C 61 62 63 respectively.
2024-08-01 10:20:55 +10:00
..
2024-06-10 17:33:10 +02:00
2024-05-07 11:20:49 +10:00
2023-08-21 18:39:53 +02:00
2023-10-13 14:44:40 +02:00
2024-07-31 14:46:45 +10:00
2023-07-31 15:51:15 +02:00
2023-02-16 18:35:32 +01:00
2024-06-10 16:55:09 +02:00
2024-03-08 15:36:56 -08:00
2024-05-09 08:17:44 +10:00
2024-04-02 10:35:56 +02:00
2023-02-07 23:48:22 -08:00
2023-09-12 16:14:10 +02:00
2024-07-01 12:47:30 +02:00
2024-06-10 16:55:09 +02:00
2023-02-28 11:44:15 +01:00
2024-03-08 15:36:56 -08:00
2024-03-04 16:34:14 +01:00
2023-07-27 11:37:44 +02:00
2023-09-13 14:31:43 +10:00
2024-03-08 15:36:56 -08:00
2024-01-25 15:37:40 +01:00
2024-04-26 16:12:29 +03:00
2024-04-26 16:08:46 +03:00
2022-03-25 08:33:43 +01:00
2024-02-14 13:24:56 +01:00
2024-01-25 14:48:07 +01:00
2023-04-03 12:06:04 +10:00
2023-08-09 23:48:17 +00:00
2023-03-08 08:36:25 +01:00
2023-02-16 17:51:55 +01:00
2023-02-15 16:44:47 +00:00
2022-01-11 09:05:02 +01:00
2024-03-14 10:25:07 -07:00
2024-02-08 08:01:58 +01:00
2022-01-11 09:05:02 +01:00
2023-02-15 16:44:47 +00:00
2023-08-31 12:53:32 -07:00
2023-06-29 08:28:48 +10:00
2023-08-31 22:08:35 +02:00
2023-10-13 14:44:40 +02:00
2023-08-31 22:08:35 +02:00
2024-04-19 10:41:04 +02:00
2024-01-25 14:47:43 +01:00
2022-01-11 09:05:02 +01:00
2024-07-30 10:58:54 +02:00
2024-01-25 15:37:40 +01:00
2024-03-14 10:25:07 -07:00
2023-03-23 12:57:01 -07:00
2024-03-08 15:36:56 -08:00
2024-05-07 10:01:12 +10:00
2023-12-06 17:31:38 -08:00
2024-06-10 17:36:45 +02:00
2024-04-30 12:50:01 -07:00
2024-04-30 12:50:01 -07:00
2024-04-17 17:14:34 +02:00
2023-12-21 20:12:09 +11:00
2023-03-08 08:36:25 +01:00
2024-04-02 10:35:56 +02:00
2024-02-08 08:01:58 +01:00
2023-08-15 12:21:41 +02:00
2023-03-08 08:36:25 +01:00
2024-01-25 14:48:07 +01:00
2023-09-01 12:01:20 +10:00
2024-01-25 14:48:07 +01:00
2022-11-29 08:54:34 +01:00
2023-01-09 12:15:21 -08:00
2023-10-17 17:47:46 +02:00
2023-12-20 17:21:14 +01:00
2023-09-28 00:32:39 -07:00
2024-05-16 09:49:41 +00:00
2024-03-08 15:36:56 -08:00
2024-07-01 12:48:51 +02:00
2024-03-06 20:57:31 -08:00
2024-07-01 12:47:30 +02:00
2024-06-10 16:55:09 +02:00
2024-06-10 16:55:09 +02:00
2024-02-29 11:23:03 +01:00
2024-07-01 12:47:30 +02:00
2024-07-01 12:48:51 +02:00
2023-03-08 08:36:25 +01:00
2024-08-01 10:20:55 +10:00
2023-07-17 14:50:25 +02:00
2023-08-31 22:08:35 +02:00
2023-02-28 11:44:15 +01:00
2024-06-10 16:55:07 +02:00
2023-08-31 22:08:35 +02:00
2024-02-07 09:52:32 +11:00
2024-02-13 09:21:49 +11:00
2024-06-10 17:33:11 +02:00
2023-06-15 15:32:04 +02:00
2024-03-06 10:49:02 +01:00
2024-04-02 10:35:56 +02:00
2023-08-15 12:21:41 +02:00
2024-04-23 13:11:52 +02:00
2024-04-10 22:51:07 -04:00
2022-03-25 08:33:43 +01:00
2023-02-15 16:44:47 +00:00
2023-10-13 14:44:40 +02:00
2023-11-21 14:48:43 +11:00
2022-05-28 14:53:02 -07:00
2023-03-31 13:33:16 +02:00
2023-07-28 14:37:32 +10:00
2024-01-12 13:27:59 +02:00
2023-06-14 08:14:38 +00:00
2024-01-05 11:16:12 +01:00
2023-02-15 16:44:47 +00:00
2024-04-18 09:50:33 +02:00
2024-04-22 12:32:36 +10:00
2024-06-10 16:55:09 +02:00
2024-05-29 08:30:19 +02:00
2024-01-25 14:48:07 +01:00
2024-06-10 16:55:12 +02:00
2022-11-29 08:54:34 +01:00
2024-05-16 10:27:49 +10:00
2024-04-30 12:50:01 -07:00