LinuxSecurityTools

http://www.yolinux.com/TUTORIALS/LinuxSecurityTools.html

wget https://github.com/firnsy/barnyard2/tarball/master -O firnsy-barnyard2-v2-1.10-beta2-8-g57597de

wget https://github.com/firnsy/barnyard2/tarball/master -O firnsy-barnyard2-v2-1.10-beta2-8-g57597de.tar.gz

share folders on virtualbox linux

http://www.virtualbox.org/manual/ch04.html

VBoxManage sharedfolder add "VM name" --name "sharename" --hostpath "C:\test"

install virtualbox guest additions  on debian

sh . / VBox .... /run

install realplayer on debian 64

Install Howto

  1. Install the repository GPG key:
    # wget -q -O - http://packages.medibuntu.org/medibuntu-key.gpg | sudo apt-key add -
    
  2. Add the following line to /etc/apt/sources.list:
    deb http://packages.medibuntu.org/ lucid non-free
  3. Update the package index:
    # sudo apt-get update
  4. Install realplayer deb package:
    # sudo apt-get install realplayer

centOS 8664

http://ftp.itu.edu.tr/Mirror/CentOS/6.3/isos/x86_64/CentOS-6.3-x86_64-LiveCD.iso

m m

http://www.mediafire.com/?tl2z1myjmtt

install gns3 on debian

http://forum.gns3.net/topic5285.html

In few lines I explain the steps to install the last version of GNS3 in the stable version of Debian (Squeeze) with Qemu support.

1. Dependencies

In first time, we needs some dependencies: python-qtlibncurses-devlibpcap-devlibsdl-devlib1g-dev and patch.

Apt-get and aptitude resolve the rest of dependencies.


2. Download packets

2.1- GNS3 0.8.3 Source

2.2- Dynamips 0.2.8-RC3 32bits and 64bits

2.3- Qemu 0.11.0 and Ollive patch


3. Dynamips 0.2.8-RC3

3.1- Create folder: mkdir /opt/dynamips

3.2- Copy binay file: cp /path/dynamips-0.2.8-RC3-X /opt/

3.3- Set execute permission: chmod +x /opt/dynamips/dynamips-0.2.8-RC3-X

If you need, change owner user with the command: chown -R user:user /opt/dynamips


4. GNS3 0.8.3

4.1- Move file: mv GNS3-0.8.3-src.tar.gz /opt

4.2- Extract it: tar xvfz GNS3-0.8.3-src.tar.gz

4.3- Delete original file: rm -rf GNS3-0.8.3-src.tar.gz

4.4- Set execute permission to gns3.pyw and qemuwrapper.py files: chmod +x /opt/GNS3-0.8.3-src/gns3.pyw and chmod +x /opt/GNS3-0.8.3-src/qemuwrapper/qemuwrapper.py

If you need, change owner user with the command: chown -R user:user /opt/GNS3


5. Qemu 0.11.0

5.1- Extract compress file: tar xvfz qemu-0.11.0.tar.gz

5.2- Move patch file: mv qemu-0.11.0-olive.patch qemu-0.11.0

5.3- Change directory and apply patch file: cd qemu-0.11.0 and patch -p1 -i qemu-0.11.0-olive.patch

5.4- Configure compilation:

5.4.1- For 32 bits: ./configure --target-list=i386-softmmu

5.4.2- For 64 bits: ./configure --target-list=x86_64-softmmu

5.5- Compile: make

5.6- Install, need superuser rights: make install

5.7- Delete sources files: rm -rf qemu-0.11.0

Its create qemu binaries in /usr/local/bin.

With this steps, we have the last version of GNS3 and Dynamips works with Qemu support. I have problems with some Olive images and later post I wanna explain it.

Sorry for languaje, I don't like translators... Grettings!

Brixton Cat.



Installing ntop – Debian Squeeze

Installing ntop – Debian Squeeze

Hi again!
Today I’m going to talk about ntop and how to install the latest stable version in Debian Squeeze.

Ntop is an extraordinary tool that helps you to know more about your network traffic. Luca Deri’s tool has a lot of features and I use it mainly to know quickly what kind of traffic is being generated in my network thanks to its web interface with summaries and rrd charts.

Years ago I used it to identify SQL Slammer worm and since then this tool is in my arsenal to analyze weird network behaviour.

