Tuesday, 9 August 2016

Scappy vlan information

scappy vlan information 
In scappy because of implementation , capturing with scappy do not collect vlan information. Instead of this I prefer collecting pcap information via os command and tcpdump. After that I proceed with scappy

>>> a=rdpcap("/tmp/test.pcap")
>>> a[0]
<Ether  dst=xx:xx:xx:xx:xx:xx src=xx:xx:xx:xx:xx:xx type=0x8100 |<Dot1Q  prio=0L id=0L vlan=3625L type=0x8100 |<Dot1Q  prio=0L id=0L vlan=3625L type=0x800 |<IP  version=4L ihl=5L tos=0xe0 len=107 id=14873 flags= frag=0L ttl=63 proto=udp chksum=0x5a4a src=xx.xx.xx.xx dst=xx.xx.xx.xx options=[] |<UDP  sport=xx dport=xx len=87 chksum=0x0 |<Raw  xxxxxxxxx>>>>>>

Devstack installation , Ubuntu

Devstack installation on Ubuntu 14.04 server version.  I installed on Vmware Player. 

$ adduser stack

Install sudo if not installed 
$ apt-get install sudo -y 

Adding user to sudo group 
$ sudo adduser stack sudo 

Install git 
$ sudo apt-get install git -y

Devstack clone
$ git clone https://git.openstack.org/openstack-dev/devstack

$ cd devstack 

Config file copy 
$ cp ./samples/local.conf  .

Edit local.conf file
FLOATING_RANGE a range not used on the local network
FIXED_RANGE to configure the internal address space used by the instances
FLAT_INTERFACE to the Ethernet interface that connects the host to your local network 


This is could be goog if you have multiple network card 

Start installation

You can get these kind of errors, also find solution here 

[ERROR] /home/stack/devstack/functions-common:604 git call failed: [git clone https://github.com/kanaka/noVNC.git /opt/stack/noVNC

Download noVNC from github, extract as /opt/stack/noVNC .
And run ./stack.sh again. 

OfflineGenerationError at /auth/login/
You have offline compression enabled but key "71f1bb91aa1db46c691a399635d662c7" is missing from offline manifest. You may need to run "python manage.py compress".