/* * Copyright (c) 2005 Niels Provos * All rights reserved. * * 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 of the License, 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 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 of the License, 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _PROXY_MESSAGES_H_ #define _PROXY_MESSAGES_H_ static struct keyvalue badport[] = { { "junkbuster", "HTTP/1.0 503 Connect failed\r\nContent-Type: text/html\r\n\r\n\r\n\r\nInternet Junkbuster: Connect failed\r\n\r\n\r\n

Internet JUNKBUSTER

TCP connection to $rawhost failed: Operation not permitted.\r\n
\r\n\r\n" }, { NULL, NULL } }; static struct keyvalue goodport[] = { { "junkbuster", "HTTP/1.0 200 Connection established\r\nProxy-Agent: IJ/2.0.2\r\n\r\n" }, { NULL, NULL } }; static struct keyvalue badconnection[] = { { "junkbuster", "HTTP/1.0 400 Invalid header received from browser\r\n\r\n" }, { NULL, NULL } }; static struct keyvalue baddomain[] = { { "junkbuster", "HTTP/1.0 404 Non-existent domain\r\nContent-Type: text/html\r\n\r\n\r\n\r\nInternet Junkbuster: Non-existent domain\r\n\r\n\r\n

Internet JUNKBUSTER

No such domain: $host\r\n\r\n\r\n" }, { NULL, NULL } }; struct keyvalue badconnect[] = { { "junkbuster", "HTTP/1.0 503 Connect failed\r\nContent-Type: text/html\r\n\r\n\r\n\r\nInternet Junkbuster: Connect failed\r\n\r\n\r\n

Internet JUNKBUSTER

TCP connection to $host failed: $reason.\r\n
\r\n\r\n" }, { NULL, NULL } }; /* Allowed domains */ static struct keyvalue allowedhosts[] = { { "www.yahoo.com", "^.*" }, { "www.google.com", "^.*" }, { "www.alltheweb.com", "^.*" }, { "proxychecker.go-mailing.com", "^.*" }, { "pics.ebay.com", "^.*\\.(jpg|gif|png)$" }, { "www.ebay.com", "^/(index.html)?$" }, { "slashdot.org", "^/(index.html|graphics/.*\\.(gif|jpg|png))?$" }, { "www.gnu.org", "^/(index.html|graphics/.*\\.(gif|jpg|png))?$" }, { "images.slashdot.org", "^.*\\.(jpg|gif|png)$" }, { "images2.slashdot.org", "^.*\\.(jpg|gif|png)$" }, { "www.jstor.org", "^/(index.html|graphics/.*\\.(gif|jpg|png))?$" }, { "www.sina.com", "^/(index.html|.*\\.(gif|jpg|png))?$" }, { "www.sina.com.cn", "^/(index.html|.*\\.(gif|jpg|png))?$" }, { "image.sina.com.cn", "^.*\\.(jpg|gif|png)$" }, { "image2.sina.com.cn", "^.*\\.(jpg|gif|png)$" }, { "www.intel.com", "^/(index.html|.*\\.(gif|jpg|png))?$" }, { "www.sun.com", "^/(index.html|.*\\.(gif|jpg|png))?$" }, { "www.biomedcentral.com", "^/(index.html|.*\\.(gif|jpg|png))?$" }, { "www.sciencedirect.com", "^/(index.html|.*\\.(gif|jpg|png))?$" }, { "digstream.go.com", "^/digstream/autoupdate.xml$" }, { "www.ingenta.com", "^/(index.html|.*\\.(gif|jpg|png))?$" }, { "hacker.org.ru", "^/prxjdg.php$" }, { "www.hitopee.com", "^/cgi/proxyck.cgi$" }, { "galg999.clawz.com", "^/etc/prxjdg.cgi$" }, { "www.sheepdouble.com", "^/cgi-bin/cj.cgi$" }, { "www.antz-pc-school.com", "^/cgi-bin/test/prxjdg.cgi$" }, { "www.pe4ati.net", "^/cgi-bin/proxyjudge/prxjdg.cgi$" }, { "musiclub.com.ru", "^/prxjdg.php$" }, { "www.motorscreensavers.com", "^/cgi-bin/pxjdg11.cgi$" }, { "www.zbb.jp", "^/unknown/cgi-bin/prxjdg.cgi$" }, { "www.clickingagent.com", "^/proxycheck.php" }, { "clickingagent.com", "^/proxycheck.php" }, { "gjc00.vip.533.net", "^/ip.cgi$" }, { "www.ebuysearch.com", "^/cgi-bin/ip.cgi$" }, { "www.exone.net", "^/pj123.cgi$" }, { "umsky.com", "^/prx.php$" }, { "www.loomsoft.com", "^/proxycheck/proxyjudge.cgi$" }, { "www21.big.or.jp", "^/%7Emana_/prxjdg.cgi$" }, { "www.search591.com", "^/prx.php" }, { NULL, NULL } }; #endif /* _PROXY_MESSAGES_H_ */