Date: Thu, 16 Sep 2004 04:12:26 -0000 From: sam <samwun@hgdbroadband.com> To: pf4freebsd@freelists.org Subject: [pf4freebsd] Re: Carp work (re)started - how to create new files Message-ID: <4121B403.2020400@hgdbroadband.com> In-Reply-To: <4121A8E0.8040806@hgdbroadband.com> References: <200408052130.51026.max@love2party.net> <200408161934.23219.max@love2party.net> <4120F693.8080305@hgdbroadband.com> <200408162008.20768.max@love2party.net> <4121772A.9020703@hgdbroadband.com> <20040817034647.GA4488@kt-is.co.kr> <4121A8E0.8040806@hgdbroadband.com>
next in thread | previous in thread | raw e-mail | index | archive | help
sam wrote: > Pyun YongHyeon wrote: > >> On Tue, Aug 17, 2004 at 11:10:34AM +0800, sam wrote: >> > Max Laier wrote: >> > > >On Monday 16 August 2004 20:01, sam wrote: >> > > > > >> > >>Max Laier wrote: >> > >> > >> >> > ><...> >> > > > > >> > >>>Fixed in the mean time. See: >> > >>>http://people.freebsd.org/~mlaier/CARP/ >> > >>> > >>> >> > >>Thanks, I have applied all 3 patches on top of the previous one in >> > >>love2party. >> > >> > >> >> > > >> > >err .. NO! ... each patchset is complete. You just check out a >> clean tree > >and apply the most recent set (while hoping that it >> does not create > >rejects). >> > > >> > > > > >> > Hi, do I still need RANDOM_IP_ID in the kernel configuration file? >> >> Probably not. >> You need a sysctl OID in sysctl.conf(5) in latest -CURRENT. >> >> net.inet.ip.random_id=1 >> >> > I got the following error with options RANDOM_IP_ID in the kernel >> conf file: >> > > # config SEC5-2a >> > SEC5-2a: unknown option "RANDOM_IP_ID" >> > > I enclosed portion of the kernel conf file: >> > #-------for PF configuration -----# >> > device bpf >> > options PFIL_HOOKS >> > options RANDOM_IP_ID >> > > device pf # required >> > device pflog # optional >> > device pfsync # optional >> > > device CARP >> > #---------------------------------# >> > > Thanks >> > sam >> > > >> >> > Hi, do you know how to build it with CARP support? > I tried the commandline "config mykern", and it returned error like > "unkown device CARP" > After commented out the "device CARP" in mykern file, the "config > mykern" works. > But doing a "make depend;make" in the ../compile/mykern/ directory > returned error: > ../../../net/if_ethersubr.c: In function `ether_demux': > ../../../net/if_ethersubr.c:697: warning: label `pre_stats' defined > but not used > *** Error code 1 > I known the new way of building the kernel is "make > buildkernel=mykern" in the /usr/src directory. But it had error with > opt_carp.* not found when I did that 3 months ago. As far as I known, > all the opt_*.h files are generated by the executing the command > "config mykern", so I m wondering whether "make buildkernel=mykern > does create opt_*h now, especially the opt_carp.h file. > > Thanks > sam > > > > I just found that I need to define "device carp" in the kernel conf file. The original definition is wrong - "device CARP". But not I came to another "problem", the current patch of CARP has new files written in the patch file, such as those ip_carp.h/c How can I create these new files with unix command "patch" in FreeBSD? The patch -p0 < ... does not create any new file that is not found in the src directory. thanks sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4121B403.2020400>