Re: pf ALTQ bandwidth limited to a 32bit value (4294Mb)

2011-07-07 Thread Calomel Org
them out. -- Calomel @ https://calomel.org Open Source Research and Reference On Thu, Jul 07, 2011 at 09:28:13AM -0400, Ermal Lu?i wrote: On Wed, Jul 6, 2011 at 5:25 PM, Calomel Org infallibilismindefeasibil...@calomel.org wrote: ALTQ using hfsc is limited to a maximum parent bandwidth

pf ALTQ bandwidth limited to a 32bit value (4294Mb)

2011-07-06 Thread Calomel Org
ALTQ using hfsc is limited to a maximum parent bandwidth of 4294Mb. This value is 2^32 or 4,294,967,296 bits. If you set the bandwidth any higher, altq will flip back to zero. This bug was found when trying to test 10 gigabit and 40 gigabit bandwidth models. These tests were done on OpenBSD 32bit

Re: PF BINAT on entire /24 subnet

2010-06-05 Thread Calomel Org
Paolo, You may need to use the bitmask directive. bitmask - grafts the network portion of the pool address over top of the address that is being modified (source address for nat-to rules, destination address for rdr-to rules). Example: if the address pool is 192.0.2.1/24 and the address being

Re: pf and ftp-proxy active/passive problems

2010-06-03 Thread Calomel Org
about adding QOS so the gamers get higher network priority? :) -- Calomel @ https://calomel.org Open Source Research and Reference On Thu, Jun 03, 2010 at 02:14:53AM -0400, Teemu Rinta-aho wrote: On Jun 3, 2010, at 3:51 AM, Calomel Org wrote: Teemu, Are you sure the ftp server you

Re: PF Tables scoping.

2010-06-02 Thread Calomel Org
James, I can confirm. If a table is created by an anchor with the same name as an existing table the following error is printed: pfctl: warning: namespace collision with BLOCKTEMP global table. The anchors table is different from the main pf table. pfctl -vvs Tables --a-rhC BLOCKTEMP

Re: pf and ftp-proxy active/passive problems

2010-06-02 Thread Calomel Org
Teemu, Are you sure the ftp server you are connecting to supports active and passive ftp? You may want to try your test against ftp.openbsd.org. This is a linux machine behind a pf firewall (openbsd v4.7) using ftp-proxy. Both active (PORT) and passive listings seem to work. $ ftp

Re: AMD power reduction

2010-02-05 Thread Calomel Org
You can use apm. It will only save a few watts, but it may reduce the cooling costs by reducing the heat generated by the CPU. If you have _many_ machines you can easily reduce the temperature of the server room by a few degrees C. Advanced Power Management control

Re: possible to configure PF to simulate latency and 1% packet loss?

2010-01-22 Thread Calomel Org
Andres, You can add packet loss by using the probability argument on a pf rule. You use either a block or pass rule. probability number A probability attribute can be attached to a rule, with a value set between 0 and 1, bounds not included. In that case, the rule will be honored using the

Re: PF cluestick please - low priority queue spills over into normal queue

2010-01-06 Thread Calomel Org
Aaron, When you say, seem to spill over into the normal queue do you mean the bittor queue is borrowing bandwidth from the total amount of bandwidth available? You may need to set a limit on the bittor queue if you want to limit its bandwidth. The OpenBSD Faq says, CBQ queues are arranged in an

Re: online documentation for new smtpd

2009-07-21 Thread Calomel Org
For official docs I think the man pages are it. They should contain everything you need to get a working smtpd.conf . We put together a page with a few working examples. Opensmptd works fine for a low volume mail server and is very stable. It has been running for a few months with no issues.