[Snort-users] Getting error Unprocessable Entity
snort at ...15979...
Mon Apr 4 06:21:05 EDT 2016
Unprocessable entity means there is nothing to process, i.e: ruleset for Snort 220.127.116.11 is not yet released. You can check snort.org/advisories<http://snort.org/advisories> and see if there is one for Snort 2.9.82.
And in case if you are wondering, ruleset 18.104.22.168 will not work with Snort 22.214.171.124 since the dynamic engines are different (2.4 vs 2.6).
Sent from Mobile
On Mon, Apr 4, 2016 at 3:16 AM -0700, "Anshuman Anil Deshmukh" <anshuman at ...846....16510...<mailto:anshuman at ...16510...>> wrote:
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.
I recently updated my Snort to latest version 126.96.36.199 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.
Let me know if you need the actual pulledpork config file.
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
Config File Variable Debug /etc/pulledpork070/pulledpork-0.7.0/etc/pulledpork29March16.conf
snort_path = /usr/sbin/snort
enablesid = /etc/pulledpork070/pulledpork-0.7.0/etc/enablesid.conf
black_list = /etc/snort/rules/default.blacklist
modifysid = /etc/pulledpork070/pulledpork-0.7.0/etc/modifysid.conf
pid_path = /var/run/snort_eth2.pid,/var/run/barnyard2.pid
IPRVersion = /etc/snort/rules/default.blacklist
rule_path = /etc/snort/rules/snort.rules
ignore = deleted.rules,experimental.rules
state_order = disable,enable,drop
rule_url = ARRAY(0x160de10)
snort_version = 188.8.131.52
sid_msg_version = 1
sid_changelog = /var/log/sid_changes.log
sid_msg = /etc/snort/sid-msg.map
backup_file = /tmp/pp070_backup
config_path = /etc/snort/snort.conf
temp_path = /etc/snort/tmp/
distro = Centos-5-4
version = 0.7.0
sorule_path = /usr/local/lib/snort_dynamicrules/
disablesid = /etc/pulledpork070/pulledpork-0.7.0/etc/disablesid.conf
local_rules = /etc/snort/rules/local.rules
MISC (CLI and Autovar) Variable Debug:
Process flag specified!
arch Def is: x86-64
Config Path is: /etc/pulledpork070/pulledpork-0.7.0/etc/pulledpork29March16.conf
Distro Def is: Centos-5-4
Disabled policy specified
local.rules path is: /etc/snort/rules/local.rules
Rules file is: /etc/snort/rules/snort.rules
Path to disablesid file: /etc/pulledpork070/pulledpork-0.7.0/etc/disablesid.conf
Path to enablesid file: /etc/pulledpork070/pulledpork-0.7.0/etc/enablesid.conf
Path to modifysid file: /etc/pulledpork070/pulledpork-0.7.0/etc/modifysid.conf
sid changes will be logged to: /var/log/sid_changes.log
sid-msg.map Output Path is: /etc/snort/sid-msg.map
Snort Version is: 184.108.40.206
Snort Config File: /etc/snort/snort.conf
Snort Path is: /usr/sbin/snort
SO Output Path is: /usr/local/lib/snort_dynamicrules/
Will process SO rules
Extra Verbose Flag is Set
Verbose Flag is Set
Base URL is: http://www.snort.org/reg-rules/|snortrules-snapshot.tar.gz|<removed<http://www.snort.org/reg-rules/|snortrules-snapshot.tar.gz|%3cremoved> my oinkcode>
Checking latest MD5 for snortrules-snapshot-2982.tar.gz....
Fetching md5sum for: snortrules-snapshot-2982.tar.gz.md5
** GET https://www.snort.org/reg-rules/snortrules-snapshot-2982.tar.gz.md5/<removed<https://www.snort.org/reg-rules/snortrules-snapshot-2982.tar.gz.md5/%3cremoved> oinkcode> ==> 422 Unprocessable Entity (1s)
Error 422 when fetching http://www.snort.org/reg-rules/snortrules-snapshot-2982.tar.gz.md5 at /etc/pulledpork070/pulledpork-0.7.0/pulledpork.pl line 463
main::md5file('e5454e32094dd017be5907b5cacb387eb55d2152', 'snortrules-snapshot-2982.tar. gz', '/etc/snort/tmp/', '
http://www.snort.org/reg-rules/') called at /etc/pulledpork070/pulledpork-0.7.0/pulledpork.pl line 1847
Even downloading the signature file alone doesn’t work with this command - wget https://www.snort.org/rules/snortrules-snapshot-2982-tar.gz?myoinkcode. It returns same error. Here is the output-
--2016-04-04 15:16:06-- https://www.snort.org/rules/snortrules-snapshot-2982-tar.gz?e5454e32094dd017be5907b5cacb387eb55d2152
Resolving www.snort.org<http://www.snort.org>... 220.127.116.11, 18.104.22.168, 22.214.171.124, ...
Connecting to www.snort.org|126.96.36.199|:443<http://www.snort.org|188.8.131.52|:443>... connected.
HTTP request sent, awaiting response... 422 Unprocessable Entity
2016-04-04 15:16:07 ERROR 422: Unprocessable Entity.
anshuman at ...16510...<mailto:anshuman at ...16510...>
"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." www.cybage.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Snort-users