Johnny >
> My questions are...
> 2. How do I automate the snort deamon? I think this relates
> to the eth1 error below. Is the path to snort.conf correct? (
> I found another in
> ..templates/etc/snort/snort.conf/00snort.conf )
snort.conf is located in /etc/snort - the 00snort.conf file is a template fragment.
The correct path is: /etc/snort/snort.conf
> 3. I declared the variable $portscan_file =
> "/var/log/snort/portscan.log"; in the 00acid_conf.php file as
> you suggested, but the portscan.log file is still
> empty,although the file has been created, any suggestions?
> The web interface gives the error 'PORTSCAN EVENT ERROR: No
> file was specified in the $portscan_file variable'
Portscan is an add-in module that is not part of this contrib. When I have some time I'll get working on it.
Just a couple of points if I may...
1) The contrib was designed to run on the Mitel SME server v5.X or the ESSG 4.1.2 with a relatively "stock" installation. If your system has been heavily modified, I can't really help you as there's too many variables.
2) Aside from a couple of minor glitches in some of the initial releases of this contrib, there have been no major problems installing and/or using it and I have received emails from numerous people saying that the how-to was flawless.
Having said that, I would be inclined to believe that your installation is far from stock and/or standard.
Am I close?
>
> Here is the error message I get on boot-up...
>
> May 1 02:26:27 big-cahunha modprobe: modprobe: Can't locate
> module eth1
> May 1 02:26:27 big-cahunha snort-mysql: ioctl(SIOC*MTU):No
> such device
> May 1 02:26:27 big-cahunha snort-mysql: Automagic MTU
> discovery failed. Using default 1500
> May 1 02:26:27 big-cahunha snort-mysql: FATAL ERROR: ERROR:
> OpenPcap() device eth1 open: ^Iioctl: No such device
> May 1 02:26:27 big-cahunha snortd: snort-mysql startup failed
> May 1 02:26:27 big-cahunha sysmonitor: Starting system
> monitor:
> May 1 02:26:27 big-cahunha sysmonitor: OK
> Wed May 1 02:26:28 BST 2002 System monitor daemon started.
> May 1 02:26:28 big-cahunha sysmonitor:
> May 1 02:26:28 big-cahunha rc: Starting sysmonitor: succeeded
> May 1 02:26:28 big-cahunha guardian.pl: OS shows Linux
> May 1 02:26:28 big-cahunha guardian.pl: Warning! HostIpAddr
> is undefined! Attempting to guess..
> May 1 02:26:28 big-cahunha guardian.pl: Got it.. your
> HostIpAddr is 192.168.168.1
> May 1 02:26:28 big-cahunha guardian.pl: My ip address and
> interface are: 192.168.168.1 eth0
> May 1 02:26:28 big-cahunha guardian.pl: Loaded 0 addresses
> from /etc/guardian.ignore
> May 1 02:26:28 big-cahunha guardian.pl: Becoming a daemon..
> May 1 02:26:28 big-cahunha guardiand: guardian.pl startup
> succeeded
>
> Wheeeeww, that took a while

> Hope at least some of it makes sense...