The pfSense Store

Author Topic: Traffic shaper changes  (Read 20931 times)

0 Members and 1 Guest are viewing this topic.

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: traffic shaping/QOS bridge
« Reply #15 on: November 07, 2006, 03:49:36 pm »
Would it be possible to make this work on a larger scale?
For example: OC12 connected to a few hundred servers in a datacenter. PfSense would limit the maximum amount of bandwidth each ip could use...

If this can realistically be done, then the funding options for pfsense would dramatically increase.
This could open the door to companies with lots of money, as they could use pfsense on their own infrastructure.

Per user bandwidth is a little more difficult.  ALTQ does not have a per user distribution classifier so it would require a rule and queue for every user which is not doable in your case (it sounds like).


Offline wcoolnet

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: traffic shaping/QOS bridge
« Reply #16 on: November 07, 2006, 03:58:10 pm »
Would it be possible to limit any connection to any server to something like 10Mbps?

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: traffic shaping/QOS bridge
« Reply #17 on: November 07, 2006, 04:00:13 pm »
Would it be possible to limit any connection to any server to something like 10Mbps?

Yes.  1 rule + queue.

Offline wcoolnet

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: traffic shaping/QOS bridge
« Reply #18 on: November 07, 2006, 04:11:38 pm »
Question:
100 servers connected to oc12. all are web servers. 1 server is experiencing a traffic spike and receiving thousands of connections.

Is there no way to prevent a single server from hogging the entire oc12, using altq?

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: traffic shaping/QOS bridge
« Reply #19 on: November 07, 2006, 04:58:10 pm »
Again, 1 queue and 1 rule per server or ip.

Offline billm

  • Administrator
  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • UCSecurity - Technology discovery and ramblings
Re: traffic shaping/QOS bridge
« Reply #20 on: November 07, 2006, 05:18:26 pm »
Question:
100 servers connected to oc12. all are web servers. 1 server is experiencing a traffic spike and receiving thousands of connections.

Is there no way to prevent a single server from hogging the entire oc12, using altq?

You'll need a queue per server (I expect that we'll need a wizard for that...or a way to branch the existing wizard code...not terribly difficult) to make this work.  Then all you do is specify realtime guarantee's on each queue such that each web server is guarantee'd a certain amount of bandwidth, but could burst to whatever limit you set (or don't set).

--Bill
pfSense core developer
blog - http://www.ucsecurity.com/
twitter - billmarquette

Offline billm

  • Administrator
  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • UCSecurity - Technology discovery and ramblings
Re: traffic shaping/QOS bridge
« Reply #21 on: November 07, 2006, 05:23:31 pm »
hi guys,

I would donate $1000 after my first successful deal with the transparent shaper box.

my requirements are low:
just shaping in bridged mode (two interfaces) to give certain services the QoS they need (e.g. web / citrix / shh etc...)

kind regards,
mrt_ok

Sorry but we need the cash up front.  We have already been fooled into believing this from others and the policy now is half is due up front and half on completion.  With this many people pooling their funds together we will need to gather the money up before starting the project.  Sorry!


Just to touch on this...I'm somewhat expecting that I'll be the one working on and claiming this bounty.  As Scott mentioned, we've (myself included) had people offer up bounties and then not pay once the work has been completed.  If it makes people feel better about fronting some of the bounty, I suspect (I haven't confirmed this with Scott and/or Chris yet) the primary pfSense donations account could be used to escrow the funds which could be returned minus whatever Paypal charges (not sure what type of account Chris has) if the bounty isn't fullfilled.  Unless someone knows of a better way to escrow funds of course :)

--Bill
pfSense core developer
blog - http://www.ucsecurity.com/
twitter - billmarquette

Offline wcoolnet

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: traffic shaping/QOS bridge
« Reply #22 on: November 07, 2006, 08:22:38 pm »
I think that would work well

Offline wcoolnet

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: traffic shaping/QOS bridge
« Reply #23 on: November 07, 2006, 08:32:34 pm »
For the purpose of getting more people interested in donating to this feature, I think it would be good to get some pricing information for commercial traffic shaping bridges from companys like Cisco or APconnections.
Then we can brag about how much money someone could save.

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: traffic shaping/QOS bridge
« Reply #24 on: November 07, 2006, 09:50:47 pm »
Yes, we can use the pfSense account to escrow the money.  That would work out well for everyone I would suspect.

Offline sai

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
Re: traffic shaping/QOS bridge
« Reply #25 on: November 08, 2006, 01:24:05 am »
With several people pooling it would be a good idea for Bill to let us know what he aims to do. Some of the requests may be non-feasible, some may even be  in conflict.

Offline mrt_ok

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: traffic shaping/QOS bridge
« Reply #26 on: November 08, 2006, 04:48:38 am »
Hi,

btw I would spent time and efforts to implement this in front.

Have to check if I can get some money for this at front...

with my customer

mrt_ok

Update: I guess I can gather that money (50%) in front. Bill, do you have an idea how long it takes to do this? I mean I cannot spend money in front without a schedule.
« Last Edit: November 08, 2006, 05:44:32 am by mrt_ok »

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: traffic shaping/QOS bridge
« Reply #27 on: November 08, 2006, 09:44:18 am »
Hi,

btw I would spent time and efforts to implement this in front.

Have to check if I can get some money for this at front...

with my customer

mrt_ok

Update: I guess I can gather that money (50%) in front. Bill, do you have an idea how long it takes to do this? I mean I cannot spend money in front without a schedule.

I am sorry but I guess that you didn't read my entire sentence.  With this many people contributing to one bounty, we need 100% of the funds up front.   The last thing we need is to gather 50% from everyone and then two people disappear at the right time.  It has happened before and we are tired of being burned by good faith agreements.  Sorry!

Offline billm

  • Administrator
  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • UCSecurity - Technology discovery and ramblings
Re: traffic shaping/QOS bridge
« Reply #28 on: November 08, 2006, 10:14:47 am »
With several people pooling it would be a good idea for Bill to let us know what he aims to do. Some of the requests may be non-feasible, some may even be  in conflict.


I'll start a new thread so I can have an updateable first post and merge this thread into it later today.

--Bill
pfSense core developer
blog - http://www.ucsecurity.com/
twitter - billmarquette

Offline mrt_ok

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: traffic shaping/QOS bridge
« Reply #29 on: November 08, 2006, 01:44:38 pm »
okay fine.

the goal is $10000 ?

then I guess we need a BIG contributer ...