In brief , Loki is layer 3 routing auditing tools.
Here’s an explanation of how to install Loki on Ubunut 11.04 Desktop 64bit.
download pylibpcap 0.6.2-1 and Loki 0.2.7 deb packages for Ubuntu 11.04 64bit from http://c0decafe.de/loki.html
many thx :D
instll pylibpcap
install loki
install required packages
install loki again
Okay , I could install loki.
start loki.py
please note that you need to be root user when running loki.py script.
Here’s an explanation of how to install Loki on Ubunut 11.04 Desktop 64bit.
# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.04 Release: 11.04 Codename: natty # uname -ri 2.6.38-16-generic x86_64 |
download pylibpcap 0.6.2-1 and Loki 0.2.7 deb packages for Ubuntu 11.04 64bit from http://c0decafe.de/loki.html
many thx :D
# ls loki_0.2.7-1_amd64.deb pylibpcap_0.6.2-1_amd64.deb |
instll pylibpcap
# dpkg -i pylibpcap_0.6.2-1_amd64.deb |
install loki
# dpkg -i loki_0.2.7-1_amd64.deb (Reading database ... 154621 files and directories currently installed.) Preparing to replace loki 0.2.7-1 (using loki_0.2.7-1_amd64.deb) ... Unpacking replacement loki ... dpkg: dependency problems prevent configuration of loki: loki depends on libdumbnet1 (>= 1.8); however: Package libdumbnet1 is not installed. loki depends on python-dpkt; however: Package python-dpkt is not installed. loki depends on python-dumbnet; however: Package python-dumbnet is not installed. loki depends on python-ipy; however: Package python-ipy is not installed. dpkg: error processing loki (--install): dependency problems - leaving unconfigured Errors were encountered while processing: loki |
install required packages
# apt-get install -y libdumbnet1 python-dpkt python-dumbnet python-ipy |
install loki again
Okay , I could install loki.
# dpkg -i loki_0.2.7-1_amd64.deb (Reading database ... 154720 files and directories currently installed.) Preparing to replace loki 0.2.7-1 (using loki_0.2.7-1_amd64.deb) ... Unpacking replacement loki ... Setting up loki (0.2.7-1) ... Processing triggers for python-support ... |
# apt-cache policy loki loki: Installed: 0.2.7-1 Candidate: 2.4.7.4-4 Version table: 2.4.7.4-4 0 500 http://jp.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages *** 0.2.7-1 0 100 /var/lib/dpkg/status |
# dpkg -L loki /. /usr /usr/lib /usr/lib/pyshared /usr/lib/pyshared/python2.7 /usr/lib/pyshared/python2.7/loki_bindings /usr/lib/pyshared/python2.7/loki_bindings/ospfmd5 /usr/lib/pyshared/python2.7/loki_bindings/ospfmd5/ospfmd5bf.so /usr/lib/pyshared/python2.7/loki_bindings/mpls /usr/lib/pyshared/python2.7/loki_bindings/mpls/mplstun.so /usr/lib/pyshared/python2.7/loki_bindings/mpls/mplsred.so /usr/lib/pyshared/python2.7/loki_bindings/tcpmd5 /usr/lib/pyshared/python2.7/loki_bindings/tcpmd5/tcpmd5.so /usr/lib/pyshared/python2.7/loki_bindings/tcpmd5/tcpmd5bf.so /usr/lib/pyshared/python2.7/loki_bindings/asleap /usr/lib/pyshared/python2.7/loki_bindings/asleap/asleap.so /usr/share /usr/share/pyshared /usr/share/pyshared/loki_bindings-0.2.egg-info /usr/share/pyshared/loki_bindings /usr/share/pyshared/loki_bindings/ospfmd5 /usr/share/pyshared/loki_bindings/ospfmd5/__init__.py /usr/share/pyshared/loki_bindings/__init__.py /usr/share/pyshared/loki_bindings/mpls /usr/share/pyshared/loki_bindings/mpls/__init__.py /usr/share/pyshared/loki_bindings/tcpmd5 /usr/share/pyshared/loki_bindings/tcpmd5/__init__.py /usr/share/pyshared/loki_bindings/asleap /usr/share/pyshared/loki_bindings/asleap/__init__.py /usr/share/doc /usr/share/doc/loki /usr/share/doc/loki/README.Debian /usr/share/doc/loki/copyright /usr/share/doc/loki/changelog.Debian.gz /usr/share/loki /usr/share/loki/modules /usr/share/loki/modules/module_ospf.py /usr/share/loki/modules/module_dot1q.py /usr/share/loki/modules/module_dot1q.glade /usr/share/loki/modules/module_ldp.glade /usr/share/loki/modules/module_bfd.glade /usr/share/loki/modules/module_wlccp.py /usr/share/loki/modules/module_mpls.glade /usr/share/loki/modules/module_eigrp.glade /usr/share/loki/modules/module_hsrp.py /usr/share/loki/modules/module_hsrp2.py /usr/share/loki/modules/module_hsrp.glade /usr/share/loki/modules/module_icmp6.glade /usr/share/loki/modules/module_wlccp.glade /usr/share/loki/modules/module_arp.glade /usr/share/loki/modules/module_icmp6.py /usr/share/loki/modules/module_vrrp.glade /usr/share/loki/modules/module_bgp.py /usr/share/loki/modules/module_bgp.glade /usr/share/loki/modules/module_bfd.py /usr/share/loki/modules/module_ldp.py /usr/share/loki/modules/module_vrrp.py /usr/share/loki/modules/module_mpls.py /usr/share/loki/modules/module_tcp-md5.py /usr/share/loki/modules/module_rip.py /usr/share/loki/modules/module_hsrp2.glade /usr/share/loki/modules/mac.txt /usr/share/loki/modules/module_arp.py /usr/share/loki/modules/module_ospf.glade /usr/share/loki/modules/module_rip.glade /usr/share/loki/modules/module_eigrp.py /usr/share/loki/modules/module_tcp-md5.glade /usr/share/python-support /usr/share/python-support/loki.public /usr/share/python-support/loki.private /usr/bin /usr/bin/mpls_tunnel /usr/bin/loki.py |
start loki.py
please note that you need to be root user when running loki.py script.
# loki.py |
Hey there! great post and thanks for the howto!
ReplyDeletehope you like playing with the network stuff, as i do ;)
cheers