Giter Club home page Giter Club logo

sniffvpn's Issues

Error missing file for log activities


.' ____ \ () .' ..].' ..| | | | __ |_ |_ |
| (
__ | .--. __ | | | | \ \ / / | |) || \ | |
_.__
.[.-. |[ '-| |-'-| |-' \ \ / / | _/ | |\ | |
| _
) || | | | | | | | | | \ ' / | | | |\ |
.[||[**[_] [] _/ |**| |___|____|

[---] SniffVPN - Traffic monitor for your VPN [---]
[---] Created by: Alvaro Nunez (toolsprods) [---]
[---] Version: 0.1 [---]
[---] Codename: 'Alfa Version' [---]
[---] Follow me on GitHub: github.com/toolsprods/ [---]

[] Running server at 10.8.0.1:8000...
[
] Can see statics and logs at 10.8.0.1:8000/panel

10.8.0.1 - - [05/Jul/2016 20:15:06] "GET /panel HTTP/1.1" 301 -
10.8.0.1 - - [05/Jul/2016 20:15:06] "GET /panel/ HTTP/1.1" 200 -
10.8.0.1 - - [05/Jul/2016 20:15:06] "GET /panel/css/theme.css HTTP/1.1" 200 -
10.8.0.1 - - [05/Jul/2016 20:15:07] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:15:07] "GET /favicon.ico HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:15:07] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:15:07] "GET /favicon.ico HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:15:16] "GET /panel/js/functions.js HTTP/1.1" 200 -
10.8.0.1 - - [05/Jul/2016 20:15:16] "GET /panel/js/jquery.bootpag.min.js HTTP/1.1" 200 -
10.8.0.1 - - [05/Jul/2016 20:15:17] "GET /panel/css/helveticaneue.woff HTTP/1.1" 200 -
10.8.0.1 - - [05/Jul/2016 20:15:17] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:15:17] "GET /panel/data/vtanalyzer.json HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:15:17] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:15:17] "GET /panel/data/logs.json HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:15:17] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:15:17] "GET /panel/data/vtanalyzer.json HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:15:22] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:15:22] "GET /panel/data/vtanalyzer.json HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:15:25] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:15:25] "GET /panel/data/vtanalyzer.json HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:15:27] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:15:27] "GET /panel/data/vtanalyzer.json HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:23:44] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:23:44] "GET /panel/data/vtanalyzer.json HTTP/1.1" 404 -
10.8.0.1 - - [05/Jul/2016 20:23:45] code 404, message File not found
10.8.0.1 - - [05/Jul/2016 20:23:45] "GET /panel/data/vtanalyzer.json HTTP/1.1" 404 -
Traceback (most recent call last):
File "SniffVPN.py", line 113, in
main()
File "SniffVPN.py", line 109, in main
sniff(iface=interface, prn=packet, count=count)
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 586, in sniff
r = prn(p)
File "SniffVPN.py", line 79, in packet
iporig=getOriginalIP(ipsrc)
File "SniffVPN.py", line 89, in getOriginalIP
file=open('/var/log/openvpn-status.log','r')
IOError: [Errno 2] No such file or directory: '/var/log/openvpn-status.log'

Two files missing

Two files seams missing in the folder /data

/panel/data/logs.json
/panel/data/vtanalyzer.json

or should be created....

Error using python APP in Xubuntu 16.04

          .---..-. .-,-,---,---.-.   .-,---. .-. .-.
         ( .-._|  \| |(| .-| .-'\ \ / /| .-.\|  \| |
        (_) \  |   | (_| `-| `-. \ V / | |-' |   | |
        _  \ \ | |\  | | .-| .-'  ) /  | |--'| |\  |
       ( `-'  )| | |)| | | | |   (_)   | |   | | |)|
        `----' /(  (_`-)\| )\|         /(    /(  (_)
              (__)    (__)(__)        (__)  (__)

[---] SniffVPN - Traffic monitor for your VPN [---]
[---] Created by: Alvaro Nunez (toolsprods) [---]
[---] Version: 0.1 [---]
[---] Codename: 'Alfa Version' [---]
[---] Follow me on GitHub: github.com/toolsprods/ [---]

[] Running server at 10.8.0.1:8000...
[
] Can see statics and logs at 10.8.0.1:8000/panel

Traceback (most recent call last):
File "SniffVPN.py", line 113, in
main()
File "SniffVPN.py", line 109, in main
sniff(iface=interface, prn=packet, count=count)
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 586, in sniff
r = prn(p)
File "SniffVPN.py", line 79, in packet
iporig=getOriginalIP(ipsrc)
File "SniffVPN.py", line 94, in getOriginalIP
return ipOrig[2].split(':')[0]
UnboundLocalError: local variable 'ipOrig' referenced before assignment

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.