TinyProxy - Squid proxy PROBLEM

Status
Für weitere Antworten geschlossen.

deon

Benutzer
Mitglied seit
22. Jun 2014
Beiträge
8
Punkte für Reaktionen
0
Punkte
0
Hallo,

Ich habe mir eine DS213j gekauft, diese verbindet sich direkt mit meinem VPN Anbieter - soweit funktioniert es..
Jetzt wollte ich zusäzlich auf meiner DS213j einen Proxyserver für das LAN installieren, damit jeder Teilnehmer im LAN nur über das DS213j VPN ins Internet gelangen kann.

Bei Squid scheitert es schon an der Konfiguration:

FATAL: Bungled Default Configuration line 11: cache_mem 8 MB Squid Cache (Version 2.7.STABLE9): Terminated abnormally.

Hierzu ist keine Lösung bekannt ?- ich habe wirklich lange im Inet gesucht.


Tiny proxy lässt sich konfigurieren und starten.

Wenn ich jetzt am PC über den Proxy via VPN ins Internet geh, werden allerdings keine Webseiten dargestellt.

Port ist auch offen

PORT STATE SERVICE
4545/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds



Ich werde allerdings zb beim aufruf von www.google.com auf www.google.ro umgeleitet (der VPN Server steht in .ro)

mit demvFehlercode: ERR_SOCKET_NOT_CONNECTEDv bei ssl

könten irgendwelche header nicht übertragen werden?

alles hängt an einer Fritzbox.

wie löse ich das am besten, hat jemand ne idee?
 

deon

