Closed GoogleCodeExporter closed 9 years ago
Had the same issue, remember that you need to export as well as set the
variables. Works fine with version 0.6.1 then.
Original comment by nullsgot...@gmail.com
on 12 Oct 2012 at 12:10
I am certain that environment variables are properly set. Debug statements show
that perl gets those values.
It looks like LWP::UserAgent ignores proxy settings that are set "manually" -
not using $ua->env_proxy or at object creation.
Original comment by konrads....@gmail.com
on 12 Oct 2012 at 12:47
Hello,
I also got this issue with the same version of pulledpork. Tcpdump confimed
that too.
Where exactly should I add the $ua->env_proxy directive in pulledpork.pl ?
Thanks
Original comment by mat.b...@gmail.com
on 30 Oct 2012 at 3:16
are you guys defining your base urls as http or https ?
Original comment by Cummin...@gmail.com
on 2 Nov 2012 at 4:17
I am using http as my base urls and having the same problem. I also tried
setting the CGI_HTTP_PROXY env setting as per the suggestion here:
http://search.cpan.org/~gaas/libwww-perl-6.04/lib/LWP/UserAgent.pm and no dice.
Original comment by joel_ros...@msn.com
on 15 Nov 2012 at 4:07
I have updated the code in SVN to allow for better proxy handling, can you also
verify that your proxy does not have a trailing slash?
Original comment by Cummin...@gmail.com
on 15 Nov 2012 at 4:34
Original comment by Cummin...@gmail.com
on 15 Nov 2012 at 6:56
Yes, I can verify there is no trailing slash in my proxy settings. Thank you
for the response! :)
Original comment by joel_ros...@msn.com
on 15 Nov 2012 at 6:59
Hi, I downloaded 0.6.2 version from SVN as well as the updated conf files.
Tried with this version and got the same result. Checking the firewall logs
confirms PP is not using the proxy when trying to retrieve rule files. Here is
my output:
# /usr/local/snort/pulledpork/pulledpork.pl -c
/usr/local/snort/pulledpork/etc/pulledpork.conf -T
http://code.google.com/p/pulledpork/
_____ ____
`----,\ )
`--==\\ / PulledPork v0.6.2dev the Cigar Pig <////~
`--==\\/
.-~~~~-.Y|\\_ Copyright (C) 2009-2012 JJ Cummings
@_/ / 66\_ cummingsj@gmail.com
| \ \ _(")
\ /-| ||'--' Rules give me wings!
\_\ \_\\
Checking latest MD5 for snortrules-snapshot-2930.tar.gz.... Error 500 when fetching http://www.snort.org/reg-rules/snortrules-snapshot-2930.tar.gz.md5 at /usr/local/snort/pulledpork/pulledpork.pl line 476 main::md5file('177506896c85a808394c1441e62aa1d8cd4b6f7c', 'snortrules-snapshot-2930.tar.gz', '/var/tmp/', 'http://www.snort.org/reg-rules/') called at /usr/local/snort/pulledpork/pulledpork.pl line 1886
Original comment by `joel_ros...@msn.com` on 15 Nov 2012 at 7:18
Original issue reported on code.google.com by
konrads....@gmail.com
on 4 Oct 2012 at 12:45