Re: OpenBSD router stops functioning but still send CARP advertisements

2009-06-01 Thread Simon Morvan
Le 27/05/2009 15:38, Stuart Henderson a icrit : Simon Morvangar...@zone84.net wrote: After a couple of hours/days one of the box stop functioning properly : no ping, no more SSH access but I still capture CARP avertisement on the network segments (when it occurs on the master). As a

Re: urtw(4)

2009-06-01 Thread Predrag Punosevac
I bought a new Wireles USB device, using 5-29-2008 amd64 snapshot That is an awfully old snapshot. You might want to use something from this year. Cheers, Predrag P.S. Sorry Sam I couldn't resist:-)

proper test for 64bitness of platform?

2009-06-01 Thread Ted Walther
I'm preparing a port of newLISP. Is there a simple test I can run to find out if the host platform is 64bit? A #define has to be set in the code according to whether the platform is 64bit or not. Am I right in assuming that OpenBSD only supports 32bit and 64bit platforms at the moment? Ted

Re: PF/Carp/Pfsync

2009-06-01 Thread Georg Kahest
# $OpenBSD: netstart,v 1.122 2008/07/23 16:05:47 sthen Exp $ # $OpenBSD: rc,v 1.318 2008/07/09 20:23:47 djm Exp $ # uname -a OpenBSD node1 4.4 GENERIC.MP#1 amd64 On P, 2009-05-31 at 19:32 +0200, Stuart Henderson wrote: On 2009-05-28, Georg Kahest ge...@viatel.ee wrote: Hello, i

Re: PF/Carp/Pfsync

2009-06-01 Thread Stuart Henderson
On 2009/06/01 12:55, Georg Kahest wrote: # $OpenBSD: netstart,v 1.122 2008/07/23 16:05:47 sthen Exp $ # $OpenBSD: rc,v 1.318 2008/07/09 20:23:47 djm Exp $ # uname -a OpenBSD node1 4.4 GENERIC.MP#1 amd64 It's not what I was thinking it might be then (there was a change to the

Re: PF/Carp/Pfsync

2009-06-01 Thread Georg Kahest
This log from prefered (master node), it seems that the problem is carp0 takes master even before carp1 has went to backup, how to resolve it, so that they would go master at the same time. Jun 1 14:45:54 node1 /bsd: carp0: state transition: INIT - BACKUP Jun 1 14:45:54 node1 /bsd: carp: carp0

Re: PF/Carp/Pfsync

2009-06-01 Thread Georg Kahest
i had modified rc conf a little and last log paste was because of that modification, this is the current log, but still the client behind lan carp loses its packets, first to his gateway with host uncreachable and after few packets its timeout, and then everything starts working okey. Jun 1

Re: PF/Carp/Pfsync

2009-06-01 Thread Georg Kahest
Okey i think i figured it out, the problem was with my switch spanning tree, when i disabled it for appropiate vlans everything started to work correctly. On E, 2009-06-01 at 13:14 +0200, Stuart Henderson wrote: On 2009/06/01 12:55, Georg Kahest wrote: # $OpenBSD: netstart,v 1.122

Re: proper test for 64bitness of platform?

2009-06-01 Thread Stuart Henderson
On 2009-06-01, Ted Walther t...@enumera.com wrote: I'm preparing a port of newLISP. Is there a simple test I can run to find out if the host platform is 64bit? A #define has to be set in the code according to whether the platform is 64bit or not. We set _LP64 and __LP64__ variables on 64-bit

Re: PF/Carp/Pfsync

2009-06-01 Thread Georg Kahest
Okey now that the failover seems to be work i have hit another problem, the thing is when failover occurs and other node takes over, the client connection wont hit right ALTQ queue anymore, rather it goes unqueued(full speed) , and only the new connections initated after failover will hit the

Re: PF/Carp/Pfsync

