Comments (18)
Is this project still active? Interested in participating.
from icepa.
- I forgot to push a file – check now and see if the
ViewController
builds - Can you post the full build log of
tun2tor-iOS
?
Also, Rust is now at version 1.8, so you might want to follow the updated README instructions.
Also, of note: you will not be able to use iCepa at all unless you have those entitlements from Apple.
from icepa.
ViewController builds now. I have followed the updated README but the error is there.
Here is the full build log of tun2tor-iOS
https://gist.github.com/ali-ht10/32b8c46c24004895c3971e3d4fc17ac7
Thanks
from icepa.
Make sure that your submodules are initialized:
git submodule update --init --recursive
from icepa.
Submodules not being initialized is causing the tun2tor-iOS issue?
from icepa.
That's the only reason I can think of that Cargo.toml
would not be in Extension/tun2tor
. Is the file there?
from icepa.
Nop
from icepa.
But I don't think the second error, Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: target/x86_64-apple-ios/debug/libtun2tor.a ,
is related to Cargo.toml. Maybe its not building the tun2tor.sh file properly.
What do you think?
from icepa.
Well I initialized the submodules and Cargo.toml was there after the initialization. Missing Cargo.toml error is fixed. On building the project, I get this:
Updating registry https://github.com/rust-lang/crates.io-index
Compiling ip v1.1.1
Compiling libc v0.2.10
Compiling socks v0.1.0 (file:///Workspace/Documents/iCepa/iCepa/Extension/tun2tor)
Compiling tun2tor v0.1.0 (file:///Workspace/Documents/iCepa/iCepa/Extension/tun2tor)
error: could not find native static library compiler-rt
, perhaps an -L flag is missing?
Could not compile tun2tor
.
To learn more, run the command again with --verbose.
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: target/x86_64-apple-ios/debug/libtun2tor.a (No such file or directory)
Here is the full build log:
https://gist.github.com/ali-ht10/ca5721736cae71e951213ca60cbca4f0
from icepa.
After reinstalling rust, I did manage to successfully build the project. But when I press Start Tor button, the controller.addObserverForCircuitEstablished block is never called. The connected property of controller was false.
Debugging the iOS extension, controller.connect() in startTunnelWithOptions method leads to an error: Error Domain=NSPOSIXErrorDomain Code=49 "Can't assign requested address"
Do I have to change the TorConfiguration, TunnelNetworkSettings according to my own need or will the originals configuration and settings work?
Thanks
from icepa.
To respond to your old comments:
- The second error,
can't open input file
was a result of the failure of the first error - Not being able to find
compiler-rt
is most likely because the compiler does not have the proper target compiled in
As for NSPOSIXErrorDomain Code=49
, or EADDRNOTAVAIL
– that is a current crippling issue that was introduced by some change I made and I can't figure out what causes it or how to fix it. That is what I am currently working on with regards to the project. I will try to fix it this weekend!
from icepa.
And what about the Tor configuration and the TunnelNetworkSettings?
How can I monitor the DNS traffic through this app? Do I have to monitor that by running the app extension?
from icepa.
I'm just wondering that whether Apple allows you to route all of your device's traffic through Tor. Because on App Store, majority of the apps related to Tor are Web Browsers. Meaning only one app's traffic is routed through Tor. I did query this question about whether Apple allows you to route all your traffic but got no response.
What do you think?
from icepa.
Hi @ali-ht10, you’re correct that apps currently in the App Store only have Tor within themselves. Generally, if you want Tor inside an iOS app, the Tor daemon needs be run as a thread within the app — not as a subprocess, like on Android or on normal computers. When you leave the Tor-using app to use another app, the Tor daemon is paused along with the rest of the app and can no longer process traffic.
The entire point of this iCepa project is to build something where Tor can run system-wide, as you describe. (The iOS 9 Network Extension framework is the new thing that hopefully allows this to happen.) However, iCepa is still a work in progress and does not completely work yet (see list here). So some of your other questions may not have answers yet.
But: the default NEPacketTunnelNetworkSettings
and TORConfiguration()
options should be OK to reuse, though if Tor is blocked where you are located, you may need more settings passed to TORConfiguration()
.
(I’m going to leave this ticket open pending the NSPOSIXErrorDomain Code=49 "Can't assign requested address"
issue.)
from icepa.
Yes it is! I am going to push some changes with Swift 3 in iCepa
and Tor.framework
, and it should be possible to install without a jailbreak now that iOS 10 beta 2 raises the memory limit!
from icepa.
Requested "special Network Extension entitlements". Looking forward to getting this app live !
from icepa.
I got an automatic response from that apple email pointing me to some sort of questioner, might be a dead link...
"Sorry, you cannot view this page.
This page no longer exists or the Apple ID you signed in with does not have permission to view this page. If you’re currently a member of the Apple Developer Program, you or your Team Agent may need to update your account by agreeing to the latest license agreement in order to access this page."
from icepa.
I resolved EADDRNOTAVAIL
back in June at WWDC – going to close this issue.
from icepa.
Related Issues (20)
- Failed to connect to git.torproject.org HOT 1
- tor: line 57: ./Configure: No such file or directory HOT 2
- build failed with Xcode9 HOT 2
- Add a license HOT 1
- Command /bin/bash failed with exit code 64
- iCepaTunnel is killed on iPhone 5S for using too much memory HOT 1
- how to get amount of data which was uploaded and downloaded??
- Build Failed (Carthage) HOT 1
- Build falied HOT 3
- Build falied HOT 4
- is this project dead? HOT 9
- Build failed with Use of unresolved identifier 'tun2tor_run' HOT 3
- What is serverAddress in NETunnelProviderProtocol confuguration? HOT 4
- AppStore HOT 1
- Cannot access .onion URL HOT 2
- Name it just 'Cepa' HOT 1
- Release build broken HOT 3
- Tor
- how to debug the rust code with Xcode ?
- VPN no longer connects after iOS 17.2 update HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icepa.