Hello,
I'm trying to set up tinyproxy on my router, but connections fail, when I set it up in firefox. Here is my config:
:~# cat /etc/config/tinyproxy
config tinyproxy
option Port '8888'
option Timeout '600'
option DefaultErrorFile '/usr/share/tinyproxy/default.html'
option StatFile '/usr/share/tinyproxy/stats.html'
option MinSpareServers '5'
option MaxSpareServers '20'
option StartServers '10'
option MaxRequestsPerChild '0'
option enabled '1'
option MaxClients '10'
option Syslog '1'
option LogLevel 'Info'
option User 'nobody'
option Group 'nogroup'
list ConnectPort '0'
option Listen '0.0.0.0'
option Bind '0.0.0.0'
option enable '1'
list Allow '127.0.0.1'
list Allow '192.168.0.0/16'
list Allow '192.168.33.1'
list Allow '::ffff:0:0/96'
Here is the error log:
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Initializing tinyproxy ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Reloading config file
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Listening on IP 0.0.0.0
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Outgoing connections bound to IP 0.0.0.0
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Stathost set to "127.0.0.1"
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Adding Port [0] to the list allowed by CONNECT
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Now running as group "nogroup".
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Now running as user "nobody".
Sat May 24 11:59:10 2014 daemon.crit tinyproxy[5073]: ERROR: Could not create log file /var/log/tinyproxy.log: Bad file descriptor.
Sat May 24 11:59:10 2014 daemon.crit tinyproxy[5073]: Falling back to syslog logging
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 1 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 2 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 3 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 4 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 5 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 6 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 7 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 8 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 9 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Creating child number 10 of 10 ...
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Finished creating all children.
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Setting the various signals.
Sat May 24 11:59:10 2014 daemon.info tinyproxy[5073]: Starting main loop. Accepting connections.
Sat May 24 11:59:16 2014 daemon.info tinyproxy[5074]: Connect (file descriptor 7): dimura-laptop.lan [192.168.3.172]
Sat May 24 11:59:16 2014 daemon.info tinyproxy[5077]: Connect (file descriptor 7): dimura-laptop.lan [192.168.3.172]
Sat May 24 11:59:45 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 11:59:46 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 11:59:47 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 11:59:49 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 11:59:53 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 12:00:01 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 12:00:17 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 12:00:46 2014 daemon.err tinyproxy[5074]: read_request_line: Client (file descriptor: 7) closed socket before read.
Sat May 24 12:00:46 2014 daemon.err tinyproxy[5074]: Error reading readble client_fd 7
Sat May 24 12:00:46 2014 daemon.warn tinyproxy[5074]: Could not retrieve request entity
Sat May 24 12:00:46 2014 daemon.err tinyproxy[5077]: read_request_line: Client (file descriptor: 7) closed socket before read.
Sat May 24 12:00:46 2014 daemon.err tinyproxy[5077]: Error reading readble client_fd 7
Sat May 24 12:00:46 2014 daemon.warn tinyproxy[5077]: Could not retrieve request entity
Sat May 24 12:00:49 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 12:00:54 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 12:00:55 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 12:00:56 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Sat May 24 12:00:58 2014 daemon.warn odhcpd[1204]: Failed to send to ff05::1:3%eth1 (Invalid argument)
Thank you for any suggestions!