2009-06-01 Thread Stuart Henderson
On 2009/06/01 15:57, Georg Kahest wrote: Okey now that the failover seems to be work i have hit another problem, the thing is when failover occurs and other node takes over, the client connection wont hit right ALTQ queue anymore, rather it goes unqueued(full speed) , and only the new

Re: PF/Carp/Pfsync

2009-06-01 Thread Georg Kahest
Yes the rulesets are identical, strange thing is from pftop it seems that it hits default queue (25mbit queue) but somehow the client gets 10~MB/s what seems more of interface root queue value rather then that default queue. Thou the real queue it should use is at 8mbit. On E, 2009-06-01 at 15:09

Re: Rewriting Addresses in SMTPD

2009-06-01 Thread Jacek Masiulaniec
On Sun, May 31, 2009 at 10:56:50PM -0400, Aaron W. Hsu wrote: Is there a way in smtpd(8) yet, to do something like genericstables in sendmail? Right now, when my client sendmail sends out a mail, it rewrites the envelope and the From addresses to be valid email addresses with the domain

Re: Rewriting Addresses in SMTPD

2009-06-01 Thread Gilles Chehade
On Mon, Jun 01, 2009 at 04:11:29PM +0200, Jacek Masiulaniec wrote: On Sun, May 31, 2009 at 10:56:50PM -0400, Aaron W. Hsu wrote: Is there a way in smtpd(8) yet, to do something like genericstables in sendmail? Right now, when my client sendmail sends out a mail, it rewrites the envelope

Re: Wireless help, please

2009-06-01 Thread Ben Goren
On 2009 May 31, at 2:53 PM, Fred Crowson wrote: How is your iMac getting its IP address? When I manually set up the IP address (etc.) for the iMac, I get several seconds of connectivity before the link goes dead. That doesn't seem to be enough time to get a DHCP lease, though I do have

PF, pfctl and parse.y

2009-06-01 Thread Anton Maksimenkov
I want add keyword to PF's rule. I started with pfctl. Suppose I want to add keyword spraychld. So, I add field to struct pf_rule (as showed in diff below) and tried to add keyword to pfctl's parse.y processor. But it won't to compile. Where I was wrong? # cd/usr/src/sbin/pfctl # make clean

Re: proper test for 64bitness of platform?

2009-06-01 Thread Matthias Kilian
We set _LP64 and __LP64__ variables on 64-bit arch. $ cpp -dM /dev/null | grep LP64 #define _LP64 1 #define __LP64__ 1 It should also be ok to (ab)use LONG_BIT from limits.h, depending on how the code is 64 bit specific. Ciao, Kili

Re: proper test for 64bitness of platform?

2009-06-01 Thread bofh
On Mon, Jun 1, 2009 at 8:51 AM, Stuart Henderson s...@spacehopper.org wrote: You're right, we only support 32- and 64-bit platforms. What?! No 128 bit support?! Oh my god, the sky is falling, how can you secure stuff in only 64 bit, the sky is falling, etc etc! :) Actually, what I want is

Gkrellmd in 4.5

2009-06-01 Thread Lars Kotthoff
Hi all, I've just upgraded to 4.5 and gkrellmd (gkrellm-server) package seems to have a memory leak -- it's RAM usage is growing constantly and is at about 20M resident now, less than one day after starting the machine. Did anybody experience anything similar and knows a fix? Thanks, Lars

Re: proper test for 64bitness of platform?

2009-06-01 Thread Ted Walther
On Mon, Jun 01, 2009 at 12:51:31PM +, Stuart Henderson wrote: On 2009-06-01, Ted Walther t...@enumera.com wrote: I'm preparing a port of newLISP. Is there a simple test I can run to find out if the host platform is 64bit? A #define has to be set in the code according to whether the

Re: urtw(4)

