Thanks in advance for any assistance in helping me understand my problem here.
On a fresh install of Security Onion, before I run sosetup I can see traffic on my monitor interface with tcpdump, but then after I run sosetup and let it configure my network interfaces, I no longer see any of the traffic that I just saw. It looks like now my monitor interface is dropping all traffic at the interface. I'm a little puzzled why.
eth2 is my
ajm@nsm:~$ ifconfig eth2
eth2 Link encap:Ethernet HWaddr c8:3a:35:de:f0:8e
UP BROADCAST RUNNING NOARP PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:74818 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:21 Base address:0x800
ajm@nsm:~$
ajm@nsm:~$ sudo tcpdump -i eth2
tcpdump: WARNING: eth2: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
24146 packets dropped by interface
ajm@nsm:~$
ajm@nsm:~$ cat /etc/network/interfaces
# This configuration was created by the Security Onion setup script. The original network
# interface configuration file was backed up to /etc/networking/interfaces.bak.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# loopback network interface
auto lo
iface lo inet loopback
# Management network interface
auto eth1
iface eth1 inet dhcp
auto eth0
iface eth0 inet manual
up ip link set $IFACE promisc on arp off up
down ip link set $IFACE promisc off down
post-up ethtool -G $IFACE rx ; for i in rx tx sg tso ufo gso gro lro; do ethtool -K $IFACE $i off; done
post-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
auto eth2
iface eth2 inet manual
up ip link set $IFACE promisc on arp off up
down ip link set $IFACE promisc off down
post-up ethtool -G $IFACE rx ; for i in rx tx sg tso ufo gso gro lro; do ethtool -K $IFACE $i off; done
post-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
I'm not exactly sure how to troubleshoot this.
Anybody have any thoughts?
Thanks,
Austin
I've attached the output to sosetup-redacted.
eth2 is a TP-Link - http://www.amazon.com/gp/product/B0034CSUZ8/ref=oh_details_o03_s00_i00?ie=UTF8&psc=1
if you're looking at the output from sosetup, eth0 is my management interface and it's working fine.
eth1 and eth2 are my monitor interfaces. I have them connected to each side of a network throwing star tap http://www.amazon.com/Throwing-Star-LAN-Tap-device/dp/B00BK4VMCK
I was planning on bridging them and then running sosetup against the bridged interface to get bi-directional traffic on a single bridged interface.
When I re-enable the network-manager and remove the lines that sosetup puts into /etc/network/interfaces, then I can see traffic on both eth1 and eth2 with tcpdump.
ajm@nsm:~$ ethtool -k eth1
Offload parameters for eth1:
rx-checksumming: off
tx-checksumming: off
scatter-gather: off
tcp-segmentation-offload: off
udp-fragmentation-offload: off
generic-segmentation-offload: off
generic-receive-offload: off
large-receive-offload: off
rx-vlan-offload: on
tx-vlan-offload: on
ntuple-filters: off
receive-hashing: off
ajm@nsm:~$ ethtool -g eth1
Ring parameters for eth1:
Cannot get device ring settings: Operation not supported
ajm@nsm:~$ sudo ethtool -G eth1 rx ; for i in rx tx sg tso ufo gso gro lro; do ethtool -K eth1 $i off; done
ethtool: bad command line argument(s)
For more information run ethtool -h
Cannot set device rx csum settings: Operation not permitted
Cannot set device tx csum settings: Operation not permitted
Cannot set device scatter-gather settings: Operation not permitted
Cannot set device tcp segmentation offload settings: Operation not permitted
Cannot set device udp large send offload settings: Operation not permitted
Cannot set device generic segmentation offload settings: Operation not permitted
Cannot set device GRO settings: Operation not permitted
Cannot set device flag settings: Operation not permitted
ajm@nsm:~$
ajm@nsm:~$ for i in rx tx sg tso ufo gso gro lro; do sudo ethtool -K eth1 $i off; done
Cannot set device udp large send offload settings: Operation not supported
ajm@nsm:~$
ajm@nsm:~$ cat /etc/network/interfaces
# This configuration was created by the Security Onion setup script. The original network
# interface configuration file was backed up to /etc/networking/interfaces.bak.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# loopback network interface
auto lo
iface lo inet loopback
# Management network interface
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet manual
up ip link set $IFACE promisc on arp off up
down ip link set $IFACE promisc off down
post-up for i in rx tx sg tso gso gro lro; do ethtool -K $IFACE $i off; done
post-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
auto eth2
iface eth2 inet manual
up ip link set $IFACE promisc on arp off up
down ip link set $IFACE promisc off down
post-up for i in rx tx sg tso gso gro lro; do ethtool -K $IFACE $i off; done
post-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
ajm@nsm:~$
Still no luck after a reboot.
I'm going to order some new hardware today on amazon but for the next few days while I tinker I'd like to see if I can get this running so that i can at least start profiling the traffic on my network and find out how much ram I need to run this box. This SO is just for my home lab for educational purposes, so i don't need much out of it.