anyone heard of a tor (http://www.torproject.org/index.html.it) porting to android? do you know about such similar project for the android platform?
thx
fl3xo said:
anyone heard of a tor (http://www.torproject.org/index.html.it) porting to android? do you know about such similar project for the android platform?
thx
Click to expand...
Click to collapse
I suspect something malicious seeing as how that link ends in .html.it
xsnipuhx said:
I suspect something malicious seeing as how that link ends in .html.it
Click to expand...
Click to collapse
its just a language thing.
Just go here: http://www.torproject.org/index.html
.it prolly stands for Italian.
xsnipuhx said:
I suspect something malicious seeing as how that link ends in .html.it
Click to expand...
Click to collapse
sorry, i'm of italian language.
fl3xo said:
anyone heard of a tor (http://www.torproject.org/index.html.it) porting to android? do you know about such similar project for the android platform?
thx
Click to expand...
Click to collapse
There's nothing to "port". You download the source, compile it for ARM, run it, and configure your system to use it. Should work fine.
Note: You don't actually need to run tor locally on your phone if you don't want to... you can actually forward a port over SSH to some tor server (i.e., your home computer).
U're absolutely in right. Tor and provoxy, cross compiled for armv6, really works. It's really really slow, but i can't expect nothing more (i compiled various linux application for android, clamav for example, and they are all very slow).
The real problem is another. The default browser and other browsers found on the market, do not support SOCKS so i'm forced to set an HTTP proxy with provoxy.
Read https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS can discover that's a real nonsense: compile tor, install it, but you're not anonimazed at 100% against a clever attacker.
any idea!?
Right... the problem is that in using HTTP proxy, it uses the system-configured DNS server, which means that there is the potential to trace your activities (at least partially) based on the DNS servers you look up.
Using tor-dns-proxy.py (not torDNS since it is a windonkey-only prog) as your DNS server should do the trick... two issues there though; 1) you need a python interpreter to run this -- either compiler fun, debian, or ssh tunnel, 2) Networking is a little funny on 'droid -- I'm not sure that replacing the 4.2.2.2->4.2.2.4's from the resolv.conf would actually do it. Probably not. There is a property (getprop/setprop) for DNS which will probably work. Alternative is you rewrite tor-dns-proxy.py in C and that should definitely work.
This is actually quite strange... 4.2.2.2->4.2.2.4 are public DNS servers owned by level 3 communications. The DNS server set in the system properties is the one set by DHCP.... can't quite understand the use of the L3C servers except maybe as a fallback? Or commandline programs bypass the 'droid systems and use the L3C servers whereas the 'droid apps use the DHCP provided servers, i.e. put something in there so that terminal apps aren't broken by unavailability of 'droid system DNS server...
About your performance issues.... I've always found the tor network to be brutally slow, are you sure it is a hardware performance issue and not simply the network?
fl3xo said:
U're absolutely in right. Tor and provoxy, cross compiled for armv6, really works. It's really really slow, but i can't expect nothing more (i compiled various linux application for android, clamav for example, and they are all very slow).
The real problem is another. The default browser and other browsers found on the market, do not support SOCKS so i'm forced to set an HTTP proxy with provoxy.
Read https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS can discover that's a real nonsense: compile tor, install it, but you're not anonimazed at 100% against a clever attacker.
any idea!?
Click to expand...
Click to collapse
lbcoder said:
This is actually quite strange... 4.2.2.2->4.2.2.4 are public DNS servers owned by level 3 communications. The DNS server set in the system properties is the one set by DHCP.... can't quite understand the use of the L3C servers except maybe as a fallback? Or commandline programs bypass the 'droid systems and use the L3C servers whereas the 'droid apps use the DHCP provided servers, i.e. put something in there so that terminal apps aren't broken by unavailability of 'droid system DNS server...
Click to expand...
Click to collapse
I've confirmed that.... terminal apps use L3C servers from resolv.conf, 'droid apps use DHCP provided server, so if you run a tor DNS proxy locally, you can "setprop net.dns1 127.0.0.1", "setprop net.dns2 127.0.0.1", "echo "nameserver 127.0.0.1>/etc/resolv.conf"" ... etc.
lbcoder said:
About your performance issues.... I've always found the tor network to be brutally slow, are you sure it is a hardware performance issue and not simply the network?
Click to expand...
Click to collapse
I think because of static linking used for compiling libevent, openssl and tor source. I'm lack of free time to learn about ndk and android shared library, but probably this can be the first step to increase performance of a lot of application not specifically written for android.
With tor in background is quite impossible doing anything else.
I often use torpark for surfing (both win and linux version) and i think the incredible slowness on the phone is not justified by transit of streams on the onion network.
fl3xo said:
With tor in background is quite impossible doing anything else.
I often use torpark for surfing (both win and linux version) and i think the incredible slowness on the phone is not justified by transit of streams on the onion network.
Click to expand...
Click to collapse
Use a performance analyzer like top to see how much cpu your tor process is eating. Probably significant.
Using top, the tor load remains over 90%, even not actively surfing. What the mess?
Related
Does anyone know how to make a website that can only be viewed by an android phone? Like how the iPhone has websites only viewable by iPhones & iPod Touches? If you do can you post a tutorial on how it could be done? Thanks
Check the "User-Agent" from the HTTP request.
Short php code that switch the site (not tested, should work)
PHP:
<?php
if(preg_match("/android/", $_SERVER['HTTP_USER_AGENT']))
{
header('Location: androidSite.php');
}
else
{
header('Location: normalSite.php');
}
?>
Or you use getBrowser()
And then you have just to fit the design of the design or do what you want
The only way to actually stop non-android devices from accessing the website is to force the android users to install an android-only plugin to be installed in the browser (not supported by default browser) or to use a custom browser. Said plugin will authenticate with your service using only-you-know credentials, thus preventing any non-android device from accessing it. The user agent is REALLY REALLY simple to fake.
lbcoder said:
The only way to actually stop non-android devices from accessing the website is to force the android users to install an android-only plugin to be installed in the browser (not supported by default browser) or to use a custom browser. Said plugin will authenticate with your service using only-you-know credentials, thus preventing any non-android device from accessing it. The user agent is REALLY REALLY simple to fake.
Click to expand...
Click to collapse
If you want to be absolute about it, it would not be outside the realm of possibility to reverse engineer the authentication output of the hypothesized plugin and create a workaround. Furthermore, as the plugin would likely be an arm binary library, there's probably not that much preventing it from being run (reasonably) on any arm-based system.
user-agent is probably (i'm guessing) enough for what the OP has in mind.
Here you can generate your own script:
http://detectmobilebrowsers.mobi/
For example: iPhone devices redirect to ebay for buying a android device
and Android Browsers comes in.
PHP:
include('mobile_device_detect.php');
mobile_device_detect('http://shop.ebay.com/i.html?_nkw=android&_armrs=1&_from=&_ipg=','http://website.com/android.html',false,false,false,false,false,false);
Download the PHP script for non commercial sites here:
http://detectmobilebrowsers.mobi/#download
It may be possible to reverse engineer it (not necessarily in case it is actually well designed), but even if it is, it would be non-trivial, even if implemented by an idiot. Changing the UA *is* trivial, even to a complete moron.
And who says it has to be an arm binary library? Maybe go with something in javadroid instead.... and link it to the device IMEI... using a time-based crypto function that only runs on your server, i.e. device --> server crypto service --> device with magic enabler key --> web server authentication. You can make something REALLY MESSY that nobody would bother to reverse, and something that can only run in android (i.e. dalvik). Sure dalvik can be run on other 'nix systems, but by doing so, they become quasi-droid anyways...
jashsu said:
If you want to be absolute about it, it would not be outside the realm of possibility to reverse engineer the authentication output of the hypothesized plugin and create a workaround. Furthermore, as the plugin would likely be an arm binary library, there's probably not that much preventing it from being run (reasonably) on any arm-based system.
user-agent is probably (i'm guessing) enough for what the OP has in mind.
Click to expand...
Click to collapse
Useful app, and it did speed up my browsing and market downloads, a lot!
https://market.android.com/details?id=uk.co.mytechie.setDNS&rdid=uk.co.mytechie.setDNS&rdot=1
okantomi said:
Useful app, and it did speed up my browsing and market downloads, a lot!
https://market.android.com/details?id=uk.co.mytechie.setDNS&rdid=uk.co.mytechie.setDNS&rdot=1
Click to expand...
Click to collapse
I have tried this - however, I use OpenDNS at home and saw improvement
Im going out on a limb here and guessing the app will only work if ou have DNS set up on the network in which you are connected to.
tincbtrar said:
I have tried this - however, I use OpenDNS at home and saw improvement
Im going out on a limb here and guessing the app will only work if ou have DNS set up on the network in which you are connected to.
Click to expand...
Click to collapse
Hmmm...seems to really work with several different networks, including my Clear Wimax MiFi. Placebo effect? I don't care, if it works. Especially for those never ending market updates...
Hah that's funny! I actually just went about changing up my DNS servers again for my home network. I actually have my wireless router and all other devices set up with a great DNS server setup. The primary DNS is Google's main public server, which is 8.8.8.8, meanwhile my secondary is the server that is closest to my actual location, which is good. Just in case the main server fails I will still have a close server connection, which means an overall good connection to fall back on.
Best tool to use all around to find out if your primary and secondary DNS servers are really fast and reliable? Google's own tool called namebench. It can be found here: http://code.google.com/p/namebench/
It will recommend to you the fastest server as the main, showing the percentage of how much better it is compared to your current, and it will also show the closest server based on your location for the secondary. Works like a charm every single time.
Actually, I have been using Google's DNS for like 2 years now as my main, but my secondary is what has recently changed. No complaints here at all. It chugs along like it should without so much as a hiccup.
Anyone reading this: Once you find the best DNS servers for yourself, you should go about applying them to all of your internet enabled devices as I have done myself. For example: wireless router, computer, phone, tablet, Wii, PS3, and any other device you can think of! You shan't regret it!
StrifeSoldierVII said:
Hah that's funny! I actually just went about changing up my DNS servers again for my home network. I actually have my wireless router and all other devices set up with a great DNS server setup. The primary DNS is Google's main public server, which is 8.8.8.8, meanwhile my secondary is the server that is closest to my actual location, which is good. Just in case the main server fails I will still have a close server connection, which means an overall good connection to fall back on.
Best tool to use all around to find out if your primary and secondary DNS servers are really fast and reliable? Google's own tool called namebench. It can be found here: http://code.google.com/p/namebench/
It will recommend to you the fastest server as the main, showing the percentage of how much better it is compared to your current, and it will also show the closest server based on your location for the secondary. Works like a charm every single time.
Actually, I have been using Google's DNS for like 2 years now as my main, but my secondary is what has recently changed. No complaints here at all. It chugs along like it should without so much as a hiccup.
Anyone reading this: Once you find the best DNS servers for yourself, you should go about applying them to all of your internet enabled devices as I have done myself. For example: wireless router, computer, phone, tablet, Wii, PS3, and any other device you can think of! You shan't regret it!
Click to expand...
Click to collapse
Yes, I chose Google DNS for my main when on the go (using MiFi usually) and will set to whatever works best at home (haven't checked yet but will use that namebench app you recommend). I have seen a real improvement so far.
Here is my scenario:
I have several locations that expose resources to over the public network for the purpose of monitoring (cameras, networks, etc.).
I secure access using multiple layers. In addition to the standard user name and login, I also do a reverse DNS check on my firewall to make sure the traffic is coming from either another one of my locations or my mobile phone. To accomplish this on my phone, I would need a dynamic DNS update client for my phone.
I know I can accomplish this by visiting the website and forcing an update, but I would rather have it automated.
Thanks in advance for your help,
Mike
The protocol isn't very complicated, so you could whip up such an app pretty easily if there isn't already one in the store. On the other hand, it's not the kind of thing most people would find useful. Even leaving aside the fact that Dyn just killed their free accounts, it's usually aimed at servers (game servers, remote desktop/ssh servers, VPN servers, home web servers, etc.) and one doesn't generally run a server on their phone.
Hi
My phone lumia 930 so windows 8.1
I have seen on US market is Putty, unfortunately cannot download it because stay in uk
I tried to change region for US in phone but doesn't work
Anyone have idea how to install apps from other country app store or know working ssh client which will connect with my qnap nas server?
There's lots of WP SSH clients. I haven't tested them all on 8.1, but they should work. Have you considered just checking the store for "ssh"?
The one I use is called "The SSH Client". The free version works quite well, although there's a paid version with more features.
Yeah, there is few of them and some working but in lan only.
If I'm trying get connected from outside my lan will revive only : This port is not supported by ssh.
Port is properly redirected but different as standard.
Any way it shouldn't be a problem I have putty on my windows rt and connecting without any problems.
wojtas29 said:
Yeah, there is few of them and some working but in lan only.
If I'm trying get connected from outside my lan will revive only : This port is not supported by ssh.
Port is properly redirected but different as standard.
Any way it shouldn't be a problem I have putty on my windows rt and connecting without any problems.
Click to expand...
Click to collapse
Well if you're familiar with SSH then you must of heard about PUTTY , so i'm happy to inform you that there is a working WP8 version of PUTTY, for now it's in closed beta, but you can be part of it, just be sure to drop the developer an email( the default MS account on the device ) for beta access at [email protected]
Can confirm eventhou it's still in beta it's working like a charm.
PROOF : PUTTY
Any decent SSH client, including the one I recommended, supports custom ports... but hey, that PuTTY looks pretty good too!
GoodDayToDie said:
Any decent SSH client, including the one I recommended, supports custom ports... but hey, that PuTTY looks pretty good too!
Click to expand...
Click to collapse
Well it's more than an ssh client, it supports also raw, telnet and rlogin connection types.
VSparxx said:
Well it's more than an ssh client, it supports also raw, telnet and rlogin connection types.
Click to expand...
Click to collapse
Indeed it is. I'm the developer behind the PuTTY port, glad to see it getting some love. Tunnelling is supported in the latest version but still has a few bugs to iron out and I am also working on support for serial over bluetooth too
noggin182 said:
Indeed it is. I'm the developer behind the PuTTY port, glad to see it getting some love. Tunnelling is supported in the latest version but still has a few bugs to iron out and I am also working on support for serial over bluetooth too
Click to expand...
Click to collapse
Hi...great to see some input from the dev., I'm an system admin and rely heavily on your app. so thank you for bringing this awesome tool to WP.
Also maybe it's time to make the app public, as I don't have any problems with it, so general everyone should be fine with it.
Many thanks again.
VSparxx said:
Also maybe it's time to make the app public, as I don't have any problems with it, so general everyone should be fine with it.
Click to expand...
Click to collapse
Yup, there are a few things that need sorting out. For some people it occasionally crashes when they connect and it's related to loading the sound files used for the system beep and the keyboard clicks. I've not been able to get to the bottom of that yet but the next minor update has some improved crash reporting which should help.
There is also a few people experiencing some problems whilst tunnelling.
I can't reproduce either of this bugs though in the emulator or any of my phones. Once they're sorted though I should be taking it public
noggin182 said:
Yup, there are a few things that need sorting out. For some people it occasionally crashes when they connect and it's related to loading the sound files used for the system beep and the keyboard clicks. I've not been able to get to the bottom of that yet but the next minor update has some improved crash reporting which should help.
There is also a few people experiencing some problems whilst tunnelling.
I can't reproduce either of this bugs though in the emulator or any of my phones. Once they're sorted though I should be taking it public
Click to expand...
Click to collapse
Neither of those affected me, maybe poor net signal is the culprit of tunnelling errors.
Can I really view internal system files using SHSH client on WP? I own Lumia 920.
No, you would need an SSH *server* for that. I don't have one of those (although it should be possible to write or port one), but an FTP / Telnet server is pretty easy.
Alternatively, you can use the Webserver app in my signature.
Note that in either case, this will let you browse only small parts of the file system (the Windows directory and the application's own directories). The AllCapabilities version of the webserver has more access (it can see other apps, your documents and media folders, OEM folders, and the entire SD card), but is still restricted. You need capability-unlock (usually means a Samsung phone) to install the AppCaps version of the app.
Android 9 supports "Private DNS" which uses DNS-over-TLS to provide better security and privacy, I set my X4 to "dns.google" instead of "automatic", as per this article: https://android-developers.googleblog.com/2018/04/dns-over-tls-support-in-android-p.html
- looking for some insights/comments on a subject of practical benefits of this feature.
Google private DNS setup: https://developers.google.com/speed/public-dns/docs/using#android
A DNS over TLS connection is encrypted in the same way HTTPS is. It can also sometimes be quicker than the default DNS (correct me if I'm wrong about this). However, airports and some other places do not allow external DNS, forcing you to turn it off.
MisterFribble said:
A DNS over TLS connection is encrypted in the same way HTTPS is. It can also sometimes be quicker than the default DNS (correct me if I'm wrong about this). However, airports and some other places do not allow external DNS, forcing you to turn it off.
Click to expand...
Click to collapse
Good to know that, I was setting up my new router at home the other day, so I went through some web sites getting some info and ended up changing all DNS/iPvs etc..., that's how I stumbled upon that 'tls' thing and was wondering if it has any merit to it. My desktop browser(Firefox) used to be very slow and now it's pulling pages really fast after changing to Google DNS from random default. Am suspecting my cable co. has been monitoring my web traffic, slowing it down.
With dns.adguard the phone has functional add blocker, tried several free apps from the play store and it seem to filter adverts out pretty good, no standalone app just the private dns set up:
mzsquared said:
With dns.adguard the phone has functional add blocker, tried several free apps from the play store and it seem to filter adverts out pretty good, no standalone app just the private dns set up:
Click to expand...
Click to collapse
I agree. But it still lets a few ads though. So if there is a better dns-over-tls alternative to adguard I'm open to trying it.
Nezzox said:
I agree. But it still lets a few ads though. So if there is a better dns-over-tls alternative to adguard I'm open to trying it.
Click to expand...
Click to collapse
You can try adguard.apk. I like just the simple dns thing. Here is a link w/ a lot of information about it, see all the comments below the article:
https://www.androidpolice.com/2018/...wn-dns-service-and-it-works-with-android-pie/
mzsquared said:
You can try adguard.apk. I like just the simple dns thing. Here is a link w/ a lot of information about it, see all the comments below the article:
https://www.androidpolice.com/2018/...wn-dns-service-and-it-works-with-android-pie/
Click to expand...
Click to collapse
Well, I used blokada before. The point for me is to find something that enables me to not use a apk. The ideal solution would be to have a more aggressive dns-over-tls adblocking since it's possible in Android pie. I feel that adguard is too allowing and does not fair well in blocking ads delivered from Facebook or local ads.