Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using python APP in Xubuntu 16.04 #1

Open
dcialdella opened this issue Jul 5, 2016 · 6 comments
Open

Error using python APP in Xubuntu 16.04 #1

dcialdella opened this issue Jul 5, 2016 · 6 comments

Comments

@dcialdella
Copy link

          .---..-. .-,-,---,---.-.   .-,---. .-. .-.
         ( .-._|  \| |(| .-| .-'\ \ / /| .-.\|  \| |
        (_) \  |   | (_| `-| `-. \ 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

@toolsprods
Copy link
Owner

Hi dcialdella,

thanks for the report. How you have made the installation of the VPN? You use OpenVPN? What operating system are you working?

It seems that not find the original ip in the OpenVPN log file. I will check it.

Thanks.

@dcialdella
Copy link
Author

Xubuntu 16.04
I installed and use OpenVpn daily.
it works perfectly.

thanks

@toolsprods
Copy link
Owner

Okay. Sorry to say that this first version has been generated on Raspbian (it´s a project still in alpha phase), so the files might have different routes and even the OpenVPN log file can be something different.

I'm working on adapting it to other operating systems. I try to do a test with Xubuntu as soon as possible.

@dcialdella
Copy link
Author

I could help you if you want. This is what iḿ doing now.... do think these posts as complains.... it's the way to improve it.

@toolsprods
Copy link
Owner

Of course! It's good for the project. As you say in the issue #3, look at the code and suggest me anything. If you want more information about the code, contact me via email.

Regards!

@toolsprods toolsprods changed the title Error using python APP Error using python APP in Xubuntu 16.04 Jul 18, 2016
@toolsprods
Copy link
Owner

Renamed to specify "Error APP in python using Xubuntu 16.04".

It is pending to be updated to support other operating systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants