Re: Freebsd behind a proxy

2008-05-22 Thread N. Raghavendra
At 2008-05-23T01:03:56+01:00, RW wrote:

> You might conceivably need to set ftp_proxy and the capitalised
> versions: HTTP_PROXY and FTP_PROXY, but I think everything should
> fall-back to http_proxy.

Not everything, perhaps.  E.g., fetch(3) does --- for FTP requests it
uses the first variable that is set among FTP_PROXY, ftp_proxy,
HTTP_PROXY, and http_proxy.  AFAIK, wget(1) doesn't --- if ftp_proxy
is unset, it doesn't use a proxy for FTP requests, even if http_proxy
is set.

Raghavendra.

-- 
N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freebsd behind a proxy

2008-05-22 Thread RW
On Thu, 22 May 2008 15:29:16 +0100
"Dela Benson Bani" <[EMAIL PROTECTED]> wrote:

> Hi
> 
> i have my FreeBSD behind a squid proxy server and i'm unable to
> connect to the internet.
> 
> Can you help me with where i set the env (FTP_PASSIVE_MODE)variable to
> enable me connect either through the proxy or something that will
> work.
FTP_PASSIVE_MODE wont help, you need to set http_proxy, e.g.:

(for csh, tcsh)
setenv  http_proxy http://squid.example.com:3128

or 
(for sh, bash, ksh, zsh etc)
export http_proxy=http://squid.example.com:3128

I would suggest you put them in /etc/csh.cshrc and  /etc/profile
respectively so they apply to everything.

Any GUI applications, like Firefox, will probably need to be set
individually.

You might conceivably need to set ftp_proxy and the capitalised
versions: HTTP_PROXY and FTP_PROXY, but I think everything should
fall-back to http_proxy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Freebsd behind a proxy

2008-05-22 Thread Dela Benson Bani
Hi

i have my FreeBSD behind a squid proxy server and i'm unable to connect to
the internet.

Can you help me with where i set the env (FTP_PASSIVE_MODE)variable to
enable me connect either through the proxy or something that will work.

Thanks and hope to hear from you.

Regards,


Dela  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD behind a PROXY and unnatural Proxy Ports settings inour LAN

2003-08-01 Thread Rommel B. Ikeda
Thanks for the reply,
> Have you tried to set the FTP_PROXY and HTTP_PROXY environment
> variables? fetch (the program ports use to get the distribution files)
> will honor them (more in fetch(3)).

When I first tried to instal CVSup, I really had a hard time in doing it...after a 
long time of research using Google and Netscape Search...I stumbled on a Thread that 
mentioned about how fetch's honors the HTTP and FTP mentioned in one's 
environemnt...Since FreeBSD has set me up to use Bourne Shell ($, I hope I am 
right)...I then put

http_proxy=http://192.168.1.5:10080/; export http_proxy
ftp_proxy=ftp://192.168.1.5:10021/; export ftp_proxy

in my .shrc file located my directory and I was able to download and install the cvsup 
Port...I thought that finally I can use cvsup and install all the Ports that I 
need...it turns out that...Yes, I was successfull in installing Sylpheed, but no I 
could not download and install the ports vilearn, kinput2-canna, but again I was 
successfull in installing Canna, and Eterm.

Now, I do not know why I can download some Ports and can not on others...

Rommel B. Ikeda
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD behind a PROXY and unnatural Proxy Ports settings inour LAN

2003-08-01 Thread Andreas Kohn
Am Fri, 2003-08-01 um 10.10 schrieb Rommel B. Ikeda:
> Hi to Everyone...
Hi!
> 
> The problem is I am trying to install Ports that I really needed and it seems 
> that I does not work when THOSE PORTS NEEDED TO BE DOWNLOADED USES FTP...How 
> can I set things or my system that our Proxy Server is not using the default 
> Port Settings...How can I let my system and those programs needed to run to 
> downloaded Ports know that our Proxy Server has HTTP Port set to 10080 and 
> FTP Port set to 10021.  For example, how can I configure "cvsup-without-gui" 
> to use the following settings above...
> 
Have you tried to set the FTP_PROXY and HTTP_PROXY environment
variables? fetch (the program ports use to get the distribution files)
will honor them (more in fetch(3)).

HTH, 
-- 
Andreas Kohn <[EMAIL PROTECTED]>


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


FreeBSD behind a PROXY and unnatural Proxy Ports settings in ourLAN

2003-08-01 Thread Rommel B. Ikeda
Hi to Everyone...

First of all I am a NEWBIE to FreeBSD and UNIX...

