<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div id="compose" contenteditable="true" style="padding-left: 16px; padding-right: 16px; padding-bottom: 8px;">
<div>You may only have two options I guess:</div>
<div><br>
</div>
<div>1. Wait until the ruleset for Snort 2.9.8.2 is released, or</div>
<div>2. Re-compile back to Snort 2.9.8.0.</div>
<div><br>
</div>
<div>Those are the only options I am aware of. As a tip, always check and verify upgrade requirements before committing to a production upgrade :).</div>
<div><br>
</div>
<div>YM</div>
<div><br>
<div class="acompli_signature">Sent from Mobile</div>
<br>
</div>
</div>
<div class="gmail_quote">_____________________________<br>
From: Anshuman Anil Deshmukh <<a dir="ltr" href="mailto:anshuman@...979...16510..." x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2">anshuman@...16510...</a>><br>
Sent: Monday, April 4, 2016 1:30 PM<br>
Subject: Re: [Snort-users] Getting error Unprocessable Entity<br>
To: <<a dir="ltr" href="mailto:snort-users@lists.sourceforge.net" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="4">snort-users@lists.sourceforge.net</a>><br>
<br>
<br>
<meta content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--/* Font Definitions */@font-face    {font-family:"Cambria Math";  panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face        {font-family:Calibri;   panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face       {font-family:Tahoma;    panose-1:2 11 6 4 3 5 4 4 2 4;}/* Style Definitions */p.MsoNormal, li.MsoNormal, div.MsoNormal  {margin:0in;    margin-bottom:.0001pt;  font-size:11.0pt;       font-family:"Calibri","sans-serif";}a:link, span.MsoHyperlink       {mso-style-priority:99; color:blue;     text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple;   text-decoration:underline;}p    {mso-style-priority:99; mso-margin-top-alt:auto;        margin-right:0in;       mso-margin-bottom-alt:auto;     margin-left:0in;        font-size:12.0pt;       font-family:"Times New Roman","serif";}p.msochpdefault, li.msochpdefault, div.msochpdefault {mso-style-name:msochpdefault;  mso-margin-top-alt:auto;        margin-right:0in;       mso-margin-bottom-alt:auto;     margin-left:0in;        font-size:10.0pt;       font-family:"Times New Roman","serif";}span.emailstyle17    {mso-style-name:emailstyle17;   font-family:"Calibri","sans-serif"; color:windowtext;}span.emailstyle18     {mso-style-name:emailstyle18;   font-family:"Calibri","sans-serif"; color:#1F497D;}span.EmailStyle21        {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;}.MsoChpDefault   {mso-style-type:export-only;    font-size:10.0pt;}@page WordSection1    {size:8.5in 11.0in;     margin:1.0in 1.0in 1.0in 1.0in;}div.WordSection1        {page:WordSection1;}--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">If this is the case then how do I use the snort rules?</span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Anshuman</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="mailto:anshuman@...16510..."><span style="color:blue">anshuman@...16510...</span></a></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Y M [<a dir="ltr" href="mailto:snort@...15979..." x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="6">mailto:snort@...15979...</a>]<br>
<b>Sent:</b> Monday, April 04, 2016 3:51 PM<br>
<b>To:</b> Anshuman Anil Deshmukh<br>
<b>Cc:</b> <a dir="ltr" href="mailto:snort-users@lists.sourceforge.net" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="8">
snort-users@lists.sourceforge.net</a><br>
<b>Subject:</b> Re: [Snort-users] Getting error Unprocessable Entity</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Unprocessable entity means there is nothing to process, i.e: ruleset for Snort 2.9.8.2 is not yet released. You can check<a href="http://snort.org/advisories">snort.org/advisories</a>
 and see if there is one for Snort 2.9.82.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">And in case if you are wondering, ruleset 2.9.8.0 will not work with Snort 2.9.8.2 since the dynamic engines are different (2.4 vs 2.6).</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">YM</span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Sent from Mobile</span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
<br>
</span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">On Mon, Apr 4, 2016 at 3:16 AM -0700, "Anshuman Anil Deshmukh" <<a href="mailto:anshuman@...16510...">anshuman@...16510...</a>> wrote:</span></p>
</div>
<div>
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am suddenly getting error while updating the snort rules. Below is the log. Please help. It was working till today morning before I started the upgrade activity.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I recently updated my Snort to latest version 2.9.8.2 after which I am able to see these errors. I have already made changed in the pulledpork.conf file for the version. Below is the output while updating the signatures.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Let me know if you need the actual pulledpork config file.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Command used - perl /etc/pulledpork070/pulledpork-0.7.0/pulledpork.pl -c /etc/pulledpork070/pulledpork-0.7.0/etc/pulledpork29March16.conf -m /etc/snort/sid-msg.map -P -vv</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Config File Variable Debug /etc/pulledpork070/pulledpork-0.7.0/etc/pulledpork29March16.conf</p>
<p class="MsoNormal">        snort_path = /usr/sbin/snort</p>
<p class="MsoNormal">        enablesid = /etc/pulledpork070/pulledpork-0.7.0/etc/enablesid.conf</p>
<p class="MsoNormal">        black_list = /etc/snort/rules/default.blacklist</p>
<p class="MsoNormal">        modifysid = /etc/pulledpork070/pulledpork-0.7.0/etc/modifysid.conf</p>
<p class="MsoNormal">        pid_path = /var/run/snort_eth2.pid,/var/run/barnyard2.pid</p>
<p class="MsoNormal">        IPRVersion = /etc/snort/rules/default.blacklist</p>
<p class="MsoNormal">        rule_path = /etc/snort/rules/snort.rules</p>
<p class="MsoNormal">        ignore = deleted.rules,experimental.rules</p>
<p class="MsoNormal">        state_order = disable,enable,drop</p>
<p class="MsoNormal">        rule_url = ARRAY(0x160de10)</p>
<p class="MsoNormal">        snort_version = 2.9.8.2</p>
<p class="MsoNormal">        sid_msg_version = 1</p>
<p class="MsoNormal">        sid_changelog = /var/log/sid_changes.log</p>
<p class="MsoNormal">        sid_msg = /etc/snort/sid-msg.map</p>
<p class="MsoNormal">        backup_file = /tmp/pp070_backup</p>
<p class="MsoNormal">        config_path = /etc/snort/snort.conf</p>
<p class="MsoNormal">        temp_path = /etc/snort/tmp/</p>
<p class="MsoNormal">        distro = Centos-5-4</p>
<p class="MsoNormal">        version = 0.7.0</p>
<p class="MsoNormal">        sorule_path = /usr/local/lib/snort_dynamicrules/</p>
<p class="MsoNormal">        disablesid = /etc/pulledpork070/pulledpork-0.7.0/etc/disablesid.conf</p>
<p class="MsoNormal">        local_rules = /etc/snort/rules/local.rules</p>
<p class="MsoNormal">MISC (CLI and Autovar) Variable Debug:</p>
<p class="MsoNormal">        Process flag specified!</p>
<p class="MsoNormal">        arch Def is: x86-64</p>
<p class="MsoNormal">        Config Path is: /etc/pulledpork070/pulledpork-0.7.0/etc/pulledpork29March16.conf</p>
<p class="MsoNormal">        Distro Def is: Centos-5-4</p>
<p class="MsoNormal">        Disabled policy specified</p>
<p class="MsoNormal">        local.rules path is: /etc/snort/rules/local.rules</p>
<p class="MsoNormal">        Rules file is: /etc/snort/rules/snort.rules</p>
<p class="MsoNormal">        Path to disablesid file: /etc/pulledpork070/pulledpork-0.7.0/etc/disablesid.conf</p>
<p class="MsoNormal">        Path to enablesid file: /etc/pulledpork070/pulledpork-0.7.0/etc/enablesid.conf</p>
<p class="MsoNormal">        Path to modifysid file: /etc/pulledpork070/pulledpork-0.7.0/etc/modifysid.conf</p>
<p class="MsoNormal">        sid changes will be logged to: /var/log/sid_changes.log</p>
<p class="MsoNormal">        sid-msg.map Output Path is: /etc/snort/sid-msg.map</p>
<p class="MsoNormal">        Snort Version is: 2.9.8.2</p>
<p class="MsoNormal">        Snort Config File: /etc/snort/snort.conf</p>
<p class="MsoNormal">        Snort Path is: /usr/sbin/snort</p>
<p class="MsoNormal">        SO Output Path is: /usr/local/lib/snort_dynamicrules/</p>
<p class="MsoNormal">        Will process SO rules</p>
<p class="MsoNormal">        Extra Verbose Flag is Set</p>
<p class="MsoNormal">        Verbose Flag is Set</p>
<p class="MsoNormal">Base URL is: <a href="http://www.snort.org/reg-rules/|snortrules-snapshot.tar.gz|%3cremoved">
http://www.snort.org/reg-rules/|snortrules-snapshot.tar.gz|<removed</a> my oinkcode></p>
<p class="MsoNormal"><a href="http://www.snort.org/reg-rules/|opensource.gz|%3cremoved">http://www.snort.org/reg-rules/|opensource.gz|<removed</a> oinkcode></p>
<p class="MsoNormal"><a href="http://rules.emergingthreats.net/|emerging.rules.tar.gz|open">http://rules.emergingthreats.net/|emerging.rules.tar.gz|open</a></p>
<p class="MsoNormal">Checking latest MD5 for snortrules-snapshot-2982.tar.gz....</p>
<p class="MsoNormal">Fetching md5sum for: snortrules-snapshot-2982.tar.gz.md5</p>
<p class="MsoNormal">** GET <a href="https://www.snort.org/reg-rules/snortrules-snapshot-2982.tar.gz.md5/%3cremoved">
https://www.snort.org/reg-rules/snortrules-snapshot-2982.tar.gz.md5/<removed</a> oinkcode> ==> 422 Unprocessable Entity (1s)</p>
<p class="MsoNormal">Error 422 when fetching <a href="http://www.snort.org/reg-rules/snortrules-snapshot-2982.tar.gz.md5">
http://www.snort.org/reg-rules/snortrules-snapshot-2982.tar.gz.md5</a> at /etc/pulledpork070/pulledpork-0.7.0/pulledpork.pl line 463</p>
<p class="MsoNormal">main::md5file('e5454e32094dd017be5907b5cacb387eb55d2152', 'snortrules-snapshot-2982.tar. gz', '/etc/snort/tmp/', '</p>
<p class="MsoNormal"><a href="http://www.snort.org/reg-rules/">http://www.snort.org/reg-rules/</a>') called at /etc/pulledpork070/pulledpork-0.7.0/pulledpork.pl line 1847</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Even downloading the signature file alone doesn’t work with this command - wget<a href="https://www.snort.org/rules/snortrules-snapshot-2982-tar.gz?myoinkcode">https://www.snort.org/rules/snortrules-snapshot-2982-tar.gz?myoinkcode</a>.
 It returns same error. Here is the output-</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">--2016-04-04 15:16:06--  <a href="https://www.snort.org/rules/snortrules-snapshot-2982-tar.gz?e5454e32094dd017be5907b5cacb387eb55d2152">
https://www.snort.org/rules/snortrules-snapshot-2982-tar.gz?e5454e32094dd017be5907b5cacb387eb55d2152</a></p>
<p class="MsoNormal">Resolving <a href="http://www.snort.org">www.snort.org</a>... 104.16.62.75, 104.16.65.75, 104.16.63.75, ...</p>
<p class="MsoNormal">Connecting to <a href="http://www.snort.org|104.16.62.75|:443">
www.snort.org|104.16.62.75|:443</a>... connected.</p>
<p class="MsoNormal">HTTP request sent, awaiting response... 422 Unprocessable Entity</p>
<p class="MsoNormal">2016-04-04 15:16:07 ERROR 422: Unprocessable Entity.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Anshuman</p>
<p class="MsoNormal"><a href="mailto:anshuman@...16510...">anshuman@...979...16510...</a></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
<p style="mso-line-height-alt:10.0pt">"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended
 to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail
 to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You
 should carry out your own malicious content checks before opening the e-mail or attachment."<a href="http://www.cybage.com">www.cybage.com</a></p>
</div>
</div>
<p style="line-height:10.0pt"><span style="font-size:9.0pt;font-family:"Cambria","serif";color:#7F7F7F;mso-themecolor:background1;mso-themeshade:128;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-themecolor:background1;mso-style-textfill-fill-alpha:100.0%;mso-style-textfill-fill-colortransforms:lumm=50000">"Legal
 Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you
 are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and
 all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content
 checks before opening the e-mail or attachment." <a dir="ltr" href="http://www.cybage.com" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="38">
www.cybage.com</a></span></p>
<br>
<br>
</div>
</body>
</html>