Reply
Thread Tools
Posts: 225 | Thanked: 64 times | Joined on Feb 2010
#51
Originally Posted by edcarsky View Post
Mauku and some apps are still not working especially VoIP (i really need to use IM's through my device),,, any option in mind???
I think you misunderstand proxies.. A HTTP proxy is designed to fetch web pages and other data from web servers. Your phone says to the proxy "get me the following file: (a web page or download, image etc)" and the proxy gets it and sends it to the browser

IM and VoIP use COMPLETELY different connectivity to the internet. Unless your IM program has an option to connect to a web server and send it data then it WONT work with an HTTP proxy! HTTP is web only! Most IMs and definitely most VoIPs dont run on HTTP

Maybe, they could use the RTSP proxy that you can also set in the conenction options, but then you need to have a proxy that understands RTSP..

The whole point of providing a closed network at work, an HTTP proxy and then making all the web traffic go through the HTTP proxy is:
a) no other traffic (msn, jabber, skype, voip, im, ftp, vnc, remote desktop, time protocol, telnet, sqlserver etc etc [the list goes on.. hopefully youre getting to understand that there is more to the internet than just web/http) can get out. This stops your workers sitting on their assk chatting all day
b) you can control which sites they go to by having the proxy deny the access


Now, lot of things sprang up around HTTP (like web services) because they were suited to work over HTTP and existing firewalls didnt have to be reconfigured. Sometimes there are ways of tunneling data through an HTTP proxy so it can connect to another service that is not HTTP, but generally you cant.

You can generally ONLY run applications that know how to use the HTTP protocol to do their work. MSN Messanger CAN use http to work for example but exactly how it does it is beyond the scope of a forum posting
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#52
Originally Posted by 9000 View Post
From what you described I dont see it ever working at all. I must have missed something.
Ok,,, i just used this following config below, and it's work in some apps like Mauku, others are not in which is my major concerns like VoIP or IM's.

If you could help me through your brilliant ideas or in any way how to work VoIP, that would be great. =)

export | grep -i http_proxy
export http_proxy="http://xxx.xx.x.xxort/"
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#53
Originally Posted by cjard View Post
I think you misunderstand proxies.. A HTTP proxy is designed to fetch web pages and other data from web servers. Your phone says to the proxy "get me the following file: (a web page or download, image etc)" and the proxy gets it and sends it to the browser

IM and VoIP use COMPLETELY different connectivity to the internet. Unless your IM program has an option to connect to a web server and send it data then it WONT work with an HTTP proxy! HTTP is web only! Most IMs and definitely most VoIPs dont run on HTTP

Maybe, they could use the RTSP proxy that you can also set in the conenction options, but then you need to have a proxy that understands RTSP..

The whole point of providing a closed network at work, an HTTP proxy and then making all the web traffic go through the HTTP proxy is:
a) no other traffic (msn, jabber, skype, voip, im, ftp, vnc, remote desktop, time protocol, telnet, sqlserver etc etc [the list goes on.. hopefully youre getting to understand that there is more to the internet than just web/http) can get out. This stops your workers sitting on their assk chatting all day
b) you can control which sites they go to by having the proxy deny the access


Now, lot of things sprang up around HTTP (like web services) because they were suited to work over HTTP and existing firewalls didnt have to be reconfigured. Sometimes there are ways of tunneling data through an HTTP proxy so it can connect to another service that is not HTTP, but generally you cant.

You can generally ONLY run applications that know how to use the HTTP protocol to do their work. MSN Messanger CAN use http to work for example but exactly how it does it is beyond the scope of a forum posting

Thank you for your full information, i am aware of those details and i have no question to that. What i am asking for is that, is there anyway to use http (proxy) connection to use our 3rd party apps, in which you've already discussed above.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#54
Once you confirm the http_proxy working with your http traffic then you proceed to create a tun device by ssh over http proxy. I'll get the early flight tomorrow for my long awaited vacation so in the meanwhile you could consult cjard for detail as he obviously knows more than anyone else here. See ya guys again next week.
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#55
i am currently using non-proxy setup, and i think export_http is having disturbance right now with me and i cannot connect my apps in internet.

please give me advise on how can i remove this, thanks
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#56
Originally Posted by edcarsky View Post
i am currently using non-proxy setup, and i think export http_proxy is having disturbance right now with me and i cannot connect my apps in internet.

please give me advise on how can i remove this, thanks
Guys, please help me again, badly!.

Currently i am no longer using proxy connection anymore, since i used export http_proxy command before, now i cannot connect to internet at all. i've tried already the previous thread instruction above, but still i cannot connect.

Can you give me another instruction to return /etc/profile (normal mode) so i can use my device using non-proxy connection. Thank you.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#57
As root edit the file directly.

First cat the file to look at its content:

Code:
cat /etc/profile
If the http_proxy line exist, use leafpad to edit the file

Code:
root
leafpad /etc/profile
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#58
Originally Posted by 9000 View Post
As root edit the file directly.

First cat the file to look at its content:

Code:
cat /etc/profile
If the http_proxy line exist, use leafpad to edit the file

Code:
root
leafpad /etc/profile
thanks again @9000, sorry to bothered! still i cannot resolve this.

root
leafpad /etc/profile
is not working with me
MESSAGE: Cannot open display.

[please advise here what i shall i do]

It work only at

sudo gainroot
leafpad /etc/profile

but i accidentally removed all inside the /etc/profile (via leafpad),

please advise how i can return /etc/profile (file)

[please advise here what i shall i do]

Thanks
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#59
iirc you've the backup of this file. Just copy it back.

Code:
cp /etc/profile.tmp /etc/profile
and re-edit it again.

BTW, It's strange that i don't have the display problem when using 'root' instead of 'sudo gainroot'.
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#60
Originally Posted by 9000 View Post
iirc you've the backup of this file. Just copy it back.

Code:
cp /etc/profile.tmp /etc/profile
and re-edit it again.

BTW, It's strange that i don't have the display problem when using 'root' instead of 'sudo gainroot'.
ERROR MESSAGE:

Code:
cp /etc/profile.tmp /etc/profile

cp: cannot stat '/etc/profile.tmp'; no such file or directory.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:55.