Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

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

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

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

Added to Roadmap, thanks!

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant