[Snort-users] SNORT 1.7 RELEASED

Ralf Hildebrandt Ralf.Hildebrandt at ...821...
Wed Jan 10 12:23:42 EST 2001

On Mon, Jan 08, 2001 at 11:04:19AM +0100, Ralf Hildebrandt wrote:

> Doesn't build on HP-UX 10.20:
> snort.c: In function ParseCmdLine':
> snort.c:868: warning: implicit declaration of function snprintf'
> snort.c: In function GetIfrMTU':
> snort.c:1486: SIOCGIFMTU' undeclared (first use in this function)
> snort.c:1486: (Each undeclared identifier is reported only once
> snort.c:1486: for each function it appears in.)
> make: *** [snort.o] Error 1

If change the code to always assume 1500 as MTU (since I only use Ethernet
anyway), the whole thing builds.

It's doesn't necessarily works, though :(

% /users2/local/bin/snort -g snort -u snort -d -b -s -c /users2/snort/snort.conf -l /users2/snort/log

        --== Initializing Snort ==--
Initializing Network Interface lan0
ioctl(SIOCGIFMTU): Bad file number  <--- huh?
Decoding Ethernet on interface lan0
Initializing Preprocessors!
Initializing Plug-ins!
Initializating Output Plugins!
Initializing rule chains...
923 Snort rules read...
923 Option Chains linked into 149 Chain Headers
0 Dynamic rules
Rule application order: ->activation->dynamic->alert->log->pass
	--== Initialization Complete ==--
 -*> Snort! <*-
 Version 1.7
 By Martin Roesch (roesch at ...66..., www.snort.org)
ralf.hildebrandt at ...821...
System Engineer                                            innominate AG
Diplom-Informatiker                                 the linux architects
tel: +49.30.308806-62  fax: -698                      www.innominate.com

More information about the Snort-users mailing list