GithubHelp home page GithubHelp logo

ipop-project / ipop-project.github.io Goto Github PK

View Code? Open in Web Editor NEW
87.0 24.0 31.0 28.79 MB

Current Wiki and Documentation for IPOP

Home Page: http://ipop-project.github.io/

HTML 99.74% JavaScript 0.09% Ruby 0.17%

ipop-project.github.io's People

Contributors

apsankar avatar kcratie avatar mcollinsacis avatar renatof avatar saumitraaditya avatar vahid-dan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ipop-project.github.io's Issues

speedtest : tincanvpn versus openvpn

@kcratie and @vahid-dan,
We did a speedtest of the two vpn implementations and the openvpn interface seems roughly 2.5 times faster compared to the tincan interface. Any ideas on how we could improve the throughput/performance ? BTW, This is using the new code in the 'bh1' branch and no TURN server is involved -- strictly p2p tunnel. Also the cpu usage is also higher for tincan but let us focus on the bandwidth throughput first.

[TINCAN]
root@Alien15:/home/anand/tincan-stuff/ipop-vpn/speedtest# node run.js 172.31.0.206
speedtest plugin initializing...
Beginning download...
connecting to 172.31.0.206:10043...
connected.
Download speed: 1.62 MB/sec, 12.96 Mb/sec
Beginning upload...
connecting to 172.31.0.206:10042...
connected.
Upload speed: 1.44 MB/sec, 11.52 Mb/sec

[OPENVPN]
root@Alien15:/home/anand/tincan-stuff/ipop-vpn/speedtest# node run.js 10.8.0.108
speedtest plugin initializing...
Beginning download...
connecting to 10.8.0.108:10043...
connected.
Download speed: 4.13 MB/sec, 33.04 Mb/sec
Beginning upload...
connecting to 10.8.0.108:10042...
connected.
Upload speed: 3.48 MB/sec, 27.84 Mb/sec

Travis CI integration

To continue our commitment to higher quality software releases, Travis CI integration with Git Hub will be used to leverage automated periodic builds, deployment and testing. This issue is to track the tasks associated with accomplishing this goal.

Website Issue with Jekyll Syntax Highlighter

Jekyll syntax highlighter would throw an error and prevent the website from being published if there is a syntax error in the code blocks. It may happen when we partially copy and paste codes in the documents.

Disabling the syntax highlighter is not the best solution. To disable the syntax highlighting in _config.yml:

# Markdown Processing
kramdown:  
syntax_highlighter_opts:
    disable: true

Is this projective active?

I saw one bug report in the issues from March that has had no replies.

Is this project currently active?

TinCan or Tincan?

"TinCan" or "Tincan"? Which one is the correct notation for our documents? I think TinCan is the answer; But why is the name of the repo "Tincan"?

ARM and x86 Linux builds

It woud be very handy if more precompiled Linux Architectures would be added.

This would make it pretty easy to use Social VPN for instance on an raspberry pi.

Windows installers

Hi! Congrats! Great Project!
Can´t find for my life the installers for windows, I see the last updated windows platform version is 16.08.1, but can´t download it from anywhere, all addresses are 404ing....

Thx!

Release Directory Naming

Using parenthesis in the naming of release directories, ipop-vpn_rel17.08(ubuntu) and ipop-vpn_rel17.08(rpi), may not be a good idea since if you want to cd to the directory, you have to type \( and \) instead of ( and ) and that may be annoying.

"Wiki" and "Projects" Links

I think we don't need "Projects" links in any of our repositories and we also should remove "Wiki" from all the repositories except "ipop-project.github.io" and "Legacy-Documentation". That would be misleading. Those can be done in each repositories settings.

Errors when building WebRTC

I'm getting these erros when trying to build WebRTC. First when running install-build-deps.sh and then for some reason gn is using python 3.

mwon@mwon:/mwon_disk/disk2/raspberry/build-webrtc/workspace/webrtc-checkout/src$ ./build/install-build-deps.sh
Running as non-root user.
You might have to enter your password one or more times for 'sudo'.

This script installs all tools and libraries needed to build Chromium.

For most of the libraries, it can also install debugging symbols, which
will allow you to debug code in the system libraries. Most developers
won't need these symbols.
Do you want me to install them for you (y/N) Y
Including debugging symbols.
Including 32-bit libraries for ARM/Android.
Including ARM cross toolchain.
Including NaCl, NaCl toolchain, NaCl ports dependencies.
sudo: unable to resolve host mwon
sudo: unable to resolve host mwon
0% [Working]
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease       
Get:3 http://dl.google.com/linux/chrome/deb stable Release [943 B]                                               
Hit:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease                                                                      
Get:5 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]                                                                     
Ign:6 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial InRelease                                                                                                                          
Ign:7 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 InRelease                                                                                
Hit:8 http://nova.clouds.archive.ubuntu.com/ubuntu xenial InRelease                                           
Ign:9 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial Release          
Get:10 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release [3,457 B]                           
Hit:11 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates InRelease                                  
Ign:12 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main amd64 Packages
Err:5 http://dl.google.com/linux/chrome/deb stable Release.gpg           
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
Hit:13 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:14 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main all Packages             
Get:16 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release.gpg [801 B]  
Ign:17 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en_US         
Ign:18 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en            
Ign:12 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main amd64 Packages            
Ign:14 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main i386 Packages                 
Err:16 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release.gpg               
  The following signatures were invalid: KEYEXPIRED 1544811256
Ign:15 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main all Packages                  
Ign:17 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en
Ign:12 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main all Packages
Ign:17 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en
Ign:12 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main all Packages
Ign:17 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en
Ign:12 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main all Packages
Ign:17 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en
Err:12 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main amd64 Packages
  404  Not Found [IP: 2001:67c:1560:8008::15 80]
