A short guideline on setting up the management interface and the sensor interfaces would really be nice. All I really need is pointing in the right direction.
What I have done so far is, using the NM gui (which I didn't know where to find at first), I have defined the static IP address for the management interface, along with DNS names and servers, and unchecked the "Connect automatically" box for the interfaces which are sensor interfaces.
This seems to be OK so far. But, is there a better way?
--
Shane Castle
Data Security Mgr, Boulder County IT
CISSP GSEC GCIH
In the words of the immortal Emily Litella, "Never mind!"
--
Shane Castle
Data Security Mgr, Boulder County IT
CISSP GSEC GCIH
It barks at you but it still stops the service when you issue the /etc/init.d/network-manager stop command.
Vr
Scott
Looks like the driver for your card might not support some of the extra flags from the interfaces file. What kind of network interface card are you using?
Can you paste your interfaces file into an email and let us take a quick look at it. Also let's know which is to be the I management interface and which is to be the sniffing interface.
On a side note I would highly suggest giving your SecurityOnion box a static IP Addressor give it a MAC based reservation from the DHCP server.
vr
Scott
Replies inline.
On Wed, Feb 29, 2012 at 11:11 AM, ChrisOmarM <chris.r...@gmail.com> wrote:
> Thanks for your help Scott.
>
> Here is the output of the interface file
>
> chrism@SecurityOnion:~$ cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
>
> # Management interface DHCP
> auto eth0
> iface eth0 inet dhcp
> post-up for i in rx tx sg tso ufo gso gro lro; do ethtool -K $IFACE
> $i off; done
I assume it was the email line wrapping which caused the post-up line
to become two lines?
> # Connected to TAP or SPAN port for all Internet traffic
> auto eth1
> iface eth1 inet manual
> up ifconfig $IFACE -arp up
> up ip link set $IFACE promisc on
> down ip link set $IFACE promisc off
> down ifconfig $IFACE down
> post-up for i in rx tx sg tso ufo gso gro lro; do ethtool -K $IFACE
> $i off; done
>
>
> Here is what I'm seeing with mii-tool
>
> chrism@SecurityOnion:~$ sudo mii-tool
> eth0: negotiated 100baseTx-FD, link ok
> eth1: no link
You can try taking out the post-up command and restarting networking
to see if that allows eth1 to come up. However, it's been my
experience that cards that don't support all of those options will
produce the error messages you're seeing but will still come up
properly.
Also, have you double-checked the cabling just to make sure it's not a
layer 1 issue?
Thanks,
Doug
This could definitely be an issue. When I added a 4-port Gbit NIC, its lowest MAC address became eth0 and the two built-in Gbit interfaces became eth4 and eth5. What one thinks should be eth0 might not actually be eth0.
--
Shane Castle
Data Security Mgr, Boulder County IT
CISSP GSEC GCIH
-----Original Message-----
From: securit...@googlegroups.com [mailto:securit...@googlegroups.com] On Behalf Of Doug Burks
Sent: Wednesday, February 29, 2012 09:28
To: securit...@googlegroups.com
Subject: Re: Security Onion and network configuring
Hi Chris,
Replies inline.
I would also say check that eth0 isn't being used for monitoring just to be certain.
I like to use tshark to test if a SPAN or TAP is properly configured:
sudo tshark -i eth0 -T fields -e ip.src -e ip.dst
This will list just the src and dst ip addresses of the traffic crossing that NIC, if you see traffic that isn't from the local NIC or broadcast/multicast then the SPAN/TAP is properly configured.
Vr
Scott
Hi all,
I have an issue relating to network configuration so I raise to this topic for your helps.
Following the guide how to configure network for SO follow the url https://github.com/Security-Onion-Solutions/security-onion/wiki/NetworkConfiguration
I have to configure the sniffing interface in the /etc/network/interfaces and do some further things.
But for my current interfaces file, I have not seen any setting for my sniffing interface. My SO work normally and they can sniff traffic as normal.
I wonder to know where is the network configuration for my sniffing interface? Does it be configured automatically without settings in /etc/network/interfaces.
Thank you very much.
--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.