Ok. In case you didn’t notice I love configure and make but ntop is so popular that you can find ntop in the backports repository:

  1. Add the following line to your /etc/apt/sources.list: debhttp://backports.debian.org/debian-backports squeeze-backports main
  2. apt-get update
  3. apt-get install ntop
  4. Type the admin user password for ntop’s web interface
  5. Ntop will be started.
  6. Open a browser and go to http://x.x.x.x:3000 where x.x.x.x is the ip address of the host where ntop is installed.. of course!
  7. Debian will install a ntop init.d service, so if you want to stop ntop: /etc/init.d/ntop stop

Ok!. If you want to use the latest stable version … yes configure and make !!:

  1. apt-get install build-essential libtool automake autoconf libpcap-dev libgdbm-dev zlib1g-dev rrdtool librrd-dev libssl-dev python-dev libgeoip-dev graphviz libgraphviz-dev
  2. cd /opt
  3. Download ntop (e.g wgethttp://switch.dl.sourceforge.net/project/ntop/ntop/Stable/ntop-4.1.0.tar.gz )
  4. tar xfz ntop-4.1.0.tar.gz
  5. cd ntop-4.1.0/
  6. ./autogen.sh
  7. make
  8. make install
  9. ldconfig – So libraries can be found (Thanks Garrie!)
  10. You’ll find ntop files in /usr/local according to ./configure:Data files are in     /usr/local/share/ntop
    Config files are in   /usr/local/etc/ntop
    Run directory is      /usr/local/var/ntop
    Plugin files are in   /usr/local/lib/ntop/plugins
    Database files are in /usr/local/var/ntop
    Libraries have been installed in: /usr/local/lib
  11. chown -R nobody:nogroup /usr/local/var/ntop
  12. Ok now from the command line run: ntop
  13. Ntop will ask you for the admin passwordntop startup – waiting for user response!Please enter the password for the admin user:
    Please enter the password again:
  14. Access to http://x.x.x.x:3000
  15. Nice charts!
  16. Use Ctrl-C from the command line to stop ntop.


REF:

http://diatel.wordpress.com/2011/12/07/installing-ntop-debian-squeeze/

Installing ntop – Debian Squeeze

Installing ntop – Debian Squeeze

Hi again!
Today I’m going to talk about ntop and how to install the latest stable version in Debian Squeeze.

Ntop is an extraordinary tool that helps you to know more about your network traffic. Luca Deri’s tool has a lot of features and I use it mainly to know quickly what kind of traffic is being generated in my network thanks to its web interface with summaries and rrd charts.

Years ago I used it to identify SQL Slammer worm and since then this tool is in my arsenal to analyze weird network behaviour.

Ok. In case you didn’t notice I love configure and make but ntop is so popular that you can find ntop in the backports repository:

  1. Add the following line to your /etc/apt/sources.list: debhttp://backports.debian.org/debian-backports squeeze-backports main
  2. apt-get update
  3. apt-get install ntop
  4. Type the admin user password for ntop’s web interface
  5. Ntop will be started.
  6. Open a browser and go to http://x.x.x.x:3000 where x.x.x.x is the ip address of the host where ntop is installed.. of course!
  7. Debian will install a ntop init.d service, so if you want to stop ntop: /etc/init.d/ntop stop

Ok!. If you want to use the latest stable version … yes configure and make !!:

  1. apt-get install build-essential libtool automake autoconf libpcap-dev libgdbm-dev zlib1g-dev rrdtool librrd-dev libssl-dev python-dev libgeoip-dev graphviz libgraphviz-dev
  2. cd /opt
  3. Download ntop (e.g wgethttp://switch.dl.sourceforge.net/project/ntop/ntop/Stable/ntop-4.1.0.tar.gz )
  4. tar xfz ntop-4.1.0.tar.gz
  5. cd ntop-4.1.0/
  6. ./autogen.sh
  7. make
  8. make install
  9. ldconfig – So libraries can be found (Thanks Garrie!)
  10. You’ll find ntop files in /usr/local according to ./configure:Data files are in     /usr/local/share/ntop
    Config files are in   /usr/local/etc/ntop
    Run directory is      /usr/local/var/ntop
    Plugin files are in   /usr/local/lib/ntop/plugins
    Database files are in /usr/local/var/ntop
    Libraries have been installed in: /usr/local/lib
  11. chown -R nobody:nogroup /usr/local/var/ntop
  12. Ok now from the command line run: ntop
  13. Ntop will ask you for the admin passwordntop startup – waiting for user response!Please enter the password for the admin user:
    Please enter the password again:
  14. Access to http://x.x.x.x:3000
  15. Nice charts!
  16. Use Ctrl-C from the command line to stop ntop.


REF: http://diatel.wordpress.com/2011/12/07/installing-ntop-debian-squeeze/