> Attention!

New threads need to be created only inroot partition! In the future, they will be processed by moderators.

If you posted a new version of the program, please notify the moderator by clicking the "Complaint" button on your message.

Catalog of Android programs



В® TransProxy | Forced switch http / https proxy



Rep: (25)
TransProxy
Version: 3.08 beta

Last update of the program in the header:11.12.2010

Attached Image


For the operation of the program requires:
- root user rights
- in the firmware must be enabled iptables nat


Description:

The program allows you to turn on your phone work through http proxy forof all applications that use standard ports http, https. Proxy support in the applications themselves not required!
Pritsipe work is very simple - the phone starts a port redirector and Iptables is configured so that all outgoing traffic http, https wrapped proxy. As a result, absolutely all of the programs that try to connect to the Internet go to the proxy server. Simple and concise solution to the Linux style. One drawback - for c iptables need root.

prorammki interface is quite austere, no support profiles, widgets, etc., but the program is being developed and the author promises api through which the program can be controlled from other applications.

From myself: This is the only program of those that I have seen which normally has got a job with a proxy on Android 2.2.
I checked in their Desire + LeeDroid rom - works fine! Browsers, software, market, cards work without problems.



Homepage: http://forum.xda-developers.com/showthread...6569&page=1

Additional Information

Download: Version: 3.08beta
Attached fileTransProxy3.08beta.apk(58.86 Kb)

Download APK

Past versions


Post has been editedfreemsk1 - 12.12.10, 22:00



Rep: (3)
Is it possible to redirect traffic to the server, which redirects traffic Opera Mini?



Rep: (25)
iamzlo @ 12.12.2010, 01:22*
Is it possible to redirect traffic to the server, which redirects traffic Opera Mini?


Not. Opera Mini uses its own packaging and data transfer format.



Rep: (5)
I have an error produces. Ruth is. android 2.1

Offline laid iptables.zip set itself.
written in error: "Failed to start redirect.sh". does anyone know what is the reason?

Post has been editedvo_sa - 14.12.10, 18:36



Rep: (1)
vo_sa Probably a redirect is not enough, there must be support in the kernel, ie, another assembly.

I have a redirect, but programmulina not working :(
Desire, Froyo, MoDaCo Custom ROM r8



Rep: (25)
People, well, you are a first time at the console. You also have Ruth, well, run diagnostics, Logcat look for errors, run a program manually from Shelah
/data/data/com.hasbox.tproxy/files/redirect.sh start<http | socks> redirect to run in iptables.
/data/data/com.hasbox.tproxy/files/redsocks -p /data/data/com.hasbox.tproxy/files/redsocks.pid -c /data/data/com.hasbox.tproxy/files/redsocks.conf to start redsoks
The first script is necessary puskt as root, the second can be of the user.
You can still see the outputiptables -L -n -t nat -v to check whether the nut is in the ipteyblz.

After starting redirect.sh tension in the chain will rules for ports 80,443

Post has been editedSynfin - 16.12.10, 23:15



Rep: (8)
did not work, he says that's a mistake:
Attached Image
what to do?

Android 2.1

iptables v1.3.7

/data/data/com.hasbox.tproxy/files/redirect.sh start<http | socks>
Syntax error: newline unexpected


if you remove the socks:
/data/data/com.hasbox.tproxy/files/redirect.sh start http
FIX ME! implement getprotobyname () bionic / libc / bionic / stubs.c: 372

if you do:
getprotobyname () bionic / libc / bionic / stubs.c: 372
then just silence

Logcat gives a lot of things, not even to fit the screen, there to look for and how?

Post has been editedanaksemandr - 04.01.11, 15:13



Rep: (1)
Similarly, probyval run through both socks and http proxy gives always FIX ME! implement getprotobyname () bionic / libc / bionic / stubs.c: 378 Ruth is, iptablesy 1.3.7



Rep: (35)
I started on the HD2, but yeah same with the active option "authorization" was breaking anonymous proxy ...



Rep: (25)
that givesiptables -L -n -t nat -v ?
Chances are you have not compiled in ipteyblz nat support. There's nothing to be done - look for the firmware to the other core.



Rep: (40)
the program works successfully with such proxies as a remarkable ziproxy (ziproxy long been used for traffic compression, including pictures, in situations where the channel is slow or paid).
ran on android 2.2 (Viewpad 7)

in the settings there is no possibility to specify the local addresses that should not be proxied.
Ideally it would be desirable settings to traffic going through wifi directly but by gprs - through a proxy. it would be all super.



Rep: (25)
tull @ 16.01.2011, 23:22*
in the settings there is no possibility to specify the local addresses that should not be proxied.


With this fundamental problem is that the proxy in effect, but there is inversion package. Purely hypothetically possible to make a separate table with exceptions, but get out a lot of problems with DNS and so on.

tull @ 16.01.2011, 23:22*
Ideally it would be desirable settings to traffic going through wifi directly but by gprs - through a proxy. it would be all super


Well, this is just to make and difficult. Enough to correct skriptik which prescribes rules to iptables to wrap in a proxy only traffic going out through the mobile interface.
Still it is possible to fasten Tasker any rules to the ascent / descent depending on the proxy ssid or mobile link on xda somewhere ran example.

Post has been editedSynfin - 17.01.11, 23:01



Rep: (0)
Synfin
that gives iptables -L -n -t nat -v?
Chances are you have not compiled in ipteyblz nat support. There's nothing to be done - look for the firmware to the other core.

iptables -L -n -t nat -v
Chain PREROUTING (policy ACCEPT 376 packets, 48340 bytes)
pkts bytes target prot opt ​​in out source destination


Chain POSTROUTING (policy ACCEPT 864 packets, 54669 bytes)
pkts bytes target prot opt ​​in out source destination


Chain OUTPUT (policy ACCEPT 864 packets, 54669 bytes)
pkts bytes target prot opt ​​in out source destination

This means that there is no support nat?



Rep: (25)
Basil8 @ 18.01.2011, 13:52*
This means that there is no support nat?


At first glance, everything is OK. Run the script from the console and watch errors. Pomotrite version of iptables.



Rep: (0)
SynFin @ 19.01.2011, 04:46*
Run the script from the console and watch errors.

# /Data/data/com.hasbox.tproxy/files/redirect.sh start http
/data/data/com.hasbox.tproxy/files/redirect.sh start http
FIX ME! implement getprotobyname () bionic / libc / bionic / stubs.c: 378
iptables: No chain / target / match by that name
FIX ME! implement getprotobyname () bionic / libc / bionic / stubs.c: 378
iptables: No chain / target / match by that name
FIX ME! implement getprotobyname () bionic / libc / bionic / stubs.c: 378
iptables: No chain / target / match by that name

SynFin @ 19.01.2011, 04:46*
Pomotrite version of iptables.

# Iptables -V
iptables -V
iptables v1.3.7



Rep: (25)
Basil8 @ 20.01.2011, 00:32*
iptables: No chain / target / match by that name


Something in your iptables it is certainly not enough, best samples 3 - chain, target and match

Take a look
cat / proc / net / ip_tables_ *


In ip_tables_names should be nat
In ip_tables_targets there must be a REDIRECT
In ip_tables_matches must be tcp

If something is not present, it is necessary to recompile your kernel. Apparently you some more castrated iptables in firmware stuck :)
Look for a different kernel / firmware, I can only sympathize.