Ign:14 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main all Packages
Ign:17 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/igraph/ppa/ubuntu xenial/main Translation-en
Fetched 5,077 B in 3s (1,383 B/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/igraph/ppa/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release: The following signatures were invalid: KEYEXPIRED 1544811256
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: Failed to fetch http://ppa.launchpad.net/igraph/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8008::15 80]
W: Failed to fetch https://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.6/Release.gpg  The following signatures were invalid: KEYEXPIRED 1544811256
W: Some index files failed to download. They have been ignored, or old ones used instead.
mwon@mwon:/mwon_disk/disk2/raspberry/build-webrtc/workspace/webrtc-checkout/src$ gn gen out/debug --args='target_os="linux" target_cpu="arm" is_debug=true enable_iterator_debugging=false is_component_build=false is_debug=true rtc_build_wolfssl=true rtc_build_ssl=false rtc_ssl_root="/usr/local/include"'
ERROR at //build/config/compiler/BUILD.gn:103:7: Script returned non-zero exit code.
      exec_script("//tools/clang/scripts/update.py", update_args, "trim string")
      ^----------
Current dir: /mwon_disk/disk2/raspberry/build-webrtc/workspace/webrtc-checkout/src/out/debug/
Command: python -- /mwon_disk/disk2/raspberry/build-webrtc/workspace/webrtc-checkout/src/tools/clang/scripts/update.py --print-revision
Returned 1.
stderr:

  File "/mwon_disk/disk2/raspberry/build-webrtc/workspace/webrtc-checkout/src/tools/clang/scripts/update.py", line 121
    print ' Done.'
                 ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(' Done.')?

See //build/config/BUILDCONFIG.gn:481:3: which caused the file to be included.
  "//build/config/compiler:default_stack_frames",
  ^---------------------------------------------

Please send me a remittance

Please send me a remittance
I like this project, although there are some less satisfied with the place.
Such as isolation DHCP, OPENWRT following computer can only use a fixed IP address.
Does not support RFC5780,
But this project is really great.

I said before, would like to sponsor developers, for dinner, is a private nature, $ 300.
Small mind, the money is not much, but in our local, is a person's monthly salary.
Please send me a remittance. My English is very bad, this is GOOGLE translation.


请给我一个汇款方式
我喜欢这个项目,虽然还有一些不太满意的地方。
比如隔离DHCP, OPENWRT下面的电脑只能使用固定IP地址。
不支持RFC5780,
但这个项目真的很棒。

我以前说过,想赞助开发人员,用于聚餐,属于私人性质,300美元。
小小心意,钱不算多,但在我们当地,是一个人的月薪。
请给我一个汇款方式。我的英文很不好,这是用GOOGLE翻译的。

webRTC gclient sync fail

  1. I run commands:
    mkdir webrtc4
    cd webrtc4
    fetch --nohooks --no-history webrtc_ios

and then error as below:

src/buildtools (ERROR)

[0:01:33] Started.
[0:01:33]

________ running 'git init --bare /Users/ting/webrtc4/src/gclient_gittmp_buildtoolsoOfc0' in '/Users/ting/webrtc4'
[0:01:33] Initialized empty Git repository in /Users/ting/webrtc4/src/gclient_gittmp_buildtoolsoOfc0/

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/buildtools --template=/Users/ting/webrtc4/src/gclient_gittmp_buildtoolsoOfc0 /Users/ting/webrtc4/src/_gclient_buildtools_UUpRp3' in '/Users/ting/webrtc4'
[0:01:33] Cloning into '/Users/ting/webrtc4/src/_gclient_buildtools_UUpRp3'...
[0:01:35] remote: Enumerating objects: 195, done.
[0:01:35] Receiving objects: 0% (1/195)
[0:01:35] Receiving objects: 10% (20/195)
[0:01:36] remote: Total 195 (delta 0), reused 0 (delta 0)
[0:01:36] Receiving objects: 100% (195/195), 36.00 KiB | 62.00 KiB/s
[0:01:36] Resolving deltas: 0% (0/90)
[0:01:36] Resolving deltas: 14% (13/90)
[0:01:36] Resolving deltas: 100% (90/90)
[0:01:37] _____ Conflicting directory found in /Users/ting/webrtc4/src/buildtools. Moving to /Users/ting/webrtc4/_bad_scm/src/buildtoolsC3O_Bh.
[0:01:37]

________ running 'git init --bare /Users/ting/webrtc4/src/_gclient_gittmp_buildtoolsbKc5zZ' in '/Users/ting/webrtc4'
[0:01:37] Initialized empty Git repository in /Users/ting/webrtc4/src/_gclient_gittmp_buildtoolsbKc5zZ/

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/buildtools --template=/Users/ting/webrtc4/src/_gclient_gittmp_buildtoolsbKc5zZ /Users/ting/webrtc4/src/_gclient_buildtools_px7Pse' in '/Users/ting/webrtc4'
[0:01:37] Cloning into '/Users/ting/webrtc4/src/_gclient_buildtools_px7Pse'...
[0:01:38] remote: Enumerating objects: 195, done.
[0:01:38] Receiving objects: 0% (1/195)
[0:01:38] Receiving objects: 10% (20/195)
[0:01:39] remote: Total 195 (delta 0), reused 0 (delta 0)
[0:01:39] Receiving objects: 100% (195/195), 36.00 KiB | 60.00 KiB/s
[0:01:39] Resolving deltas: 0% (0/90)
[0:01:39] Resolving deltas: 11% (10/90)
[0:01:39] Resolving deltas: 100% (90/90)

Error: Command 'git checkout --quiet 1ecfe3ce669a34f8c76ffe5895d95b3ea3b549fd' returned non-zero exit status 128 in /Users/ting/webrtc4/src/buildtools
fatal: reference is not a tree: 1ecfe3ce669a34f8c76ffe5895d95b3ea3b549fd

Warnings:
Conflicting directory /Users/ting/webrtc4/src/buildtools moved to /Users/ting/webrtc4/_bad_scm/src/buildtoolsC3O_Bh.
Conflicting directory /Users/ting/webrtc4/src/testing moved to /Users/ting/webrtc4/_bad_scm/src/testingTdSFf6.
Conflicting directory /Users/ting/webrtc4/src/build moved to /Users/ting/webrtc4/_bad_scm/src/buildsiG0kT.
Conflicting directory /Users/ting/webrtc4/src/tools moved to /Users/ting/webrtc4/_bad_scm/src/toolsj5TNkq.
Conflicting directory /Users/ting/webrtc4/src/third_party moved to /Users/ting/webrtc4/_bad_scm/src/third_partyYGUGBE.
Subprocess failed with return code 1.

  1. After step 1, I try to run gclient sync, the error changes:

Syncing projects: 19% ( 8/42) src/tools

src/build (ERROR)

[0:00:03] Started.
[0:00:05] _____ src/build : Attempting rebase onto 6985835c9b5e7857197dc7b9b8cc7eb8e44bacf7...
[0:00:05]
[0:00:05] Rebase produced error output:
fatal: Does not point to a valid commit '6985835c9b5e7857197dc7b9b8cc7eb8e44bacf7'

Error: 3> Unrecognized error, please merge or rebase manually.
3> cd /Users/ting/webrtc4/src/build && git rebase --onto 6985835c9b5e7857197dc7b9b8cc7eb8e44bacf7 refs/remotes/origin/master
ting@tings-iMac webrtc4 % cd src
ting@tings-iMac src % ../depot_tools/gclient sync
zsh: no such file or directory: ../depot_tools/gclient
ting@tings-iMac src % ../depot_tools/gclient sync --with_branch_heads
zsh: no such file or directory: ../depot_tools/gclient
ting@tings-iMac src % cd ..
ting@tings-iMac webrtc4 % ../depot_tools/gclient sync --with_branch_heads
Syncing projects: 19% ( 8/42) src/third_party

src/testing (ERROR)

[0:00:03] Started.
[0:00:05] _____ src/testing : Attempting rebase onto dc9b1969e7b2fad0997eac147810af73fc4a13a6...
[0:00:05]
[0:00:05] Rebase produced error output:
fatal: Does not point to a valid commit 'dc9b1969e7b2fad0997eac147810af73fc4a13a6'

Error: 6> Unrecognized error, please merge or rebase manually.
6> cd /Users/ting/webrtc4/src/testing && git rebase --onto dc9b1969e7b2fad0997eac147810af73fc4a13a6 refs/remotes/origin/master

Please help me how to resolve it ?

build error on Archlinux

mkdir -p ~/workspace/ipop-project ~/workspace/ipop-vpn/config
cd ~/workspace/ipop-project/
git clone https://github.com/ipop-project/Tincan
git clone https://github.com/ipop-project/Controllers
cd Tincan/trunk/build/
make
if [ ! -d ../out/release/x86_64/obj ]; then  mkdir -p ../out/release/x86_64/obj; fi
g++ -o ../out/release/x86_64/ipop-tincan ../out/release/x86_64/obj/tincan_main.o ../out/release/x86_64/obj/peer_network.o ../out/release/x86_64/obj/control_listener.o ../out/release/x86_64/obj/control_dispatch.o ../out/release/x86_64/obj/tincan_control.o ../out/release/x86_64/obj/multi_link_tunnel.o ../out/release/x86_64/obj/basic_tunnel.o ../out/release/x86_64/obj/tincan.o ../out/release/x86_64/obj/single_link_tunnel.o ../out/release/x86_64/obj/virtual_link.o ../out/release/x86_64/obj/tap_frame.o ../out/release/x86_64/obj/tapdev_lnx.o -L ../../external/3rd-Party-Libs/release -ljsoncpp -lrtc_p2p -lrtc_base -lrtc_base_approved -lfield_trial_default -lboringssl -lboringssl_asm -lprotobuf_lite -lpthread -lnetlink -lutil
/usr/bin/ld: cannot find -lrtc_p2p
/usr/bin/ld: cannot find -lrtc_base
/usr/bin/ld: cannot find -lrtc_base_approved
/usr/bin/ld: cannot find -lfield_trial_default
/usr/bin/ld: cannot find -lboringssl
/usr/bin/ld: cannot find -lboringssl_asm
/usr/bin/ld: cannot find -lprotobuf_lite
collect2: error: ld returned 1 exit status
make: *** [Makefile:19: ../out/release/x86_64/ipop-tincan] Error 1

LinkManager: timer_method exception (dictionary changed size during iteration)

I observed the following stack trace with IPOP 17.08:

[20180323 21:31:25.340] WARNING:TincanInterface: TincanInterface: unrecognized Data PROCESS_TINCAN_DATA received from TincanInterface. Data:::b'{\n   "IPOP" : {\n      "ControlType" : "TincanResponse",\n      "ProtocolVersion" : 4,\n      "Request" : {\n         "Command" : "TrimTunnel",\n         "Initiator" : "LinkManager",\n         "InterfaceName" : "ipop_tap0",\n         "MAC" : "5E309C45F65A"\n      },\n      "Response" : {\n         "Message" : "The tunnel to 5E309C45F65A has been removed.",\n         "Success" : true\n      },\n      "TransactionId" : 432\n   }\n}\n'
[20180323 21:31:25.349] WARNING:LinkManager: timer_method exception:
Traceback (most recent call last):
  File "/opt/ipop/ipop-vpn_rel17.08_rpi/controller/modules/LinkManager.py", line 401, in timer_method
    self.clean_p2plinks(interface_name)
  File "/opt/ipop/ipop-vpn_rel17.08_rpi/controller/modules/LinkManager.py", line 139, in clean_p2plinks
    for uid in links["peers"].keys():
RuntimeError: dictionary changed size during iteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/ipop/ipop-vpn_rel17.08_rpi/controller/framework/CFxHandle.py", line 139, in __timer_worker
    self.CMInstance.timer_method()
  File "/opt/ipop/ipop-vpn_rel17.08_rpi/controller/modules/LinkManager.py", line 404, in timer_method
    self.peers_lck.release()
RuntimeError: release unlocked lock

Feature: Username - IP Listing

It would be extremely useful to have an (gui) feature which lists the IP adresses of all connected Friends (and own IP Adress). (Similar to Wippien miniVPN http://www.wippien.com/minivpn.phpW maybe a tkl gui?)

All in all SocialVPN is an extremely useful and powerful tool (if you know how to set it up prperly ;)). Keep the Project alive!

Platform Support: IPOP Controller Python 3 Implementation

The IPOP-VPN Controller is currently implemented with the Python 2 language specification. This issue is to track the tasks associated with the coding changes necessary to move to a Python 3 implementation. These changes should not add nor remove any existing features, nor change its existing behavior.

Unable to ping the other peer

I followed the wonderful instructions in the demo https://screencast-o-matic.com/watch/cbjXbPlmdl with the latest ipop-vpn_rel17.08(ubuntu)

However, when I try it the individual ipop_tap0 interfaces do come up on the respective hosts but they are unable to discover each other and ping each other

Here are the controller logs and it stays stuck in the searching state and does not find the other peer

Any ideas?? I am using my own xmpp server if that matters

root@mike-desktop:/home/mike/tincan-stuff/ipop-vpn_rel17.08(ubuntu)/logs# head ctrl.log
[20171114 22:32:17.420] INFO:TincanInterface: TincanInterface Loaded
[20171114 22:32:17.425] INFO:TincanInterface: Creating Tincan control response link
[20171114 22:32:17.426] INFO:TincanInterface: Setting Tincan log level to DEBUG
[20171114 22:32:17.432] INFO:TincanInterface: Creating Vnet ipop_tap0
[20171114 22:32:17.433] INFO:TincanInterface: Ignoring interfaces [u'ipop_tap0']
[20171114 22:32:17.434] INFO:LinkManager: LinkManager Loaded
[20171114 22:32:17.434] INFO:XmppClient: Key-ring module not installed.
[20171114 22:32:17.435] DEBUG:XmppClient: Started XMPP handling
[20171114 22:32:17.435] INFO:XmppClient: XmppClient module Loaded
[20171114 22:32:17.435] INFO:ArpCache: ArpCache Loaded
root@mike-desktop:/home/mike/tincan-stuff/ipop-vpn_rel17.08(ubuntu)/logs# head -50 ctrl.log
[20171114 22:32:17.420] INFO:TincanInterface: TincanInterface Loaded
[20171114 22:32:17.425] INFO:TincanInterface: Creating Tincan control response link
[20171114 22:32:17.426] INFO:TincanInterface: Setting Tincan log level to DEBUG
[20171114 22:32:17.432] INFO:TincanInterface: Creating Vnet ipop_tap0
[20171114 22:32:17.433] INFO:TincanInterface: Ignoring interfaces [u'ipop_tap0']
[20171114 22:32:17.434] INFO:LinkManager: LinkManager Loaded
[20171114 22:32:17.434] INFO:XmppClient: Key-ring module not installed.
[20171114 22:32:17.435] DEBUG:XmppClient: Started XMPP handling
[20171114 22:32:17.435] INFO:XmppClient: XmppClient module Loaded
[20171114 22:32:17.435] INFO:ArpCache: ArpCache Loaded
[20171114 22:32:17.436] INFO:BaseTopologyManager: BaseTopologyManager Loaded
[20171114 22:32:17.436] DEBUG:BaseTopologyManager: BTM Table::{'discovered_nodes': [], 'p2p_state': 'started', 'uid_mac_table': {}, 'ipop_state': {}, 'ip_uid_table': {}, 'xmpp_client_code': u'XmppClient', 'peer_uid_sendmsgcount': {}, 'GeoIP': '', 'mac_uid_table': {}, 'link_type': {}, 'successor': {}}
[20171114 22:32:17.436] INFO:BaseTopologyManager: ipop_tap0 P2P State: STARTED
[20171114 22:32:17.437] INFO:BroadcastForwarder: BroadcastForwarder Loaded
[20171114 22:32:17.437] INFO:TincanInterface: Received data from Tincan: Operation: CreateCtrlRespLink. Task status::{u'Message': u'Controller endpoint successfully created.', u'Success': True}
[20171114 22:32:17.437] DEBUG:TincanInterface: Tincan Request: {'Request': {'Initiator': 'LinkManager', 'UID': None, 'MAC': '', 'Command': 'QueryNodeInfo', 'ProtocolVersion': 4, 'InterfaceName': u'ipop_tap0'}, 'TransactionId': 4, 'ControlType': 'TincanRequest', 'ProtocolVersion': 4}
[20171114 22:32:17.438] INFO:TincanInterface: Received data from Tincan: Operation: ConfigureLogging. Task status::{u'Message': u'Tincan logging successfully configured.', u'Success': True}
[20171114 22:32:17.438] INFO:TincanInterface: Received data from Tincan: Operation: CreateVnet. Task status::{u'Message': u'', u'Success': True}
[20171114 22:32:17.438] INFO:TincanInterface: Received data from Tincan: Operation: SetIgnoredNetInterfaces. Task status::{u'Message': u'', u'Success': True}
[20171114 22:32:17.438] DEBUG:TincanInterface: Tincan Request: {'Request': {'Initiator': 'BaseTopologyManager', 'UID': None, 'MAC': '', 'Command': 'QueryNodeInfo', 'ProtocolVersion': 4, 'InterfaceName': u'ipop_tap0'}, 'TransactionId': 5, 'ControlType': 'TincanRequest', 'ProtocolVersion': 4}
[20171114 22:32:17.438] DEBUG:TincanInterface: Tincan Request: {'Request': {'Initiator': 'BaseTopologyManager', 'UID': None, 'MAC': '', 'Command': 'QueryNodeInfo', 'ProtocolVersion': 4, 'InterfaceName': u'ipop_tap0'}, 'TransactionId': 6, 'ControlType': 'TincanRequest', 'ProtocolVersion': 4}
[20171114 22:32:17.439] DEBUG:TincanInterface: current state of dd7e18d641c0f18b4f80a1886b589cc2525a931e : {'mac': u'66F5F6C9A3EA', '_uid': u'dd7e18d641c0f18b4f80a1886b589cc2525a931e', '_ip4': u'10.11.0.12', '_fpr': u'sha-1 2B:56:C8:ED:59:11:C1:B5:13:3B:3A:40:96:87:CB:FF:97:40:40:6C', 'interface_name': u'ipop_tap0', 'type': 'local_state'}
[20171114 22:32:17.439] INFO:LinkManager: LM Local Node Info UID:dd7e18d641c0f18b4f80a1886b589cc2525a931e MAC:66F5F6C9A3EA IP4: 10.11.0.12
[20171114 22:32:17.439] DEBUG:TincanInterface: current state of dd7e18d641c0f18b4f80a1886b589cc2525a931e : {'mac': u'66F5F6C9A3EA', '_uid': u'dd7e18d641c0f18b4f80a1886b589cc2525a931e', '_ip4': u'10.11.0.12', '_fpr': u'sha-1 2B:56:C8:ED:59:11:C1:B5:13:3B:3A:40:96:87:CB:FF:97:40:40:6C', 'interface_name': u'ipop_tap0', 'type': 'local_state'}
[20171114 22:32:17.439] DEBUG:TincanInterface: current state of dd7e18d641c0f18b4f80a1886b589cc2525a931e : {'mac': u'66F5F6C9A3EA', '_uid': u'dd7e18d641c0f18b4f80a1886b589cc2525a931e', '_ip4': u'10.11.0.12', '_fpr': u'sha-1 2B:56:C8:ED:59:11:C1:B5:13:3B:3A:40:96:87:CB:FF:97:40:40:6C', 'interface_name': u'ipop_tap0', 'type': 'local_state'}
[20171114 22:32:27.419] DEBUG:LinkManager: Peer Nodes:: {}
[20171114 22:32:27.429] DEBUG:BaseTopologyManager: BTM Table::{'discovered_nodes': [], 'p2p_state': 'started', 'uid_mac_table': {u'dd7e18d641c0f18b4f80a1886b589cc2525a931e': [u'66F5F6C9A3EA']}, 'ipop_state': {'mac': u'66F5F6C9A3EA', '_uid': u'dd7e18d641c0f18b4f80a1886b589cc2525a931e', '_ip4': u'10.11.0.12', '_fpr': u'sha-1 2B:56:C8:ED:59:11:C1:B5:13:3B:3A:40:96:87:CB:FF:97:40:40:6C', 'interface_name': u'ipop_tap0', 'type': 'local_state'}, 'ip_uid_table': {}, 'xmpp_client_code': u'XmppClient', 'mac': u'66F5F6C9A3EA', 'peer_uid_sendmsgcount': {}, 'GeoIP': '', 'mac_uid_table': {u'66F5F6C9A3EA': u'dd7e18d641c0f18b4f80a1886b589cc2525a931e'}, 'link_type': {}, 'successor': {}}
[20171114 22:32:27.430] INFO:BaseTopologyManager: IPOP local state: dd7e18d641c0f18b4f80a1886b589cc2525a931e
[20171114 22:32:27.430] INFO:BaseTopologyManager: ipop_tap0 P2P State: SEARCHING
[20171114 22:32:37.419] DEBUG:LinkManager: Peer Nodes:: {}
[20171114 22:32:37.431] DEBUG:BaseTopologyManager: BTM Table::{'discovered_nodes': [], 'p2p_state': 'searching', 'uid_mac_table': {u'dd7e18d641c0f18b4f80a1886b589cc2525a931e': [u'66F5F6C9A3EA']}, 'ipop_state': {'mac': u'66F5F6C9A3EA', '_uid': u'dd7e18d641c0f18b4f80a1886b589cc2525a931e', '_ip4': u'10.11.0.12', '_fpr': u'sha-1 2B:56:C8:ED:59:11:C1:B5:13:3B:3A:40:96:87:CB:FF:97:40:40:6C', 'interface_name': u'ipop_tap0', 'type': 'local_state'}, 'ip_uid_table': {}, 'xmpp_client_code': u'XmppClient', 'mac': u'66F5F6C9A3EA', 'peer_uid_sendmsgcount': {}, 'GeoIP': '', 'mac_uid_table': {u'66F5F6C9A3EA': u'dd7e18d641c0f18b4f80a1886b589cc2525a931e'}, 'link_type': {}, 'successor': {}}
[20171114 22:32:37.433] INFO:BaseTopologyManager: ipop_tap0 P2P State: SEARCHING
...

Building on distribution different from the Ubuntu.

Hi there. I've try to build ipop-vpn on my Arch Linux machine.

Following instructions from here I found what building dependent WebRTC components are impossible from scripts, so, I decide to build it myself using this page. Everything works well but then I try to execute ./build/install-build-deps.sh shell told me next:

[arhichief@arhichief-pc src]$ ./build/install-build-deps.sh ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty), 14.10 (utopic), 15.04 (vivid), 15.10 (wily) and 16.04 (xenial) are currently supported

