Open GtTmy opened 2 years ago
1.11.0
I'd like to filter accesses based on domains and port numbers.
I wrote a filter file and a conf file below. I hoped that accesses to google via port 80 would be allowed.
google\.com:80$
User nobody Group nobody Port 8888 Listen 10.48.10.10 Bind 10.48.10.10 Timeout 600 DefaultErrorFile "/opt/tinyproxy-1.11.0/share/tinyproxy/default.html" StatFile "/opt/tinyproxy-1.11.0/share/tinyproxy/stats.html" LogLevel Connect Upstream http proxy.example.co.jp:8080 MaxClients 100 Allow 10.48.10.20 ViaProxyName "tinyproxy" Filter "/vagrant/tinyproxy_conf/filter" FilterDefaultDeny Yes
But tinyproxy refused accesses via port 80.
CONNECT Nov 02 07:28:02.992 [3239]: Connect (file descriptor 4): 10.48.10.20 CONNECT Nov 02 07:28:02.996 [3239]: Request (file descriptor 4): GET http://www.google.com:80/ HTTP/1.1 NOTICE Nov 02 07:28:02.996 [3239]: Proxying refused on filtered domain "www.google.com" CONNECT Nov 02 07:28:08.780 [3239]: Connect (file descriptor 4): 10.48.10.20 CONNECT Nov 02 07:28:08.783 [3239]: Request (file descriptor 4): GET http://www.google.com/ HTTP/1.1 NOTICE Nov 02 07:28:08.783 [3239]: Proxying refused on filtered domain "www.google.com"
Are there any way to specify domains and port numbers?
Tinyproxy version
1.11.0
Issue
I'd like to filter accesses based on domains and port numbers.
I wrote a filter file and a conf file below. I hoped that accesses to google via port 80 would be allowed.
But tinyproxy refused accesses via port 80.
Are there any way to specify domains and port numbers?