<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Application or Service Port in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/application-or-service-port/m-p/8466#M6254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Q: Even though ssh and sftp both use port 22, would using the application ssh, prevent sftp from working?&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Would using a service-port 22 would allow sftp to work?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A:&amp;nbsp; Many implementations of sftp use ftp over an ssh connection.&amp;nbsp; If that is the case for you, allowing the ssh app will allow just about anything to travel over that connection.&amp;nbsp; Unless you have the SSH tunneling inspection feature enabled, allowing ssh app should be enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Q:Is it recommended to create my own app override or create a new rule for&amp;nbsp; port 22/service-http? to avoid having to do one app and one service&amp;nbsp; port rule?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A:&amp;nbsp; The PA can detect applications regardless of what ports they are running on when using the "app" feature.&amp;nbsp; For instance, if you use HTTP on port 22, the PA will detect it as "web-browsing."&amp;nbsp; If you use the "service" feature, it will only look for traffic on the port listed.&amp;nbsp;&amp;nbsp; For example, if you allow tcp/22 through without an app restriction, than HTTP over 22 will work, but also telnet over tcp/22, ftp over tcp/22, etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Q: What is the difference between application ssl and service-https? or ssh vs services-ssh?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A:&amp;nbsp; See the above response; PA can detect application usage regardless of port.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2011 14:09:24 GMT</pubDate>
    <dc:creator>mgentile</dc:creator>
    <dc:date>2011-06-10T14:09:24Z</dc:date>
    <item>
      <title>Application or Service Port</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/application-or-service-port/m-p/8465#M6253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoping someone can help me out here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a system that needs to ssh/sftp/http/https.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attempt to define using applications: ssh/ssl but cannot find any for http or sftp. If I search the applipedia for the port, it shows other apps that are on port 80 or 22, however, they are not listed as http or sftp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*EDIT: found app for 80 is listed as web-browsing.. so port 80. doh..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though ssh and sftp both use port 22, would using the application ssh, prevent sftp from working?&lt;/P&gt;&lt;P&gt;Would using a service-port 22 would allow sftp to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it recommended to create my own app override or create a new rule for port 22/service-http? to avoid having to do one app and one service port rule?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between application ssl and service-https? or ssh vs services-ssh?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any clarification,&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 04:22:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/application-or-service-port/m-p/8465#M6253</guid>
      <dc:creator>dc_cubed</dc:creator>
      <dc:date>2011-06-10T04:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Application or Service Port</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/application-or-service-port/m-p/8466#M6254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Q: Even though ssh and sftp both use port 22, would using the application ssh, prevent sftp from working?&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Would using a service-port 22 would allow sftp to work?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A:&amp;nbsp; Many implementations of sftp use ftp over an ssh connection.&amp;nbsp; If that is the case for you, allowing the ssh app will allow just about anything to travel over that connection.&amp;nbsp; Unless you have the SSH tunneling inspection feature enabled, allowing ssh app should be enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Q:Is it recommended to create my own app override or create a new rule for&amp;nbsp; port 22/service-http? to avoid having to do one app and one service&amp;nbsp; port rule?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A:&amp;nbsp; The PA can detect applications regardless of what ports they are running on when using the "app" feature.&amp;nbsp; For instance, if you use HTTP on port 22, the PA will detect it as "web-browsing."&amp;nbsp; If you use the "service" feature, it will only look for traffic on the port listed.&amp;nbsp;&amp;nbsp; For example, if you allow tcp/22 through without an app restriction, than HTTP over 22 will work, but also telnet over tcp/22, ftp over tcp/22, etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Q: What is the difference between application ssl and service-https? or ssh vs services-ssh?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A:&amp;nbsp; See the above response; PA can detect application usage regardless of port.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 14:09:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/application-or-service-port/m-p/8466#M6254</guid>
      <dc:creator>mgentile</dc:creator>
      <dc:date>2011-06-10T14:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Application or Service Port</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/application-or-service-port/m-p/8467#M6255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Don,&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;ssh and sftp is the same application (called „ssh“) for PAN, because for PAN it’s an encrypted tunnel with the same signature. You can only differentiate between ssh and sftp, the data within the encrypted tunnel, if you interrupt this encrypted tunnel by using the ssh-proxy (on the decryption page; requires PAN OS 4.0).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;It’s similar with ssl. From the “outsite” you can see only an encrypted tunnel and you can’t see which data or application is transferred through this tunnel until you interrupt the encryption with the ssl-forward-proxy for outgoing ssl connections or the ssl-inbound-inspection for incoming ssl connections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;http is for PAN more a “transport protocol” than an application. You are right, there is an application that called “web-browsing” but this allows static html code only. If you really want to be sure that your users can work you have to possibilities:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;First the traditionally style: allow the service http and the application any. This means that everything that uses the tcp port 80 is allowed. This works but is not a real secure solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;Second possibility is the PAN style by using dynamic application filters. Add a new application filter. Enter the application filter name “browser-based apps” and select the technology “browser-based”.&lt;BR /&gt;Now you create a security rule, select the “browser-based apps” as application, allow and select application-default on the service row.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;This means that all applications that can be used with an web browser are allowed on their standard ports. The standard port for an application, you can see within the application definition and is working for all apps.&lt;BR /&gt;E.g. if you use the application ssh and allow it on the service application-default, ssh is only allowed on port tcp 22, if you select the application ssh and the service any, than ssh is allowed on all ports. Of cause you can create your own service on tcp port 322 and allow the application ssh only on this port.&lt;BR /&gt;The big advantage for the application-default setting is that you can allow different applications within the same rule. E.g. allow the application ssh and web-browsing with application default means that you you allow ssh only on port tcp 22 and static web sites on port tcp 80.&lt;BR /&gt;But keep attention if you use the applications in the context with the “any” service from untrusted zones like the internet. This means that the PAN allows all incoming connections to the destinations you allowed in this rule and denies only connections after it detects application signatures that are not allowed. This makes it possible for an attacker to scan the open ports of the allowed destinations with a tcp-syn scan. So I would strongly recommend you to use the “application-default” service for rules allowing traffic from untrusted zones.&lt;/P&gt;&lt;P class="MsoNormal"&gt;But now back to your problem with the usage of http. You can see that there are a lot of browser-based applications that are allowed but you may not want e.g. browser based peer-to-peer applications. To avoid this traffic you create a rule before the “browser-based apps” rule that denies all applications you don’t want. Of cause you can use the dynamic application filters for this, too.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;I hope this helps you a little bit and have fun with PAN...&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;Florian&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 10:38:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/application-or-service-port/m-p/8467#M6255</guid>
      <dc:creator>siebi</dc:creator>
      <dc:date>2011-06-13T10:38:27Z</dc:date>
    </item>
  </channel>
</rss>

