summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS1
-rw-r--r--lib/network/drakfirewall.pm6
-rw-r--r--lib/network/drakfirewall6.pm6
3 files changed, 13 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 847e645..e899ce7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- drakfirewall:
o add support for SANE server
+ o add support for network printer/scanner autodiscovery (mga#26912)
o exclude NM wireless config files when building interface list (mga#8960)
2.51
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,