Information on monthly bandwidth limiting by port.
Greetings and salutations! I have been using these boards for a good long while, but have finally ran into a question that I could not find asked before.Background:
Linux server, Fedora 2.
Software for streaming MP3 audio.
Webmin/Virtualmin control panels (I LIKE these, go figure)
How, would I go about setting up the following:
I would like to setup each streaming server to it's own port, and monitor the bandwidth streamed on it. When it reaches 25 gigs, I want the server to send an e-mail (optional?) and shut off the process (probably with the COMMAND stop standard for background processes).
I don't care about the per-second transfer, just the per month total. The software already allows me to limit the number of listeners for each streaming server, but the monthly is something I need as well.
My problem? Well, VirtualMin allows limiting by domain, but not by either sub-domain or port. Since the servers work on ports anyway, I figured it's the best way.
I've been working in linux for the last few years, so don't be afraid I'm totally clueless, but I expect a few of you will have curveballs for me.
Thanks for your help!