Benutzer
Mitglied seit
22. Jun 2014
Beiträge
8
Punkte für Reaktionen
0
Punkte
0
log
CONNECT Jun 22 06:32:26 [7779]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:26 [7781]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:26 [7781]: Request (file descriptor 6): CONNECT www.google.ro:443 HTTP/1.1
INFO Jun 22 06:32:26 [7781]: No upstream proxy for www.google.ro
CONNECT Jun 22 06:32:26 [7779]: Request (file descriptor 6): GET http://www.google.com/ HTTP/1.1
INFO Jun 22 06:32:26 [7779]: No upstream proxy for www.google.com
CONNECT Jun 22 06:32:26 [7781]: Established connection to host "www.google.ro" using file descriptor 7.
CONNECT Jun 22 06:32:27 [7779]: Established connection to host "www.google.com" using file descriptor 7.
CONNECT Jun 22 06:32:27 [7782]: Request (file descriptor 6): GET http://www.geoplugin.net/json.gp?native=1 HTTP/1.1
ERROR Jun 22 06:32:27 [7781]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
INFO Jun 22 06:32:27 [7782]: No upstream proxy for www.geoplugin.net
INFO Jun 22 06:32:27 [7781]: Closed connection between local client (fd:6) and remote client (fd:7)
CONNECT Jun 22 06:32:27 [7777]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:27 [7781]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
INFO Jun 22 06:32:27 [7775]: No upstream proxy for toolbarqueries.google.com
nk&q=info:http://www.google.com HTTP/1.1
CONNECT Jun 22 06:32:27 [7782]: Established connection to host "www.geoplugin.net" using file descriptor 7.
INFO Jun 22 06:32:27 [7777]: No upstream proxy for xml.alexa.com
INFO Jun 22 06:32:27 [7784]: No upstream proxy for api.mywot.com
INFO Jun 22 06:32:27 [7779]: Closed connection between local client (fd:6) and remote client (fd:7)
INFO Jun 22 06:32:27 [7780]: No upstream proxy for www.google.ro
CONNECT Jun 22 06:32:27 [7778]: Request (file descriptor 6): CONNECT ssl.google-analytics.com:443 HTTP/1.1
CONNECT Jun 22 06:32:28 [7776]: Request (file descriptor 6): GET http://o.yieldsquare.com/geo HTTP/1.1
INFO Jun 22 06:32:28 [7783]: No upstream proxy for api.ipinfodb.com
INFO Jun 22 06:32:28 [7778]: No upstream proxy for ssl.google-analytics.com
CONNECT Jun 22 06:32:28 [7775]: Established connection to host "toolbarqCONNECT Jun 22 06:32:28 [7777]: EstablisheCONNECT Jun 22 06:32:28 [7783]: Established connection to hoCONNECT Jun 22 06:32:28 [7776]: Established connection to host "o.yieldsquare.com" using file descriptor 7.
INFO Jun 22 06:32:28 [7779]: No upstream proxy for cdn.extensionanalytics.com
INFO Jun 22 06:32:28 [7782]: Closed connection between local client (fd:6) and remote client (fd:7)
INFO Jun 22 06:32:28 [7778]: Not sending client headers to remote machine
CONNECT Jun 22 06:32:28 [7895]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
ERROR Jun 22 06:32:28 [7777]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
ERROR Jun 22 06:32:29 [7775]: relay_connection: select() error "Invalid argument". Closing conCONNECT Jun 22 06:32:29 [7780]: Connect (file descriptor 6): corvus.fritz.boxERROR Jun 22 06:32:29 [7776]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
INFO Jun 22 06:32:29 [7775]: Closed connection between local client (fd:6) and remote client (fd:7)
INFO Jun 22 06:32:29 [7895]: No upstream proxy for www.google.ro
INFO Jun 22 06:32:29 [7780]: No upstream proxy for ssl.google-analytics.com
onnection between local client (fd:6) and remote client (fd:7)
CONNECT Jun 22 06:32:29 [7782]: Established connection to host "www.google.ro" using file descriptor 7.
CONNECT Jun 22 06:32:29 [7778]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
INFO Jun 22 06:32:29 [7782]: Not sending client headers to remote machine
CONNECT Jun 22 06:32:29 [7780]: Established connection to host "ssl.google-analytics.com" using file descriptor 7.
INFO Jun 22 06:32:29 [7778]: No upstream proxy for cdn.extensionanalytics.com
INFO Jun 22 06:32:29 [7782]: Closed connection between local client (fd:6) and remote client (fd:7)
INFO Jun 22 06:32:29 [7780]: Not sending client headers to remote machine
INFO Jun 22 06:32:30 [7895]: Not sending client headers to remote machine
ERROR Jun 22 06:32:30 [7780]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
CONNECT Jun 22 06:32:30 [7778]: Established connection to host "cdn.extensionanalytics.com" using file descriptor 7.
INFO Jun 22 06:32:30 [7895]: Closed connection between local client (fd:6) and remote client (fd:7)
CONNECT Jun 22 06:32:30 [7784]: Request (file descriptor 6): CONNECT www.google.ro:443 HTTP/1.1
INFO Jun 22 06:32:30 [7778]: Not sending client headers to remote machine
CONNECT Jun 22 06:32:30 [7777]: Connect (file descriptor 6): corvus.CONNECT Jun 22 06:32:30 [7775]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:30 [7784]: Established connection to host "www.google.ro" using file descriptor 7.
INFO Jun 22 06:32:30 [7777]: No upstream proxy for ssl.google-analytics.com
CONNECT Jun 22 06:32:30 [7779]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:31 [7777]: Established connection to host "ssl.google-analytics.com" using file descriptor 7.
INFO Jun 22 06:32:31 [7784]: Closed connection between local client (fd:6) and remote cCONNECT Jun 22 06:32:31 [7775]: Established connection to host "clients2.google.com" using file descriptor 7.
CONNECT Jun 22 06:32:31 [7776]: Established connection to host "clients2.google.com" using fileCONNECT Jun 22 06:32:31 [7780]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:31 [7779]: Established connection to host "cdn.extensionanalytics.com" usingERROR Jun 22 06:32:31 [7775]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
ERROR Jun 22 06:32:31 [7776]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
CONNECT Jun 22 06:32:32 [7782]: Established connection to host "www.google.com" using file descriptor 7.
INFO Jun 22 06:32:32 CONNECT Jun 22 06:32:32 [7780]: Established connection to host "www.google.ro" using file descriptor 7.
INFO Jun 22 06:32:32 [7782]: Not sending client headers to remote machine
INFO Jun 22 06:32:32 [7780]: Not sending client headers to remote machine
ERROR Jun 22 06:32:32 [7782]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
ERROR Jun 22 06:32:32 [7780]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
INFO Jun 22 06:32:32 [7782]: Closed connection between local client (fd:6) and remote client (fd:7)
INFO Jun 22 06:32:32 [7780]: Closed connection between local client (fd:6) and remote client (fd:7)
CONNECT Jun 22 06:32:32 [7895]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:32 [7775]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:32 [7776]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
INFO Jun 22 06:32:33 [7775]: No upstream proxy for toolbarqueries.google.com
INFO Jun 22 06:32:33 [7777]: No upstream proxy for api.mywot.com
INFO Jun 22 06:32:33 [7784]: No upstream proxy for api.ipinfodb.com
INFO Jun 22 06:32:33 [7778]: No upstream proxy for toolbarqueries.google.com
CONNECT Jun 22 06:32:33 [7776]: Request (file descriptor 6): GET http://xml.alexa.com/data?cli=10&da...&uid=20091226155941&userip=&url=www.google.ro HTTP/1.1
INFO Jun 22 06:32:33 [7776]: No upstream proxy for xml.alexa.com
CONNECT Jun 22 06:32:33 [7778]: Established connection to host "toolbarqueries.google.com" using file descriptor 7.
NOTICE Jun 22 06:32:33 [7774]: Waiting servers (3) is less than MinSpareServers (5). Creating new child.
ERROR Jun 22 06:32:33 [7895]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
ERROR Jun 22 06:32:33 [7778]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
CONNECT Jun 22 06:32:33 [7779]: Connect (file descriptor 6): corvus.fritz.box [192.168.178.26]
CONNECT Jun 22 06:32:34 [7779]: Request (file descriptor 6): CONNECT www.google.com:443 HTTP/1.1
INFO Jun 22 06:32:34 [7779]: No upstream proxy for www.google.com
ERROR Jun 22 06:32:34 [7775]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
CONNECT Jun 22 06:32:34 [7779]: Established connection to host "www.google.com" using file descriptor 7.
ERROR Jun 22 06:32:34 [7776]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
INFO Jun 22 06:32:34 [7779]: Not sending client headers to remote machine
INFO Jun 22 06:32:34 [7776]: Closed connection between local client (fd:6) and remote client (fd:7)
ERROR Jun 22 06:32:34 [7779]: relay_connection: select() error "Invalid argument". Closing connection (client_fd:6, server_fd:7)
INFO Jun 22 06:32:34 [7779]: Closed connection between local client (fd:6) and remote client (fd:7)
ERROR Jun 22 06:32:37 [7781]: read_request_line: Client (file descriptor: 6) closed socket before read.
ERROR Jun 22 06:32:37 [7781]: Error reading readble client_fd 6
WARNING Jun 22 06:32:37 [7781]: Could not retrieve request entity
ERROR Jun 22 06:32:44 [7784]: Error reading readble client_fd 6
WARNING Jun 22 06:32:44 [7784]: Could not retrieve request entity
 