Rep: (0)
SynFin @ 21.01.2011, 07:12*
In ip_tables_names should be nat
In ip_tables_targets there must be a REDIRECT
In ip_tables_matches must be tcp

No redirect. Thanks for the help.



Rep: (0)
Excellent earned on the HTC Hero firmware android 2.2 Elelinux



Rep: (0)
I put this program, but something does not work.



sh-3.2 # iptables -L -n -t nat -v
iptables -L -n -t nat -v
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt ​​in out source destination


Chain POSTROUTING (policy ACCEPT 31 packets, 2070 bytes)
pkts bytes target prot opt ​​in out source destination


Chain OUTPUT (policy ACCEPT 31 packets, 2070 bytes)
pkts bytes target prot opt ​​in out source destination

0 0 REDIRECT tcp - * * 0.0.0.0/0 0.0.0.0/0
tcp dpt: 80 redir ports 8123
0 0 REDIRECT tcp - * * 0.0.0.0/0 0.0.0.0/0
tcp dpt: 443 redir ports 8124
0 0 REDIRECT tcp - * * 0.0.0.0/0 0.0.0.0/0
tcp dpt: 5228 redir ports 8124
sh-3.2 # /data/data/com.hasbox.tproxy/files/redirect.sh start http
/data/data/com.hasbox.tproxy/files/redirect.sh start http
FIX ME! implement getprotobyname () bionic / libc / bionic / stubs.c: 378
FIX ME! implement getprotobyname () bionic / libc / bionic / stubs.c: 378
FIX ME! implement getprotobyname () bionic / libc / bionic / stubs.c: 378


sh-3.2 # iptables -V
iptables -V
iptables v1.4.7


sh-3.2 # cat / proc / net / ip_tables_names
cat / proc / net / ip_tables_names
nat
filter

sh-3.2 # cat / proc / net / ip_tables_targets
cat / proc / net / ip_tables_targets
NFQUEUE
MARK
LED
CONNMARK
CLASSIFY
REJECT
REDIRECT
NETMAP
MASQUERADE
LOG
DNAT
SNAT
ERROR
NFQUEUE


sh-3.2 # cat / proc / net / ip_tables_matches
cat / proc / net / ip_tables_matches
u32
time
string
string
statistic
quota
pkttype
owner
mark
mac
limit
helper
conntrack
conntrack
connmark
connlimit
connbytes
comment
ecn
ah
addrtype
addrtype
icmp
state
policy
length
iprange
ttl
hashlimit
hashlimit
udplite
udp
tcp



Rep: (76)
nikallass
similarly.
Another question is whether the program allows you to go to internet for through connecting to the Internet via a PC on the wire?

Post has been editedMEDBEDb1982 - 04.02.11, 13:20



Rep: (25)
nikallass @ 03.02.2011, 21:32*
I put this program, but something does not work.


aypiteyblz-looking works. And she prog redirector then run? Proxy connection can be seen?


MEDBEDb1982 @ 04.02.2011, 13:19*
Another question is whether the program allows you to go to internet for through connecting to the Internet via a PC on the wire?

Frankly I do not understand the question. This program prokidyval all requests applications for mobile telephones to the Internet port on 80mu http-proxy server at the indicated address. How does what and where you have connected the case 10e.


Full version    

Help     rules

Time is now: 03/06/20, 06:24