[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [suse-security] How to block MSN using SuSEfirewall2?



On Fri, 2004-02-20 at 09:19, Abacus Infomail wrote:
> Ray,
> 
> Unless there's a reason not to.....
> 
> Why not post it to the list for all to see.....
> 
> I for one would welcome such a critter as I prepare for the same thing at
> our Bible School.
> 
OK, here it is ...

I do not use SuSEFirewall2, I rather use my own custom shell script, but
you an add these rules to the susefirewall2_custom file (whatever it is
called) with a little modification.

In the archive are the following files, and this is where I put them:

File				My Location (change if you want to)
ftpallowedinternal		/etc/firewall
nightftpallowed			/etc/firewall
iptables-firewall.rules		/etc/firewall
switchftp.sh			/etc/firewall
crontab.txt			in yer crontab ...
rc.d.firewall.sh		/etc/rc.d with a link in rc3.d and rc5.d

If you put the files in a different directory, just check inside them
and change the patch as necessary (just in rc.d.firewall.sh and
switchftp.sh) ...

Enjoy!

Ray

> <snip>

> > Michael James wrote:
> > 
> > > My teenage daughter spends all her time at home chatting on MSN.
> > > It distracts her completely from being civil to her family
> > >  and actually concentrating on her homework.
> > > 
> > > It's hard to ration because she does (sometimes)
> > >  use her computer for study.
> > > If I just turn off her access to the internet
> > >  she will appear with some reason she needs to connect.
> > > 
> > > How can I turn on a block on MSN
> > >  so there is only 1 hour a day it works?
> > > 
> > > The house server (Suse8.2 soon to be 9.0)
> > >  has the ADSL connection
> > >  and runs SuSEfirewall2, NAT, squid, DNS, etc.
> > > 
> > > Thanks for any pointers,
> > > michaelj
> > > 
> > > PS: The solution need not be very watertight,
> > > 	I would be delighted if she learned enough
> > > 	about networks to circumvent it.
> > > 
-- 
--
Raymond Leach <raymondl@xxxxxxxxxxxxxxxxxxxxxx>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--

Attachment: switchftp.tar.gz
Description: application/compressed-tar

Attachment: signature.asc
Description: This is a digitally signed message part