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
IRCD(8) 						      System Manager's Manual							   IRCD(8)

NAME
ircd - The Internet Relay Chat Program Server SYNOPSIS
ircd [-dlinefile filename] [-configfile filename] [-klinefile filename] [-logfile filename] [-pidfile filename] [-resvfile filename] [-xlinefile filename] [-conftest] [-foreground] [-version] DESCRIPTION
ircd is the server (daemon) program for the Internet Relay Chat Program. The ircd is a server in that its function is to "serve" the client program irc(1) with messages and commands. All commands and user messages are passed directly to the ircd for processing and relaying to other ircd sites. OPTIONS
-dlinefile filename Specifies the D-line file to be used. This file is used for both reading D-lines at startup, and writing to while ircd is running. -configfile filename Specifies the ircd.conf file to be used for this ircdaemon. The option is used to override the default ircd.conf given at compile time. -klinefile filename Specifies the K-line file to be used. This file is used for both reading K-lines at startup, and writing to while ircd is running. -logfile filename Specifies an alternative logfile to be used than that specified in config.h -pidfile filename Specifies the ircd.pid used. The option is used to override the default ircd.pid given at compile time. -resvfile filename Specifies the resv.conf file to be used for this ircdaemon. The option is used to override the default resv.conf given at compile time. -xlinefile filename Specifies the xline.conf file to be used for this ircdaemon. The option is used to override the default xline.conf given at compile time. -conftest Makes ircd check the ircd.conf for errors -foreground Makes ircd run in the foreground -version Makes ircd print its version, and exit. USAGE
If you plan to connect your ircd server to an existing Irc-Network, you will need to alter your local IRC configuration file (typically named "ircd.conf") so that it will accept and make connections to other ircd servers. This file contains the hostnames, Network Addresses, and sometimes passwords for connections to other ircds around the world. Because description of the actual file format of the "ircd.conf" file is beyond the scope of this document, please refer to the file INSTALL in the IRC source files documentation directory. BOOTING THE SERVER
The ircd server can be started as part of the Unix boot procedure or just by placing the server into Unix Background. Keep in mind that if it is not part of your Unix's boot-up procedure then you will have to manually start the ircd server each time your Unix is rebooted. This means if your Unix is prone to crashing or going for for repairs a lot it would make sense to start the ircd server as part of your UNIX bootup procedure. EXAMPLE
tolsun% bin/ircd Places ircd into Unix background and starts up the server for use. Note: You do not have to add the "&" to this command, the program will automatically detach itself from tty. leguin% bin/ircd -foreground Runs ircd in the foreground. COPYRIGHT
(c) 1988,1989 University of Oulu, Computing Center, Finland, (c) 1988,1989 Department of Information Processing Science, University of Oulu, Finland (c) 1988,1989,1990,1991 Jarkko Oikarinen (c) 1997,1998,1999,2000,2001 The IRCD-Hybrid project. For full COPYRIGHT see LICENSE file with IRC package. FILES
"ircd.conf" SEE ALSO
ircd.conf(5) BUGS
None... ;-) if somebody finds one, please inform author AUTHOR
irc2.8 and earlier: Jarkko Oikarinen, currently jto@tolsun.oulu.fi. ircd-hybrid-7: IRCD-Hybrid Project, ircd-hybrid@the-project.org. manual page written by Jeff Trim, jtrim@orion.cair.du.edu, later modified by jto@tolsun.oulu.fi. modified for ircd-hybrid-7 by Edward Brocklesby, ejb@klamath.uucp.leguin.org.uk. updated by W. Campbell, wcampbel@botbay.net ircd-ratbox 22 April 2004 IRCD(8)