[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-proxy einrichten



Thomas Wegner <thomas_wegner@gmx.net> wrote:

>>> Ich sitze hier am Rechner, der eigentlich als Proxy dienen
>>> soll. Diesen Rechner will ich so konfigurieren, dass er seinseits
>>> Pakte aus dem Internet mittels apt-proxy abholt. Wenn ich die
>>> Sources.list anpasse z. B.:
>>> 
>>> deb ftp://ftp.de.debian.org:9999/debian testing main contrib non-free

>> deb http://ds9:9999/main unstable main contrib non-free
>> deb http://ds9:9999/non-US unstable/non-US main contrib non-free

> So, mein Eintrag in der /etc/sources.list sieht jetzt folgendermaßen
> aus:
> deb ftp://localhost:9999/main woody main contrib non-free
> deb ftp://localhost:9999/non-US woody/non-US main contrib non-free

HTTP!

> Err http://localhost woody/main Packages
>  Could not connect to localhost:9999 (127.0.0.1). - connect (111 Connection refused)

Hast du

9999           stream  tcp     nowait.400      aptproxy /usr/sbin/tcpd /usr/sbin/apt-proxy -l /var/log/apt-proxy.log

in deiner inetd.conf und sind hosts.allow und hosts.deny passend?

> #Zugriff wegen apt-proxy
> http : ALL

Das greift nur für Port 80, nicht aber für Port 9999.

Geht es, wenn du bei obiger Zeile einmal testweise das /usr/sbbin/tcpd
wegnimmst?

S°

-- 
Letzte Worte einer Gehilfin des Messerwerfers an der Wurfscheibe:
Haaaaatschiiiiii...



Reply to: