[wellylug] Tools
Cameron Hart
cameron.hart at paradise.net.nz
Mon Apr 28 04:29:15 NZST 2003
Yes the Linux box would also be the firewall.
Is it possible for you to be more specific? Could you point me towards
where I could find this variable, or which tools I would have to use to
create/find this variable. As for PHP I'm pretty sure I can find some
reasonable PHP scripting tutorials. As another quick extension to my
question then, If you know what sort of variable to test to see if there
has been less than say 500 kb of traffic in the last half hour rather than
no traffic in the last half hour. That way my friend leaving say ICQ or MSN
on wont disable my downloading.
Thanks for your help so far though.
On Sunday 27 April 2003 14:50, Zag0r <zag0r at paradise.net.nz> wrote:
> do you want to use the same box as a firewall?
> or do you have a seperate machine for that.
>
> apache canbe setup to listen only on a specific ip (ie. your interface
> on the internal network)
>
> letting users stop the downloads - that's very easily done with PHP.
>
> as far as the traffic thing goes, you'd need to create (or access a
> pre-existing, which I'm pretty sure exists) variable with a
> time-stamp of the last time a packet was masq'ed.
> have a small script that checks whether 30mins have passed since the
> time-stamp, and if so kick in the download.
> schedule the script to run every n minutes with at/cron (i forget
> which does what)
>
> Quoting Cameron Hart [cameron.hart at paradise.net.nz] received 8:54 AM
> Sunday, April 27, 2003
>
> > Hi I'd like someone to point me towards the right tools to use for the
> > job I want my Linux box to do. What I want to do is have my Linux Box
> > to be sharing the internet, and to also be a web server (only for my
> > LAN), _and_ to be downloading from the internet only when there hasn't
> > been any traffic masqueraded for half an hour.
> >
> > I think I can do mostly everything here by reading all the How-To's and
> > other instructions, but I don't know how I would test to see if there
> > had been any traffic Masqueraded for the last half-hour. Also, I don't
> > know how to set up Apache to run a local command when you click a link
> > on the web page (I want my LAN users to click on a link to manually
> > stop my downloading, but my downloading prog to start automatically)
> >
> > Can anyone point me towards the right tools to use?
> > Thanks to anyone in advance if they can help.
> >
> > -Cameron-
More information about the wellylug
mailing list