Measuring network traffic on the same interface, to different nets

2002-08-23 Thread Sanjeev \"Ghane\" Gupta
Folks, I am running SQUID for a client, in transparent mode, woody, 2.4.19. The edge router sends all port 80 to me, I send out to the router on the same interface. I can capture total traffic on the interface. The users are on 202.a.x.y. What I need is a way to see: Traffic on eth0 to and

Allusers Email with Sendmail

2002-08-23 Thread Daniel Hooper
Please excuse my complete lack of skill and knowledge with shell scripting / awk / sed & sendmail, I'm trying to put something together to email all User's for an ISP. I've researched a little bit and found this command (modified to suit my environment) red:/var/yp/# awk -F: '$3 > 100 { print $1 }

Re: Allusers Email with Sendmail

2002-08-23 Thread Sanjeev \"Ghane\" Gupta
Daniel, Try ypcat passwd | awk -F: '$3 > 100 { print $1 }' > /etc/mail/allusers which will get round the shell command-line buffer issue. -- HTH Sanjeev From: "Daniel Hooper" <[EMAIL PROTECTED]> red:/var/yp/# awk -F: '$3 > 100 { print $1 }' `ypcat passwd` > /etc/mail/allusers and I get this:

Re: Allusers Email with Sendmail

2002-08-23 Thread Nathan
On Friday, August 23, 2002, at 02:21 PM, Daniel Hooper wrote: Please excuse my complete lack of skill and knowledge with shell scripting / awk / sed & sendmail, I'm trying to put something together to email all User's for an ISP. I've researched a little bit and found this command (modified to suit

iODBC and MySQL

2002-08-23 Thread Scott Jardine
Hello - has anybody had any success with ODBC.pm (perl 5.6.1)? I'm using Linux version 2.4.19 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002 (Debian prerelease)) mysql Ver 11.16 Distrib 3.23.49, for pc-linux-gnu (i686) MyODBC (installed before iODBC) Oops, I was in a hurry and used dselect to

Dev arþive

2002-08-23 Thread Hakan Polat
TrMelodi, Kýrýk linkli çalýþmayan ve birtek mp3 ü indirirken bile insanlarý kahreden sözde mp3 sitelerine alternatif olarak sizler için özenle hazýrlanmýþtýr. Her yaþtan her kesimden müziksevere hitap edebilmek için tasarlanmýþ 13 GB lýk dev Mp3 listesiyle sýnýfýnda rakipsiz olacak þekilde don

Re: mod_bandwidth

2002-08-23 Thread Christofer Algotsson
Hi! mod_throttle works out for me... Quite simple installation I wanted to bandwidth-limit a certain directory... here is how i did it, LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so and.. ThrottlePolicy none ThrottleMaxDelay 10 SetHandler throttle-sta

Re: Apache/PHP/FTP and user rights

2002-08-23 Thread Helios de Creisquer
On Thu, Aug 01, 2002 at 03:40:23PM +0200, [EMAIL PROTECTED] wrote: > Thus : > - customers files are uploaded with user.user rights. > - Apache runs as www-data.www-data > > The problem is that with that kind of setup, Apache can't create files > in dirs owned by user.user. Even by switching files

Re: Allusers Email with Sendmail

2002-08-23 Thread Russell Coker
On Fri, 23 Aug 2002 07:21, Daniel Hooper wrote: > Please excuse my complete lack of skill and knowledge with shell > scripting / > awk / sed & sendmail, I'm trying to put something together to email all > User's for an ISP. I've researched a little bit and found this command > (modified to suit my

Re: mod_bandwidth

2002-08-23 Thread Fredrik Steen
* Christofer Algotsson <[EMAIL PROTECTED]> [020823 12:50]: > > Hi! > > mod_throttle works out for me... i did some searches but didn't find any info about mod_throttle on apache 2.x. is there a port of mod_throttle for apache 2.x? ./fs

multiple webcams via one linux box

2002-08-23 Thread Bernie Berg
Hi, I have a project that could potentialy have 85 webcams. The easy thing to do would be to use an Axis network camera and just link to its own webserver from my linux web server (or whatever). But these run about 300 bucks, that would be about 25 grand for 85 cams. X10 on the other hand (I

Re: Measuring network traffic on the same interface, to different nets

2002-08-23 Thread Roger Ward
If you use iptables... set up explicit allow rules... for instance: iptables -I INPUT 1 -s 202.a(network address) -i eth0 -j ACCEPT iptables -I OUTPUT 1 -o 202.a(network address) -o eth0 -j ACCEPT iptables -I OUTPUT 2 -o eth0 -j ACCEPT This will setup the rules in the proper order, and you can r

Re: multiple webcams via one linux box

2002-08-23 Thread Nicolas Bougues
On Fri, Aug 23, 2002 at 10:06:40AM -0500, Bernie Berg wrote: > Hi, I have a project that could potentialy have 85 webcams. The easy > thing to do would be to use an Axis network camera and just link to its > own webserver from my linux web server (or whatever). But these run > about 300 bucks,

Re: multiple webcams via one linux box

2002-08-23 Thread Bernie Berg
USB can't have more than 63 devices per bus. ah, yeah I think I heard that somewhere before, thanks But the main question is, do you want to handle real time video from each of the cams, all simultaneously, in which case you'll have serious bandwidth problems, starting on USB ? It wouldn't need t

Re: Measuring network traffic on the same interface, to different nets

2002-08-23 Thread Roger Ward
Sorry, I meant to send: (I wasn't sure what your network address(es) were, so replace 202.0.0.0/8 with your information) iptables -I INPUT 1 -s 202.0.0.0/8 -i eth0 -j ACCEPT iptables -I INPUT 2 -i eth0 -j ACCEPT iptables -I OUTPUT 1 -o 202.0.0.0/8 -o eth0 -j ACCEPT iptables -I OUTPUT 2 -o eth0 -

RE: Measuring network traffic on the same interface, to different nets

2002-08-23 Thread Boyan Krosnov
> iptables -I INPUT 1 -s 202.0.0.0/8 -i eth0 -j ACCEPT > iptables -I INPUT 2 -i eth0 -j ACCEPT > iptables -I OUTPUT 1 -o 202.0.0.0/8 -o eth0 -j ACCEPT that should be -d / here ... > By setting up allow rules for both in/out for the internal > and external networks, this should provide the data yo

virtual email domains

2002-08-23 Thread Bernie Berg
Howdy, Hi, is there a simple way, or a good howto, on setting up virtual email domains? I'm using cyrus imap and exim right now, but with no virtual domains, just local users. Thanks!! -- Bernie Berg| [EMAIL PROTECTED] Network Administrator | Office:(605)362-6361 Circa Desig

Re: multiple webcams via one linux box

2002-08-23 Thread Dave Watkins
At 18:00 23/08/2002 +0200, Nicolas Bougues wrote: On Fri, Aug 23, 2002 at 10:06:40AM -0500, Bernie Berg wrote: > Hi, I have a project that could potentialy have 85 webcams. The easy > thing to do would be to use an Axis network camera and just link to its > own webserver from my linux web server (