squid [access.log]

2001-05-18 Thread Joachim Schiele

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i want to write a little tool for my school with apache/squid in perl.
the squid writes it's access to /var/log/squid/access.log and this perl-scipt 
should go and collect these informations.
the /etc/cron.daily/squid  - script rotates the logs so if they get too full 
this stores it to a new file.

i would like to write the perlscript to update, i mean to read the logs, 
about every 5 min and then write it to a file but what if the log gets 
rotated?

1. i loose some data
2. maybe my script which may be started with tail -f access.log may hung

does any1 have a good idea to solve this?

tnx for everything ;-
joachim
===
i even looked at source from other projects but there seem to be non like 
this (calamaris) but this is not what i want this does the same but daily

- -- 
From:
Joachim Schiele
[ http://www.dune2.de || Linux - my way! ]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjsFd8cACgkQeGYPq/O+yeoqpgCgim70CP6fVF2rhA33CktXTmrX
rjIAnj5YS9ysdB2YbSm68iBuDLV/hNow
=bZPf
-END PGP SIGNATURE-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




squid [access.log]

2001-05-18 Thread Joachim Schiele
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i want to write a little tool for my school with apache/squid in perl.
the squid writes it's access to /var/log/squid/access.log and this perl-scipt 
should go and collect these informations.
the /etc/cron.daily/squid  - script rotates the logs so if they get too full 
this stores it to a new file.

i would like to write the perlscript to update, i mean to read the logs, 
about every 5 min and then write it to a file but what if the log gets 
rotated?

1. i loose some data
2. maybe my script which may be started with tail -f access.log may hung

does any1 have a good idea to solve this?

tnx for everything ;-
joachim
===
i even looked at source from other projects but there seem to be non like 
this (calamaris) but this is not what i want this does the same but daily

- -- 
From:
Joachim Schiele
[ http://www.dune2.de || Linux - my way! ]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjsFd8cACgkQeGYPq/O+yeoqpgCgim70CP6fVF2rhA33CktXTmrX
rjIAnj5YS9ysdB2YbSm68iBuDLV/hNow
=bZPf
-END PGP SIGNATURE-




default route [linux/network]

2001-05-15 Thread Joachim Schiele

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi all, to make it short:
can someone tell me why there are default routes and how to set them?
lets imagine we got this network

- --
| box 1 | 
- -- 
eth0  -- local lan1 with 192.168.1.0/24
eth1  --- internet
eth2  -- local lan1 with 192.168.1.0/24

what to set the default gw? i would like to route packages with masq from the 
subnets (lan)

tnx for your time
if you got some links/hints for me i would enjoy it ;-))

- -- 
From:
Joachim Schiele
[ http://www.dune2.de || Linux - my way! ]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjsBl9kACgkQeGYPq/O+yeoPpQCeIvi4l/twsjhLaxdwJaxJGqYz
X3MAn3sGZwg5efCCAyobRv4zjoeiUed4
=8wK5
-END PGP SIGNATURE-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




default route [linux/network]

2001-05-15 Thread Joachim Schiele
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi all, to make it short:
can someone tell me why there are default routes and how to set them?
lets imagine we got this network

- --
| box 1 | 
- -- 
eth0  -- local lan1 with 192.168.1.0/24
eth1  --- internet
eth2  -- local lan1 with 192.168.1.0/24

what to set the default gw? i would like to route packages with masq from the 
subnets (lan)

tnx for your time
if you got some links/hints for me i would enjoy it ;-))

- -- 
From:
Joachim Schiele
[ http://www.dune2.de || Linux - my way! ]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjsBl9kACgkQeGYPq/O+yeoPpQCeIvi4l/twsjhLaxdwJaxJGqYz
X3MAn3sGZwg5efCCAyobRv4zjoeiUed4
=8wK5
-END PGP SIGNATURE-




get school connected to the inet

2001-04-22 Thread Joachim Schiele

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hello dear list members:
i have to connect a school to the internet but i have to avoid that the 
users(kids) look at certain webpages with criminal and sexual backgrounds

is there a possibility to stop that, maybe on the firewall (debian linux) to 
block requests like www.sex.de and things (words maybe) like sex, drugs and 
so on?

are there any good, non-cost-intensive tools for ding that?
if so, please let me know ;-)

tnx very much

joachim

- -- 
From:
Joachim Schiele
[ http://www.dune2.de || Linux - my way! ]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrjPnYACgkQeGYPq/O+yeqcugCfYnMc8yT9Ht1nE82RUS0WhnbP
rF4AniCZrVfmFDgHO6RhQUFdwlDau3Wx
=ci55
-END PGP SIGNATURE-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




get school connected to the inet

2001-04-22 Thread Joachim Schiele
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hello dear list members:
i have to connect a school to the internet but i have to avoid that the 
users(kids) look at certain webpages with criminal and sexual backgrounds

is there a possibility to stop that, maybe on the firewall (debian linux) to 
block requests like www.sex.de and things (words maybe) like sex, drugs and 
so on?

are there any good, non-cost-intensive tools for ding that?
if so, please let me know ;-)

tnx very much

joachim

- -- 
From:
Joachim Schiele
[ http://www.dune2.de || Linux - my way! ]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrjPnYACgkQeGYPq/O+yeqcugCfYnMc8yT9Ht1nE82RUS0WhnbP
rF4AniCZrVfmFDgHO6RhQUFdwlDau3Wx
=ci55
-END PGP SIGNATURE-




Re: get school connected to the inet

2001-04-22 Thread Joachim Schiele
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 22 April 2001 22:48, Tim Sailer wrote:
 On Sun, 22 Apr 2001 16:26:26 Joachim Schiele wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  hello dear list members:
  i have to connect a school to the internet but i have to avoid that the
  users(kids) look at certain webpages with criminal and sexual backgrounds
 
  is there a possibility to stop that, maybe on the firewall (debian linux)
  to
  block requests like www.sex.de and things (words maybe) like sex, drugs
  and
  so on?
 
  are there any good, non-cost-intensive tools for ding that?
  if so, please let me know ;-)

 Use squid, with the associated filters, and authentication methods.

 Tim
yes tnx for this advice but, i should have said it, i don't have the 
computer-power for running a squid :P
we have a 486 with about 32mb or 16mb ram and 200mb harddrive

isn't there a program or a filter for this?
- -- 
From:
Joachim Schiele
[ http://www.dune2.de || Linux - my way! ]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrjSbEACgkQeGYPq/O+yepNuwCeOFQttS7xocJeehm4sphJOtH8
LZkAnjuZR09Ua2hjNBXXJYPDLKScl6iF
=f7P+
-END PGP SIGNATURE-




record a mac address of a networkcard

2001-03-16 Thread Joachim Schiele

is there a possibility to record the mac address of the networkcards
i need this because i don't want the clients being able to spoof the proxy 
requests to the firewall. i want them to be the only coputer who is able to 
make requests to the firewall

pool(20 computers) - proxy(linux) - firewall(firewall) - cisco-router - 
isdn(net)

the proxy and the firewall have their own networkcards

firewall
eth0
eth1

proxy
eth0
eth1

tnx for any advice :

joachim


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




record a mac address of a networkcard

2001-03-16 Thread Joachim Schiele
is there a possibility to record the mac address of the networkcards
i need this because i don't want the clients being able to spoof the proxy 
requests to the firewall. i want them to be the only coputer who is able to 
make requests to the firewall

pool(20 computers) - proxy(linux) - firewall(firewall) - cisco-router - 
isdn(net)

the proxy and the firewall have their own networkcards

firewall
eth0
eth1

proxy
eth0
eth1

tnx for any advice :

joachim