Second, since I successfully had the courage in sending my first Email to [EMAIL 
PROTECTED], I have been in constant contact we people who have been trying to help me 
to solve my problem(s)...and I am very thankful for those people, especially to 
Jonathan <[EMAIL PROTECTED]> and Aaron Siegel <[EMAIL PROTECTED]> My probelms are too 
many of them that I can no longer ask them to help me, for I think I would be being 
selfish and too much...so, I have finally decided to write to this community again for 
HELP...

I am using my IBM R40e Thinkpad in our office and I am the only one using 
FreeBSD...The main problem (forgive me I am just assuming the it is the main problem) 
that I have right now...is that our HTTP Port is set to 10080, FTP Port is set to 
10021, POP3 Port is set 10026, SMTP is set to 10111...In using a Web Browser such as 
Mozilla...I just set my HTTP, FTP, and others in the Preferences...and everything is 
O.K., about my Emails (I am using Sylpheed), I just set my POP3 to 192.168.1.5.:10026 
and SMTP to 192.168.1.5:10111 and everything is O.K.

The problem is I am trying to install Ports that I really needed and it seems that I 
does not work when THOSE PORTS NEEDED TO BE DOWNLOADED USES FTP...How can I set things 
or my system that our Proxy Server is not using the default Port Settings...How can I 
let my system and those programs needed to run to downloaded Ports know that our Proxy 
Server has HTTP Port set to 10080 and FTP Port set to 10021.  For example, how can I 
configure "cvsup-without-gui" to use the following settings above...

Any advice and help is really needed...
Please do not get me wrong the people who have been helping are really serious in 
solving my problem and I am very grateful for it...its just that, when they solve 
problems that I have, another thing comes up and then another thing...and I think it 
is all related to the problem that I wrote above...

Thank you...

Rommel B. Ikeda
OISCA-International W.H.Q
Tokyo, Japan

P.S.
I do know that there is a FreeBSD Handbook, and I can search the internet to find 
solutionsbut if anyone could only point me to the right direction about this then 
I would go and read whatever there is.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freebsd behind a proxy

2003-07-31 Thread Lowell Gilbert
Aaron Siegel <[EMAIL PROTECTED]> writes:

> I am currently helping a fellow user, Rommel B. Ikeda [EMAIL PROTECTED]  He 
> is have problems getting is computer to connect to the internet through a 
> Window 2000 proxy server.  I only have experience with NAT.  I do not expect 
> someone to solve our problem just point me to the correct documents (feel 
> free to solve the problem if you like).

Proxies have to be handled on an application-by-application basis.
Unlike that abomination of networking called NAT, they need intimate
knowledge of the protocols being passed through them.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Freebsd behind a proxy

2003-07-30 Thread Aaron Siegel
Hello

I am currently helping a fellow user, Rommel B. Ikeda [EMAIL PROTECTED]  He 
is have problems getting is computer to connect to the internet through a 
Window 2000 proxy server.  I only have experience with NAT.  I do not expect 
someone to solve our problem just point me to the correct documents (feel 
free to solve the problem if you like).

I have all three FreeBSD books I own sitting on my and the handbook open in 
the next window and I am not finding a clear explanation or solution.  Is the 
setup of a client on a proxy server the same as the setup on a NAT 
(transparent proxy), where  set the default route to the gateway, give it an 
IP, set the DNS, and it is good to go. Or is there more complex routing 
involved? He also has his ports remaped, ftp is moved somewhere in the 1000. 
The server should handle the port remaping? ( I will clean toilets but I 
don't do Windows.)

The email address that is subscribe to the list is down, please forward the 
message to this address.

Thank you
Aaron



P.S. I have posted the details of the problem just in case anyone else wants 
to help out (It started as a simple port install problem).

Rommel Ikeda is unable to communicate with the internet. I have had him do 
some ping test (start with the server he need to install the port)

$ ping ftp.jp.freebsd.org
ping: cannot resolve ftp.jp.freebsd.org: Host name lookup failure

$ ping www.oisca.org
ping: cannot resolve www.oisca.org: Host name lookup failure

He is able to browse the web with Mozilla so my guess is he has that set up to 
use the proxy.

Simple DNS problem check the /etc/resolv.conf well not that simple then he 
ping the IP address:

$ ping 210.171.225.106
 PING 210.171.225.106 (210.171.225.106): 56 data bytes
 ping: sendto: No route to host

Routing problem too. so this leads us to the question: do we need do anything 
special to set up the routing table for a client behind a proxy server?

In the today's email I ask Rommel to send me the results of the route -r to 
see if the gateway is setup. The desktop is setup to use DHCP addressing and 
for some reason it did not setup a /etc/resolv.conf file so that will need to 
be created.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"