#1 10. Januar 2011 hallo liebes RR Board, ich habe eine Frage und hoffe auf eine antwort.... Ich besitze einen Server mit Debian 5.0 undmich würde interessieren wie ich diesen Server möglichst einfach als Proxy für meinen Arbeitsplatz & Zuhause nutzen möchte. Wie stelle ich das am besten an ohne großartig Programme zu konfigurieren und dann nicht durchzusteigen (z.B Squid) ? mfg lynn
#2 10. Januar 2011 AW: Howto - Debian Proxy Code: /etc/init.d/networking stop Spaß beiseite Google mal nach "Mocks", der ist eigentlich recht einfach, aber ist Ansichtssache. Tutorials findest im Web zu genuege. Gruß
#3 10. Januar 2011 AW: Howto - Debian Proxy Kannst dir ja die Seite hier mal zu gemüte führen.. Squid › Wiki › ubuntuusers.de Die grundlegende Konfiguration ist recht gut erklärt und die Befehle sollten eigtl gleich sein, da Ubuntu ja auf Debian aufgebaut ist.. MfG
#4 10. Januar 2011 AW: Howto - Debian Proxy 3proxy tiny free proxy server for Windows, Linux, Unix: SOCKS, HTTP, FTP proxy einfacher gehts kaum
#5 13. Januar 2011 AW: Howto - Debian Proxy ja, an squid habe ich auch schon gedacht, aber das ist mir etwas zu komplex zum konfigurieren. mit tinyproxy hatte ich leider keinen erfolg, und 3proxy.ru habe ich leider noch nicht richtig probieren können. Im moment habe ich eine kleine zwischenlösung gefunden, die leider noch ein paar fehler hat; per Code: ]ssh -D 1234 user@IP-ADRESS verbinde ich mich auf den Server. Danach konfiguriere ich mein Firefox unter den Verbindungseinstellungen: SSH Proxy und Socks Host auf "localhost" und Port 1324 an und für sich funktioniert das gut, nur wenn ich mich an einer seite anmelden möchte, versucht der Browser mir eine login.php oder login.pl herunterzuladen, was ich auch kann. Aber was ich dann damit anstellen soll ist mir schleierhaft- anmelden an der seite kann ich mich auch nicht, weiß wer was ich falsch mache oder vergessen habe? oder ist es ein serverseitiges problem?
#6 13. Januar 2011 AW: Howto - Debian Proxy installier nen richtigen HTTP Proxy. Wie gesagt 3proxy ist total simpel: Source runterladen, kompilieren und ausführen. Alles was du brauchst (hauptsächlich port und deamon mode) kannst du via commandline angeben.
#7 13. Januar 2011 AW: Howto - Debian Proxy Also, ich hab mir jetz mal 3Proxy geladen, entpackt und dann mit make -f Makefile.Linux versucht zu kompilieren/installieren oder was auch immer. Hier sind die error ausgaben: Code: proxy.h:19:19: error: stdio.h: Datei oder Verzeichnis nicht gefunden proxy.h:20:20: error: stdlib.h: Datei oder Verzeichnis nicht gefunden proxy.h:21:20: error: string.h: Datei oder Verzeichnis nicht gefunden proxy.h:22:19: error: ctype.h: Datei oder Verzeichnis nicht gefunden proxy.h:23:23: error: sys/types.h: Datei oder Verzeichnis nicht gefunden proxy.h:24:22: error: sys/stat.h: Datei oder Verzeichnis nicht gefunden proxy.h:25:23: error: sys/timeb.h: Datei oder Verzeichnis nicht gefunden proxy.h:26:18: error: time.h: Datei oder Verzeichnis nicht gefunden proxy.h:27:19: error: fcntl.h: Datei oder Verzeichnis nicht gefunden proxy.h:58:19: error: errno.h: Datei oder Verzeichnis nicht gefunden proxy.h:59:20: error: signal.h: Datei oder Verzeichnis nicht gefunden proxy.h:60:21: error: sys/uio.h: Datei oder Verzeichnis nicht gefunden proxy.h:61:22: error: sys/time.h: Datei oder Verzeichnis nicht gefunden proxy.h:62:20: error: unistd.h: Datei oder Verzeichnis nicht gefunden proxy.h:63:21: error: pthread.h: Datei oder Verzeichnis nicht gefunden proxy.h:64:20: error: syslog.h: Datei oder Verzeichnis nicht gefunden In file included from 3proxy.c:10: proxy.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pa' In file included from proxy.h:131, from 3proxy.c:10: structures.h:16:24: error: sys/socket.h: Datei oder Verzeichnis nicht gefunden structures.h:17:24: error: netinet/in.h: Datei oder Verzeichnis nicht gefunden structures.h:18:23: error: arpa/inet.h: Datei oder Verzeichnis nicht gefunden structures.h:19:19: error: netdb.h: Datei oder Verzeichnis nicht gefunden structures.h:39:18: error: poll.h: Datei oder Verzeichnis nicht gefunden In file included from proxy.h:131, from 3proxy.c:10: structures.h:247: error: expected specifier-qualifier-list before 'time_t' structures.h:262: error: expected specifier-qualifier-list before 'time_t' structures.h:324: error: expected specifier-qualifier-list before 'pthread_mutex_t' structures.h:397: error: field 'sinc' has incomplete type structures.h:398: error: field 'sins' has incomplete type structures.h:399: error: field 'req' has incomplete type structures.h:413: error: expected specifier-qualifier-list before 'time_t' structures.h:418: error: field 'sb' has incomplete type structures.h:449: error: expected specifier-qualifier-list before 'FILE' structures.h:530: warning: 'struct in_addr' declared inside parameter list structures.h:530: warning: its scope is only this definition or declaration, which is probably not what you want structures.h:532: warning: 'struct tm' declared inside parameter list structures.h:548: error: expected ')' before 'size' structures.h:549: error: expected ';' before 'void' In file included from 3proxy.c:10: proxy.h:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'basetime' proxy.h:159: warning: 'struct tm' declared inside parameter list proxy.h:160: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token proxy.h:180: warning: 'struct in_addr' declared inside parameter list proxy.h:223: error: expected declaration specifiers or '...' before 'time_t' proxy.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bandlim_mutex' proxy.h:293: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hash_mutex' proxy.h:294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tc_mutex' proxy.h:295: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pwl_mutex' 3proxy.c:13:19: error: dlfcn.h: Datei oder Verzeichnis nicht gefunden 3proxy.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bandlim_mutex' 3proxy.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tc_mutex' 3proxy.c:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pwl_mutex' 3proxy.c:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hash_mutex' 3proxy.c:32: error: expected ')' before '*' token 3proxy.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'basetime' 3proxy.c:44: error: expected specifier-qualifier-list before 'time_t' 3proxy.c:45: error: 'time_t' undeclared here (not in a function) 3proxy.c:45: warning: excess elements in struct initializer 3proxy.c:45: warning: (near initialization for 'cheader') 3proxy.c:45: error: expected '}' before numeric constant 3proxy.c:50: error: expected specifier-qualifier-list before 'time_t' 3proxy.c:57: error: 'NULL' undeclared here (not in a function) 3proxy.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 3proxy.c:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 3proxy.c: In function 'mysigterm': 3proxy.c:185: warning: implicit declaration of function 'usleep' 3proxy.c: In function 'reload': 3proxy.c:200: error: 'FILE' undeclared (first use in this function) 3proxy.c:200: error: (Each undeclared identifier is reported only once 3proxy.c:200: error: for each function it appears in.) 3proxy.c:200: error: 'fp' undeclared (first use in this function) 3proxy.c:207: warning: implicit declaration of function 'confopen' 3proxy.c:209: warning: implicit declaration of function 'readconfig' 3proxy.c:213: error: 'writable' undeclared (first use in this function) 3proxy.c:213: warning: implicit declaration of function 'fclose' 3proxy.c: In function 'parsestr': 3proxy.c:299: warning: implicit declaration of function 'open' 3proxy.c:299: error: 'O_RDONLY' undeclared (first use in this function) 3proxy.c:300: warning: implicit declaration of function 'fprintf' 3proxy.c:300: warning: incompatible implicit declaration of built-in function 'fprintf' 3proxy.c:300: error: 'stderr' undeclared (first use in this function) 3proxy.c:305: warning: implicit declaration of function 'realloc' 3proxy.c:305: warning: incompatible implicit declaration of built-in function 'realloc' 3proxy.c:306: warning: incompatible implicit declaration of built-in function 'fprintf' 3proxy.c:307: warning: implicit declaration of function 'close' 3proxy.c:313: warning: implicit declaration of function 'strlen' 3proxy.c:313: warning: incompatible implicit declaration of built-in function 'strlen' 3proxy.c:314: warning: implicit declaration of function 'memcpy' 3proxy.c:314: warning: incompatible implicit declaration of built-in function 'memcpy' 3proxy.c:316: warning: implicit declaration of function 'read' 3proxy.c:317: warning: implicit declaration of function 'perror' 3proxy.c: At top level: 3proxy.c:346: error: expected declaration specifiers or '...' before 'time_t' 3proxy.c: In function 'dologname': 3proxy.c:349: warning: implicit declaration of function 'localtime' 3proxy.c:349: error: 't' undeclared (first use in this function) 3proxy.c:349: warning: assignment makes pointer from integer without a cast 3proxy.c:350: warning: implicit declaration of function 'strchr' 3proxy.c:350: warning: incompatible implicit declaration of built-in function 'strchr' 3proxy.c:353: warning: implicit declaration of function 'memset' 3proxy.c:353: warning: incompatible implicit declaration of built-in function 'memset' 3proxy.c:354: warning: passing argument 5 of 'dobuf2' from incompatible pointer type 3proxy.c:359: warning: implicit declaration of function 'sprintf' 3proxy.c:359: warning: incompatible implicit declaration of built-in function 'sprintf' 3proxy.c:362: error: dereferencing pointer to incomplete type 3proxy.c:365: error: dereferencing pointer to incomplete type 3proxy.c:365: error: dereferencing pointer to incomplete type 3proxy.c:368: error: dereferencing pointer to incomplete type 3proxy.c:369: warning: assignment makes pointer from integer without a cast 3proxy.c:370: error: dereferencing pointer to incomplete type 3proxy.c:370: error: dereferencing pointer to incomplete type 3proxy.c:370: error: dereferencing pointer to incomplete type 3proxy.c:373: error: dereferencing pointer to incomplete type 3proxy.c:373: error: dereferencing pointer to incomplete type 3proxy.c:373: error: dereferencing pointer to incomplete type 3proxy.c:376: error: dereferencing pointer to incomplete type 3proxy.c:376: error: dereferencing pointer to incomplete type 3proxy.c:376: error: dereferencing pointer to incomplete type 3proxy.c:376: error: dereferencing pointer to incomplete type 3proxy.c:379: error: dereferencing pointer to incomplete type 3proxy.c:379: error: dereferencing pointer to incomplete type 3proxy.c:379: error: dereferencing pointer to incomplete type 3proxy.c:379: error: dereferencing pointer to incomplete type 3proxy.c:379: error: dereferencing pointer to incomplete type das ist ca ein viertel der gesamten meldung es endet mit: Code: 3proxy.c:1946: error: 'SIGCONT' undeclared (first use in this function) 3proxy.c:1947: error: 'SIGTERM' undeclared (first use in this function) 3proxy.c:1948: error: 'SIGUSR1' undeclared (first use in this function) 3proxy.c:1949: error: 'SIGPIPE' undeclared (first use in this function) 3proxy.c:1949: error: 'SIG_IGN' undeclared (first use in this function) make[1]: *** [3proxy.o] Fehler 1 make[1]: Leaving directory `/home/usrshr/3proxy-0.6.1/src' make: *** [all] Fehler 2 kann mir irgendwer erklären was ich falsch gemacht habe o.o, langsam fühle ich mich überfordert.
#8 13. Januar 2011 AW: Howto - Debian Proxy hast du deine kernelheader/-sourcen installiert? sonst wird das nix^^...mfg coach
#9 13. Januar 2011 AW: Howto - Debian Proxy Ich würde keine zusätzliche Software installieren, wenn ich schon alles an Board hätte. Der SSH-Tunnel muss funktionieren, ich benutz das ja schließlich auch. Hast das ganze mal bei anderen Seiten probiert? Geht das Anmelden ohne Proxy? Sieht nämlich ganz danach auch, als hätte sich der Webserver von der Seite verabschiedet und bietet dir deshalb das Anmeldeskript (login.php) zum Download an, anstatt es auszuführen. So nen zusätzlichen SOCKS-Proxy würd ich mir nicht installieren, denn jede zusätzliche Software ist ein potentieller Gefahrenherd. Außerdem hast du bei SOCKS keine Verschlüsselung, bei SSH-Tunnels schon.
#10 13. Januar 2011 AW: Howto - Debian Proxy Du brauchst nicht mal kernel-header/sources, das normale 'build-essential' packet sollte ausreichen. Sowas sind doch Grundlagen ...
#11 14. Januar 2011 Ich habe mehrere Seiten ausprobiert, ich kann mich wenn ich nicht den SSH Proxy verwende überall anmelden, nur wenn ich mit Proxyx versuche mich anzumelden, dann möchte er immer eine login.php, oder eine index.pl (abhängig von der besuchten seite) herunterladen. Nachdem ich das gemacht hab, passiert aber trotzdem nichts... könnte es sein, dass der Server den Login nicht umsetzten kann? Oder dass module am apache dafür verantwortlihc sind? ha, habs hinbekommen, ich hab den ssl-proxy aus der konfiguation genommen und jetz funktionierts einwandfrei, thx 4 the help