From: Victor J. <vi...@nk...> - 2004-07-09 15:20:07
|
On Friday 09 July 2004 15:30, William Metcalf wrote: > Yep that's how i wrote it : - ). Okay, but what is the difference between: if (InlineMode()) and if((InlineMode()) && (pv.interface = NULL)) if you are already sure pv.interface is NULL?? Please enlighten me : - ) Victor > > Regards, > > Will > > > > Victor Julien > <vi...@nk...> > Sent by: To > snort-inline-user sno...@li...urceforg > s-...@li...u e.net > rceforge.net cc > William Metcalf > <Wil...@kc...>, Cliff > 07/09/2004 03:54 Massey <cl...@un...> > AM Subject > Re: [Snort-inline-users] Basic > Questions > > > > > > > > > > > If i see it correct, the code on line 357 can only be reached if > pv.interface > is already NULL... > > On Friday 09 July 2004 09:50, William Metcalf wrote: > > I forgot that you are trying to do NAT mode... The error comes out of > > plugbase.c why it thinks you have yet to specify an interface i'm not > > sure. > > > Just for grins try changing line 357 in spo_database.c from > > > > if (InlineMode()) > > > > to > > > > if((InlineMode()) && (pv.interface = NULL)) > > > > I'm not sure what difference this will make as via the command line > > switches you sent you are specifying an interface and the original if > > statement is only called if escapedinterface can't be filled by what you > > specified on the command line but give it a shot anyway. > > > > Regards, > > > > Will > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Snort-inline-users mailing list > Sno...@li... > https://lists.sourceforge.net/lists/listinfo/snort-inline-users |