From d72f1991b05e26450d540aab740b355270b5132c Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 18 Sep 2020 11:07:35 +0100 Subject: drakfirewall: add support for network printer/scanner autodiscovery (mga#26912) --- lib/network/drakfirewall.pm | 6 ++++++ lib/network/drakfirewall6.pm | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'lib') diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm index 007ea85..b641c95 100644 --- a/lib/network/drakfirewall.pm +++ b/lib/network/drakfirewall.pm @@ -111,6 +111,12 @@ my @all_servers = ports => '5353/udp 427/udp', pkg => 'avahi cups openslp', }, + { + name => N_("Network printer/scanner autodiscovery"), + # Canon scanner autodiscovery detects responses on UDP port 8612 + ports => '8612/udp', + pkg => 'sane-backends', + }, { name => N_("BitTorrent"), ports => '6881:6999/tcp 6881:6999/udp', diff --git a/lib/network/drakfirewall6.pm b/lib/network/drakfirewall6.pm index 253f092..6832313 100644 --- a/lib/network/drakfirewall6.pm +++ b/lib/network/drakfirewall6.pm @@ -112,6 +112,12 @@ my @all_servers = ports => '5353/udp 427/udp', pkg => 'avahi cups openslp', }, + { + name => N_("Network printer/scanner autodiscovery"), + # Canon scanner autodiscovery detects responses on UDP port 8612 + ports => '8612/udp', + pkg => 'sane-backends', + }, { name => N_("BitTorrent"), ports => '6881:6999/tcp 6881:6999/udp', -- cgit v1.2.1