Closed GoogleCodeExporter closed 9 years ago
Tested with NavFree and looks that this app don't respects android proxy
settings.
It makes direct connections to servers.
If you have rooted phone you can try with SandroPorxy APP tab and http/https
redirection.
I will make some more tests.
Original comment by supp.san...@gmail.com
on 19 Jun 2013 at 2:10
Thank you.
I don't know if i have to do something else but....
I've tried to set in SandroProxy APP tab Navfree checked (http + https) .
It doesn't work.
Greetings
Original comment by pzand...@gmail.com
on 19 Jun 2013 at 2:36
Maybe you should also ask in this group what could be wrong.
https://groups.google.com/a/navmii.com/forum/#!topic/android-app/RvpKQqsmKWw
Original comment by supp.san...@gmail.com
on 19 Jun 2013 at 2:41
I find out that is working if you make redirection in SandroProxy APP tab for
NavFree.
But you must also enabled transparent proxy with Settings->Transparent proxy
To achieve all that your device must be rooted.
If you need more help to set up send mail to supp.sandrob@gmail.com
Original comment by supp.san...@gmail.com
on 20 Jun 2013 at 7:13
Original comment by supp.san...@gmail.com
on 20 Jun 2013 at 7:23
I checked transparent proxy.... doesn't work.
Original comment by pzand...@gmail.com
on 20 Jun 2013 at 10:18
Stop/start is needed to activate new settings.
Can you send what is in log tab when you activate Network Info action from Log
TAB?
There should be lines that shows that device is listening on ports 8009 and
8010
and iptables rules for NavFree redirection to this ports.
Long click on log screen and context menu will appear
where you can copy content to clipboard.
Original comment by supp.san...@gmail.com
on 20 Jun 2013 at 10:37
Yes it shows
Proxy listening on 127.0.0.1:8010
Proxy listening on 127.0.0.1:8009
Proxy listening on 127.0.0.1:8008
A question:
- to stop/start i must simply tap on X and then on > to the top of App?
Many,many thx for your attention.
Original comment by pzand...@gmail.com
on 20 Jun 2013 at 12:24
Yes, you stop with X and start with >.
There should be also some lines like
iptables -t nat -A OUTPUT -m owner --uid-owner <xxxxx> -p tcp --dport 80 -j
DNAT --to 127.0.0.1:8009
Original comment by supp.san...@gmail.com
on 20 Jun 2013 at 12:54
do you mean this:
#redirect outbound port from 80 to 127.0.0.1:8009
/data/data/org.sandroproxy/files/iptables_armv7 -t nat -A sandrop_proc -m owner
--uid-owner 10171 -p tcp --dport 80 -j DNAT --to 127.0.0.1:8009
FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:478
- successful.
Original comment by pzand...@gmail.com
on 20 Jun 2013 at 1:37
Yes, this also looks okey. And what is logged when you start NavFree?
Original comment by supp.san...@gmail.com
on 20 Jun 2013 at 1:43
The strange thing is ads works perfectly in NavFree, but when i try to search
somwthing with inside google icon it says No internet connection.
However, here the log when i try to search in Navfree
Reading request from the browser
Version: HTTP/1.1 keepAlive: Keep-Alive reuseCount:1
Finished writing the response to the browser
Writing the response to the browser
http://met.adwhirl.com:80/exmet.php?appid=5958645d8aca4f26bca7624bbf81e72a&nid=3
b00351f657e473db0ddc94cd66a0db4&type=17&uuid=7d1dd13a2fa91c0ad174cb69a11549a3&co
untry_code=it_IT&appver=320&client=2 : 200 OK
Response:
200 OK
Via: 1.1 <proxyname>
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 0
Content-Type: text/html
Server: Jetty(7.6.1.v20120215)
Reading the response
Request :
GET
http://met.adwhirl.com:80/exmet.php?appid=5958645d8aca4f26bca7624bbf81e72a&nid=3
b00351f657e473db0ddc94cd66a0db4&type=17&uuid=7d1dd13a2fa91c0ad174cb69a11549a3&co
untry_code=it_IT&appver=320&client=2 HTTP/1.1
Host: met.adwhirl.com
User-Agent: Apache-HttpClient/UNAVAILABLE (java 1.4)
Proxy-Authorization: NTLM
TlRMTVNTUAADAAAAGAAYAEAAAAAOAQ4BWAAAAAAAAAAAAAAAEAAQAGYBAAAWABYAdgEAAAAAAAAAAAAA
BYIIAPqKCRi150KHZFEDHUMcOP384yudOabmGmZ6fpKCv8Tz6qT2DN0xeSIBAQAAAAAAANBOWOu+bc4B
BLXUP0IN/6MAAAAAAgAaAFQARQBMAEUAQwBPAE0ASQBUAEEATABJAEEAAQAcAFQARQBMAFAAUgBBADEA
MAAxAFIATQAwADAAMQAEACYAdABlAGwAZQBjAG8AbQBpAHQAYQBsAGkAYQAuAGwAbwBjAGEAbAADAEQA
VABFAEwAUABSAEEAMQAwADEAUgBNADAAMAAxAC4AdABlAGwAZQBjAG8AbQBpAHQAYQBsAGkAYQAuAGwA
bwBjAGEAbAAFACYAdABlAGwAZQBjAG8AbQBpAHQAYQBsAGkAYQAuAGwAbwBjAGEAbAAAAAAAAAAAADEA
OQAwADYANgAzADgAOABKAEMASQBGAFMAMABfADEAXwBEAEUA
Existing socket is valid, reusing it!
http://met.adwhirl.com:80/exmet.php?appid=5958645d8aca4f26bca7624bbf81e72a&nid=3
b00351f657e473db0ddc94cd66a0db4&type=17&uuid=7d1dd13a2fa91c0ad174cb69a11549a3&co
untry_code=it_IT&appver=320&client=2 : 407 Proxy Authentication Required (
Access is denied. )
Response:
407 Proxy Authentication Required ( Access is denied. )
Via: 1.1 <proxyname>
Proxy-Authenticate: NTLM
TlRMTVNTUAACAAAAGgAaADgAAAAFgokCMD84opZghaEAAAAAAAAAAN4A3gBSAAAABQLODgAAAA9UAEUA
TABFAEMATwBNAEkAVABBAEwASQBBAAIAGgBUAEUATABFAEMATwBNAEkAVABBAEwASQBBAAEAHABUAEUA
TABQAFIAQQAxADAAMQBSAE0AMAAwADEABAAmAHQAZQBsAGUAYwBvAG0AaQB0AGEAbABpAGEALgBsAG8A
YwBhAGwAAwBEAFQARQBMAFAAUgBBADEAMAAxAFIATQAwADAAMQAuAHQAZQBsAGUAYwBvAG0AaQB0AGEA
bABpAGEALgBsAG8AYwBhAGwABQAmAHQAZQBsAGUAYwBvAG0AaQB0AGEAbABpAGEALgBsAG8AYwBhAGwA
AAAAAA==
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 0
Reading the response
Request :
GET
http://met.adwhirl.com:80/exmet.php?appid=5958645d8aca4f26bca7624bbf81e72a&nid=3
b00351f657e473db0ddc94cd66a0db4&type=17&uuid=7d1dd13a2fa91c0ad174cb69a11549a3&co
untry_code=it_IT&appver=320&client=2 HTTP/1.1
Host: met.adwhirl.com
User-Agent: Apache-HttpClient/UNAVAILABLE (java 1.4)
Proxy-Authorization: NTLM
TlRMTVNTUAABAAAAB6IIAAAAAAAAAAAACwALACAAAABKQ0lGUzBfMV9ERQ==
Existing socket is valid, reusing it!
http://met.adwhirl.com:80/exmet.php?appid=5958645d8aca4f26bca7624bbf81e72a&nid=3
b00351f657e473db0ddc94cd66a0db4&type=17&uuid=7d1dd13a2fa91c0ad174cb69a11549a3&co
untry_code=it_IT&appver=320&client=2 : 407 Proxy Authentication Required ( The
ISA Server requires authorization to fulfill the request. Access to the Web
Proxy filter is denied. )
Response:
407 Proxy Authentication Required ( The ISA Server requires authorization to
fulfill the request. Access to the Web Proxy filter is denied. )
Via: 1.1 <proxyname>
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 4126
Reading the response
Request :
GET
http://met.adwhirl.com:80/exmet.php?appid=5958645d8aca4f26bca7624bbf81e72a&nid=3
b00351f657e473db0ddc94cd66a0db4&type=17&uuid=7d1dd13a2fa91c0ad174cb69a11549a3&co
untry_code=it_IT&appver=320&client=2 HTTP/1.1
Host: met.adwhirl.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/UNAVAILABLE (java 1.4)
Connect to <proxyname:port>
Opening a new connection
requested : GET
http://met.adwhirl.com:80/exmet.php?appid=5958645d8aca4f26bca7624bbf81e72a&nid=3
b00351f657e473db0ddc94cd66a0db4&type=17&uuid=7d1dd13a2fa91c0ad174cb69a11549a3&co
untry_code=it_IT&appver=320&client=2
Original comment by pzand...@gmail.com
on 20 Jun 2013 at 2:28
I tested also with ISA proxy and windows authentication and is working well.
But search is done by google and in your log should be someting like
http://ajax.googleapis.com:80/ajax/services/search/local?v=1.0&q=venezia
Original comment by supp.san...@gmail.com
on 20 Jun 2013 at 3:05
Original comment by supp.san...@gmail.com
on 22 Aug 2013 at 12:39
Original issue reported on code.google.com by
pzand...@gmail.com
on 19 Jun 2013 at 8:31