LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-14-2010, 01:01 AM   #1
humaira
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
Unhappy secure communication between web browser and Proxy Server in linux


I am trying to design/implement a web browser and proxy server...and make secure communication between web browser and proxy server by using some crptographic technique in LINUX and I don't know how to start or how to design/implement it. Can somebody give me some tips on how to do it and also some codes? Can someone help out?
 
Old 06-15-2010, 08:38 AM   #2
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Debian Squeeze. Various live CD's Win7
Posts: 359

Rep: Reputation: 32
I'm not clear on what you are asking but here goes. If you have set up a proxy server using say squid /etc/squid.conf, all you have to do is setup users machines to have their web browser use a proxy server. These settings differ depending on what browser you use, so just poke around in the settings till you find anything relating to proxy server and enter the IP address of your proxy server, eg: 192.168.1.1 say. For example in Firefox it is Tools/Options/Advanced on top menu. You should also be able to set encryption etc on tabs listed there also. Hope this helps.
 
Old 06-27-2010, 05:06 AM   #3
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 917

Rep: Reputation: 41
humaira, have you had any success?

Squid does not in itself have secure connections (although you can 'authenticate') each session.

It's sounds like you may be able to simply run a ssh server and connect using it.

Lettuce know
 
Old 06-29-2010, 07:44 PM   #4
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Debian Squeeze. Various live CD's Win7
Posts: 359

Rep: Reputation: 32
"make secure communication between web browser and proxy server by using some crptographic technique in LINUX"

Due to the ambiguity of your post, could you please clarify EXACTLY what you are trying to do?
Is it that you are attempting a remote connection to a proxy server using a web browser interface OR WHAT?
 
Old 07-09-2010, 08:56 AM   #5
humaira
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
i have made a proxy server...
i set the port number and ip address in the WEB BROWSER (like IE or Mozilla Firefox) proxy setting for creating connection with the proxy server...and i also set the port number in proxy server which i have set in WEB BROWSER....both are connected and proxy server give response to the WEB BROWSER...i have a list of users/client on my Proxy Server,where i can delete and add new users(with ip address and name)...i can also block some sites,like if proxy server restrict some sites from the client like yahoo.com...my server add those sites in block list...then user/client can't access those sites which will be in my block list of proxy server...
But now the problem is that,i have to apply cryptographic techniques between client(web browser) and proxy server because proxy server can be on WAN...thats why when the request will be in encrypted form,no intruder can attack on sensitive data...but we have no control on web browser so where and how i will encrypt request that will be from Browser to proxy server...if it will be in encrypted form,when it will reach at proxy server,proxy server will decrypt and send to the internet...then request will back n fulfill the user request.

but how i implement this...give me some suggestions...

waiting for some solution...

Regards
 
Old 07-10-2010, 08:03 PM   #6
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Debian Squeeze. Various live CD's Win7
Posts: 359

Rep: Reputation: 32
"But now the problem is that,i have to apply cryptographic techniques between client(web browser) and proxy server because proxy server can be on WAN.."

You are worried that a request for a html webpage will be intercepted between the browser and proxy server? I'm afraid, given the restrictions you already have done on your (presumably squid) proxy server, I don't understand why you would need to do this. If only authorised users can connect to the proxy server, why can't you tell them for security reasons to set their browser the way that you want? Why does it being a WAN as opposed to a LAN matter? I'm sorry but this is beyond me, maybe other readers can help?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
communication between Windows and Ubuntu 9.10; partitions and web browser bookmarks johnyjj2 Linux - Newbie 2 11-02-2009 12:51 PM
server/browser communication calorie712 Programming 1 03-16-2006 05:24 PM
communication accross a proxy server sureshk Linux - Networking 1 10-12-2003 05:37 AM
communication across a proxy server sureshk Linux - Networking 0 10-09-2003 01:12 AM
best ver. of linux rd to use with rd secure web server 2.x simbad Linux - Newbie 1 01-15-2003 09:20 AM


All times are GMT -5. The time now is 08:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration