How to put Dansguardian on puppy?

Antivirus, forensics, intrusion detection, cryptography, etc.
Message
Author
jeffplata
Posts: 11
Joined: Fri 24 Nov 2006, 06:19

How to put Dansguardian on puppy?

#1 Post by jeffplata »

May I know if anyone here have a DansGuardian success story with puppy? I wanted to put up a dedicated box for web filtering and at the same proxy server. Squid, maybe. Any alternatives, please.

TIA
Jeff

User avatar
Gekko
Posts: 443
Joined: Sat 22 Jul 2006, 09:57
Location: Sydney, New South Wales

#2 Post by Gekko »

I have attempted both, you require a proxy to use DansGuardian, and squid can't create it's cache so it doesnt work, therefore DansGuardian doesn't work.

jeffplata
Posts: 11
Joined: Fri 24 Nov 2006, 06:19

#3 Post by jeffplata »

oh man. thanks. i hope there are alternatives.

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#4 Post by Nathan F »

I might give it a shot sometime. I know from reading that dansgaurdian can use other proxies besides squid, and one howto suggested using tiniproxy.

Dansgaurdian is an interesting project, but I think the implementation is a bit too complicated for most users to install. It would be simpler to have just done the filtering right through iptables as a firewall I think. At the very least if it were going to use a proxy they might have thought about just supplying one with the filter.

Nathan
Bring on the locusts ...

jeffrey
Posts: 168
Joined: Mon 16 Jan 2006, 04:20
Location: Christchurch, New Zealand

#5 Post by jeffrey »

I'd be very keen to install some method of restricting URLs so that my children can only go to a limited set of Web sites. I've implemented it using iptables by restricting on IP address but that's very tortuous to set up.
Is there anything out there taht Puppy can use?

User avatar
SimplyFlower
Posts: 49
Joined: Fri 03 Mar 2006, 10:46
Location: Oregon, United States

#6 Post by SimplyFlower »

I don't know if it will work in Puppy, but I used to use Privoxy on PCLinuxOS. It was very easy to use and setup. I could never understand how to use Dansguardian. Had it installed once on PCLinuxOS, but Privoxy was much better IMHO. Privoxy can be made to use with another proxy server like SQUID or Tor, but they aren't necessary to run Privoxy. Privoxy's home page is here:

http://www.privoxy.org/

I'm no developer. Just a Linux newbie. If someone could make a .pet of Privoxy it would be great.
[color=#8B0AE0]-- [i][size=150]SimplyFlower[/size][/i][/color]
[size=25]Puppy Linux 2.15CE Final, Frugal w/pup_save.2fs file; Dell w/ Intel Celeron 1.1 GHZ, 512 MB RAM[/size]
[color=#8B0AE0][url=http://my.care2.com/simplyflower]Care2[/url][/color]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#7 Post by Lobster »

I was surprised that I could not find a firefox extention that allows safe browsing . . .

contact these guys
they could use it as a feature
http://en.wikipedia.org/wiki/Flock_(web_browser)

Flock is safe (or it will be if you ask nicely)
Last edited by Lobster on Mon 19 Jan 2009, 02:29, edited 2 times in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
bobwrit
Posts: 283
Joined: Mon 12 Mar 2007, 23:33
Contact:

#8 Post by bobwrit »

I have dansguardian working in puppy. It uses squid as a proxy somehow but I didn't set it up so can't help.
I need help with my forum. [b][u]LINK:[/u][/b][url]http://www.programers.co.nr/[/url]
[url]http://www.freewebs.com/programm/iframe.html[/url] is my gateway page...

User avatar
Gekko
Posts: 443
Joined: Sat 22 Jul 2006, 09:57
Location: Sydney, New South Wales

#9 Post by Gekko »

Squid doesnt initialise it's folders, you have to do it yourself. If you can initialize 255 hexcoded folders 255 times inside themselves 255 times, then you win.

yonix
Posts: 1
Joined: Thu 07 Jun 2007, 22:46

#10 Post by yonix »

Lobster wrote:I was surprised that I could not find a firefox extention that allows safe browsing . . .
There was a Firefox extension called BlockXXX but then they changed the name to ProCon, you could find the extension here: http://procon.mozdev.org/

User avatar
Gekko
Posts: 443
Joined: Sat 22 Jul 2006, 09:57
Location: Sydney, New South Wales

#11 Post by Gekko »

Welcome to the Puppy Linux forums yonix! Thanks for your helpful input :P

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#12 Post by edoc »

yonix wrote:
Lobster wrote:I was surprised that I could not find a firefox extention that allows safe browsing . . .
There was a Firefox extension called BlockXXX but then they changed the name to ProCon, you could find the extension here: http://procon.mozdev.org/
Anyone have this working with SeaMonkey under Puppy, please?

I am running 2.14 at the moment.

Is there a DotPet or a PETget or is it implemented in Slackware and thus available as soon as Puppy 2.20BETA and 3.00FINAL are released?

I really really need this to protect our children from the
tireless efforts of perverts and predators to invade what should be safe search topics and seemingly safe URL's.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Bappy
Posts: 17
Joined: Mon 12 Jan 2009, 19:56

#13 Post by Bappy »

Holy thread revival batman!!!


It has long been my intention to install squid and squidguard on a small linux system.

so far I have found puppy an absolute breeze to set up for everything else...

What's this about squid not being able to intialize folders? surely the squid install shellscript should be capable of dealing with this?? if not, it should be possible to create a shellscript to do it.

I'm still really new to puppy so I haven't got a clue about compiling software and making pets... If someone would be willing to work alongside me or just offer advice etc we could bundle the results up in a nice easy to use pet for all to share :)

please pm, reply or email i_am_ben_ward at hotmail dot com if you feel like a challenge :D

thanks,
Ben

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#14 Post by Lobster »

Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Bappy
Posts: 17
Joined: Mon 12 Jan 2009, 19:56

#15 Post by Bappy »

I done it!

I got squidguard running on a puppy machine :)

http://www.pcbypaul.com/software/squid.html

this guy made some TGZ files for slackware. using tgz2pet I was able to install it :)

you don't need the apache install as you can use the hiawatha one. there was a little playing around needed to get squid to start though.

first of all you need to create a user called squid:

Code: Select all

#adduser squid
the system will prompt you for a password, set it to squid

next thing to do is set the hostname

in squid.conf (located in /etc/squid) add the line

Code: Select all

visible_host puppypc 
where puppypc is your machine's hostname

then you need to allow the squid user to access the cache directory:

Code: Select all

#cd /var/spool
#chown squid squid
if that don't work you can just

Code: Select all

#cd /var/spool
#chmod 777 squid
then you need to tell squid to create the caching directories

Code: Select all

#cd /usr/sbin
#./squid -z
once you have got the directories set you should be able to start squid.

first off in order to get squid to run at startup you need to move the rc.squid file

Code: Select all

 #mv /etc/rc.d/rc.squid /etc/rc.d/init.d/
you can start squid with the following (or just reboot)

Code: Select all

#cd /etc/rc.d/init.d
#./rc.squid start
this proceedure worked like magic for me :) squidGuard isn't perfect and the files on pcbypaul.com are really out of date. see the squidguard website for getting a hold of updated lists.

if you go to images.google then you will still be able to search for porn and get thumbnails of it but provided the lists are up to date if you click on the images squidguard should block most of the websites that hold the actual photos/videos etc. There are also lists blocking out violece, warez drugs and more.

Please let me know how you get on![/code]

Bappy
Posts: 17
Joined: Mon 12 Jan 2009, 19:56

#16 Post by Bappy »

hmmm...

well it was working but since downloading some updated lists, even though squid starts and squidguard seems to start ok it is just refusing to block anything.

thoughts anyone?

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#17 Post by ecomoney »

When setting up domestic networks, we often use a firefox extention called glubble. This is basically a whitelist system, and new websites that the children want to visit are automatically sent to the parents accounts for approval before being added to the whitelist.

We used Dansguardian at a cybercafe, but on the central smoothwall server so as to filter connections for the entire cafe. If anyone were to come up with a home server edition of puppy dansguardian would be a must.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Bappy
Posts: 17
Joined: Mon 12 Jan 2009, 19:56

#18 Post by Bappy »

I specifically went for squidguard because dansguardian is just so complicated (that and I found a squidguard binary compiled for i486 which runs in puppy)

if anyone wants to compile the dansguardian executable for i486 puppy then I'm happy to have a play with the config etc to get it up and running. I don't have a machine booting the devx thing that lets you compile and I don't ever intend to :) If I had it I'd waste many many hours playing with it.

cheers

User avatar
Volodya
Posts: 51
Joined: Thu 03 Dec 2009, 00:49
Location: CCCP

#19 Post by Volodya »

Hello everybody,

I'm trying to set up a proxy, but I can't find Squid for Puppy.

Is there a way for installing it? Where the heck is the .pet? Are alternatives out there?

I'm worried about this, we got wvdial but no squid? :-(

Thank you very much
[quote]"The ideas of the ruling class are in every epoch the ruling ideas"

Karl Marx[/quote]

alaindu22
Posts: 177
Joined: Wed 29 Jul 2009, 16:49

#20 Post by alaindu22 »

Hello
I am a french teacher and I look for install squid and squidguard on my puppy's 4.31
I want to have a better security for school children when they use internet

I don't find a squid pet except squid 2-4 on http://www.murga-linux.com/puppy/viewtopic.php?t=51687 but with this pet I have no success with Bappy's method
With this pet no subdirectory squid is created but squid.conf is created in /etc

I have no help with the link http://www.pcbypaul.com/software/squid.html because the link is dead

Can you help me please ?
Thanks

Alain

Post Reply