NetFlow analysis - MINDS 
This paper introduces the Minnesota Intrusion Detection System (MINDS).

[ add comment ] ( 1 view )   |  [ 0 trackbacks ]   |  permalink  |  related link
JustGage 
JustGage is a handy JavaScript plugin for generating and animating nice & clean gauges. It is based on Raphaël library for vector drawing, so it’s completely resolution independent and self-adjusting.

some more options to check



[ add comment ] ( 1 view )   |  [ 0 trackbacks ]   |  permalink  |  related link
jQuery Sparklines 
This jQuery plugin generates sparklines (small inline charts) directly in the browser using data supplied either inline in the HTML, or via javascript.

The plugin is compatible with most modern browsers and has been tested with Firefox 2+, Safari 3+, Opera 9, Google Chrome and Internet Explorer 6, 7, 8, 9 & 10 as well as iOS and Android.

[ add comment ] ( 1 view )   |  [ 0 trackbacks ]   |  permalink  |  related link
Chart.js 
Easy, object oriented client side graphs for designers and developers

[ add comment ] ( 2 views )   |  [ 0 trackbacks ]   |  permalink  |  related link
morris.js 
good-looking charts shouldn't be difficult

[ add comment ] ( 3 views )   |  [ 0 trackbacks ]   |  permalink  |  related link
Use python 2.6 on CENTOS5/RHEL5 
Because CENTOS5/RHEL5 ships with a bit outdated python (2.4) usage of the 2.4 may lead to some unpleasant surprises. But, glory for EPEL, the lifesaver - has python 2.6 ready and you may also deploy virtual environment where tools as pip are preconfigured so your new 2.6 environment will not clash with the old one.

# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 5 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL


# sudo yum install python26
# wget --no-check-certificate https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.2.tar.gz#md5=d3d915836c1ada1be731ccaa12412b98
# cd virtualenv-1.11.2
# python26 setup.py install
# virtualenv --version
1.11.2


$ cd /home/alchy/tests/python_virt_env
$ virtualenv /home/alchy/tests/python_virt_env
New python executable in /home/alchy/tests/python_virt_env/bin/python26
Also creating executable in /home/alchy/tests/python_virt_env/bin/python
Installing setuptools, pip...done.


$ ./bin/pip install redis
Downloading/unpacking redis
Downloading redis-2.9.1.tar.gz (62kB): 62kB downloaded
Running setup.py (path:/home/alchy/tests/python_virt_env/build/redis/setup.py) egg_info for package redis
warning: no previously-included files found matching '__pycache__'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
Installing collected packages: redis
Running setup.py install for redis
warning: no previously-included files found matching '__pycache__'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
Successfully installed redis
Cleaning up...

$ export PATH=/home/alchy/tests/python_virt_env/bin/:$PATH
$ python
Python 2.6.8 (unknown, Nov 7 2012, 14:47:45)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import redis



[ add comment ] ( 1 view )   |  [ 0 trackbacks ]   |  permalink
Webdis installation requires libevent 
cc -c -O0 -ggdb -Wall -Wextra -I. -Ijansson/src -Ihttp-parser -o webdis.o webdis.c
In file included from webdis.c:1:
server.h:4:19: error: event.h: No such file or directory
In file included from webdis.c:1:
server.h:14: error: field ‘ev’ has incomplete type
make: *** [webdis.o] Error 1


install libevent-devel

-sh-3.2# yum install libevent-devel


[ add comment ] ( 1 view )   |  [ 0 trackbacks ]   |  permalink  |  related link
CENTOS/RHEL 5, Python and pcapy/pypcap/impacket/dpkt 
to get data from network:
pcapy = interface with the libpcap packet capture library (available in EPEL)
pylibpcap = interface with the libpcap packet capture library

to parse them:
impacket = python packet creation / parsing library
dpkt = python packet creation / parsing library

For RHEL/CENTOS 5 there is EPEL with compiled pcapy module (example). The pypcap is not available via EPEL.

To install componetns for packet decoding on Centos 5 as is not as straigtforward as there is an old version of python (2.4.3). The latest impacket or dpkt (install via pip-python) wont work. The easiest way seems to use older version of dpkt.

You have to get dpkt in version 1.7 (here).

example (monitor arp traffic):

#!/usr/bin/python

import pcapy
import dpkt
import sys
import socket
import struct

SINGLE_SHOT = False

# list all the network devices
pcapy.findalldevs()

iface = "eth0"
filter = "arp"
max_bytes = 1024
promiscuous = False
read_timeout = 100 # in milliseconds

pc = pcapy.open_live( iface, max_bytes, promiscuous, read_timeout )
pc.setfilter( filter )

# callback for received packets
def recv_pkts( hdr, data ):
packet = dpkt.ethernet.Ethernet( data )

print type( packet.data )
print "ipsrc: %s, ipdst: %s" %( \
socket.inet_ntoa( packet.data.spa ), \
socket.inet_ntoa( packet.data.tpa ) )

print "macsrc: %s, macdst: %s " % (
"%x:%x:%x:%x:%x:%x" % struct.unpack("BBBBBB",packet.data.sha),
"%x:%x:%x:%x:%x:%x" % struct.unpack("BBBBBB",packet.data.tha ) )

if SINGLE_SHOT:
header, data = pc.next()
sys.exit(0)
else:
packet_limit = -1 # infinite
pc.loop( packet_limit, recv_pkts ) # capture packets


[ add comment ] ( 2 views )   |  [ 0 trackbacks ]   |  permalink
cdnjs, the JavaScript, CSS, SWF repository 
Everyone loves the Google CDN right? Even Microsoft runs their own CDN.
The problem is, they only host the most popular libraries.
We host it all - JavaScript, CSS, SWF, images, etc!




[ add comment ] ( 1 view )   |  [ 0 trackbacks ]   |  permalink  |  related link
Backbone.js  
Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.




[ add comment ] ( 2 views )   |  [ 0 trackbacks ]   |  permalink  |  related link

<<First <Back | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | Next> Last>>