[Snort-users] Grouping connections

Joel Esler jesler at ...1935...
Wed Apr 22 13:18:42 EDT 2009


They aren't.  Like I just said, you can use "tag:session;"  Which will
record both sides of a conversation.

J


2009/4/22 Ulisses Araújo Costa <ulissesaraujocosta at ...11827...>

> Looking at the format of keyword 'tag' seems that:
>
> <count>, <metric>
>
>
> are needed. Anyway, I will try it.
>
>
> 2009/4/22 Joel Esler <jesler at ...1935...>
>
>> Are you looking for the "flush_on_alert" keyword in Stream5?
>>
>> Joel
>>
>>
>> 2009/4/22 Ulisses Araújo Costa <ulissesaraujocosta at ...11827...>
>>
>>> I saw in the forum a person asking (in 2007) something that is the same I
>>> want:
>>>
>>> "so that i would be able to capture mails containing viagra. I am using
>>> preprocessor stream4 reassmebly so that i could get the entire mail instead
>>> of only the packet containing that string 'viagra'. "
>>>
>>> I don't need the total packet, but just to identify that as one
>>> big-packet, not only the packet containing the string 'viagra', but all the
>>> e-mail (the big-packet).
>>>
>>>
>>> 2009/4/22 Ulisses Araújo Costa <ulissesaraujocosta at ...11827...>
>>>
>>>> 2009/4/22 Ulisses Araújo Costa <ulissesaraujocosta at ...11827...>
>>>>
>>>>> Joel,
>>>>>
>>>>> that's what I said:
>>>>>
>>>>> "
>>>>> The problem is I want to make that to connections, not sessions.
>>>>>
>>>>> If it was sessions I can use the 'flag' keyword.
>>>>> "
>>>>>
>>>>> But I *don't* want sessions.
>>>>>
>>>>> 2009/4/22 Joel Esler <jesler at ...1935...>
>>>>>
>>>>>> Take a look at the tag keyword.
>>>>>> http://www.snort.org/docs/snort_htmanuals/htmanual_284/node373.html
>>>>>>
>>>>>
>>>> Ah! 'tag' keyword. I'm sorry, seems I read that too fast.
>>>> Unfortunately this seems to be limited relative to the size of
>>>> something:
>>>>
>>>> tag: <type>, <count>, <metric>, [direction];
>>>>
>>>> count
>>>>       • <integer> - Count is specified as a number of units. Units are
>>>> specified in the <metric> field.
>>>>
>>>> :S
>>>>
>>>> I want something completely dynamic.
>>>>
>>>>
>>>>
>>>>>
>>>>>> The flags keyword simply will trigger on the presence of certain TCP
>>>>>> flags set in the packet.  This is probably not what you want.
>>>>>>
>>>>>> J
>>>>>>
>>>>>> 2009/4/22 Ulisses Araújo Costa <ulissesaraujocosta at ...11827...>
>>>>>>
>>>>>>>  Hello,
>>>>>>>
>>>>>>> I'm using Snort in a project. I'm wondering if with Snort I can group
>>>>>>> packets from the same connection. For example: if I request
>>>>>>> google.com, I just send one packet but the response came in
>>>>>>> (imagine) 4 packets. The idea is make Snort just consider that as 2 states
>>>>>>> (me making the request and google sending the response). The problem is I
>>>>>>> want to make that to connections, not sessions.
>>>>>>>
>>>>>>> If it was sessions I can use the 'flag' keyword. Now I'm seeing if
>>>>>>> the way is using preprocessors, in this case the HTTP preprocessor.
>>>>>>>
>>>>>>> Can you help me?
>>>>>>>
>>>>>>> Best Regards,
>>>>>>>
>>>>>>> --
>>>>>>> Ulisses Costa - http://caos.di.uminho.pt/~ulisses/<http://caos.di.uminho.pt/%7Eulisses/>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Stay on top of everything new and different, both inside and
>>>>>>> around Java (TM) technology - register by April 22, and save
>>>>>>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>>>>>>> 300 plus technical and hands-on sessions. Register today.
>>>>>>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>>>>>>> _______________________________________________
>>>>>>> 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<https://lists.sourceforge.net/lists/listinfo/snort-users%0ASnort-users>list archive:
>>>>>>> http://www.geocrawler.com/redir-sf.php3?list=snort-users
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> joel esler | Sourcefire | gtalk: jesler at ...1935... | 302-223-5974
>>>>>> | http://twitter.com/joelesler
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ulisses Costa - http://caos.di.uminho.pt/~ulisses/<http://caos.di.uminho.pt/%7Eulisses/>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Ulisses Costa - http://caos.di.uminho.pt/~ulisses/<http://caos.di.uminho.pt/%7Eulisses/>
>>>>
>>>
>>>
>>>
>>> --
>>> Ulisses Costa - http://caos.di.uminho.pt/~ulisses/<http://caos.di.uminho.pt/%7Eulisses/>
>>>
>>
>>
>>
>> --
>> joel esler | Sourcefire | gtalk: jesler at ...1935... | 302-223-5974 |
>> http://twitter.com/joelesler
>>
>
>
>
> --
> Ulisses Costa - http://caos.di.uminho.pt/~ulisses/<http://caos.di.uminho.pt/%7Eulisses/>
>



-- 
joel esler | Sourcefire | gtalk: jesler at ...1935... | 302-223-5974 |
http://twitter.com/joelesler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20090422/a9a921fc/attachment.html>


More information about the Snort-users mailing list