#include <hallo.h> * Jonathan Oxer [Mon, May 02 2005, 12:46:07PM]: > Thanks Eduard, > > I'd resisted the idea of implementing ACLs (or any form of access > control, for that matter) within Apt-cacher since it could be done > within Apache instead, but I've already caved on the idea of client IP > address restrictions and your patch looks very simple so I'll apply this > as well. Hopefully the combination of client address restriction and > target mirror restriction will be enough to satisfy most people and we > won't need to do something more radical like introduce a real > generalised ACL infrastructure.
Ehm. I am sure such kind of filtering can be done with Apache but I do not have the know-how. And argumenting this way, you can also remove some other settings from the config file. Having that options in apt-cacher.conf is much easier to find, IMO. BTW, in the meantime I tried to implement some other things I did not like in apt-cacher. And the code sucked. The more I have read, the more was clear: large parts simply need to be rewritten. Too many kludges, too many races. Finally, I got around and IMO my new version is better now. Here is the preluminary changes files, the .deb is available on http://people.debian.org/~blade/testing/. Please tell me what you think about it... I you don't like it that way, do it better, but FIX ALL THAT bugs soon. Or I will fork it as apt-cacher-ng and maintain my own version (but I hope it won't come so far. I imagine a alioth project where we can work on it together). MfG, Eduard. Format: 1.7 Date: Sun, 1 May 2005 12:19:23 +0200 Source: apt-cacher Binary: apt-cacher Architecture: source all Version: 0.8.6.1 Distribution: unstable Urgency: low Maintainer: Jonathan Oxer <[EMAIL PROTECTED]> Changed-By: Eduard Bloch <[EMAIL PROTECTED]> Description: apt-cacher - caching system for .deb packages Closes: 180544 251468 251660 267680 274975 277279 278070 294617 Changes: apt-cacher (0.8.6.1) unstable; urgency=low . * TODO: finalize 0.8.7 fix the scripts to work with the new file locations fix the "import" script to check the package names within the .deb files in the import dir, then move them to "packages" directory and create fake headers in "headers/" fix the expiration script to do expiration on source files add my patch for URL filtering fix wishlist bug reports ... and see fixmes below * new format, separates package contents and HTTP headers (closes: #274975). The new script apt-cacher-format-transition.pl converts the old cached files to the new version and moves the parts to the new locations * used syswrite/sysread where appropriate to minimise effects of Perl buffering in combination with Apache2 (avoids apt-get's long "waiting for headers" phase in most cases, still appears from time to time, but not really often # FIXME, investigate the link between this issue, #274274 and the other mod_cgi/mod_cgid bug report * uses modification times of index files if configured, this should avoid desynchronisation of some files (closes: #180544). Used curl to get the HTTP head for that (wget was just too stupid with its timestamping abilities). By the way rewrote the fetcher code to use curl only, removing the wget depedency (closes: #277279) * rewrote large parts of unsafe code, worked around race conditions (closes:#251468), fixed some crap like inserting of status code into half-downloaded files (closes: #251660), really detached the fetcher thread from the reader when the file is initialy beeing downloaded, and made error code passing more reliable * applied patch from Peter Denison <[EMAIL PROTECTED]> for more flexible names of index files (closes: #267680) * IPv6 & filtering patch by Darren Salt (closes: #294617, #278070) Files: 7d004f0b68767b82a88038e8ca3cefd5 288 net optional apt-cacher_0.8.6.1.dsc 1e1fdc13b6b157d8d2606cbd337d1452 47261 net optional apt-cacher_0.8.6.1.tar.gz a99fb0849a2789713f02a625a13c3474 33484 net optional apt-cacher_0.8.6.1_all.deb -- <Rhonda> cobolt_: Dann lass bitte die Finger vom Kernel-Patchen. <Joey[tm]> ... sonst patcht der Kernel Dir eine... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]