2009-06-01 Thread Sam Fourman Jr.
On Mon, Jun 1, 2009 at 2:31 AM, Predrag Punosevac punoseva...@gmail.com wrote: I bought a new Wireles USB device, using 5-29-2008 amd64 snapshot That is an awfully old snapshot. You might want to use something from this year. Cheers, Predrag P.S. Sorry Sam I couldn't resist:-) Sorry that

Detailed usage graphs w/PF

2009-06-01 Thread Steven Surdock
Greetings, I'm looking at using a pair of OBSD systems to perform a couple of functions, + ISP load balancing failover (using NAT) + Site to Site IPSec termination (via ipsec) + Egress Bandwidth Management (via PF) + Web/HTML Detailed usage reporting (via ??) I've done the first

Re: Gkrellmd in 4.5

2009-06-01 Thread Antoine Jacoutot
On Mon, 1 Jun 2009, Lars Kotthoff wrote: Hi all, I've just upgraded to 4.5 and gkrellmd (gkrellm-server) package seems to have a memory leak -- it's RAM usage is growing constantly and is at about 20M resident now, less than one day after starting the machine. Did anybody experience

Re: WebHosting Management Software

2009-06-01 Thread Vadim Zhukov
On Friday 29 May 2009 05:24:33 Insan Praja SW wrote: Hi Misc@, I'm currently looking for some OpenBSD-friendly (OpenSource/Free) WebHosting Management software. My colleagues seem to find a hardtimes for this kind of software works with OpenBSD. Any clue and input appreciated. Thanks,

Re: Detailed usage graphs w/PF

2009-06-01 Thread Jason Dixon
On Mon, Jun 01, 2009 at 03:58:08PM -0400, Steven Surdock wrote: Greetings, I'm looking at using a pair of OBSD systems to perform a couple of functions, + ISP load balancing failover (using NAT) + Site to Site IPSec termination (via ipsec) + Egress Bandwidth Management (via PF)

Re: PF, pfctl and parse.y

2009-06-01 Thread Henning Brauer
* Anton Maksimenkov anton...@gmail.com [2009-06-01 17:48]: I want add keyword to PF's rule. I started with pfctl. Suppose I want to add keyword spraychld. So, I add field to struct pf_rule (as showed in diff below) and tried to add keyword to pfctl's parse.y processor. But it won't to

Re: PF/Carp/Pfsync

2009-06-01 Thread Henning Brauer
* Georg Kahest ge...@viatel.ee [2009-06-01 15:21]: Yes the rulesets are identical, strange thing is from pftop it seems that it hits default queue (25mbit queue) but somehow the client gets 10~MB/s what seems more of interface root queue value rather then that default queue. Thou the real

Re: Gkrellmd in 4.5

2009-06-01 Thread Lars Kotthoff
Yup. Fixed in current more than 2 months ago: Excellent, thanks! Lars

List of old forked or frozen code like apache that needs cleanup?

2009-06-01 Thread Daniel Ouellet
Hi, Is there some code in the tree that like apache a few years ago stop following the source for valid license reason, or was forked, kind of, that would need or benefit from cleanup just like I did apache in 2004-2006? Kind of disgraceful janitor work if you like, but that would be

Re: Detailed usage graphs w/PF

2009-06-01 Thread Stuart Henderson
On 2009-06-01, Steven Surdock ssurd...@engineered-net.com wrote: Greetings, I'm looking at using a pair of OBSD systems to perform a couple of functions, + ISP load balancing failover (using NAT) + Site to Site IPSec termination (via ipsec) + Egress Bandwidth Management (via PF)

Re: proper test for 64bitness of platform?

2009-06-01 Thread Ted Walther
On Mon, Jun 01, 2009 at 07:50:59PM +0200, Matthias Kilian wrote: We set _LP64 and __LP64__ variables on 64-bit arch. $ cpp -dM /dev/null | grep LP64 #define _LP64 1 #define __LP64__ 1 It should also be ok to (ab)use LONG_BIT from limits.h, depending on how the code is 64 bit specific.

