From a6e6c8676455b5c01c55490c1ed81ce5daedf617 Mon Sep 17 00:00:00 2001 From: Jason Mehring Date: Fri, 7 Nov 2014 00:09:13 -0500 Subject: [PATCH] debian: Made debian proxy filter rules more restrictive --- network/filter-updates | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/network/filter-updates b/network/filter-updates index 5fec48b..7ab1b05 100644 --- a/network/filter-updates +++ b/network/filter-updates @@ -1,11 +1,19 @@ +# Yum filters +# ----------------------------------------------------------------------------- /repodata/[A-Za-z0-9-]*\(primary\|filelists\|comps\(-[a-z0-9]*\)\?\|other\|prestodelta\|updateinfo\|pkgtags\)\.\(sqlite\|xml\)\(\.bz2\|\.gz\)\?$ /repodata/repomd\.xml$ \.rpm$ \.drpm$ ^mirrors\.fedoraproject\.org:443$ ^http://mirrors\..*/mirrorlist\? -\.deb$ -/dists/[a-z-]*/\(InRelease\|Release\|Release.gpg\)$ -/dists/[a-z-]*/.*/\(Packages\|Sources\|Release\)\(\|\.gz\|\.bz2\|\.xz\|\.lzma\|.*\)$ -/dists/[a-z-]*/.*/\(Contents\|Translation\)-.*\(\|\.gz\|\.xz\|\.bz2\|\.lzma\)$ -/dists/[a-z-]*/.*/\(Contents-.*\|Translation-.*\|Packages\)\.diff/\(Index\|[0-9.-]*\)\(\|\.gz\|\.xz\|\.bz2\|\.lzma\)$ + +# Debian filters +# +# Whonix uses sourceforge to host its repos and url can end in: +# '/' or '/download' or '?.*' +# ----------------------------------------------------------------------------- +\.deb\(\|\/\|\/download\|\?.*\)$ +/dists/[a-z-]*/\(InRelease\|Release\|Release.gpg\)\(\|\/\)$ +/dists/[a-z-]*/.*/\(Packages\|Sources\|Release\)\(\|\.gz\|\.bz2\|\.xz\|\.lzma\|\.gpg\)\(\|\|/\|\/download\|\?.*\)$ +/dists/[a-z-]*/.*/\(Contents\|Translation\)-.*\(\|\.gz\|\.xz\|\.bz2\|\.lzma\)\(\|\/\)$ +/dists/[a-z-]*/.*/\(Contents-.*\|Translation-.*\|Packages\)\.diff/\(Index\|[0-9.-]*\)\(\|\.gz\|\.xz\|\.bz2\|\.lzma\)\(\|\/\)$