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

NetworkMiner (requires Mono) #151

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

NetworkMiner (requires Mono) #151

GoogleCodeExporter opened this issue Mar 24, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

http://www.netresec.com/?page=Blog&month=2011-11&post=NetworkMiner-1-2-Released

Original issue reported on code.google.com by doug.bu...@gmail.com on 19 Nov 2011 at 8:08

@GoogleCodeExporter
Copy link
Author

apt-get install mono-runtime libmono-winforms2.0-cil

Original comment by doug.bu...@gmail.com on 28 Nov 2011 at 4:50

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

@GoogleCodeExporter
Copy link
Author

wget 
http://sourceforge.net/projects/networkminer/files/networkminer/NetworkMiner-1.2
/NetworkMiner_1-2.zip
unzip NetworkMiner_1-2.zip 
mono NetworkMiner.exe

Original comment by doug.bu...@gmail.com on 28 Nov 2011 at 4:50

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

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Erik Hjelmvik
Nov 28 (2 days ago)
to me 

Hi Doug,

I would be happy to have NetworkMiner on the Security Onion distro!

I read your install commands for NetworkMiner on
http://code.google.com/p/security-onion/issues/detail?id=151#makechanges
You might also wanna run:
chmod +w AssembledFiles

This is to ensure that the user has rights to extract files from a
pcap file to disk. Live sniffing will not work in Linux, but that's
not really an issue since I never recommend users to sniff with
NetworkMiner anyway. Tcpdump, dumpcap and even Wireshark are much
better alternatives for packet capturing.

Yes, GUI layout is strange. I suppose this has to do with what default
font that is being used in the OS. I could have a look at this issue
for a future release, but It's not really a big issue at the moment.

Regarding what packages that are needed: I actually think it enough to
only install:
apt-get install libmono-winforms2.0-cil

/erik

Original comment by doug.bu...@gmail.com on 1 Dec 2011 at 1:46

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

@GoogleCodeExporter
Copy link
Author

http://www.netresec.com/?page=Blog&month=2011-12&post=No-more-Wine---NetworkMine
r-in-Linux-with-Mono

Original comment by doug.bu...@gmail.com on 27 Dec 2011 at 4:41

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

# Created /opt/networkminer and packaged
sudo apt-get install libmono-winforms2.0-cil
wget sourceforge.net/projects/networkminer/files/latest -O /tmp/networkminer.zip
sudo unzip /tmp/networkminer.zip -d /opt/
cd /opt/NetworkMiner_1-2
sudo chmod +x NetworkMiner.exe
sudo chmod -R go+w AssembledFiles/
sudo chmod -R go+w Captures/
cd ..
mv NetworkMiner_1-2/ networkminer
cd /home/build
/usr/local/lib/ruby/gems/1.9.1/gems/fpm-0.3.11/bin/fpm -s dir -t deb -n 
securityonion-networkminer -v 20111228 /opt/networkminer/

# Created NetworkMiner shortcut and created new menu package
cd /usr/share/applications
cp securityonion-ostinato.desktop securityonion-networkminer.desktop
vi securityonion-networkminer.desktop 
/usr/local/lib/ruby/gems/1.9.1/gems/fpm-0.3.11/bin/fpm -s dir -t deb -n 
securityonion-menu -v 20111228 
/etc/xdg/xdg-xubuntu/menus/xfce-applications.menu 
/usr/share/desktop-directories/securityonion* 
/usr/share/applications/securityonion* /etc/skel/Desktop/*.desktop

# Updated security-onion-upgrade.sh as follows:

sed -i 's| |=|g' $CONF
source $CONF
if [ "$VERSION" = "20111227" ]; then
        NEW="20111228"
        echo "**********************************************"   | $LOGGER
        echo "* Upgrading from $VERSION to $NEW."               | $LOGGER
        echo "**********************************************"   | $LOGGER
        DIR="/nsm/backup/$NEW"
        mkdir -p $DIR                                           | $LOGGER
        cd $DIR

    FILE=securityonion-networkminer_"$NEW"_i386.deb
    echo "* Installing $FILE"               | $LOGGER
    wget -q http://sourceforge.net/projects/security-onion/files/$NEW/$FILE -O $FILE | $LOGGER
    dpkg -i $FILE                       | $LOGGER

    FILE=securityonion-menu_"$NEW"_i386.deb
    echo "* Installing $FILE"               | $LOGGER
    wget -q http://sourceforge.net/projects/security-onion/files/$NEW/$FILE -O $FILE | $LOGGER
    dpkg -i --force-overwrite $FILE             | $LOGGER

        sed -i "s|VERSION=$VERSION|VERSION=$NEW|g" $CONF        | $LOGGER
        echo "* Upgrade to $NEW complete."                      | $LOGGER
        echo 
fi

Original comment by doug.bu...@gmail.com on 27 Dec 2011 at 6:03

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

@GoogleCodeExporter
Copy link
Author

Published:
http://securityonion.blogspot.com/2011/12/security-onion-20111228-now-available.
html

Original comment by doug.bu...@gmail.com on 27 Dec 2011 at 6:05

  • 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