Re: Is anyone using the TeX Live DVD binaries for OpenBSD?

2009-06-01 Thread Stefan Wollny
Am Mon, 1 Jun 2009 00:08:19 +0100 schrieb Edd Barrett vex...@gmail.com: Hi, Over at the TeX Live camp we are wondering if anyone is using the binaries found on the DVD distributed by the TeX User Group on OpenBSD? ... Hi Edd, please excuse if this may sound odd to you - but do those

netstat byte counter wrap?

2009-06-01 Thread Cameron Schaus
Do the netstat ibytes and obytes counters wrap, and if so at what limit do they wrap? eg. # netstat -nbI fxp0 NameMtu Network Address Ibytes Obytes fxp01500 Link 00:10:f3:08:5c:69 1269729588 2520482812 Cam

Re: netstat byte counter wrap?

2009-06-01 Thread Claudio Jeker
On Mon, Jun 01, 2009 at 06:02:28PM -0600, Cameron Schaus wrote: Do the netstat ibytes and obytes counters wrap, and if so at what limit do they wrap? Yes, they will wrap. The limit is 2^64 - 1 so don't expect it to happen anytime soon. eg. # netstat -nbI fxp0 NameMtu Network

Re: Detailed usage graphs w/PF

2009-06-01 Thread Diana Eichert
I know you asked about pretty picture graphs, but I will second Stuart's recommendation of nfdump. Graphs may be pretty but if you want to dig into the data nfdump is very useful. diana On Mon, 1 Jun 2009, Stuart Henderson wrote: On 2009-06-01, Steven Surdock ssurd...@engineered-net.com

Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-01 Thread Евгений Юнак
Hi! Personally, i think this is a really good question, because there are many people, who are just starting up, and they could be of some help, if they knew what to do. I think it would be a great idea of having a general list of what needs to be done, in any way, and what should not. And the

Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-01 Thread Jacob Meuser
On Tue, Jun 02, 2009 at 05:05:09AM +0300, ??? wrote: Hi! Personally, i think this is a really good question, because there are many people, who are just starting up, and they could be of some help, if they knew what to do. I think it would be a great idea of having a general list of

Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-01 Thread patrick keshishian
On Mon, Jun 1, 2009 at 7:05 PM, PP2P3P5P=P8P9 P.P=P0P: e.yu...@gmail.com wrote: Hi! Personally, i think this is a really good question, because there are many people, who are just starting up, and they could be of some help, if they knew what to do. I think it would be a great idea of having

Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-01 Thread Евгений Юнак
2009/6/2 patrick keshishian pkesh...@gmail.com: On Mon, Jun 1, 2009 at 7:05 PM, PP2P3P5P=P8P9 P.P=P0P: e.yu...@gmail.com wrote: Hi! Personally, i think this is a really good question, because there are many people, who are just starting up, and they could be of some help, if they knew what

Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-01 Thread patrick keshishian
On Mon, Jun 1, 2009 at 8:12 PM, PP2P3P5P=P8P9 P.P=P0P: e.yu...@gmail.com wrote: 2009/6/2 patrick keshishian pkesh...@gmail.com: On Mon, Jun 1, 2009 at 7:05 PM, PP2P3P5P=P8P9 P.P=P0P: e.yu...@gmail.com wrote: Hi! Personally, i think this is a really good question, because there are many

Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-01 Thread Christiano Farina Haesbaert
On Tue, Jun 02, 2009 at 06:12:36AM +0300, ?? wrote: 2009/6/2 patrick keshishian pkesh...@gmail.com: On Mon, Jun 1, 2009 at 7:05 PM, PP2P3P5P=P8P9 P.P=P0P: e.yu...@gmail.com wrote: Hi! Personally, i think this is a really good question, because there are many people,

Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-01 Thread Евгений Юнак
Thank you all for your replies, now i (and hopefully someone else) know how thing really are. Thank you again, and sorry for my bad English. -- The best the little guy can do is what the little guy does right