Re: any bandwidth limiting tools other than dummynet?

2004-09-05 Thread Alex Povolotsky
On Sun, 05 Sep 2004 13:45:39 +0200
Alex de Kruijff [EMAIL PROTECTED] wrote:

ADK  Well you have some higher level tools embebed in some services
ADK  like pure-ftpd/puredb you can limit up/down bandwitdh and quotas,
ADK  etc.. But it's better to limit it with ALTQ/dummynet, that's why
ADK  they exist.

By the way, where is the most recent stable ALTQ for FreeBSD 4.x? 

ALTQ on http://www.csl.sony.co.jp/person/kjc/programs.html is from bronze age at best, 
seeming more likely from late neolith.

ALTQ in pf is 5.x only, and I didn't find a way to reserve bandwidth for high-priority 
traffic in dummynet.

-- 
Alex.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sysinstall config question

2004-05-24 Thread Alex Povolotsky
Hello!

According to sysinstall(8), 

 LOAD_CONFIG_FILE
   If sysinstall is compiled with LOAD_CONFIG_FILE set in the envi-
   ronment (or in the Makefile) to some value, then that value will
   be used as the filename to automatically look for and load when
   sysinstall starts up and with no user interaction required.  This
   option is aimed primarily at large sites who wish to create a
   single prototype install for multiple machines with largely iden-
   tical configurations and/or installation options.

However, attempt to make release as follows

make release BUILDNAME=5.2.1-RELEASE CHROOTDIR=/var/release CVSROOT=/home/ncvs 
RELEASETAG=RELENG_5_2_1_RELEASE LOAD_CONFIG_FILE=gw.conf

result in the following error:

=== bin
=== bin/cat
install -s -o root -g wheel -m 555   cat /var/release/bin
install: cat: No such file or directory
*** Error code 71

Stop in /usr/src/bin/cat.
*** Error code 1

Stop in /usr/src/bin.
*** Error code 1

while building release without LOAD_CONFIG_FILE builds just fine.

I do not have a 4.X box with enough resources to try the same there; maybe someone 
could enlighten me? Or I should ask in -current?

-- 
Alex.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sysinstall config question

2004-05-24 Thread Alex Povolotsky
On Mon, 24 May 2004 12:37:43 +0100
Daniel Bye [EMAIL PROTECTED] wrote:


DB My understanding from reading sysinstall(8) is that the sysinstall
DB binary needs to have LOAD_CONFIG_FILE set in the environment, not
DB the release build.
DB 
DB Try adding it to the Makefile for sysinstall, and see what
DB happens...
DB 
DB However, I have recently set up a custom install script, which
DB simply has the default name, install.cfg.  As long as it is located
DB in the root of your mfsroot file system, sysinstall will load it. 
DB If you don't have a particular need to give it a different name, you
DB might give it a go.

Thanks; will try it.

WHat is the correct way to add install.cfg? Should it jut be put into /usr/src/release 
before build?

-- 
Alex.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Too little swap to dumpon

2003-10-03 Thread Alex Povolotsky
Hello!

I have on one of my boxes too little swap partition to dumpon on it. Actually, it is 
too little by several bytes

 # swapinfo 
Device  1K-blocks UsedAvail Capacity  Type
/dev/da0s1b   1048448  100  1048348 0%Interleaved
/dev/da1s1b   10484480  1048448 0%Interleaved
Total 2096896  100  2096796 0%


real memory  = 1073741824 (1048576K bytes)

but I still cannot dumpon.

Moreover, I don't need any dumping besides kernel memory.

Does there exist any solution to dump on two swap partition, or to dump only limited 
amount of memory, or to dump on both swap partitions? Or I have to repartition my disk?

-- 
Alex.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jailed virtual https, anyone?

2002-11-22 Thread Alex Povolotsky
On Fri, 22 Nov 2002 16:21:10 +0100
Marc Perisa [EMAIL PROTECTED] wrote:

MP  I'm forwarding incoming connection to jail, currently with ipnat. I need to pass 
information 
MP  about real (outside) IP to mod_ssl. That is my problem.
MP 
MP ? (I understand what you do - but not why ...)
On one hand, I'm going to isolate users from outside world. On the other hand, I 
cannot afford right now to provide each ot these users by their own jail with. Hmm, 
maybe I could run lots of jails on the same filesystem, but this will create 
immeasurable lots of apaches mostly staying idle. 
MP Ok. Why don't you put every single jail with it's outside IP up and let 
MP it run there (binded to fxp0). What do you want to reach with that setup 
MP ? More security?
I'm running several scores of virtualhosts right now, ant number of the is going to 
increase. At least 5 apaches, one sshd... hmm, even if I'll make annother jail for 
sshd/cron, I'm going to have LOTS and LOTS of idle apaches.
MP 
MP Next possibility is to setup a https-http gateway on the external IP 
MP (binded to fxp0) and forward the un-encrypted requests over to the 
MP apache (name-based or whatever).
Yes, I'm starting to look towards that direction. Most likely, I'll install/patch some 
https-http proxy on weekend.

But in this case, I need to pass https variables some more or less efficient and 
elegant way... Well, I'll do it ;-)

-- 
Alex.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message