<?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: How could I retrieve IPS sig policy? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918988#M85674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the CLI service account...not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POST &lt;A class="jive-link-custom" href="https://192.168.0.1:443/cgi-bin/transaction-server?command=getVersion" target="_blank"&gt;https://192.168.0.1:443/cgi-bin/transaction-server?command=getVersion&lt;/A&gt; HTTP/1.1&lt;/P&gt;&lt;P&gt;Accept: text/xml&lt;/P&gt;&lt;P&gt;Content-type: xml/txt&lt;/P&gt;&lt;P&gt;Accept-Charset: iso-8859-1,*,utf-8&lt;/P&gt;&lt;P&gt;User-Agent: CIDS Client/4.0&lt;/P&gt;&lt;P&gt;Host: 192.168.0.1&lt;/P&gt;&lt;P&gt;Pragma: no-cache&lt;/P&gt;&lt;P&gt;Cache-Control: no-cache&lt;/P&gt;&lt;P&gt;Proxy-Connection: keep-alive&lt;/P&gt;&lt;P&gt;Content-Length: 165&lt;/P&gt;&lt;P&gt;Cookie: userToken=b073d751b70c5c9d0e311baf11f9239a;dummy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;REQUEST xmlns="&amp;lt;a class=" jive-link-custom=""&gt;http://www.cisco.com/cids/idconf" xmlns:id="&lt;A class="jive-link-custom" href="http://www.cisco.com/cids/idiom" target="_blank"&gt;http://www.cisco.com/cids/idiom&lt;/A&gt;" &amp;gt;&lt;/REQUEST&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 19:45:07 GMT</pubDate>
    <dc:creator>mhellman</dc:creator>
    <dc:date>2007-09-24T19:45:07Z</dc:date>
    <item>
      <title>How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918981#M85658</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to find out if it is possible to retrieve an active IPS signature policy from the device?  I would like to obtain a complete policy currently running on the sensor not via CLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.  I was under the assumption that the sensor will store its policy in XML format on the file system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 10:48:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918981#M85658</guid>
      <dc:creator>gdntsoc</dc:creator>
      <dc:date>2019-03-10T10:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918982#M85662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but you have to merge the default policy XML with the instance policy XML(you may also have to uncompress the files)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the service account and scp.  The relevant files are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy name = sig0&lt;/P&gt;&lt;P&gt;/usr/cids/idsRoot/etc/config/signatureDefinition/default.xml&lt;/P&gt;&lt;P&gt;/usr/cids/idsRoot/etc/config/signatureDefinition/instances/sig0.xml&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also fetch them via HTTP(s), but you still have to merge them to get a complete configuration. If you want the POST examples on how to do this, let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 16:42:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918982#M85662</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2007-09-24T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918983#M85665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the POST example would be helpful. (A GET would be best.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there an xsd/dtd for this xml?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 18:11:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918983#M85665</guid>
      <dc:creator>gdntsoc</dc:creator>
      <dc:date>2007-09-24T18:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918984#M85667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe you can use a GET, but not sure.  If you find a way to do this using GET or without having to merge, I'd love to know.  Anyway, here is the POST to get sig0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POST &lt;A class="jive-link-custom" href="https://192.168.0.1:443/cgi-bin/transaction-server?command=getConfigDelta" target="_blank"&gt;https://192.168.0.1:443/cgi-bin/transaction-server?command=getConfigDelta&lt;/A&gt; HTTP/1.1&lt;/P&gt;&lt;P&gt;Accept: text/xml&lt;/P&gt;&lt;P&gt;Content-type: xml/txt&lt;/P&gt;&lt;P&gt;Accept-Charset: iso-8859-1,*,utf-8&lt;/P&gt;&lt;P&gt;User-Agent: CIDS Client/4.0&lt;/P&gt;&lt;P&gt;Host: 192.168.0.1&lt;/P&gt;&lt;P&gt;Pragma: no-cache&lt;/P&gt;&lt;P&gt;Cache-Control: no-cache&lt;/P&gt;&lt;P&gt;Proxy-Connection: keep-alive&lt;/P&gt;&lt;P&gt;Content-Length: 281&lt;/P&gt;&lt;P&gt;Cookie: userToken=6ae4bce4e291a20ecc8676bc071e507c;dummy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;REQUEST xmlns="&amp;lt;a class=" jive-link-custom=""&gt;http://www.cisco.com/cids/idconf" xmlns:id="&lt;A class="jive-link-custom" href="http://www.cisco.com/cids/idiom" target="_blank"&gt;http://www.cisco.com/cids/idiom&lt;/A&gt;" &amp;gt;&lt;GETCONFIGDELTA&gt;&lt;COMPONENT name="signatureDefinition"&gt;&lt;INSTANCENAME&gt;sig0&lt;/INSTANCENAME&gt;&lt;/COMPONENT&gt;&lt;/GETCONFIGDELTA&gt;&lt;/REQUEST&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If memory serves, you can add credentials to the request URL and then not have to worry about messing about with cookies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also attached a curl sample. It's for a different function, but I think you get the drift.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 18:20:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918984#M85667</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2007-09-24T18:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918985#M85670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;curl example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 18:22:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918985#M85670</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2007-09-24T18:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918986#M85672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let's try this again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 18:24:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918986#M85672</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2007-09-24T18:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918987#M85673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, a side question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you also tell me if a license status (expiration date) could be retrieved or obtained   as a file or query from the IPS sensor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 19:29:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918987#M85673</guid>
      <dc:creator>gdntsoc</dc:creator>
      <dc:date>2007-09-24T19:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918988#M85674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the CLI service account...not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POST &lt;A class="jive-link-custom" href="https://192.168.0.1:443/cgi-bin/transaction-server?command=getVersion" target="_blank"&gt;https://192.168.0.1:443/cgi-bin/transaction-server?command=getVersion&lt;/A&gt; HTTP/1.1&lt;/P&gt;&lt;P&gt;Accept: text/xml&lt;/P&gt;&lt;P&gt;Content-type: xml/txt&lt;/P&gt;&lt;P&gt;Accept-Charset: iso-8859-1,*,utf-8&lt;/P&gt;&lt;P&gt;User-Agent: CIDS Client/4.0&lt;/P&gt;&lt;P&gt;Host: 192.168.0.1&lt;/P&gt;&lt;P&gt;Pragma: no-cache&lt;/P&gt;&lt;P&gt;Cache-Control: no-cache&lt;/P&gt;&lt;P&gt;Proxy-Connection: keep-alive&lt;/P&gt;&lt;P&gt;Content-Length: 165&lt;/P&gt;&lt;P&gt;Cookie: userToken=b073d751b70c5c9d0e311baf11f9239a;dummy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;REQUEST xmlns="&amp;lt;a class=" jive-link-custom=""&gt;http://www.cisco.com/cids/idconf" xmlns:id="&lt;A class="jive-link-custom" href="http://www.cisco.com/cids/idiom" target="_blank"&gt;http://www.cisco.com/cids/idiom&lt;/A&gt;" &amp;gt;&lt;/REQUEST&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 19:45:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918988#M85674</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2007-09-24T19:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918989#M85675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get an error from a CIDS v6.x when issuing /cgi-bin/transaction-server?command=getVersion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;ERROR xmlns="&amp;lt;a class=" jive-link-custom=""&gt;http://www.cisco.com/cids/idiom" schemaVersion="2.00"&amp;gt;&lt;ERRORMESSAGE name="errInvalidDocument"&gt;XML Parser error at line: 1, at character: -1: no element found&lt;/ERRORMESSAGE&gt;&lt;/ERROR&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 19:56:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918989#M85675</guid>
      <dc:creator>gdntsoc</dc:creator>
      <dc:date>2007-09-24T19:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918990#M85676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I answered my own question.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For future references, the license details are stored under &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/usr/cids/idsRoot/shared/ips.lic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 20:02:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918990#M85676</guid>
      <dc:creator>gdntsoc</dc:creator>
      <dc:date>2007-09-24T20:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918991#M85677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good to know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 20:09:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918991#M85677</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2007-09-24T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918992#M85678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've mentioned in your previous post that policy sig0 could be retrieved via HTTP post method or scp a copy of the individual files (default.xml).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to pull instance policy XML by referencing getConfigDelta from the transaction server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide an example on how would one go about fetching default policy from the sensor via HTTP post or other methods?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the default.xml file, it appears to be encrypted or compressed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 14:33:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918992#M85678</guid>
      <dc:creator>gdntsoc</dc:creator>
      <dc:date>2007-10-02T14:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How could I retrieve IPS sig policy?</title>
      <link>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918993#M85679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is compressed.  you can get it via scp here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/usr/cids/idsRoot/etc/config/signatureDefinition/default.xml&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and via an HTTP POST:&lt;/P&gt;&lt;P&gt;POST &lt;A class="jive-link-custom" href="https://192.168.1.1:443/cgi-bin/transaction-server?command=getDefaultConfig" target="_blank"&gt;https://192.168.1.1:443/cgi-bin/transaction-server?command=getDefaultConfig&lt;/A&gt; HTTP/1.1&lt;/P&gt;&lt;P&gt;Accept: text/xml&lt;/P&gt;&lt;P&gt;Content-type: xml/txt&lt;/P&gt;&lt;P&gt;Accept-Charset: iso-8859-1,*,utf-8&lt;/P&gt;&lt;P&gt;User-Agent: CIDS Client/4.0&lt;/P&gt;&lt;P&gt;Host: 192.168.1.1&lt;/P&gt;&lt;P&gt;Pragma: no-cache&lt;/P&gt;&lt;P&gt;Cache-Control: no-cache&lt;/P&gt;&lt;P&gt;Proxy-Connection: keep-alive&lt;/P&gt;&lt;P&gt;Content-Length: 252&lt;/P&gt;&lt;P&gt;Cookie: userToken=zzz;dummy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;REQUEST xmlns="&amp;lt;a class=" jive-link-custom=""&gt;http://www.cisco.com/cids/idconf" xmlns:id="&lt;A class="jive-link-custom" href="http://www.cisco.com/cids/idiom" target="_blank"&gt;http://www.cisco.com/cids/idiom&lt;/A&gt;" &amp;gt;&lt;GETDEFAULTCONFIG&gt;&lt;COMPONENTNAME&gt;signatureDefinition&lt;/COMPONENTNAME&gt;&lt;/GETDEFAULTCONFIG&gt;&lt;/REQUEST&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 13:10:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-could-i-retrieve-ips-sig-policy/m-p/918993#M85679</guid>
      <dc:creator>mhellman</dc:creator>
      <dc:date>2007-10-04T13:10:42Z</dc:date>
    </item>
  </channel>
</rss>

