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

Re: little www svr


Hello, again.  I'm doing fine.  And you?

I see now what you're talking about.  I've never heard of these kinds
of upload limits before, either because they aren't common in the U.S.,
or because I've always had a dial-up connection that charges based
on time.

Now that I understand your question, I can tell you that you might be
able to use IP accounting to do what you want.  Using ipfwadm, set
up an accounting rule to count all outgoing packets.  Then, run a
cron job every few minutes to check the packet count (I think you
can find this info in /proc/net/ip_acct), and shut down the server
if the byte count gets close to 500MB ("/etc/init.d/apache stop"
to shut down the server).

As far as the choice of a web server, I can tell you that I have set
up a 486 with 16M of ram for use as a web server, and it works
just fine.  I'm not sure what other options are out there.

Concerning security, anytime you have a permanent connection to
the Internet, security becomes more of an issue.  I don't think that
running a web server all the time really affects that one way or
another.  If you're still not comfortable running it 24/7, just use a
cron job to stop it at 10:00pm and start it again at 6:00am, or

Good luck with your web server, and keep me posted on your


Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"

>>> Jean-Yves BARBIER <jybarbier@wanadoo.fr> 11/23 4:16 PM >>>
On Mon, Nov 22, 1999 at 09:20:26AM -0600, Marc Mongeon wrote:
> Jean-Yves:
> I'm a little confused about what you're asking.  If your ISP is
> providing 500MB disk space, presumably on their Web server, then
> you don't need to worry about running a Web server.  You create

Hi Marc, doing well? :)

No no, I was talking about my upload limits: upon 500 MB upload,
I should have to pay more :(((

That's why I'd like to put down my (own) server @ 400 Mb upload (seen
from my side)

I'm seeking for a small server (svr is only 16MB ram) who's able to 
do this trick.
BTW, another question: I don't want to leave my station up 24hrs,
is there security problem if I set the svr on my server ? 

Jean-Yves F. Barbier <jybarbier@wanadoo.fr>
 It is easier to change the specification to fit the program than vice versa.

Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

Reply to: