Koozali.org: home of the SME Server

HTTP Proxy Filter ?!

Offline dbuechel

  • ****
  • 99
  • +0/-0
HTTP Proxy Filter ?!
« on: September 10, 2007, 11:14:23 AM »
Moin ;)

frage: gibt es eine Möglichkeit bei SME gewisse Domains zu sperren - so das von internen nach aussen diese nicht angesprochen werden können ;)

zb.: www.spiegel.de

gruss

db

Offline holger.reiss

  • *
  • 213
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #1 on: September 10, 2007, 11:29:15 AM »
Hi,

ich denke das ist was für dich:
http://wiki.contribs.org/Dansguardian

Gruß
Holger

Offline dbuechel

  • ****
  • 99
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #2 on: September 10, 2007, 01:48:37 PM »
supi :)

funkt soweit !

habe mal eine adresse ausprobiert die in der blacklist steht - er macht dort stopp !

frage:

ich komme allerdings nicht auf die config seite:

accessdeniedaddress = 'http://192.168.0.1/cgi-bin/dansguardian.pl'

habe ich etwas übersehen ?


Offline holger.reiss

  • *
  • 213
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #3 on: September 10, 2007, 04:02:49 PM »
Hi,

sorry, ich habs selber noch nie probiert und auch nicht installiert.
Funktioniert der Zugang auch nicht mit HTTPS anstatt HTTP ???

Gruß
Holger

Offline dbuechel

  • ****
  • 99
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #4 on: September 11, 2007, 08:06:46 AM »
Hi,

sorry, ich habs selber noch nie probiert und auch nicht installiert.
Funktioniert der Zugang auch nicht mit HTTPS anstatt HTTP ???

Gruß
Holger


no

in beiden fällen:

Not Found

The requested URL /cgi-bin/dansguardian.pl was not found on this server.


Offline holger.reiss

  • *
  • 213
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #5 on: September 11, 2007, 02:50:00 PM »
Hi,

hier ein Auszug aus der Anleitung:
Code: [Select]
Modifying Dansguardian configuration

You need to manually modify configuration files /etc/dansguardian/dansguardian.conf and /etc/dansguardian/dansguardianf1.conf and /etc/dansguardian/dansguardianf2.conf and /etc/dansguardian/dansguardianf3.conf and so on depending on the number of filter groups you wish to have.

pico -w /etc/dansguardian/dansguardian.conf

You will initially need to change:

accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'

for example to

accessdeniedaddress = 'http://www.mydomain.com/cgi-bin/dansguardian.pl'

Make any other required changes to suit your situation by carefully reviewing the other setting possibilities

Ctrl o (to save)

Ctrl x (to exit)

pico -w /etc/dansguardian/dansguardianf1.conf

You may initially need to change (to suit adult level of protection)

naughtynesslimit = 50

to

naughtynesslimit = 160 (or even 250 or 300 depending on your sensitivity/tolerance requirements)

Make any other required changes to suit your situation by carefully reviewing the other setting possibilities

Ctrl o and Ctrl x

If you wish to use additional filter groups then edit further configuration files.

pico -w /etc/dansguardian/dansguardianf2.conf

Make any required changes to suit your situation by carefully reviewing all the setting possibilities

Ctrl o and Ctrl x

pico -w /etc/dansguardian/dansguardianf3.conf

Make any required changes to suit your situation by carefully reviewing all the setting possibilities

Ctrl o and Ctrl x
Also ich hab das nur kurz überflogen, aber ich denke du musst di Einstellungen manuell vornehmen an der Datei selber, da du wohl hiermit die Zugang zu dem Script verweigerst. Oder versteh ich das jetzt falsch?

Gruß
Holger

Offline dbuechel

  • ****
  • 99
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #6 on: September 18, 2007, 08:38:24 AM »
Hallo Holger,

