[Snort-devel] sp_session.c patch

Martin Roesch roesch at ...402...
Tue Aug 7 12:55:10 EDT 2001


I'll #ifdef it...

Joe McAlerney wrote:
> 
> Makes sense to me.  I just followed what has been already done.  It's
> the same issue with the <protocol>:<srcport>-<dstport> files.  The ':'
> was changed to a '_' for WIN32.  Of course, changing this for all
> platforms will not make any of the existing log file parsers very happy.
> 
> --
> |   Joe McAlerney     joey at ...63...   |
> | Silicon Defense - Technical Support for Snort |
> |       http://www.silicondefense.com/          |
> +--                                           --+
> 
> -Joe M.
> 
> Chris Green wrote:
> >
> > Joe McAlerney <joey at ...60...> writes:
> >
> > > This fixes filename problems with WIN32.
> > >
> > >+        sprintf(session_file, "%s/SESSION_%d-%d", log_path, p->sp, p->dp);
> > >          sprintf(session_file, "%s/SESSION:%d-%d", log_path, p->sp, p->dp);
> >
> > Perhaps it should be changed on all platforms for consistency?
> > --
> > Chris Green <cmg at ...81...>
> > Laugh and the world laughs with you, snore and you sleep alone.
> >
> > _______________________________________________
> > Snort-devel mailing list
> > Snort-devel at lists.sourceforge.net
> > http://lists.sourceforge.net/lists/listinfo/snort-devel
> 
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/snort-devel

--
Martin Roesch
roesch at ...402...
http://www.sourcefire.com - http://www.snort.org




More information about the Snort-devel mailing list