Changes to the Install Script to support more network card naming stuff #539

Closed
GoogleCodeExporter opened this Issue Mar 24, 2015 · 4 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
This really isn't an issue in 12.04 but in the process of testing some stuff I 
found that sosetup and sosetup-network are missing a couple of network 
interface name types. In 13.04 they switch to emX by default I believe. Figured 
it wouldn't hurt to add them.

sosetup

Line 87, 230, 495 

sosetup-network
Line 75, 92, 207, 

Before: INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
|sort`

After: INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em|p[0-9]p)[0-9]+" | awk '{print $1}' | cut 
-d\: -f1 |sort`

Thanks

Mike

Original issue reported on code.google.com by reeve...@gmail.com on 11 May 2014 at 1:01

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

Added to Roadmap, thanks!

Original comment by doug.bu...@gmail.com on 11 May 2014 at 7:05

  • Added labels: ****
  • Removed labels: ****
Added to Roadmap, thanks!

Original comment by doug.bu...@gmail.com on 11 May 2014 at 7:05

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

grep "em)" *
sosetup:INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
|sort`
sosetup:#           INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
| sort |zenity --list --column="Interface" --hide-header --title="$TITLE" 
--text="$TEXT" 2>/dev/null`
sosetup:                INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
| sort`
sosetup:        INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
| sort`
sosetup-network:MGMT_INTERFACE=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | 
sosetup-network:    INPUT=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
| sort | while read INT; do echo -n "FALSE $INT "; done`
sosetup-network:MON_INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | 

Original comment by doug.bu...@gmail.com on 16 Jul 2014 at 8:42

  • Added labels: ****
  • Removed labels: ****
grep "em)" *
sosetup:INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
|sort`
sosetup:#           INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
| sort |zenity --list --column="Interface" --hide-header --title="$TITLE" 
--text="$TEXT" 2>/dev/null`
sosetup:                INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
| sort`
sosetup:        INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
| sort`
sosetup-network:MGMT_INTERFACE=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | 
sosetup-network:    INPUT=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | awk '{print $1}' | cut -d\: -f1 
| sort | while read INT; do echo -n "FALSE $INT "; done`
sosetup-network:MON_INTERFACES=`cat "/proc/net/dev" | egrep 
"(eth|bond|wlan|br|ath|bge|mon|fe|em)[0-9]+" | 

Original comment by doug.bu...@gmail.com on 16 Jul 2014 at 8:42

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

Submitted for testing:
https://groups.google.com/d/topic/security-onion-testing/my5dRuEsvBQ/discussion

Original comment by doug.bu...@gmail.com on 16 Jul 2014 at 9:03

  • Added labels: ****
  • Removed labels: ****
Submitted for testing:
https://groups.google.com/d/topic/security-onion-testing/my5dRuEsvBQ/discussion

Original comment by doug.bu...@gmail.com on 16 Jul 2014 at 9:03

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

Published:
http://blog.securityonion.net/2014/07/new-securityonion-setup-package.html

Original comment by doug.bu...@gmail.com on 22 Jul 2014 at 2:35

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****
Published:
http://blog.securityonion.net/2014/07/new-securityonion-setup-package.html

Original comment by doug.bu...@gmail.com on 22 Jul 2014 at 2:35

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment