summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2017-12-18 21:59:57 -0500
committerMichael Sweet <michael.r.sweet@gmail.com>2017-12-18 21:59:57 -0500
commit3f76968f9939db8a7a0cde7a5f9e343fddf0e966 (patch)
treeb4d8db05cc5acb16d40d3c98e43cc131593727ca /doc
parent5e1c3dff006f26f2c785a1221b85e04ac19ac14a (diff)
Expand a bit on the firewall documentation (Issue #5202)
Diffstat (limited to 'doc')
-rw-r--r--doc/cups-printable.css5
-rw-r--r--doc/cups.css5
-rw-r--r--doc/help/firewalls.html44
3 files changed, 42 insertions, 12 deletions
diff --git a/doc/cups-printable.css b/doc/cups-printable.css
index e9cf6286d..2742850d7 100644
--- a/doc/cups-printable.css
+++ b/doc/cups-printable.css
@@ -17,9 +17,14 @@ PRE {
BLOCKQUOTE {
border-left: solid 2px #777;
+ margin: 1em 0;
padding: 10px;
}
+BLOCKQUOTE OL LI {
+ margin-left: -1em;
+}
+
PRE.command, PRE.example {
background: #eee;
margin: 0 36pt;
diff --git a/doc/cups.css b/doc/cups.css
index 7c5c623cd..48d4acd78 100644
--- a/doc/cups.css
+++ b/doc/cups.css
@@ -122,9 +122,14 @@ PRE {
BLOCKQUOTE {
border-left: solid 2px #777;
+ margin: 1em 0;
padding: 10px;
}
+BLOCKQUOTE OL LI {
+ margin-left: -1em;
+}
+
PRE.command, PRE.example {
background: #eee;
margin: 0 36pt;
diff --git a/doc/help/firewalls.html b/doc/help/firewalls.html
index 2f60e499f..5b1c6faaf 100644
--- a/doc/help/firewalls.html
+++ b/doc/help/firewalls.html
@@ -12,30 +12,50 @@
<h2 class="title">Ports Used for Printer Sharing</h2>
- <p>The following ports are used for printer sharing:</p>
+ <p>Table 1 lists the ports that are used for IPP printer sharing via CUPS.</p>
- <div class="table"><table summary="Ports Used for Printer Sharing">
+ <div class="table"><table summary="Ports Used for IPP Printer Sharing">
+ <caption>Table 1: Ports Used for IPP Printer Sharing</caption>
<thead>
- <tr><th>Port</th><th>TCP/UDP</th><th>Description</th></tr>
+ <tr><th>(Destination) Port</th><th>TCP/UDP</th><th>Direction</th><th>Description</th></tr>
</thead>
<tbody>
- <tr><td>53&nbsp;(DNS)</td><td>TCP/UDP</td><td>Domain Name System lookups and service registrations.</td></tr>
- <tr><td>137&nbsp;(WINS)</td><td>UDP</td><td>Windows Internet Naming Service (name lookup for SMB printing).</td></tr>
- <tr><td>139&nbsp;(SMB)</td><td>TCP</td><td>Windows SMB printing.</td></tr>
- <tr><td>445&nbsp;(SMBDS)</td><td>TCP</td><td>Windows SMB Domain Server (authenticated SMB printing).</td></tr>
- <tr><td>631&nbsp;(IPP/IPPS)</td><td>TCP</td><td>Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.)</td></tr>
- <tr><td>5353&nbsp;(mDNS)</td><td>UDP</td><td>Multicast DNS lookups and service registrations.</td></tr>
+ <tr><td>53&nbsp;(DNS)</td><td>TCP/UDP</td><td>OUT</td><td>Domain Name System lookups and service registrations.</td></tr>
+ <tr><td>631&nbsp;(IPP/IPPS)</td><td>TCP</td><td>IN</td><td>Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.)</td></tr>
+ <tr><td>5353&nbsp;(mDNS)</td><td>UDP</td><td>IN+OUT</td><td>Multicast DNS lookups and service registrations.</td></tr>
+ </tbody>
+ </table></div>
+
+ <p>Table 2 lists the ports that are used for SMB (Windows) printer sharing, typically via the Samba software.</p>
+
+ <div class="table"><table summary="Ports Used for SMB Printer Sharing">
+ <caption>Table 2: Ports Used for SMB Printer Sharing</caption>
+ <thead>
+ <tr><th>(Destination) Port(s)</th><th>TCP/UDP</th><th>Direction</th><th>Description</th></tr>
+ </thead>
+ <tbody>
+ <tr><td>137&nbsp;(WINS)</td><td>UDP</td><td>IN+OUT</td><td>Windows Internet Naming Service (name lookup for SMB printing).</td></tr>
+ <tr><td>139&nbsp;(SMB)</td><td>TCP</td><td>IN</td><td>Windows SMB printing.</td></tr>
+ <tr><td>445&nbsp;(SMBDS)</td><td>TCP</td><td>IN+OUT</td><td>Windows SMB Domain Server (authenticated SMB printing).</td></tr>
</tbody>
</table></div>
<h2 class="title">Ports Used for Network Printers</h2>
- <p>The following ports are used for network printers:</p>
+ <p>Table 3 lists the outgoing ports that are used for network printers.</p>
+
+ <blockquote><b>Notes:</b>
+ <ol>
+ <li>DNS and mDNS are used for all printing protocols except SMB.</li>
+ <li>SNMP is used to provide status and supply level information for AppSocket and LPD printers.</li>
+ </ol>
+ </blockquote>
- <div class="table"><table summary="Ports Used for Network Printers">
+ <div class="table"><table summary="Outgoing Ports Used for Network Printers">
+ <caption>Table 3: Outgoing Ports Used for Network Printers</caption>
<thead>
- <tr><th>Port(s)</th><th>TCP/UDP</th><th>Description</th></tr>
+ <tr><th>(Destination) Port(s)</th><th>TCP/UDP</th><th>Description</th></tr>
</thead>
<tbody>
<tr><td>53&nbsp;(DNS)</td><td>TCP/UDP</td><td>Domain Name System lookups.</td></tr>