So, how to build ipop-vpn on Arch Linux?

And one more. Is where any way to cross-compile ipop-vpn to another platforms, like ARM or MIPS and how?

Cannot find netlink on Ubuntu 16.04

Hello,

Trying to compile Tincan on Ubuntu 16.04 (since it's the first try I give at compiling it I wanted to get as close to the recommended environment as possible), I stall on linking libnl.

~/workspace/ipop-project/Tincan/trunk/build$ make
...
if [ ! -d ../out/debug/x86_64/obj ]; then  mkdir -p ../out/debug/x86_64/obj; fi
g++ -o ../out/debug/x86_64/ipop-tincan ../out/debug/x86_64/obj/tincan_main.o ../out/debug/x86_64/obj/peer_network.o ../out/debug/x86_64/obj/control_listener.o ../out/debug/x86_64/obj/virtual_network.o ../out/debug/x86_64/obj/overlay.o ../out/debug/x86_64/obj/control_dispatch.o ../out/debug/x86_64/obj/tincan_control.o ../out/debug/x86_64/obj/tunnel.o ../out/debug/x86_64/obj/tincan.o ../out/debug/x86_64/obj/virtual_link.o ../out/debug/x86_64/obj/tap_frame.o ../out/debug/x86_64/obj/tapdev_lnx.o -L ../../external/3rd-Party-Libs/debug -ljsoncpp -lrtc_p2p -lrtc_base -lrtc_base_approved -lfield_trial_default -lboringssl -lboringssl_asm -lprotobuf_lite -lpthread -lnetlink -lutil
/usr/bin/ld: cannot find -lnetlink
collect2: error: ld returned 1 exit status
Makefile:19: recipe for target '../out/debug/x86_64/ipop-tincan' failed
make: *** [../out/debug/x86_64/ipop-tincan] Error 1

I've installed libnl-3-dev and libnl-genl-3-dev packages:

$ dpkg-query -W -f='${Package} ${Status} ${Version}\n' 'libnl*'
libnl-3-200		 install ok installed 3.2.27-1ubuntu0.16.04.1
libnl-3-dev		 install ok installed 3.2.27-1ubuntu0.16.04.1
libnl-cli-3-200	 install ok installed 3.2.27-1ubuntu0.16.04.1
libnl-genl-3-200	 install ok installed 3.2.27-1ubuntu0.16.04.1
libnl-genl-3-dev	 install ok installed 3.2.27-1ubuntu0.16.04.1
libnl-idiag-3-200	 install ok installed 3.2.27-1ubuntu0.16.04.1
libnl-nf-3-200	 install ok installed 3.2.27-1ubuntu0.16.04.1
libnl-route-3-200	 install ok installed 3.2.27-1ubuntu0.16.04.1
libnl-utils		 install ok installed 3.2.27-1ubuntu0.16.04.1
$ sudo find / -name genl.h
/usr/include/libnl3/netlink/genl/genl.h

Do you have pointers as to how to solve this?

Downgrading g++ to 4.9

In the IPOP TinCan build process, instead of replacing g++ with g++-4.9 which may break something on the build machine, we should make the build work without removing the current g++.

TinCan Log File Naming

I think "tincan_0.log, tincan_1.log, tincan_2.log, ..." would be a better naming methodology than the current "tincan.log_0, tincan.log_1, tincan.log_2, ...".

Free Public XMPP Service

Current sample config file is useless for end-users unless they have access to an XMPP server. I think we should have a wiki page on how to create an XMPP user on a free public service.

Building the WebRTC lib for Windows

What do I have to do to get this damn thing working on Window 7 x64?

I keep running into WindowsError: [Error 5] Access is denied Python messages during the "fetch --nohooks webrtc" step. I verified that my PATH is correct, I'm running the CMD window as admin, I've disabled both my antivirus and Windows Search to prevent files / directories getting locked in any way from advice I've seen on other threads about this issue.

And still the same messages. I wouldn't mind but they just seem to be temporary directories created during the download process, but because of some really shitty exception handling in Python, it croaks the entire process even though the src is probably good - meaning later elements he downloads such as the gn.exe etc never get done.

What exactly is locking these files and preventing the fetch process from completing?

C:\Users\Dave\webrtc-checkout>fetch --nohooks webrtc
Running: 'C:\Users\Dave\Downloads\depot_tools\python276_bin\python.exe' 'C:\Users\Dave\Downloads\depot_tools\gclient.py' root
Running: 'C:\Users\Dave\Downloads\depot_tools\python276_bin\python.exe' 'C:\Users\Dave\Downloads\depot_tools\gclient.py' config --spec 'solutions = [
  {
    "url": "https://chromium.googlesource.com/external/webrtc.git",
    "managed": False,
    "name": "src",
    "deps_file": "DEPS",
    "custom_deps": {},
  },
]
'
Running: 'C:\Users\Dave\Downloads\depot_tools\python276_bin\python.exe' 'C:\Users\Dave\Downloads\depot_tools\gclient.py' sync --nohooks --with_branch_heads
c:\users\dave\webrtc-checkout\_gclient_src_o4zufa\GIT~1 - The directory is not empty.

