LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2006, 07:24 AM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 33
CVS/Telnet, DNS Client from behind a proxy


Hi,

I wanted to use CVS for getting the latest versions of some of the softwares I use, but I'm facing a problem getting it to run. The problem is not with cvs but with the fact that I am behind a proxy.

If I try to cvs, I get the following error:
Code:
root@knapsacker:/home/koodoo# cvs -z9 -q -d :pserver:anonymous@cvs.sv.gnu.org:/sources/gcl update
Unknown host cvs.sv.gnu.org.
root@knapsacker:/home/koodoo#
So, I figured that I'll have to setup my Linux box as a DNS client by making changes to /etc/resolv.conf etc.


We are given i.p.'s like 10.10.20.204 and all our traffic is routed to the proxy. So we do not have any direct connection to the internet.

The default gateway has an i.p. of 203.200.130.1 Earlier if I changed my i.p. to the same class as the default gateway's (something like 203.200.130.79) I could ping it. Back then I got telnet to work by setting up /etc/resolv.conf.

Now, we cannot ping the gateway. So I believe we are only connected to the proxy. Is there any way that I can use CVS from behind the proxy?

Thanks in anticipation,
Regards,
Shishir.

Last edited by koodoo; 10-25-2006 at 07:26 AM.
 
Old 10-26-2006, 04:16 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
looks like many recent cvs clients contain http_proxy support, but as an overall solution you might like to look at something like stunnel which you can use to route generic network traffic securely via an http proxy.

cvs + http_proxy: http://www.cygwin.com/ml/cygwin/2003-05/msg01280.html
 
Old 10-27-2006, 05:39 PM   #3
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi,

Many thanks for your reply
I read the link you had referred to. I also searched for other cvs clients with http_proxy support. One solution that I got was to connect to some Sourceforge mirror using a tunnel and then use CVS.

I forgot the link to the site from where I read this. But it was using tcl to create a pipe to the Sourceforge mirror (which supported these kinds of pipes to allow cvs from behind proxies/firewalls.... cvs-ssh). The command to create the pipe was :
Code:
tclsh tlspipe.tcl -proxy http://10.10.11.1:80 -local localhost:22 -target http://cvs-ssh.sourceforge.net:443
where tlspipe.tcl was a script that was provided on the site.

The problem that I am facing with this is that, it requires a package tls1.4. So I download the package. When I extracted it I got a folder tls1.4 with the following files :
Code:
tls1.4/
libtls1.4.so*  pkgIndex.tcl  tls.tcl
Now, I did not know how to install this. A slocate tls on my system revealed a folder /lib/tls. So I did two things.
Code:
1) Copied the three files into /lib/tls and ran ldconfig. But the script still complained that package tls 1.4 was required.
2) Copied the folder tls1.4 in /lib/ and ran ldconfig, and the script again complained.
I did not know how to install that package, so maybe I did not install it properly or the script was probably flawed.
Was that the right way to install that package? There was no documentation and I could not find any on the internet.

I'll now try and use some other tunnelling software and see if I can connect to that Sourceforge mirror and get cvs to work.

Thanks for all the help.

Last edited by koodoo; 10-27-2006 at 05:45 PM.
 
  


Reply



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
How does a client resolve dns queries with transparent proxy ? amitsharma_26 Linux - Security 5 09-17-2006 11:49 AM
problem about cvs via http proxy oriate Programming 0 06-08-2006 07:58 PM
How can I use CVS from inside my proxy server? Sushy Linux - Networking 1 10-24-2005 08:21 AM
dns entry - client side without proxy basbosco Linux - General 0 03-08-2004 04:57 AM
cvs and a proxy Vlackmar Linux - General 0 12-24-2001 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration