Dansguardian safesearch regex

  • Would someone please be so kind as to provide their current working url modifying safesearch regular expressions for Dansguardian please?

    Many thanks.  :)

  • I have these ones but I've tested only google without ssl

    # ... and add 'safe=vss'
    # Singingfish - remove 'ff=...' and add 'ff=1'
    # Ilse - remove 'family=...' and add 'family=yes'
    # KEL - remove 'Realm%3AErotiek=...'
    # Lycos.com - family filter only available in advanced mode.
    # Remove 'adv=...' and 'adf=...' and add 'adv=1&adf=on'
    # Lycos.nl - remove 'family=...' and add 'family=on'
    # Alltheweb - change the customize url so that 'offensive' cannot be turned off
    # Yahoo - remove 'vm=...' and add 'vm=r'
    # Hotbot - remove 'adf=...' and add 'adf=on'
    # Wisenut - change the customize url so that 'wisepatrol' cannot be turned off
    # Metacrawler - remove 'familyfilter=...' and add 'familyfilter=1'

  • Thankyou

    here's Bing

    BING Add &adlt=strict


  • This is probably going to sound stupid… but I just figured out I'm not getting any log entries for URLMOD... which likely means that none of my URL rewrite rules are actually working.

    Shouldn't they be showing up in the dansguardian access.log?

  • What you get on browser url rewrite test?

  • @marcelloc:

    What you get on browser url rewrite test?

    Well… For Google I don't see the "safe=off" being added to the URL. Is that the best way to test it? just view the URL query string and see if it is being modified?

  • I just do a search for a bad word and google will come back with 0 results and say it is due to safesearch being activated.

  • What if safesearch is "off" in your google settings (in options/search settings)? Does it still force safe search? If so, do you see a "CONTENTMOD" entry in your dansguardian access log?

  • Yes, with safesearch off in google settings it is still forced with dg  in conjunction with the google no ssl trick, the kids cannot bring up horrible images anymore.

    No, cant see "CONTENTMOD".

  • In case anyone's interested, I figured out why my URL modifications were not working… I was using a custom compiled version of dansguardian (see this thread https://forum.pfsense.org/index.php/topic,61811.msg339655.html#msg339655) that apparently does not have PCRE support. I went back to the 2.12.03. version and all seems to be working.

Log in to reply