Hi Doug,
Thank you for all of your help!
I was wrong about what interfaces were listed when starting Sguil.
First is eth1...and second is ossec. It was not eth0-ossec like I had
posted earlier. Sorry about that.
As of right now I think everything in SO is working fine. But I am
having a trouble with setting up my NICs in Windows. As I mentioned
in a previous post, I have VMWare Player running on Windows 7. SO is
running in a VM (obviously). I have 2 active NICs in Windows. One is
the sensor, and it is plugged into a SPAN port on my ASA5505. The
other is a management interface.
In the VM running SO, I set the sensor interface like you described in
the network config instructions - i.e. so it does not have an IP
address. So when I am inside of the VM, I can run Firefox and it will
use the management interface.
My problem is within Windows itself. I have these 2 active NICs. I
dont know if I have misconfigured my ASA or what, but when I try to
use Firefox in Windows, I cannot get the traffic to go thru the
management NIC - sometimes it goes thru the sensor. I have tried to
set the sensor's gateway in Windows to be blank - and I thought that
would solve it. But it doesnt really. So SO would work fine if I
just wanted to use my PC to run the VM. But I cant use Windows if the
VM is running because some of the traffic is trying to go thru the
sensor. After I set the sensors gateway in Windows to be blank, I did
a route PRINT, and it had removed the sensor from the routing
table....so everything should have been going thru the management
NIC....but it wasnt.
And prior to changing the sensors gateway to blank, both the sensor
and the management interface showed up when I did a route
PRINT....however, after removing the gateway from the sensors NIC,
only the management interface is in the Windows routing table.
I would really like to run this in a VM as opposed to on a dedicated
machine.
So do you or anyone else know how to keep traffic out of the sensor in
Windows?
I noticed this problem when I had the SO VM running and Sguil was
open. If I did a port scan from another PC, alerts would show up.
But if I went out to Windows, with the VM still running, and tried to
use Nmap to portscan my
192.168.1.0/24 network, I wasnt getting any
alerts. The weird thing was that from a Windows command prompt, I
could ping my ASA at 192.168.1.1....however, if I tried to do a ping
scan of my ASA with nmap, nmap reported the host was down. I confirmed
this problem by using Wireshark in Windows to watch the management
interface. If I used a browser, ping or telnet, the traffic showed up
like it should. But if I used nmap, it didnt show up at all.
So now I am also wondering if maybe nmap is using the wrong interface
when I am in Windows....however, I have tried changing the interface
used with the "-e" command line option, but I get error messages
regardless of which interface I use. I have googled for the past hour
trying to find the proper interface names to use with the "-e" option
when running nmap in Windows but cant find an answer.
I hope I have explained this problem well enough for you to
understand. To sum it up - on the PC running the SO VM, if I am
inside the VM browser data etc is routed properly thru the management
interface, But in Windows, some of the traffic doesnt want to use the
management interface, So I was wondering if anyone has experienced
this or has any ideas.
Thanks for all of your help in the past day Doug.
Mike
On Jun 2, 6:35 am, Doug Burks <
doug.bu...@gmail.com> wrote:
> Hello again Mike,
>
> Replies inline.
>
> For more info, please see:
http://www.ossec.net/doc/syntax/head_ossec_config.remote.htmlhttp://www.ossec.net/main/manual/configuration-options