Re: spliting kernel ipfw source ? (also involves sctp)

2009-03-01 Thread perryh
Rui Paulo wrote: > On 1 Mar 2009, at 21:26, Julian Elischer wrote: > > Luigi Rizzo wrote: > >> Hi, > >> I am planning to split netinet/ip_fw2.c in a number of smaller > >> files to make it more manageable, and while i do this I would > >> also like to move the files related to ipfw2 (namely ip_fw*

Re: crazy network problem -- sleep?

2009-03-01 Thread stutiredboy
Adrian Penisoara 写道: > Hi, > > 2009/3/1 stutiredboy > > > Adrian Penisoara 写道: > > Hi, > > > > 2009/3/1 stutiredboy > > >> > > > > hi,all: >

Re: spliting kernel ipfw source ? (also involves sctp)

2009-03-01 Thread Rui Paulo
On 1 Mar 2009, at 21:26, Julian Elischer wrote: Luigi Rizzo wrote: Hi, I am planning to split netinet/ip_fw2.c in a number of smaller files to make it more manageable, and while i do this I would also like to move the files related to ipfw2 (namely ip_fw*c) to a better place. Any objection

Re: Making Netgraph compile with LLVM

2009-03-01 Thread Ed Schouten
* Julian Elischer wrote: > then the answer is to create a separate structure 'tag header' > that can be used in both places. I think I don't know that much about Netgraph. Would you be willing to work on this? I don't use ng_pppoe, so I was only able to validate its correctness by looking at

Re: spliting kernel ipfw source ? (also involves sctp)

2009-03-01 Thread Julian Elischer
Luigi Rizzo wrote: Hi, I am planning to split netinet/ip_fw2.c in a number of smaller files to make it more manageable, and while i do this I would also like to move the files related to ipfw2 (namely ip_fw*c) to a better place. Any objection to moving them to sys/netinet/ipfw2 ? Also, I can't h

Re: Making Netgraph compile with LLVM

2009-03-01 Thread Julian Elischer
Ed Schouten wrote: * Julian Elischer wrote: Ed Schouten wrote: Hello all, It turns out Netgraph uses a language construct that is only allowed with GCC, but not with LLVM. According to the specs, LLVM's behaviour is correct. It is not allowed to do this: struct a { st

Re: Making Netgraph compile with LLVM

2009-03-01 Thread Ed Schouten
* Julian Elischer wrote: > Ed Schouten wrote: >> Hello all, >> >> It turns out Netgraph uses a language construct that is only allowed >> with GCC, but not with LLVM. According to the specs, LLVM's behaviour is >> correct. It is not allowed to do this: >> >> struct a { >> struct

Re: rate limiting mail server

2009-03-01 Thread Barney Cordoba
--- On Tue, 2/24/09, Mark E Doner wrote: > From: Mark E Doner > Subject: rate limiting mail server > To: freebsd-...@freebsd.org > Date: Tuesday, February 24, 2009, 12:13 AM > Greetings, >I am running a fairly large mail server, FreeBSD, of > course. It is predominantly for residential c

Re: Making Netgraph compile with LLVM

2009-03-01 Thread Julian Elischer
Ed Schouten wrote: Hello all, It turns out Netgraph uses a language construct that is only allowed with GCC, but not with LLVM. According to the specs, LLVM's behaviour is correct. It is not allowed to do this: struct a { struct { int i;

Re: crazy network problem -- sleep?

2009-03-01 Thread Adrian Penisoara
Hi, 2009/3/1 stutiredboy > Adrian Penisoara 写道: > > Hi, > > > > 2009/3/1 stutiredboy > > > > > > hi,all: > > > > recently , we found a problem that , some server which with FreeBSD > > 6.2 may stop networking after > > days of services, it is so dif

Re: spliting kernel ipfw source ? (also involves sctp)

2009-03-01 Thread Sam Leffler
Luigi Rizzo wrote: Hi, I am planning to split netinet/ip_fw2.c in a number of smaller files to make it more manageable, and while i do this I would also like to move the files related to ipfw2 (namely ip_fw*c) to a better place. Any objection to moving them to sys/netinet/ipfw2 ? Also, I can't h

Making Netgraph compile with LLVM

2009-03-01 Thread Ed Schouten
Hello all, It turns out Netgraph uses a language construct that is only allowed with GCC, but not with LLVM. According to the specs, LLVM's behaviour is correct. It is not allowed to do this: struct a { struct { int i; char j

spliting kernel ipfw source ? (also involves sctp)

2009-03-01 Thread Luigi Rizzo
Hi, I am planning to split netinet/ip_fw2.c in a number of smaller files to make it more manageable, and while i do this I would also like to move the files related to ipfw2 (namely ip_fw*c) to a better place. Any objection to moving them to sys/netinet/ipfw2 ? Also, I can't help noticing that sys

Re: crazy network problem -- sleep?

2009-03-01 Thread stutiredboy
Adrian Penisoara 写道: > Hi, > > 2009/3/1 stutiredboy > > > hi,all: > > recently , we found a problem that , some server which with FreeBSD > 6.2 may stop networking after > days of services, it is so difficulty express this status, e, such as > slee

Re: crazy network problem -- sleep?

2009-03-01 Thread Adrian Penisoara
Hi, 2009/3/1 stutiredboy > hi,all: > >recently , we found a problem that , some server which with FreeBSD > 6.2 may stop networking after > days of services, it is so difficulty express this status, e, such as > sleep? i can not ping this server, tracert is also > failure, and other ser