<?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 add protocols to add-service-tcp in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-protocols-to-add-service-tcp/m-p/2656#M166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a way to add a service with the API with the standard protocols.&amp;nbsp; For example, add-service-tcp for port 8000 that uses the http protocol.&amp;nbsp; Instead of creating a generic tcp 8000 object, we'd like to create an http object that runs on 8000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2016 19:25:06 GMT</pubDate>
    <dc:creator>Chris_Gage</dc:creator>
    <dc:date>2016-08-31T19:25:06Z</dc:date>
    <item>
      <title>add protocols to add-service-tcp</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-protocols-to-add-service-tcp/m-p/2656#M166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a way to add a service with the API with the standard protocols.&amp;nbsp; For example, add-service-tcp for port 8000 that uses the http protocol.&amp;nbsp; Instead of creating a generic tcp 8000 object, we'd like to create an http object that runs on 8000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 19:25:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-protocols-to-add-service-tcp/m-p/2656#M166</guid>
      <dc:creator>Chris_Gage</dc:creator>
      <dc:date>2016-08-31T19:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: add protocols to add-service-tcp</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-protocols-to-add-service-tcp/m-p/2657#M167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;This is possible in API version 1.1 which is a part of R80.10!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to call &lt;STRONG&gt;add-service-tcp&lt;/STRONG&gt; command with the next payload:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "match-by-protocol-signature": "true",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "name": "http_on_8000",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "port": "8000",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "protocol": "http"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLI example:&lt;/P&gt;&lt;P&gt; mgmt_cli -r true add service-tcp name http_on_8000 protocol http port 8000 match-by-protocol-signature true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documentation reference: &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/add-service-tcp~v1.1" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/add-service-tcp~v1.1"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/add-service-tcp~v1.1&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 10:27:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-protocols-to-add-service-tcp/m-p/2657#M167</guid>
      <dc:creator>Eugene_Grybinny</dc:creator>
      <dc:date>2017-05-10T10:27:51Z</dc:date>
    </item>
  </channel>
</rss>