src (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:00]

________ running 'git -c core.deltaBaseCacheLimit=512m clone --no-checkout --progress https://chromium.googlesource.com/external/webrtc.git C:\Users\Dave\webrtc
-checkout\_gclient_src_o4zufa' in 'C:\Users\Dave\webrtc-checkout'
[0:00:00] Cloning into 'C:\Users\Dave\webrtc-checkout\_gclient_src_o4zufa'...
[0:00:01] remote: Sending approximately 141.59 MiB ...
[0:00:01] remote: Counting objects: 1
[0:00:01] remote: Counting objects: 5187, done
[0:00:01] remote: Finding sources:   1% (2/174)
[0:00:01] remote: Finding sources:  10% (18/174)
[0:00:01] remote: Finding sources: 100% (174/174)
[0:00:01] Receiving objects:   0% (1/196847)
[0:00:03] Receiving objects:   0% (1029/196847), 771.77 KiB | 432.00 KiB/s
[0:00:04] Receiving objects:   1% (2090/196847), 1.25 MiB | 417.00 KiB/s
[0:00:06] Receiving objects:   2% (3937/196847), 1.82 MiB | 439.00 KiB/s
[0:00:07] Receiving objects:   3% (5906/196847), 2.75 MiB | 487.00 KiB/s
[0:00:08] Receiving objects:   3% (7474/196847), 3.38 MiB | 522.00 KiB/s
[0:00:09] Receiving objects:   4% (9069/196847), 4.00 MiB | 574.00 KiB/s
[0:00:11] Receiving objects:   5% (11753/196847), 4.94 MiB | 563.00 KiB/s
[0:00:12] Receiving objects:   7% (13780/196847), 5.56 MiB | 564.00 KiB/s
[0:00:13] Receiving objects:   8% (15748/196847), 6.19 MiB | 569.00 KiB/s
[0:00:15] Receiving objects:  10% (19685/196847), 7.13 MiB | 563.00 KiB/s
[0:00:16] Receiving objects:  12% (23622/196847), 7.75 MiB | 602.00 KiB/s
[0:00:17] Receiving objects:  13% (27282/196847), 8.38 MiB | 601.00 KiB/s
[0:00:18] Receiving objects:  15% (30303/196847), 9.00 MiB | 600.00 KiB/s
[0:00:19] Receiving objects:  17% (33464/196847), 9.63 MiB | 604.00 KiB/s
[0:00:21] Receiving objects:  18% (37262/196847), 10.50 MiB | 573.00 KiB/s
[0:00:23] Receiving objects:  20% (39370/196847), 10.94 MiB | 470.00 KiB/s
[0:00:24] Receiving objects:  21% (41338/196847), 11.31 MiB | 409.00 KiB/s
[0:00:25] Receiving objects:  21% (43258/196847), 11.71 MiB | 347.00 KiB/s
[0:00:26] Receiving objects:  22% (44758/196847), 12.19 MiB | 331.00 KiB/s
[0:00:27] Receiving objects:  24% (47244/196847), 12.69 MiB | 380.00 KiB/s
[0:00:29] Receiving objects:  26% (51181/196847), 13.62 MiB | 459.00 KiB/s
[0:00:30] Receiving objects:  27% (54926/196847), 14.25 MiB | 522.00 KiB/s
[0:00:31] Receiving objects:  30% (59055/196847), 15.19 MiB | 598.00 KiB/s
[0:00:32] Receiving objects:  34% (66928/196847), 15.81 MiB | 604.00 KiB/s
[0:00:34] Receiving objects:  38% (74802/196847), 16.44 MiB | 605.00 KiB/s
[0:00:35] Receiving objects:  42% (82676/196847), 17.06 MiB | 611.00 KiB/s
[0:00:36] Receiving objects:  46% (90550/196847), 17.69 MiB | 611.00 KiB/s
[0:00:37] Receiving objects:  50% (99606/196847), 18.50 MiB | 578.00 KiB/s
[0:00:38] Receiving objects:  54% (108024/196847), 19.12 MiB | 579.00 KiB/s
[0:00:39] Receiving objects:  56% (111520/196847), 19.75 MiB | 579.00 KiB/s
[0:00:40] Receiving objects:  56% (111520/196847), 20.37 MiB | 579.00 KiB/s
[0:00:41] Receiving objects:  56% (111520/196847), 21.00 MiB | 579.00 KiB/s
[0:00:42] Receiving objects:  56% (111520/196847), 21.62 MiB | 612.00 KiB/s
[0:00:44] Receiving objects:  56% (111522/196847), 22.87 MiB | 612.00 KiB/s
[0:00:46] Receiving objects:  56% (111522/196847), 23.50 MiB | 612.00 KiB/s
[0:00:47] Receiving objects:  56% (111522/196847), 24.12 MiB | 612.00 KiB/s
[0:00:48] Receiving objects:  56% (111522/196847), 24.62 MiB | 579.00 KiB/s
[0:00:49] Receiving objects:  56% (111523/196847), 25.56 MiB | 579.00 KiB/s
[0:00:50] Receiving objects:  56% (111523/196847), 26.18 MiB | 579.00 KiB/s
[0:00:51] Receiving objects:  56% (111523/196847), 26.81 MiB | 578.00 KiB/s
[0:00:52] Receiving objects:  56% (111523/196847), 27.43 MiB | 610.00 KiB/s
[0:00:54] Receiving objects:  56% (111524/196847), 28.68 MiB | 608.00 KiB/s
[0:00:56] Receiving objects:  56% (111524/196847), 29.31 MiB | 609.00 KiB/s
[0:00:57] Receiving objects:  56% (111525/196847), 29.93 MiB | 610.00 KiB/s
[0:00:58] Receiving objects:  56% (111529/196847), 30.56 MiB | 576.00 KiB/s
[0:01:00] Receiving objects:  56% (111530/196847), 31.18 MiB | 502.00 KiB/s
[0:01:01] Receiving objects:  56% (111533/196847), 32.06 MiB | 482.00 KiB/s
[0:01:02] Receiving objects:  56% (111533/196847), 32.62 MiB | 465.00 KiB/s
[0:01:04] Receiving objects:  56% (111541/196847), 33.87 MiB | 560.00 KiB/s
[0:01:06] Receiving objects:  56% (111548/196847), 34.81 MiB | 582.00 KiB/s
[0:01:08] Receiving objects:  57% (113477/196847), 35.93 MiB | 569.00 KiB/s
[0:01:10] Receiving objects:  58% (115288/196847), 36.87 MiB | 568.00 KiB/s
[0:01:11] Receiving objects:  58% (115574/196847), 37.80 MiB | 564.00 KiB/s
[0:01:13] Receiving objects:  59% (116140/196847), 38.43 MiB | 562.00 KiB/s
[0:01:14] Receiving objects:  59% (117408/196847), 39.37 MiB | 604.00 KiB/s
[0:01:16] Receiving objects:  60% (119573/196847), 40.62 MiB | 608.00 KiB/s
[0:01:18] Receiving objects:  61% (121280/196847), 41.55 MiB | 612.00 KiB/s
[0:01:20] Receiving objects:  62% (123351/196847), 42.68 MiB | 583.00 KiB/s
[0:01:21] Receiving objects:  63% (124380/196847), 43.30 MiB | 583.00 KiB/s
[0:01:23] Receiving objects:  63% (125565/196847), 44.55 MiB | 583.00 KiB/s
[0:01:25] Receiving objects:  64% (127864/196847), 45.80 MiB | 613.00 KiB/s
[0:01:27] Receiving objects:  65% (129891/196847), 47.05 MiB | 613.00 KiB/s
[0:01:28] Receiving objects:  66% (130781/196847), 47.68 MiB | 612.00 KiB/s
[0:01:29] Receiving objects:  66% (131226/196847), 47.93 MiB | 578.00 KiB/s
[0:01:30] Receiving objects:  67% (131888/196847), 48.55 MiB | 578.00 KiB/s
[0:01:32] Receiving objects:  67% (132856/196847), 49.80 MiB | 577.00 KiB/s
[0:01:33] Receiving objects:  67% (133605/196847), 50.43 MiB | 578.00 KiB/s
[0:01:35] Receiving objects:  68% (135004/196847), 51.67 MiB | 612.00 KiB/s
[0:01:36] Receiving objects:  69% (135825/196847), 52.30 MiB | 612.00 KiB/s
[0:01:38] Receiving objects:  69% (137622/196847), 53.24 MiB | 612.00 KiB/s
[0:01:39] Receiving objects:  70% (138135/196847), 53.86 MiB | 612.00 KiB/s
[0:01:41] Receiving objects:  71% (139762/196847), 54.92 MiB | 569.00 KiB/s
[0:01:42] Receiving objects:  71% (140806/196847), 55.55 MiB | 569.00 KiB/s
[0:01:43] Receiving objects:  71% (141431/196847), 55.80 MiB | 530.00 KiB/s
[0:01:44] Receiving objects:  72% (142235/196847), 56.24 MiB | 476.00 KiB/s
[0:01:46] Receiving objects:  73% (143699/196847), 56.99 MiB | 454.00 KiB/s
[0:01:47] Receiving objects:  73% (144325/196847), 57.49 MiB | 415.00 KiB/s
[0:01:49] Receiving objects:  73% (145512/196847), 58.74 MiB | 489.00 KiB/s
[0:01:50] Receiving objects:  74% (146066/196847), 59.17 MiB | 493.00 KiB/s
[0:01:52] Receiving objects:  74% (147551/196847), 60.11 MiB | 563.00 KiB/s
[0:01:54] Receiving objects:  75% (149591/196847), 61.36 MiB | 564.00 KiB/s
[0:01:56] Receiving objects:  76% (150993/196847), 62.42 MiB | 550.00 KiB/s
[0:01:57] Receiving objects:  77% (151753/196847), 62.73 MiB | 548.00 KiB/s
[0:01:58] Receiving objects:  77% (152442/196847), 63.30 MiB | 533.00 KiB/s
[0:02:00] Receiving objects:  77% (152831/196847), 63.73 MiB | 395.00 KiB/s
[0:02:02] Receiving objects:  77% (152896/196847), 64.17 MiB | 363.00 KiB/s
[0:02:03] Receiving objects:  78% (153906/196847), 64.73 MiB | 349.00 KiB/s
[0:02:04] Receiving objects:  78% (154286/196847), 65.36 MiB | 333.00 KiB/s
[0:02:06] Receiving objects:  78% (154286/196847), 65.98 MiB | 344.00 KiB/s
[0:02:07] Receiving objects:  78% (154286/196847), 66.61 MiB | 479.00 KiB/s
[0:02:08] Receiving objects:  78% (154286/196847), 67.54 MiB | 539.00 KiB/s
[0:02:09] Receiving objects:  78% (154286/196847), 68.17 MiB | 575.00 KiB/s
[0:02:10] Receiving objects:  78% (154286/196847), 68.79 MiB | 586.00 KiB/s
[0:02:12] Receiving objects:  78% (154286/196847), 69.42 MiB | 581.00 KiB/s
[0:02:13] Receiving objects:  78% (154287/196847), 70.36 MiB | 577.00 KiB/s
[0:02:14] Receiving objects:  78% (154291/196847), 70.67 MiB | 553.00 KiB/s
[0:02:16] Receiving objects:  78% (154292/196847), 71.61 MiB | 558.00 KiB/s
[0:02:17] Receiving objects:  78% (154605/196847), 72.42 MiB | 532.00 KiB/s
[0:02:18] Receiving objects:  79% (155510/196847), 72.92 MiB | 502.00 KiB/s
[0:02:20] Receiving objects:  79% (156655/196847), 73.42 MiB | 480.00 KiB/s
[0:02:22] Receiving objects:  80% (158865/196847), 74.67 MiB | 488.00 KiB/s
[0:02:24] Receiving objects:  81% (160262/196847), 75.92 MiB | 529.00 KiB/s
[0:02:26] Receiving objects:  82% (161415/196847), 76.54 MiB | 558.00 KiB/s
[0:02:27] Receiving objects:  82% (162361/196847), 77.42 MiB | 549.00 KiB/s
[0:02:29] Receiving objects:  82% (163325/196847), 78.17 MiB | 464.00 KiB/s
[0:02:31] Receiving objects:  83% (164161/196847), 78.60 MiB | 352.00 KiB/s
[0:02:33] Receiving objects:  83% (164815/196847), 79.04 MiB | 271.00 KiB/s
[0:02:35] Receiving objects:  84% (165352/196847), 79.48 MiB | 243.00 KiB/s
[0:02:36] Receiving objects:  84% (165954/196847), 79.79 MiB | 240.00 KiB/s
[0:02:38] Receiving objects:  84% (166893/196847), 80.35 MiB | 252.00 KiB/s
[0:02:39] Receiving objects:  85% (167324/196847), 80.60 MiB | 250.00 KiB/s
[0:02:41] Receiving objects:  85% (167981/196847), 80.98 MiB | 244.00 KiB/s
[0:02:42] Receiving objects:  85% (168196/196847), 81.10 MiB | 235.00 KiB/s
[0:02:43] Receiving objects:  85% (168636/196847), 81.35 MiB | 212.00 KiB/s
[0:02:45] Receiving objects:  85% (169180/196847), 81.60 MiB | 169.00 KiB/s
[0:02:46] Receiving objects:  86% (169512/196847), 81.73 MiB | 166.00 KiB/s
[0:02:48] Receiving objects:  86% (170217/196847), 82.10 MiB | 166.00 KiB/s
[0:02:50] Receiving objects:  86% (170854/196847), 82.48 MiB | 181.00 KiB/s
[0:02:51] Receiving objects:  87% (171285/196847), 82.85 MiB | 214.00 KiB/s
[0:02:53] Receiving objects:  87% (172149/196847), 83.29 MiB | 221.00 KiB/s
[0:02:55] Receiving objects:  87% (173011/196847), 83.66 MiB | 234.00 KiB/s
[0:02:56] Receiving objects:  88% (173546/196847), 83.98 MiB | 247.00 KiB/s
[0:02:57] Receiving objects:  88% (173919/196847), 84.29 MiB | 249.00 KiB/s
[0:02:59] Receiving objects:  88% (174528/196847), 84.73 MiB | 250.00 KiB/s
[0:03:00] Receiving objects:  88% (175030/196847), 84.98 MiB | 247.00 KiB/s
[0:03:02] Receiving objects:  89% (175915/196847), 85.48 MiB | 260.00 KiB/s
[0:03:04] Receiving objects:  90% (177163/196847), 86.35 MiB | 353.00 KiB/s
[0:03:05] Receiving objects:  90% (178627/196847), 86.98 MiB | 439.00 KiB/s
[0:03:07] Receiving objects:  91% (180170/196847), 88.10 MiB | 534.00 KiB/s
[0:03:08] Receiving objects:  91% (180548/196847), 88.60 MiB | 512.00 KiB/s
[0:03:10] Receiving objects:  92% (181933/196847), 89.48 MiB | 474.00 KiB/s
[0:03:11] Receiving objects:  92% (182560/196847), 89.73 MiB | 452.00 KiB/s
[0:03:13] Receiving objects:  93% (183068/196847), 90.22 MiB | 425.00 KiB/s
[0:03:14] Receiving objects:  93% (184022/196847), 90.85 MiB | 415.00 KiB/s
[0:03:16] Receiving objects:  94% (185037/196847), 91.54 MiB | 384.00 KiB/s
[0:03:17] Receiving objects:  94% (186665/196847), 92.16 MiB | 406.00 KiB/s
[0:03:18] Receiving objects:  95% (188413/196847), 92.79 MiB | 449.00 KiB/s
[0:03:20] Receiving objects:  96% (190692/196847), 94.04 MiB | 570.00 KiB/s
[0:03:22] Receiving objects:  97% (191226/196847), 94.85 MiB | 559.00 KiB/s
[0:03:23] Receiving objects:  97% (191227/196847), 95.41 MiB | 537.00 KiB/s
[0:03:25] Receiving objects:  97% (191227/196847), 96.35 MiB | 526.00 KiB/s
[0:03:26] Receiving objects:  97% (191227/196847), 96.97 MiB | 524.00 KiB/s
[0:03:27] Receiving objects:  97% (191232/196847), 97.85 MiB | 550.00 KiB/s
[0:03:29] Receiving objects:  97% (191240/196847), 98.78 MiB | 556.00 KiB/s
[0:03:31] Receiving objects:  97% (191248/196847), 100.03 MiB | 566.00 KiB/s
[0:03:33] Receiving objects:  97% (191257/196847), 100.97 MiB | 601.00 KiB/s
[0:03:34] Receiving objects:  97% (191257/196847), 101.91 MiB | 602.00 KiB/s
[0:03:36] Receiving objects:  97% (191258/196847), 102.53 MiB | 596.00 KiB/s
[0:03:37] Receiving objects:  97% (191259/196847), 103.22 MiB | 505.00 KiB/s
[0:03:38] Receiving objects:  97% (191260/196847), 103.47 MiB | 486.00 KiB/s
[0:03:40] Receiving objects:  97% (191262/196847), 104.10 MiB | 426.00 KiB/s
[0:03:41] Receiving objects:  97% (191263/196847), 104.97 MiB | 419.00 KiB/s
[0:03:43] Receiving objects:  97% (191263/196847), 105.47 MiB | 452.00 KiB/s
[0:03:44] Receiving objects:  97% (191264/196847), 106.16 MiB | 440.00 KiB/s
[0:03:46] Receiving objects:  97% (191267/196847), 107.22 MiB | 465.00 KiB/s
[0:03:48] Receiving objects:  97% (191268/196847), 107.66 MiB | 447.00 KiB/s
[0:03:49] Receiving objects:  97% (191269/196847), 108.41 MiB | 452.00 KiB/s
[0:03:51] Receiving objects:  97% (191274/196847), 109.34 MiB | 475.00 KiB/s
[0:03:52] Receiving objects:  97% (191275/196847), 109.97 MiB | 498.00 KiB/s
[0:03:54] Receiving objects:  97% (191275/196847), 110.91 MiB | 573.00 KiB/s
[0:03:55] Receiving objects:  97% (191275/196847), 111.84 MiB | 595.00 KiB/s
[0:03:56] Receiving objects:  97% (191275/196847), 112.47 MiB | 585.00 KiB/s
[0:03:58] Receiving objects:  97% (191275/196847), 113.09 MiB | 577.00 KiB/s
[0:03:59] Receiving objects:  97% (191275/196847), 113.53 MiB | 542.00 KiB/s
[0:04:00] Receiving objects:  97% (191276/196847), 114.40 MiB | 527.00 KiB/s
[0:04:01] Receiving objects:  97% (191276/196847), 114.90 MiB | 510.00 KiB/s
[0:04:02] Receiving objects:  97% (191276/196847), 115.47 MiB | 505.00 KiB/s
[0:04:03] Receiving objects:  97% (191276/196847), 116.09 MiB | 541.00 KiB/s
[0:04:04] Receiving objects:  97% (191276/196847), 116.72 MiB | 549.00 KiB/s
[0:04:06] Receiving objects:  97% (191276/196847), 117.34 MiB | 575.00 KiB/s
[0:04:07] Receiving objects:  97% (191276/196847), 117.97 MiB | 597.00 KiB/s
[0:04:08] Receiving objects:  97% (191276/196847), 118.78 MiB | 559.00 KiB/s
[0:04:09] Receiving objects:  97% (191276/196847), 119.40 MiB | 559.00 KiB/s
[0:04:10] Receiving objects:  97% (191276/196847), 120.03 MiB | 558.00 KiB/s
[0:04:12] Receiving objects:  97% (191276/196847), 120.65 MiB | 561.00 KiB/s
[0:04:13] Receiving objects:  97% (192381/196847), 121.59 MiB | 599.00 KiB/s
[0:04:14] Receiving objects:  97% (192382/196847), 122.21 MiB | 599.00 KiB/s
[0:04:15] Receiving objects:  97% (192382/196847), 122.84 MiB | 599.00 KiB/s
[0:04:16] Receiving objects:  97% (192382/196847), 123.46 MiB | 599.00 KiB/s
[0:04:18] Receiving objects:  98% (194292/196847), 124.40 MiB | 593.00 KiB/s
[0:04:19] Receiving objects:  99% (195320/196847), 124.90 MiB | 561.00 KiB/s
[0:04:20] Receiving objects:  99% (195847/196847), 125.53 MiB | 558.00 KiB/s
[0:04:21] Receiving objects:  99% (195849/196847), 125.90 MiB | 506.00 KiB/s
[0:04:22] Receiving objects:  99% (195855/196847), 126.40 MiB | 484.00 KiB/s
[0:04:24] Receiving objects:  99% (195860/196847), 127.34 MiB | 518.00 KiB/s
[0:04:26] Receiving objects:  99% (195861/196847), 128.28 MiB | 548.00 KiB/s
[0:04:27] Receiving objects:  99% (195862/196847), 128.90 MiB | 597.00 KiB/s
[0:04:28] Receiving objects:  99% (195863/196847), 129.84 MiB | 591.00 KiB/s
[0:04:30] Receiving objects:  99% (195864/196847), 130.84 MiB | 539.00 KiB/s
[0:04:31] Receiving objects:  99% (195865/196847), 131.46 MiB | 542.00 KiB/s
[0:04:33] Receiving objects:  99% (195867/196847), 132.40 MiB | 547.00 KiB/s
[0:04:35] Receiving objects:  99% (196468/196847), 133.65 MiB | 599.00 KiB/s
[0:04:36] Receiving objects:  99% (196468/196847), 134.27 MiB | 599.00 KiB/s
[0:04:37] Receiving objects:  99% (196771/196847), 134.87 MiB | 594.00 KiB/s
[0:04:38] Receiving objects:  99% (196771/196847), 135.27 MiB | 542.00 KiB/s
[0:04:40] Receiving objects:  99% (196771/196847), 135.90 MiB | 455.00 KiB/s
[0:04:41] Receiving objects:  99% (196771/196847), 136.46 MiB | 431.00 KiB/s
[0:04:44] Receiving objects:  99% (196772/196847), 137.65 MiB | 451.00 KiB/s
[0:04:45] Receiving objects:  99% (196772/196847), 138.27 MiB | 471.00 KiB/s
[0:04:47] Receiving objects:  99% (196772/196847), 138.83 MiB | 473.00 KiB/s
[0:04:48] Receiving objects:  99% (196772/196847), 139.77 MiB | 473.00 KiB/s
[0:04:50] Receiving objects:  99% (196772/196847), 140.40 MiB | 499.00 KiB/s
[0:04:51] Receiving objects:  99% (196772/196847), 141.15 MiB | 515.00 KiB/s
[0:04:52] remote: Total 196847 (delta 151858), reused 196802 (delta 151858)
[0:04:52] Receiving objects: 100% (196847/196847), 141.40 MiB | 496.00 KiB/s
[0:04:52] Resolving deltas:   0% (0/151858)
[0:04:53] Resolving deltas:  10% (15187/151858)
[0:04:54] Resolving deltas:  41% (62262/151858)
[0:04:55] Resolving deltas:  69% (104786/151858)
[0:04:56] Resolving deltas:  90% (136674/151858)
[0:04:56] Resolving deltas: 100% (151858/151858)
Traceback (most recent call last):
  File "C:\Users\Dave\Downloads\depot_tools\gclient_scm.py", line 911, in _Clone
    os.path.join(self.checkout_path, '.git'))
  File "C:\Users\Dave\Downloads\depot_tools\gclient_utils.py", line 169, in safe_rename
    os.rename(old, new)
