[Snort-devel] snort 1.7 and OpenBSD 2.6

Martin Roesch roesch at ...48...
Mon Jan 8 00:29:55 EST 2001


Yes, we're aware of this and I'll work up a patch RSN.  Basically the
SIOCGIFMTU ioctl is called something else under older OpenBSD's, so we'll have
to figure that out and write up some portability patching for it.  Hopefully
in the next few days or so...

    -Marty

Colin Haxton wrote:
> 
> Hi all,
> 
> Snort seems to have a problem running on OpenBSD 2.6 where it won't
> start due to not being able to work out the MTU value of the interface.
> 
> The OpenBSD site says that the SIOCGIFMTU/SIOCSIFMTU ioctl options were
> not added until 2.7.  This makes the GetIfrMTU() function in snort.c not
> to return a value so everything stops.
> 
> I got around the problem by returning the default Ethernet value
> (ETHERNET_MTU). While this works for me there is probably a better fix
> so I will leave it up to the cross-platform guru's out there.  :-)
> 
> I know that endless backwards compatibility is not feasible but as OBSD
> 2.6 is still _fairly_ recent I thought I would bring it up on the list
> in case anyone else hits it.
> 
> Cheers,
> 
> Colin
> 
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/snort-devel

-- 
Martin Roesch
roesch at ...48...
http://www.snort.org




More information about the Snort-devel mailing list