ich habe es genau so gemacht wie es in der Anleitung steht - kein Erfolg :(

was mich wundert ist das in der Anleitung http://wiki.contribs.org/Dansguardian auch ein Verweis auf http://www.dungog.net/sme/dansguardian.php ist - dort steht unter anderem ja auch das ein Panel zur Verfügung stünde http://www.dungog.net/sme/panels/Dansguardian.html

auch dieses ist nicht vorhanden :(

gruss

db

Offline holger.reiss

  • *
  • 213
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #7 on: September 18, 2007, 09:46:04 AM »
Hi,

ja das ist wirklich seltsam.
Aber da weiß ich ehrlich gesagt jetzt auch nicht mehr weiter. Hab es ja selbst auch noch nie probiert.

Mal sehen, vielleicht setze ich in den nächsten Tagen einen neuen Testrechner auf, dann probier ich es mal bei mir aus, sofern ich etwas Zeit hab.

Gruß
Holger

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Re: HTTP Proxy Filter ?!
« Reply #8 on: September 18, 2007, 10:25:44 PM »
DANSGUARDIAN

http://wiki.contribs.org/Dansguardian
Quote
http://www.dungog.net sells a commercial implementation of Dansguardian for sme server which adds a server manager panel to allow GUI control of all Dansguardian functionality & settings.

http://www.dungog.net/sme/products.php
Quote
Summary of programs
SME7 versions are listed here. Generally smeserver-* are GPL, dungog-* are commercial
For more details consult the relevant section from the links to the left
also see the packages repository , or changelog

Für "unpaid" Dansguardian mit mehr Info...
...bitte im Forum nach der Anleitung von RAY MITCHELL suchen

Die Käufer von Steve Nobel 's Entwicklungen incl. Panels sind aber generell sehr zufrieden!

Regards
Reinhold



............

Offline dbuechel

  • ****
  • 99
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #9 on: September 19, 2007, 07:59:26 AM »
oki - das wäre klar ;)

aber warum ich nicht auf:

http://192.168.0.1/cgi-bin/dansguardian.pl

komme - leider noch nicht - da müßte ich doch drauf kommen - auch ohne "a commercial implementation" ?!

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Re: HTTP Proxy Filter ?!
« Reply #10 on: September 19, 2007, 08:58:50 AM »
Nun stochere ich im Nebel da ich dansguardian nie installiert habe (und nicht interessiert bin)...

 A B E R :

Quote
Dansguardian uses port 8080 for web proxy requests. If your browser does not use port 8080 then Dansguardian filtering will be bypassed. To force this usage & prevent users bypassing filtering you should do the following steps:

1) Configure your sme server to use Transparent Proxy port 8080 and to block direct access to the squid proxy port 3128 & redirect port 80 to port 8080

Note the functionality to create custom firewall rules using iptables is built in to the rpms provided by http://www.dungog.net

Code: [Select]
config setprop squid TransparentPort 8080
config setprop dansguardian portblocking yes
signal-event post-upgrade; signal-event reboot

...wäre eine SEHR PASSENDE ERKLÄRUNG

iow PORT 8080 statt 80

Regards
Reinhold
............

Offline dbuechel

  • ****
  • 99
  • +0/-0
Re: HTTP Proxy Filter ?!
« Reply #11 on: September 19, 2007, 09:14:08 AM »
Hallo Reinhold

hmmm... Dansguardian läuft ja - sonst könnte ich ja hier nicht schreiben ;)

wenn ich auf eine gesperrte Seite schauen will - bekomme ich ja auch die Meldung von Dansguardian


Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Re: HTTP Proxy Filter ?!
« Reply #12 on: September 19, 2007, 10:11:59 AM »
db,

Das von mir oben erwähnte (alte) HowTo von Ray Mitchel ist zu finden unter:
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/howto/deprecated/sme6/dansguardian%20instal%20&%20configure%20HOWTO%20for%20sme%20server.htm

Ich denke ohne das wirst du nur durch intensives suchen nach dansguardian.pl im (engl.) contribs Bereich (auch eine gute Idee  8) weiterkommen...
Ray Mitchell kann dir auf jeden Fall weiterhelfen (in english pls)

Regards
Reinhold


Quote
Modifying Dansguardian configuration for sme v7.0

You need to modify two configuration files
/etc/dansguardian/dansguardian.conf
and
/etc/dansguardian/dansguardianf1.conf
pico /etc/dansguardian/dansguardian.conf
You will initially need to change:
accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'
for example to
accessdeniedaddress = 'http://www.mydomain.com/cgi-bin/dansguardian.pl'
Make any other required changes to suit your situatio
............