[Snort-users] Snort v2.7.0 Now Available

Todd Wease twease at ...1935...
Fri Jul 20 18:20:33 EDT 2007


The problem you have come across will only happen when GRE is enabled in
Snort with the --enable-gre option to configure and a Stream5
configuration is used.  Using a Stream4 configuration will not cause the
issue.  Please note that the GRE option is still experimental in Snort.

The issue is due to some code porting from Stream4 to Stream5 involving
the updating of a GRE packet counter.

A bug has been created, but for now, attached is a patch that should
remedy the problem for those that would like to continue using the
experimental GRE option with Stream5.

Thanks Colin for testing out the GRE option in Snort and finding and
posting this issue.


Colin Grady wrote:
> I stuck with the default configuration provided in the snort.conf
> included in the 2.7.0 tar.gz:
> preprocessor stream5_global: max_tcp 8192, track_tcp yes, track_udp no
> preprocessor stream5_tcp: policy first, use_static_footprint_sizes
> # preprocessor stream5_udp: ignore_any_rules
> Thanks,
> Colin Grady
> On 7/20/07, Justin Heath <justin.heath at ...11827...> wrote:
>> Can you add your stream5 conf? BTW, if you have icmp tracking on in
>> stream5 turn it off as this is still experimental.
>> Cheers,
>> Justin
>> On 7/20/07, Colin Grady <colin.grady at ...11827...> wrote:
>>> I do not have a backtrace or pcap to provide, sorry.
>>> I used a compiled version using the following options:
>>> ./configure --prefix=/opt/snort --enable-pthread
>>> --enable-dynamicplugin --enable-gre
>>> This is on Ubuntu feisty (server).
>>> Command-line options are:
>>> /opt/snort/bin/snort -c /opt/snort/etc/snort_eth0.conf -K none
>>> Making only a change to the config to switch from stream5 (when it
>>> crashes after 1-2 minutes) to stream4 caused the Snort process to
>>> remain stable and not segfault. Because of the consistency of the
>>> segfault timeframe, I'm not sure it's related to the traffic crossing
>>> the monitored wire.
>>> Thanks,
>>> Colin Grady
>>> On 7/20/07, Justin Heath <justin.heath at ...11827...> wrote:
>>>> On 7/20/07, Justin Heath <justin.heath at ...11827...> wrote:
>>>>> Colin,
>>>>> Can you please provide some addtional detail? What OS, version etc?
>>>>> Are you using a binary from snort.org or did you compile from source?
>>>>> If you compiled from source what configure and build options did you
>>>>> use? Do you have a pcap or backtrace associated with this fault? If
>>>>> you have a backtrace and/or pcap and do not wish to post it to the
>>>>> list please send to bugs at ...10585...
>>>>> Cheers,
>>>>> Justin
>>>>> On 7/20/07, Colin Grady <colin.grady at ...11827...> wrote:
>>>>>> I'm seeing a segmentation fault occur after a couple minutes of
>>>>>> running in IDS mode -- doesn't seem to matter if it's in daemon mode
>>>>>> or not. Anyone else seeing this?
>>>>>> Thanks,
>>>>>> Colin Grady
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream5-gre-bug.diff
Type: text/x-patch
Size: 965 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20070720/dafee9dd/attachment.bin>

More information about the Snort-users mailing list