Can I limit the number of tcp connections ?

2010-04-13 Thread Mark Jackson
Is there any way to limit the # tcp connections under Busybox ? I've tried ... echo 8 /proc/sys/net/core/somaxconn ... but I can still open 10 ssh sessions, as well as a web server. I know I could run iptables, but I was looking for a much lower level solution (with a smaller resource

[PATCH] make devmem map only a single page at end of memory

2010-04-13 Thread Jörgen Pihlflyckt
Hi! I noticed that the devmem applet maps two consecutive pages of memory in order to allow access to a (non-aligned) object that spans two pages. This is a problem if we are working with the last page of memory because the next page would wrap around to the first page of memory. This patch

Re: [PATCH] make devmem map only a single page at end of memory

2010-04-13 Thread Michael Abbott
On Tue, 13 Apr 2010, Jörgen Pihlflyckt wrote: I noticed that the devmem applet maps two consecutive pages of memory in order to allow access to a (non-aligned) object that spans two pages. This is a problem if we are working with the last page of memory because the next page would wrap

Re: [PATCH] make devmem map only a single page at end of memory

2010-04-13 Thread Michael Abbott
On Tue, 13 Apr 2010, Michael Abbott wrote: On Tue, 13 Apr 2010, Jörgen Pihlflyckt wrote: I noticed that the devmem applet maps two consecutive pages of memory in order to allow access to a (non-aligned) object that spans two pages. This is a problem if we are working with the last page of

hwclock -w takes 24 seconds

2010-04-13 Thread Kim B. Heino
BusyBox 1.16.1 on a small armv4tl system: $ time hwclock -w real0m 24.34s user0m 0.00s sys 0m 0.00s $ time hwclock -w real0m 24.07s user0m 0.01s sys 0m 0.00s $ time hwclock -w real0m 24.20s user0m 0.00s sys 0m 0.00s rem_usec seems to be about 996600 after

Re: Can I limit the number of tcp connections ?

2010-04-13 Thread Rob Landley
On Tuesday 13 April 2010 06:15:35 Mark Jackson wrote: Is there any way to limit the # tcp connections under Busybox ? I've tried ... echo 8 /proc/sys/net/core/somaxconn ... but I can still open 10 ssh sessions, as well as a web server. I know I could run iptables, but I was looking for a

Windows port?

2010-04-13 Thread Nguyen Thai Ngoc Duy
Hi, I started the port about three years ago, on 1.6.1. Currently I'm rebasing my work on master, but it will take some time before I could submit anything. The old version based on 1.6.1 is on http://github.com/pclouds/busybox-w32. Anyway I would like to discuss about possibilities of merging

Setting static IP

2010-04-13 Thread Pete Helgren
BusyBox v1.1.3 (2007.10.23-16:18+) Not sure what I am doing wrong, could be my noob status with Linux, but I can't seem to get a static IP address set in busybox. Initially I used the IFCONFIG command and it worked great, until I bounced Busybox. So I modified the interfaces file like

Re: Windows port?

2010-04-13 Thread Doug Clapp
Nguyen Thai Ngoc Duy wrote: Hi, I started the port about three years ago, on 1.6.1. Currently I'm rebasing my work on master, but it will take some time before I could submit anything. The old version based on 1.6.1 is on http://github.com/pclouds/busybox-w32. Anyway I would like to discuss

Re: Windows port?

2010-04-13 Thread Denys Vlasenko
On Tue, Apr 13, 2010 at 1:01 PM, Nguyen Thai Ngoc Duy pclo...@gmail.com wrote: Hi, I started the port about three years ago, on 1.6.1. Currently I'm rebasing my work on master, but it will take some time before I could submit anything. The old version based on 1.6.1 is on

Re: Setting static IP

2010-04-13 Thread Denys Vlasenko
On Tue, Apr 13, 2010 at 3:36 PM, Pete Helgren p...@valadd.com wrote: BusyBox v1.1.3 (2007.10.23-16:18+) Not sure what I am doing wrong, could be my noob status with Linux, but I can't seem to get a static IP address set in busybox. Initially I used the IFCONFIG command and it worked

Re: Can I limit the number of tcp connections ?

2010-04-13 Thread Denys Vlasenko
On Tue, Apr 13, 2010 at 11:26 AM, Rob Landley r...@landley.net wrote: On Tuesday 13 April 2010 06:15:35 Mark Jackson wrote: Is there any way to limit the # tcp connections under Busybox ? I've tried ... echo 8 /proc/sys/net/core/somaxconn ... but I can still open 10 ssh sessions, as well