bandwidth throtteling with pf queing questions


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users bandwidth throtteling with pf queing questions
# 1  
Old 06-25-2009
bandwidth throtteling with pf queing questions

Ok, I currently own a server which has 16 external ip's connecting to it. The ip's are assigned to specific types of accounts... Ie: email, dns, ircd, webpage, ssh, streaming radio.

Currently I have my pf config rules set up to only allow access to the ports that these ip's are to be used for. At this point, everything is working as I wish.

Ie: If someone is using irc, they can only connect to that ip through the ports I allow under the protocol I allow. If a connection is attempted through a protocol/port I do not allow, the final firewall rule just blocks the attempt.

What I would like to do at this point is to start to control the bandwidth. From what I have read with queuing, which is what I think I have to use, is that it controls bandwidth in total usage at any given time. Ie, 10,000 bot's pound an ircd ip using more bandwidth then I allow for would be handled by queueing. But, total bandwidth for a spefic ip used within a month that goes above my allowed limit would not.

Is this correct???

With my understanding as a base here... Can someone tell me:
1). Can I redirect within a queue if bandwidth is exceeded?
- If so, can i redirect to null?
2). What happens when the bandwidth is over the queue limit if nothing else is set up?
3). Can I control bandwidth over a period of time(1 month) with regard to goving over a specified amount. Or would I have to use a 3rd party application(perl program that updates rules) which use's pf statistics as its source for total bandwidth used?

Any and all help is much appriceated.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

2. UNIX for Dummies Questions & Answers

Using Variables for Bandwidth control

Hi, I am very new to scripting and have a question regarding variables and their use in a bandwidth monitoring script. I have identified a few primary variables being; Bandwidth CIR Download=32kbits <- these match as per the script below Bandwidth PIR Download=96kbits Bandwidth CIR... (1 Reply)
Discussion started by: vinnir
1 Replies

3. IP Networking

Bandwidth montor

Hi all I have been running iptraf on a linux box for a few months monitoring bandwidth utilization realtime from mac address with port mirroring. Now I want to graph these bandwidth utilization. Is MRTG the right software? Any ideas? (4 Replies)
Discussion started by: palm101
4 Replies

4. IP Networking

bandwidth

Hi, 1-What is bandewidth ? 2-How to calculate ? 3-How to measure ? Any free software to measure it ? Many thanks. (4 Replies)
Discussion started by: big123456
4 Replies

5. UNIX for Advanced & Expert Users

Bandwidth monitoring

Hi Gurus, Need to have a way to monitor Bandwidth utilization on Linux servers, running squid . Have worked on 3rd party monitoring tools like Bandwidth d, Nagios etc. But we are working to find out a way to monitor this through Sitescope, for which we need to find a file where the... (4 Replies)
Discussion started by: Crazy_murli
4 Replies

6. UNIX for Dummies Questions & Answers

Bandwidth Monitoring.

Hi, I'm looking for some way to bring up in a shell window a realtime (or something that updates at 10 second intervals or whatever) bandwidth monitor. I just want something that shows me how much kbps is going in and how much is going out of each interface. Is there something that might... (2 Replies)
Discussion started by: d11wtq
2 Replies

7. IP Networking

Bandwidth Regulation

Hello, I was wondering how one would go about regulating bandwidth of a server running RH Linux 8.0 and Apache. I am running a webserver, and want only one person to be able to download one file at a time. So, they can't click about 10 files and soak up lots of bandwidth. Plus, I would like to cap... (2 Replies)
Discussion started by: Phobos
2 Replies

8. IP Networking

Bandwidth Caping With PF

i have two questions actually... i need to block certain ports with openbsd and PF in a large lan, the firewall is supposed to be a router between the internet and the first lan switch. first of all, would this work at all in theory? second, i tried doing this a few days ago at a huge lan but i... (2 Replies)
Discussion started by: nocturnal
2 Replies

9. UNIX for Dummies Questions & Answers

bandwidth check?

I'm on T1, is there any way i can check my acctual bandwidth? Thank you all (3 Replies)
Discussion started by: solvman
3 Replies
Login or Register to Ask a Question