Welcome to the Sophos User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
Bardak's Avatar
Junior Member
Join Date: Aug 2005
Posts: 3
#1 (permalink)  
Old 08-30-2005, 08:19 AM
Default transparent proxy and yum update

Hi.
I have problems with yum update from my fedora core 3 server behind an version 6.002 firewall running http proxy in transparent mode.
I keep getting a [Errno -1] Header is not complete. message when its downloading the header files.

I cant see anything suspicious in the http-access log or the http-proxy log.

It works fine when disabling the proxy or if I exclude the server in the proxy settings.

Any suggestions on how I should to configure/fix that?

Cheers
Reply With Quote
Moderator
Join Date: Jul 2001
Location: southern California
Posts: 12,064
#2 (permalink)  
Old 08-30-2005, 09:05 PM
Default Re: transparent proxy and yum update

You could tell Yum to use a proxy, but that probably won't help since you're using transparent mode.

Unless the proxy is still accessible on the normal port (8080?) when transparent mode is enabled. If so, try pointing yum at that.

Barry
Reply With Quote
Bardak's Avatar
Junior Member
Join Date: Aug 2005
Posts: 3
#3 (permalink)  
Old 08-31-2005, 10:56 AM
Default Re: transparent proxy and yum update

Thanks for your reply..
I nice idea I really hoped should work, bu it didn't.

I'll keep on trying with other ideas though....
Reply With Quote
Wizard
Join Date: May 2003
Location: Brunswick, Maryland, USA
Posts: 7,146
#4 (permalink)  
Old 09-01-2005, 03:00 AM
Default Re: transparent proxy and yum update

[ QUOTE ]
Hi.
I have problems with yum update from my fedora core 3 server behind an version 6.002 firewall running http proxy in transparent mode.
I keep getting a [Errno -1] Header is not complete. message when its downloading the header files.

I cant see anything suspicious in the http-access log or the http-proxy log.

It works fine when disabling the proxy or if I exclude the server in the proxy settings.

Any suggestions on how I should to configure/fix that?

Cheers

[/ QUOTE ]
YUM will fail behind an http proxy. If you are using v6 you can tell ASL to allows hosts to bypass the proxy. If you are not using v6 turn off the http proxy when doing yum updates or yum will fail. This is a known issue with YUM and AFAIK works this way by design. This issue is one of the reasons i run v6. I have my two linux machine(CentOS-4) to bypass the http proxy and cache the rest.
Reply With Quote
Bardak's Avatar
Junior Member
Join Date: Aug 2005
Posts: 3
#5 (permalink)  
Old 09-01-2005, 06:50 AM
Default Re: transparent proxy and yum update

Thanks.

Good thing to know that I can't use yum behind the proxy.
I will bypass the proxy when I do the yum update.

Cheers
Reply With Quote
Junior Member
Join Date: Sep 2005
Posts: 2
#6 (permalink)  
Old 09-07-2005, 09:56 AM
Default Re: transparent proxy and yum update

Hello All I have the same problem,
When I run yum update [package]
I get Errno -1 Header is not complete

But I don't use a proxy, I am directlly connect on internet!!

I don't know what I can do??
Do you have an ide!
Reply With Quote
Wizard
Join Date: May 2003
Location: Brunswick, Maryland, USA
Posts: 7,146
#7 (permalink)  
Old 09-07-2005, 11:51 AM
Default Re: transparent proxy and yum update

[ QUOTE ]
Hello All I have the same problem,
When I run yum update [package]
I get Errno -1 Header is not complete

But I don't use a proxy, I am directlly connect on internet!!

I don't know what I can do??
Do you have an ide!

[/ QUOTE ]
try yum clean all
if that does not work then you ar most likely behind a proxy somewhere. some ISP's run silent proxies to save on bandwidth.
Reply With Quote
Junior Member
Join Date: Sep 2005
Posts: 2
#8 (permalink)  
Old 09-07-2005, 12:25 PM
Default Re: transparent proxy and yum update

I have test with yum clean all!
That change any thing!

But you need to know, I have test some ftp server on my repository like wu-ftp and ftpaix ( I use an aix server for the repository) and with wu-ftpd there is no problems but there is a security problems so I need to use ftpaix now!

And with the ftpaix there is this error but I don't know why !!
Reply With Quote
Wizard
Join Date: May 2003
Location: Brunswick, Maryland, USA
Posts: 7,146
#9 (permalink)  
Old 09-08-2005, 01:22 AM
Default Re: transparent proxy and yum update

[ QUOTE ]
I have test with yum clean all!
That change any thing!

But you need to know, I have test some ftp server on my repository like wu-ftp and ftpaix ( I use an aix server for the repository) and with wu-ftpd there is no problems but there is a security problems so I need to use ftpaix now!

And with the ftpaix there is this error but I don't know why !!

[/ QUOTE ]
goto centos.org and post on the forums. The lead developer for YUM is part of the CentOS team. I am still thinking you have a hidden proxy at your isp but i could be wrong.
Reply With Quote
Wizard
Join Date: Oct 2003
Location: San Diego, CA
Posts: 1,030
#10 (permalink)  
Old 09-29-2005, 05:31 PM
Default Re: transparent proxy and yum update

I've had better luck with yum by setting http_proxy environment variable so that it knows it's using a proxy instead of being transparent.

Set it to <firewall>:8080 in a shell init script somewhere.

I usually create a custom shell script in /etc/profile.d for bash and csh that does this automatically whenever you log in for all users.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.