summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-09-18 11:07:35 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-09-18 11:07:35 +0100
commitd72f1991b05e26450d540aab740b355270b5132c (patch)
treee84a763ce06050384837fa0c2f3821248739acfc /lib
parent6695e89f77c13e39c612886d94d5e8aa458ac9a0 (diff)
downloaddrakx-net-d72f1991b05e26450d540aab740b355270b5132c.tar
drakx-net-d72f1991b05e26450d540aab740b355270b5132c.tar.gz
drakx-net-d72f1991b05e26450d540aab740b355270b5132c.tar.bz2
drakx-net-d72f1991b05e26450d540aab740b355270b5132c.tar.xz
drakx-net-d72f1991b05e26450d540aab740b355270b5132c.zip
drakfirewall: add support for network printer/scanner autodiscovery (mga#26912)
Diffstat (limited to 'lib')
-rw-r--r--lib/network/drakfirewall.pm6
-rw-r--r--lib/network/drakfirewall6.pm6
2 files changed, 12 insertions, 0 deletions
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
@@ -112,6 +112,12 @@ my @all_servers =
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',
hide => 1,
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
@@ -113,6 +113,12 @@ my @all_servers =
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',
hide => 1,