yookd / pulledpork

Automatically exported from code.google.com/p/pulledpork
GNU General Public License v2.0
0 stars 0 forks source link

Errors returned when a local web server is used to download rules packages #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install tar.gz rules packages on a local web server
2. Configure pulledpork to download packages rules from this server.
3. Launch pulledpork with "-d" flag. Several errors like this one are displayed:

"Use of uninitialized value in concatenation (.) or string at 
/usr/local/bin/pulledpork.pl line 259."

What is the expected output? What do you see instead?
A lot of errors like this are displayed: ""Use of uninitialized value in 
concatenation (.) or string at /usr/local/bin/pulledpork.pl line 259.""

What version of the product are you using? On what operating system?
Pulledpork version 0.6.0. OS is a RHEL5.6 fully patched.

Please provide any additional information below.

Original issue reported on code.google.com by carlopm...@gmail.com on 30 Mar 2011 at 1:58

GoogleCodeExporter commented 9 years ago
Is this a rules tarball that you have created or?  Can you send me the output 
from an extra verbose run "-vv" ?

Original comment by Cummin...@gmail.com on 30 Mar 2011 at 2:11

GoogleCodeExporter commented 9 years ago
I have downloaded rules packages using wget:

wget 
http://www.snort.org/sub-rules/snortrules-snapshot-2904.tar.gz/3e223b8adb77155da
d073134c0368c1d9c3e3d1b -O /data/services/www/mirror/html/snortsigs/vrt.tar.gz.

Command:
pulledpork.pl -c /data/config/etc/snort-mgmt/pulledpork/pulledpork.conf -d -l 
-vv

Output:
[root@lindorinand ~]# more /tmp/pepe 

    http://code.google.com/p/pulledpork/
      _____ ____
     `----,\    )
      `--==\\  /    PulledPork v0.6.0 the Smoking Pig <////~
       `--==\\/
     .-~~~~-.Y|\\_  Copyright (C) 2009-2011 JJ Cummings
  @_/        /  66\_  cummingsj@gmail.com
    |    \   \   _(")
     \   /-| ||'--'  Rules give me wings!
      \_\  \_\\

Config File Variable Debug /data/config/etc/snort-mgmt/pulledpork/pulledpork.conf snort_path = /usr/local/bin/snort enablesid = /data/config/etc/snort-mgmt/pulledpork/enablesid.conf modifysid = /data/config/etc/snort-mgmt/pulledpork/modifysid.conf pid_path = /var/run/snort_eth4.pid rule_path = /data/config/etc/snort-mgmt/rules/all.rules rule_url = ARRAY(0x8893d78) snort_version = 2.9.0.4 sid_changelog = /tmp/sid_changes_mgmt.log sid_msg = /data/config/etc/snort-mgmt/sid-msg.map backup_file = /data/config/etc/ids-common/backup_rules/pp_ids-mgmt backup = /data/config/etc/snort-mgmt/rules/all.rules,/data/config/etc/snort-mgmt/so_rules/all_so.rules config_path = /data/config/etc/snort-mgmt/mgmt_ids.conf sostub_path = /data/config/etc/snort-mgmt/so_rules/all_so.rules temp_path = /tmp distro = Centos-5-4 version = 0.6.0 sorule_path = /data/config/etc/snort-mgmt/dynamicrules disablesid = /data/config/etc/snort-mgmt/pulledpork/disablesid.conf dropsid = /data/config/etc/snort-mgmt/pulledpork/dropsid.conf local_rules = /data/config/etc/snort-common/rules/local.rules Can't locate object method "show_progress" via package "LWP::UserAgent" at /usr/local/bin/pulledpork.pl line 1651. MISC (CLI and Autovar) Variable Debug: arch Def is: i386 Config Path is: /data/config/etc/snort-mgmt/pulledpork/pulledpork.conf Distro Def is: Centos-5-4 No MD5 Flag is Set, uhm, ok? I'm gonna fetch the latest file no matter what! Disabled policy specified local.rules path is: /data/config/etc/snort-common/rules/local.rules Rules file is: /data/config/etc/snort-mgmt/rules/all.rules Path to disablesid file: /data/config/etc/snort-mgmt/pulledpork/disablesid.conf Path to dropsid file: /data/config/etc/snort-mgmt/pulledpork/dropsid.conf Path to enablesid file: /data/config/etc/snort-mgmt/pulledpork/enablesid.conf Path to modifysid file: /data/config/etc/snort-mgmt/pulledpork/modifysid.conf sid changes will be logged to: /tmp/sid_changes_mgmt.log sid-msg.map Output Path is: /data/config/etc/snort-mgmt/sid-msg.map Snort Version is: 2.9.0.4 Snort Config File: /data/config/etc/snort-mgmt/mgmt_ids.conf Snort Path is: /usr/local/bin/snort SO Output Path is: /data/config/etc/snort-mgmt/dynamicrules/ SO Stub File is: /data/config/etc/snort-mgmt/so_rules/all_so.rules Logging Flag is Set Extra Verbose Flag is Set Verbose Flag is Set Base URL is: http://mirror.hpulabs.org/snortsigs/|vrt.tar.gz|open http://mirror.hpulabs.org/snortsigs/|et.tar.gz|open


Original comment by `carlopm...@gmail.com` on 30 Mar 2011 at 2:16
GoogleCodeExporter commented 9 years ago
I have updated the issue.

Original comment by carlopm...@gmail.com on 30 Mar 2011 at 2:17

GoogleCodeExporter commented 9 years ago
Committed revision 230.

Original comment by Cummin...@gmail.com on 1 Apr 2011 at 3:55