aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RELNOTES1
-rw-r--r--src/fnettrace/main.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/RELNOTES b/RELNOTES
index bf56218f6..2922b7765 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -5,6 +5,7 @@ firejail (0.9.73) baseline; urgency=low
5 * feature: a random hostname is assigned to each sandbox unless 5 * feature: a random hostname is assigned to each sandbox unless
6 overwritten using --hostname command 6 overwritten using --hostname command
7 * feature: add IPv6 support for --net.print option 7 * feature: add IPv6 support for --net.print option
8 * feature: QUIC (HTTP/3) support in --nettrace
8 * modif: Stop forwarding own double-dash to the shell (#5599 #5600) 9 * modif: Stop forwarding own double-dash to the shell (#5599 #5600)
9 * modif: Prevent sandbox name (--name=) and host name (--hostname=) 10 * modif: Prevent sandbox name (--name=) and host name (--hostname=)
10 from containing only digits (#5578 #5741) 11 from containing only digits (#5578 #5741)
diff --git a/src/fnettrace/main.c b/src/fnettrace/main.c
index 178ac3631..3eb7a13f5 100644
--- a/src/fnettrace/main.c
+++ b/src/fnettrace/main.c
@@ -351,8 +351,10 @@ static void hnode_print(unsigned bw) {
351 bwline = print_bw(ptr->bytes / bwunit); 351 bwline = print_bw(ptr->bytes / bwunit);
352 352
353 const char *protocol = NULL; 353 const char *protocol = NULL;
354 if (ptr->port_src == 443) 354 if (ptr->port_src == 443 && ptr->protocol == 0x06) // TCP
355 protocol = "(TLS)"; 355 protocol = "(TLS)";
356 else if (ptr->port_src == 443 && ptr->protocol == 0x11) // UDP
357 protocol = "(QUIC)";
356 else if (ptr->port_src == 53) 358 else if (ptr->port_src == 53)
357 protocol = "(DNS)"; 359 protocol = "(DNS)";
358 else if (ptr->port_src == 853) { 360 else if (ptr->port_src == 853) {
@@ -367,6 +369,8 @@ static void hnode_print(unsigned bw) {
367 ; 369 ;
368 else if (ptr->protocol == 0x11) 370 else if (ptr->protocol == 0x11)
369 protocol = "(UDP)"; 371 protocol = "(UDP)";
372 else if (ptr->protocol == 0x06)
373 protocol = "(TCP)";
370 374
371 if (protocol == NULL) 375 if (protocol == NULL)
372 protocol = ""; 376 protocol = "";