[Snort-users] Proper Method and/or Place to Declare HTTP_SERV ERS port?

Kreimendahl, Chad J Chad.Kreimendahl at ...4716...
Thu May 9 07:14:04 EDT 2002

Actually, I think it would be a wonderful idea for the entire set of snort
sigs that contain source or dest port as 80 to be change to a variable.
We've also set up several other variables based on the fact that different
services have different ports in varying parts of our network... so one
hard-coded port wouldn't work for us.   It's worked out very well. 

-----Original Message-----
From: Vadim Pushkin [mailto:wiskbroom at ...125...] 
Sent: Wednesday, May 08, 2002 4:18 PM
To: erek at ...577...
Cc: snort-users at lists.sourceforge.net
Subject: Re: [Snort-users] Proper Method and/or Place to Declare

In this case I will create another var, say
var HTTP_SERVERS_PORT, set it to 8180 and
change 80 in the rules files to $HTTP_SERVERS_PORT.
Does anyone see a problem with this?

Thanks again,


>From: Erek Adams <erek at ...577...>
>To: Vadim Pushkin <wiskbroom at ...125...>
>CC: snort-users at lists.sourceforge.net
>Subject: Re: [Snort-users] Proper Method and/or Place to Declare 
>Date: Wed, 8 May 2002 14:06:09 -0700 (PDT)
>On Wed, 8 May 2002, Vadim Pushkin wrote:
> > I am using port 8180 versus port 80. I would prefer not messing around 
> > all of the rules files. I've noticed that the rules files themselves 
> > port 80, but my servers are listening on port 8180. Is there a way to 
> > this in the snort.conf file? I've tried setting:
> >
> > preprocessor http_decode: 8180 -unicode -cginull
> >
> > but I still get alarms for hosts possibly port scanning my HTTP_SERVERS.
>And you will continue to.  :)
>The http_decode preprocessor has _nothing_ to do with the rules.  It 
>deals with 'normalizing' the URLs before snort runs them thru the rulesets.
>You'll need to manually (or via a script) change port 80 in each of the
>*.rules to port 8180.
>Erek Adams

Send and receive Hotmail on your mobile device: http://mobile.msn.com


Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth at ...382...
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

More information about the Snort-users mailing list