[Snort-users] snort configuration

Russ Combs rcombs at ...1935...
Mon Sep 9 10:05:06 EDT 2013


On Tue, Sep 3, 2013 at 12:44 PM, <rem239 at ...348...> wrote:

>  >Use
> >config ignore_ports
> >With giving port range
>
> config ignore_ports: tcp 1:21 23:79 81:65535
> config ignore_ports: udp 1:65535
>
> The snort manual says:
> Specifies ports to ignore (useful for ignoring noisy NFS traffic). Specify
> the protocol (TCP, UDP, IP, or ICMP), followed by a list of ports. Port
> ranges are supported.
>
> If I set IP as a protocol, snort says:
> FATAL ERROR: /etc/snort/snort.conf(154) Invalid protocol: ip
>

The documentation is wrong.  You can only specify TCP or UDP.

>
> Are there other optimizations, except disabling all not required rules, if
> I want a snort that only scans port 22 for ssh and port 80 for http attacks?
>

Apart from what was already mentioned, you should only configure
stream5_tcp, ssh, and http_inspect for those ports.

>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users
>
> Please visit http://blog.snort.org to stay current on all the latest
> Snort news!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20130909/ecb673b0/attachment.html>


More information about the Snort-users mailing list