Extend PacketDumper to be used also by nEdge. Add Max Extracted PCAP Files setting.

This commit is contained in:
Alfredo Cardigliano 2025-09-19 11:03:25 +02:00
parent 626686b35d
commit 7947c06a65
9 changed files with 117 additions and 39 deletions

View file

@ -710,19 +710,24 @@ local menu_subpages = {{
label = i18n("prefs.recording"),
advanced = false,
pro_only = false,
hidden = (not recording_utils.isAvailable()),
hidden = (not recording_utils.isAvailable() and not have_nedge),
entries = {
n2disk_license = {
title = i18n("prefs.n2disk_license_title"),
description = i18n("prefs.n2disk_license_description", {
purchase_url = 'http://shop.ntop.org/',
universities_url = 'http://www.ntop.org/support/faq/do-you-charge-universities-no-profit-and-research/'
})
}),
hidden = have_nedge
},
max_extracted_pcap_bytes = {
title = i18n("traffic_recording.max_extracted_pcap_bytes_title"),
description = i18n("traffic_recording.max_extracted_pcap_bytes_description")
}
},
max_extracted_pcap_files = {
title = i18n("traffic_recording.max_extracted_pcap_files_title"),
description = i18n("traffic_recording.max_extracted_pcap_files_description"),
},
}
}, {
id = "updates",