[Snort-users] how to set proxy for oinkmaster

Michael Steele michaels at ...9077...
Wed Jan 27 21:39:57 EST 2010


Matt,

It's a lot simplier then that for Windows.

----------\
Right click on My Computer. 
Click on Properties and select the Advanced tab. 
Click "Environment Variables".
The "System Variables" dialog appears. 
Click New and add http_proxy as the 'Variable Name', with the appropriate
proxy information in the 'Variable value' (see examples below).

Set the http_proxy variable with the hostname or IP address of the proxy
server:
http_proxy=http://proxy.example.org

If the proxy server requires a user name and password, include them in the
following form:
http_proxy=http://username:password@...14756...

If the proxy server uses a port other than 80, include the port number:
http_proxy=http://username:password@...14756...:8080
----------/

Kindest regards,
Michael...

WINSNORT.com Management Team Member
--
****************** Established ~ 2001 *******************
*          Visit Us @ http://www.winsnort.com           *
*      ~~ FREE WinIDS Snort installation guides ~~      *
*               ~~ FREE support forums ~~               *
* Snort: Open Source Network IDS - http://www.snort.org *
*********************************************************


-----Original Message-----
From: Matt Olney [mailto:molney at ...1935...] 
Sent: Wednesday, January 27, 2010 9:20 PM
To: Sadanand Ghagare
Cc: Snort Users List
Subject: Re: [Snort-users] how to set proxy for oinkmaster

Never done it...but I thought this might work:

[molney at ...14754... oinkmaster-2.0]$ grep proxy *
FAQ:Q10: How do I setup proxy configuration?

And that let me find....

"Q10: How do I setup proxy configuration?

A10: If you download the snort rules archive from a web site (e.g.
     www.snort.org) and you are a behind an http proxy, you need to tell
     Oinkmaster to use that proxy or the download will fail. How you do
     that depends if you use wget (i.e. use use_external_bins=1, the
     default, in oinkmaster.conf) or libwww-perl (use_external_bins=0).
     You can read their man pages for complete configuration
     instructions, "man wget" or "man LWP::UserAgent".

     Quick instructions for the impatient:

     For wget, you can either edit the wget configuration file (usually
     /etc/wgetrc for global settings and ~/wgetrc for user settings) and
     set the http_proxy option. For example:
     http_proxy = http://your_proxy_host:3128:/
     (or http_proxy = http://user:password@...14755...:3128/ if you
     are required to authenticate to the proxy). You can also set the
     http_proxy environment variable. If you want your proxy server not to
     return the file in its cache but rather get it from the web server
     again, add "header = Pragma: no-cache" to your wget configuration
     file.

     For libwww-perl, set the http_proxy environment variable as
     described above (i.e. to "http://your_proxy_host:3128:/" or
     "http://user:password@...14755...:3128/")."

Hope that helps,

Matt

On Wed, Jan 27, 2010 at 6:43 PM, Sadanand Ghagare <sadanandgh at ...11827...>
wrote:
> Hi there,
>
> I cofngiured oinkmaster for snort which is running on windows 2003,
> SQL 2000 and IIS 6.
> using oinkmaster, when I try to update rules, it gives error " 500
> Can't connect to www.snort.org:80 (connect: Unknown error)"
> We use proxy in our network and I havn't set proxy for oinkmaster
> which might causing these issue.
> anybody has faced these problem before or have any idea about these?
>
>
> --
>
>
> Thanks & Regards
>
> Sadanand G.
>
>
----------------------------------------------------------------------------
--
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Snort-users mailing list
> Snort-users at lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf.php3?list=snort-users
>

----------------------------------------------------------------------------
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users





More information about the Snort-users mailing list