WindowsError: [Error 5] Access is denied
[0:05:07] _____ removing non-empty tmp dir C:\Users\Dave\webrtc-checkout\_gclient_src_o4zufa
----------------------------------------
Traceback (most recent call last):
  File "C:\Users\Dave\Downloads\depot_tools\gclient.py", line 2129, in <module>
    sys.exit(main(sys.argv[1:]))
  File "C:\Users\Dave\Downloads\depot_tools\gclient.py", line 2115, in main
    return dispatcher.execute(OptionParser(), argv)
  File "C:\Users\Dave\Downloads\depot_tools\subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "C:\Users\Dave\Downloads\depot_tools\gclient.py", line 1877, in CMDsync
    ret = client.RunOnDeps('update', args)
  File "C:\Users\Dave\Downloads\depot_tools\gclient.py", line 1364, in RunOnDeps
    work_queue.flush(revision_overrides, command, args, options=self._options)
  File "C:\Users\Dave\Downloads\depot_tools\gclient_utils.py", line 1048, in run
    self.item.run(*self.args, **self.kwargs)
  File "C:\Users\Dave\Downloads\depot_tools\gclient.py", line 773, in run
    file_list)
  File "C:\Users\Dave\Downloads\depot_tools\gclient_scm.py", line 156, in RunCommand
    return getattr(self, command)(options, args, file_list)
  File "C:\Users\Dave\Downloads\depot_tools\gclient_scm.py", line 438, in update
    self._Clone(revision, url, options)
  File "C:\Users\Dave\Downloads\depot_tools\gclient_scm.py", line 911, in _Clone
    os.path.join(self.checkout_path, '.git'))
  File "C:\Users\Dave\Downloads\depot_tools\gclient_utils.py", line 169, in safe_rename
    os.rename(old, new)