deon

Benutzer
Mitglied seit
22. Jun 2014
Beiträge
8
Punkte für Reaktionen
0
Punkte
0
## tinyproxy.conf
#
# User/Group: This allows you to set the user and group that will be
# used for tinyproxy after the initial binding to the port has been done
# as the root user. Either the user or group name or the UID or GID
# number may be used.
#
User root
Group root

#
# Port: Specify the port which tinyproxy will listen on. Please note
# that should you choose to run on a port lower than 1024 you will need
# to start tinyproxy using root.
#
Port 4545

#
# Listen: If you have multiple interfaces this allows you to bind to
# only one. If this is commented out, tinyproxy will bind to all
# interfaces present.
#
#Listen 192.168.178.20

#
# Bind: This allows you to specify which interface will be used for
# outgoing connections. This is useful for multi-home'd machines where
# you want all traffic to appear outgoing from one particular interface.
#
#Bind 192.18.128.24

#
# BindSame: If enabled, tinyproxy will bind the outgoing connection to the
# ip address of the incoming connection.
#
#BindSame yes

#
# Timeout: The maximum number of seconds of inactivity a connection is
# allowed to have before it is closed by tinyproxy.
#
Timeout 600


??
# Upstream:
#
# Turns on upstream proxy support.
#
# The upstream rules allow you to selectively route upstream connections
# based on the host/domain of the site being accessed.
#
# For example:
# # connection to test domain goes through testproxy
# upstream testproxy:8008 ".test.domain.invalid"
# upstream testproxy:8008 ".our_testbed.example.com"
# upstream testproxy:8008 "192.168.128.0/255.255.254.0"
#
# # no upstream proxy for internal websites and unqualified hosts
# no upstream ".internal.example.com"
# no upstream "www.example.com"
# no upstream "10.0.0.0/8"
# no upstream "192.168.0.0/255.255.254.0"
# no upstream "."
#
# # connection to these boxes go through their DMZ firewalls
# upstream cust1_firewall:8008 "testbed_for_cust1"
# upstream cust2_firewall:8008 "testbed_for_cust2"
#
# # default upstream is internet firewall
# upstream firewall.internal.example.com:80


#
# MaxClients: This is the absolute highest number of threads which will
# be created. In other words, only MaxClients number of clients can be
# connected at the same time.
#
MaxClients 20

#
# MinSpareServers/MaxSpareServers: These settings set the upper and
# lower limit for the number of spare servers which should be available.
#
# If the number of spare servers falls below MinSpareServers then new
# server processes will be spawned. If the number of servers exceeds
# MaxSpareServers then the extras will be killed off.
#
MinSpareServers 5
MaxSpareServers 20

#
# StartServers: The number of servers to start initially.
#
StartServers 10

#
# MaxRequestsPerChild: The number of connections a thread will handle
# before it is killed. In practise this should be set to 0, which
# disables thread reaping. If you do notice problems with memory
# leakage, then set this to something like 10000.
#
MaxRequestsPerChild 0

# ViaProxyName: The "Via" header is required by the HTTP RFC, but using
# the real host name is a security concern. If the following directive
# is enabled, the string supplied will be used as the host name in the
# Via header; otherwise, the server's host name will be used.
#
ViaProxyName "tinyproxy"


# The following two ports are used by SSL.
#
ConnectPort 443
ConnectPort 563
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat 

 
 
  AdBlocker gefunden!

Du bist nicht hier, um Support für Adblocker zu erhalten. Dein Adblocker funktioniert bereits ;-)

Klar machen Adblocker einen guten Job, aber sie blockieren auch nützliche Funktionen.

Das Forum wird mit hohem technischen, zeitlichen und finanziellen Aufwand kostenfrei zur Verfügung gestellt. Wir zeigen keine offensive Werbung und bemühen uns um eine dezente Integration.

Bitte unterstütze dieses Forum, in dem du deinen Adblocker für diese Seite deaktivierst.

Du kannst uns auch über unseren Kaffeautomat einen Kaffe ausgeben oder ein PUR Abo abschließen und das Forum so werbefrei nutzen.

Vielen Dank für Deine Unterstützung!