* How do I use a socks server with cygwin? @ 2001-12-20 0:55 Niklas Morberg 2001-12-20 6:40 ` Jason Tishler 0 siblings, 1 reply; 11+ messages in thread From: Niklas Morberg @ 2001-12-20 0:55 UTC (permalink / raw) To: cygwin I sit behind a corporate firewall and I'm looking for a way to use e.g. cvs from behind the firewall. SOCKS is installed on the firewall. When I sit on a standard Unix machine, I would use the runsocks script to achieve this: % runsocks cvs up How would I go about doing this in cygwin? Niklas -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How do I use a socks server with cygwin? 2001-12-20 0:55 How do I use a socks server with cygwin? Niklas Morberg @ 2001-12-20 6:40 ` Jason Tishler 2001-12-20 7:25 ` CyberZombie 2001-12-20 7:27 ` Andrew Markebo 0 siblings, 2 replies; 11+ messages in thread From: Jason Tishler @ 2001-12-20 6:40 UTC (permalink / raw) To: Niklas Morberg; +Cc: cygwin Niklas, On Thu, Dec 20, 2001 at 09:48:07AM +0100, Niklas Morberg wrote: > I sit behind a corporate firewall and I'm looking for a way > to use e.g. cvs from behind the firewall. SOCKS is installed > on the firewall. I just experienced this "pleasure" myself when my (small) company was acquired by a large company. > [snip] > > How would I go about doing this in cygwin? Hummingbird has a free (as in beer) solution to this problem for Windows that works for Cygwin too: http://www.hummingbird.com/products/nc/socks/install.html I have been using the above very successfully with the following applications: o Netscape Navigator [1] o Microsoft Internet Explorer [1] o Netscape Instant Messenger o CVS (anonymous pserver) o ssh o ncftp o wget o curl o dict [1] However, due to the benefits of a caching web proxy, I recommend configuring these applications to use such instead of SOCKS, if available. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How do I use a socks server with cygwin? 2001-12-20 6:40 ` Jason Tishler @ 2001-12-20 7:25 ` CyberZombie 2001-12-20 11:04 ` Jason Tishler 2001-12-20 7:27 ` Andrew Markebo 1 sibling, 1 reply; 11+ messages in thread From: CyberZombie @ 2001-12-20 7:25 UTC (permalink / raw) To: cygwin You're saying that by using the Hummingbird product, you can ssh through the firewall? Can you elaborate how you did this? Jason Tishler wrote: >Niklas, > >On Thu, Dec 20, 2001 at 09:48:07AM +0100, Niklas Morberg wrote: > >>I sit behind a corporate firewall and I'm looking for a way >>to use e.g. cvs from behind the firewall. SOCKS is installed >>on the firewall. >> > >I just experienced this "pleasure" myself when my (small) company was >acquired by a large company. > >>[snip] >> >>How would I go about doing this in cygwin? >> > >Hummingbird has a free (as in beer) solution to this problem for Windows >that works for Cygwin too: > > http://www.hummingbird.com/products/nc/socks/install.html > >I have been using the above very successfully with the following >applications: > > o Netscape Navigator [1] > o Microsoft Internet Explorer [1] > o Netscape Instant Messenger > o CVS (anonymous pserver) > o ssh > o ncftp > o wget > o curl > o dict > >[1] However, due to the benefits of a caching web proxy, I recommend >configuring these applications to use such instead of SOCKS, if available. > >Jason > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How do I use a socks server with cygwin? 2001-12-20 7:25 ` CyberZombie @ 2001-12-20 11:04 ` Jason Tishler 2002-01-08 11:45 ` Jason Tishler 0 siblings, 1 reply; 11+ messages in thread From: Jason Tishler @ 2001-12-20 11:04 UTC (permalink / raw) To: CyberZombie; +Cc: cygwin [-- Attachment #1: Type: text/plain, Size: 701 bytes --] On Thu, Dec 20, 2001 at 09:18:07AM -0600, CyberZombie wrote: > You're saying that by using the Hummingbird product, you can ssh through > the firewall? Yes. > Can you elaborate how you did this? Once the Hummingbird SOCKS proxy software is installed, all that you need to do is create a socks.cnf file. See attached for a sample. This it! You are done! It's that easy! If you are looking for just a ssh/SOCKS solution then try the following: http://www.imasy.or.jp/~gotoh/ssh/connect.c This is what I used before I found the generic Hummingbird solution. BTW, Shun-ichi GOTO has a cvs-socks solution (if you can read Japanese) at: http://www.imasy.or.jp/~gotoh/ssh/ Jason [-- Attachment #2: socks.cnf --] [-- Type: text/plain, Size: 403 bytes --] # $Id: socks.cnf,v 1.3 2001/12/14 17:39:58 jtishler Exp $ # Define excluded applications EXCLUDE-MODULE Extranet EXCLUDE-MODULE IEXPLORE EXCLUDE-MODULE netscape # Define included applications BIND-MODULE * # Define direct networks DIRECT 15.0.0.0 255.0.0.0 # Define round-robin, load balanced SOCKS V5 servers BALANCE SOCKD5 @=15.10.176.10,15.10.184.10,15.10.176.11 0.0.0.0 0.0.0.0 [-- Attachment #3: Type: text/plain, Size: 214 bytes --] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How do I use a socks server with cygwin? 2001-12-20 11:04 ` Jason Tishler @ 2002-01-08 11:45 ` Jason Tishler 0 siblings, 0 replies; 11+ messages in thread From: Jason Tishler @ 2002-01-08 11:45 UTC (permalink / raw) To: cygwin; +Cc: CyberZombie, gotoh On Thu, Dec 20, 2001 at 02:01:20PM -0500, Jason Tishler wrote: > On Thu, Dec 20, 2001 at 09:18:07AM -0600, CyberZombie wrote: > > Can you elaborate how you did this? > > Once the Hummingbird SOCKS proxy software is installed, all that you need > to do is create a socks.cnf file. See attached for a sample. This it! > You are done! It's that easy! > > If you are looking for just a ssh/SOCKS solution then try the following: > > http://www.imasy.or.jp/~gotoh/ssh/connect.c > > This is what I used before I found the generic Hummingbird solution. Thanks to the @Home to Comcast conversion, I have obtained empirical evidence that Shun-ichi GOTO's ssh specific solution is *much* better than the Hummingbird generic SOCKS solution (at least for ssh). Even though I use the Hummingbird solution for everything else, I was still using connect because I perceived it to be faster, have less latency, and be more robust. Although, given the generally poor performance of my company's SOCKS server, it was hard to be sure. I forgot to change my .ssh/config file to reflect my new IP address due to the @Home conversion. Hence, for the last few days I was unknowingly using Hummingbird instead of connect. I was very unhappy with the horrible performance. Then I realized that I was not using connect. Once I fixed my .ssh/config file and started using connect again, my SOCKS/ssh performance returned to the pre-conversion levels. I would like to publicly thank Shun-ichi GOTO for providing this valuable tool. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How do I use a socks server with cygwin? 2001-12-20 6:40 ` Jason Tishler 2001-12-20 7:25 ` CyberZombie @ 2001-12-20 7:27 ` Andrew Markebo 2001-12-20 8:28 ` CyberZombie 2001-12-20 11:22 ` Jason Tishler 1 sibling, 2 replies; 11+ messages in thread From: Andrew Markebo @ 2001-12-20 7:27 UTC (permalink / raw) To: Jason Tishler; +Cc: Niklas Morberg, cygwin Just a quick thought about firewalls and ssh'ing through them.. We had a firewall that allowed https-connections, and well, you can use this to connect to a ssh-server, by telling ssh to use a wrapper script to fire up the connection, get in touch with me and I can dig it up.. Meanwhile, using a socks server, well basically it should be up to the application, not cygwin to handle this, so if you find a cvs supporting socks off you go.. :-) /Andy -- The eye of the beholder rests on the beauty! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How do I use a socks server with cygwin? 2001-12-20 7:27 ` Andrew Markebo @ 2001-12-20 8:28 ` CyberZombie 2001-12-20 8:57 ` Font size and color for rxvt rotaiv 2001-12-20 10:35 ` How do I use a socks server with cygwin? Michael Schaap 2001-12-20 11:22 ` Jason Tishler 1 sibling, 2 replies; 11+ messages in thread From: CyberZombie @ 2001-12-20 8:28 UTC (permalink / raw) To: cygwin That's just it -- I normally use 443 as a way to get through firewalls with ssh. But at the company I work for (I'm a consultant), EVERY port is locked down or pushed through a socks server. Hence my need to get a functional socks filter... Andrew Markebo wrote: >Just a quick thought about firewalls and ssh'ing through them.. > >We had a firewall that allowed https-connections, and well, you can >use this to connect to a ssh-server, by telling ssh to use a wrapper >script to fire up the connection, get in touch with me and I can dig >it up.. > >Meanwhile, using a socks server, well basically it should be up to the >application, not cygwin to handle this, so if you find a cvs >supporting socks off you go.. :-) > > /Andy > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Font size and color for rxvt 2001-12-20 8:28 ` CyberZombie @ 2001-12-20 8:57 ` rotaiv 2001-12-20 9:27 ` Randall R Schulz 2001-12-20 10:35 ` How do I use a socks server with cygwin? Michael Schaap 1 sibling, 1 reply; 11+ messages in thread From: rotaiv @ 2001-12-20 8:57 UTC (permalink / raw) To: cygwin Does anyone know how to change the color and font size with rxvt? I read the FAQ and MAN pages and they talk about the font resize button (ALT ->) but that does not work. They also mention configuration files that I do not have with my installation of cygwin. Also, if I use RXVT instead of the CMD.EXE to run bash, what switches should I use? Finally, what values should I use for the TERM and CYGWIN environmental variables? Regards, rotaiv. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Font size and color for rxvt 2001-12-20 8:57 ` Font size and color for rxvt rotaiv @ 2001-12-20 9:27 ` Randall R Schulz 0 siblings, 0 replies; 11+ messages in thread From: Randall R Schulz @ 2001-12-20 9:27 UTC (permalink / raw) To: rotaiv, cygwin Rotaiv, This has now acquired the status of a perennial question, so searching the archives will yield several informative messages. Also, if you read the man page, then you must not have read it very carefully, because it's quite clear about setting the fonts. It won't explain the funkiness with some fonts and scaling and whatnot, but the mail messages and some experimentation will bring you up to speed with that. Here's an invocation I use in a Taskbar shortcut: 'D:\cygwin\bin\rxvt.exe -g 120x99+732+0 -bg #000055 -fg #eeeeee -fn "Lucida Console-11" -sr -sl 5000 -vb -e /bin/bash --login -i" Here's another: "D:\cygwin\bin\rxvt.exe -g 120x91+853+0 -bg #000055 -fg #eeeeee -fn "Andale Mono-12" -sr -sl 5000 -vb -e /bin/bash --login -i" (You'll need a screen in 1600x1200 resolution for these sizes and positions to work and fairly good vision, if my coworkers' constant squinting is any indication.) The Andale version crams a lot of text in a given bit of screen real estate, but the Andale font is not included with Windows (at least through 2000, I don't know about XP). It is available by no-cost download from Microsoft. You'll find information about this in the mail archives, too. Good luck. Randall Schulz Mountain View, CA USA At 08:44 2001-12-20, rotaiv wrote: >Does anyone know how to change the color and font size with rxvt? I read >the FAQ and MAN pages and they talk about the font resize button (ALT ->) >but that does not work. They also mention configuration files that I do >not have with my installation of cygwin. > >Also, if I use RXVT instead of the CMD.EXE to run bash, what switches >should I use? > >Finally, what values should I use for the TERM and CYGWIN environmental >variables? > >Regards, > >rotaiv. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How do I use a socks server with cygwin? 2001-12-20 8:28 ` CyberZombie 2001-12-20 8:57 ` Font size and color for rxvt rotaiv @ 2001-12-20 10:35 ` Michael Schaap 1 sibling, 0 replies; 11+ messages in thread From: Michael Schaap @ 2001-12-20 10:35 UTC (permalink / raw) To: CyberZombie, cygwin At 16:33 20-12-2001, CyberZombie wrote: >That's just it -- I normally use 443 as a way to get through firewalls >with ssh. But at the company I work for (I'm a consultant), EVERY port is >locked down or pushed through a socks server. Hence my need to get a >functional socks filter... From /usr/src/openssh*/contrib/README: http://www.imasy.or.jp/~gotoh/connect.c is a Unix and Windows ProxyCommand which allows OpenSSH to make connections through a SOCKS5 or http proxy which supports the CONNECT method (eg. Squid). Works fone for me. Compiles OOTB on Cygwin, I put it in /usr/local/bin/proxyconnect, and added the following lines to /etc/ssh_config: Host machine_that_needs_socks another_such_machine ProxyCommand proxyconnect -R local -S socks.server.domain.tld %h %p HTH, - Michael -- I always wondered about the meaning of life. So I looked it up in the dictionary under "L" and there it was - the meaning of life. It was not what I expected. - Dogbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How do I use a socks server with cygwin? 2001-12-20 7:27 ` Andrew Markebo 2001-12-20 8:28 ` CyberZombie @ 2001-12-20 11:22 ` Jason Tishler 1 sibling, 0 replies; 11+ messages in thread From: Jason Tishler @ 2001-12-20 11:22 UTC (permalink / raw) To: Andrew Markebo; +Cc: Niklas Morberg, cygwin Andy, On Thu, Dec 20, 2001 at 04:25:18PM +0100, Andrew Markebo wrote: > Meanwhile, using a socks server, well basically it should be up to the > application, not cygwin to handle this, so if you find a cvs > supporting socks off you go.. :-) Sorry, I disagree. Why modify every application (of interest) when one can use a "shim" like Hummingbird under Windows, tsocks under Linux, etc.? The duplicated effort doesn't seem to make sense. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2002-01-08 19:45 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-12-20 0:55 How do I use a socks server with cygwin? Niklas Morberg 2001-12-20 6:40 ` Jason Tishler 2001-12-20 7:25 ` CyberZombie 2001-12-20 11:04 ` Jason Tishler 2002-01-08 11:45 ` Jason Tishler 2001-12-20 7:27 ` Andrew Markebo 2001-12-20 8:28 ` CyberZombie 2001-12-20 8:57 ` Font size and color for rxvt rotaiv 2001-12-20 9:27 ` Randall R Schulz 2001-12-20 10:35 ` How do I use a socks server with cygwin? Michael Schaap 2001-12-20 11:22 ` Jason Tishler
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).