summaryrefslogtreecommitdiff
path: root/src/dnscache.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-15 05:57:13 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-15 05:57:13 +0000
commitbf18ec5adce44bece72498c04dcd1acedd2548f0 (patch)
tree94ffeca994701f961cdf709c4f9d54168fa8d058 /src/dnscache.h
parente0694a8f6eaadaac6196afbee0982a266f4e2927 (diff)
downloadtinyproxy-bf18ec5adce44bece72498c04dcd1acedd2548f0.tar.gz
tinyproxy-bf18ec5adce44bece72498c04dcd1acedd2548f0.zip
Removed the DNS caching system because tinyproxy did not determine the TTL
of the host names being resolved, which is not recommended by RFC2616. Basically, if a HTTP client doesn't respect the TTL is should not be caching the address since it leaves itself open to DNS spoofing attacks. Also, having a DNS caching system is an administater decision, and so should not be included in the tinyproxy source.
Diffstat (limited to 'src/dnscache.h')
-rw-r--r--src/dnscache.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/dnscache.h b/src/dnscache.h
deleted file mode 100644
index 046052d..0000000
--- a/src/dnscache.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* $Id: dnscache.h,v 1.7 2001-10-25 17:02:50 rjkaes Exp $
- *
- * See 'dnscache.c' for a detailed description.
- *
- * Copyright (C) 1999 Robert James Kaes (rjkaes@flarenet.com)
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2, or (at your option) any
- * later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
-
-#ifndef _TINYPROXY_DNSCACHE_H_
-#define _TINYPROXY_DNSCACHE_H_
-
-#include "tinyproxy.h"
-
-extern int dnscache(struct in_addr *addr, char *domain);
-
-#endif