WindowsError: [Error 5] Access is denied
Traceback (most recent call last):
  File "C:\Users\Dave\Downloads\depot_tools\\fetch.py", line 300, in <module>
    sys.exit(main())
  File "C:\Users\Dave\Downloads\depot_tools\\fetch.py", line 295, in main
    return run(options, spec, root)
  File "C:\Users\Dave\Downloads\depot_tools\\fetch.py", line 289, in run
    return checkout.init()
  File "C:\Users\Dave\Downloads\depot_tools\\fetch.py", line 132, in init
    self.run_gclient(*sync_cmd)
  File "C:\Users\Dave\Downloads\depot_tools\\fetch.py", line 76, in run_gclient
    return self.run(cmd_prefix + cmd, **kwargs)
  File "C:\Users\Dave\Downloads\depot_tools\\fetch.py", line 66, in run
    return subprocess.check_output(cmd, **kwargs)
  File "C:\Users\Dave\Downloads\depot_tools\python276_bin\lib\subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '('C:\\Users\\Dave\\Downloads\\depot_tools\\python276_bin\\python.exe', 'C:\\Users\\Dave\\Downloads\\depot_tools\\gclient
.py', 'sync', '--nohooks', '--with_branch_heads')' returned non-zero exit status 1


```C:\Users\Dave\webrtc-checkout>

WEBRTC gclient sync fail,What did I do wrong?

~/webrtc-checkout$ fetch --no-history --nohooks webrtc

Running: gclient root
Running: gclient config --spec 'solutions = [
{
"url": "https://webrtc.googlesource.com/src.git",
"managed": False,
"name": "src",
"deps_file": "DEPS",
"custom_deps": {},
},
]
'
Running: gclient sync --nohooks --no-history --with_branch_heads
Running: git submodule foreach 'git config -f $toplevel/.git/config submodule.$name.ignore all'
Running: git config --add remote.origin.fetch '+refs/tags/:refs/tags/'
Running: git config diff.ignoreSubmodules all

~/webrtc-checkout/src$ git branch -r
branch-heads/3.50
branch-heads/3.51
branch-heads/3.52
branch-heads/3.53
branch-heads/3.54
branch-heads/3.55
branch-heads/38
branch-heads/38p
branch-heads/39
branch-heads/39p
branch-heads/40
branch-heads/40p
branch-heads/41
branch-heads/41p
branch-heads/42
branch-heads/42p
branch-heads/43
branch-heads/44
branch-heads/45
branch-heads/46
branch-heads/47
branch-heads/48
branch-heads/49
branch-heads/50
branch-heads/51
branch-heads/52
branch-heads/53
branch-heads/54
branch-heads/55
branch-heads/56
branch-heads/57
branch-heads/58
branch-heads/59
branch-heads/60
branch-heads/61
branch-heads/62
branch-heads/63
origin/HEAD -> origin/master
origin/master

~/webrtc-checkout/src$ git checkout branch-heads/57
之前的 HEAD 位置是 a319931... Generate JNI code for built in Integer class
HEAD 目前位于 52b6562... Merge to 57: Clear out cached codecs when calculating new codec lists.

~/webrtc-checkout/src$ gclient sync
________ running '/usr/bin/python src/cleanup_links.py' in '/home/xvpn/webrtc-checkout'
Syncing projects: 36% (11/30) src/third_party

src/buildtools (ERROR)

[0:00:00] Started.

Error: Command 'git checkout --quiet cb12d6e8641f0c9b0fbbfa4bf17c55c6c0d3c38f' returned non-zero exit status 128 in /home/xvpn/webrtc-checkout/src/buildtools
fatal: reference is not a tree: cb12d6e8641f0c9b0fbbfa4bf17c55c6c0d3c38f


What did I do wrong?

Import KeyRing Scope Problem

Whenever KeyRing module is installed, after running the Controller, it throws an error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/vd/Downloads/ipop-rel17.08-ubuntu/controller/Controller.py", line 55, in <module>
    main()
  File "/home/vd/Downloads/ipop-rel17.08-ubuntu/controller/Controller.py", line 50, in main
    cfx.initialize()
  File "controller/framework/CFx.py", line 82, in initialize
    self.load_module(key)
  File "controller/framework/CFx.py", line 126, in load_module
    handle.initialize()
  File "controller/framework/CFxHandle.py", line 65, in initialize
    self.CMInstance.initialize()
  File "controller/modules/XmppClient.py", line 315, in initialize
    xmpp_password = keyring.get_password("ipop", xmpp_ele['Username'])
NameError: global name 'keyring' is not defined

The problem is with the scope of keyring global name. A quich fix would be to import keyring at the top of controller/modules/XmppClient.py.

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.