Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2011 20:30:35 +0200
From:      =?WINDOWS-1251?B?wujy4Ovo6SDC6+Dk6Ozo8O7i6Pc=?= <artemrts@ukr.net>
To:        =?WINDOWS-1251?B?RXJtYWwgTHUaaQ==?= <eri@freebsd.org>
Cc:        "freebsd-pf@FreeBSD.org" <freebsd-pf@freebsd.org>
Subject:   Re: PF + dummynet
Message-ID:  <6216.1321381835.1640159413787033600@ffe1.ukr.net>
In-Reply-To: <CAPBZQG0KocPxEvZHkmfVMDuDMA00RGqZoEMunz5CbyJQ6hX59g@mail.gmail.com>
References:  <3260.1321292519.4280141174806937600@ffe6.ukr.net> <CAPBZQG2DcyO4=zXiv0AH5RP63uWPT-_k_uV-4XFMHPOPkhsMVw@mail.gmail.com> <CAPBZQG0KocPxEvZHkmfVMDuDMA00RGqZoEMunz5CbyJQ6hX59g@mail.gmail.com> <28157.1321285207.10515527080858615808@ffe17.ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help


 --- Original message ---
 From: "Ermal Lui" <eri@freebsd.org>
 To: "Виталий Владимирович" <artemrts@ukr.net>
  Date: 15 November 2011, 11:24:54
 Subject: Re: PF + dummynet
 


> 2011/11/14 Виталий Владимирович <artemrts@ukr.net>:
> >
> >
> >  --- Original message ---
> >  From: "Ermal Lu i" <eri@freebsd.org>
> >  To: "Виталий Владимирович" <artemrts@ukr.net>
> >  Date: 14 November 2011, 19:15:31
> >  Subject: Re: PF + dummynet
> >
> >
> >
> >> 2011/11/14 Виталий Владимирович <artemrts@ukr.net>:
> >> >
> >> >  Hi.
> >> >  Some years ago I have read in freebsd-pf@ that exist patch PF+dummynet from eri@. Now I am searching on Internet but nothing except this: pfsense-tools / patches / RELENG_9_0 on GitHUB. Is anybody use it with FreeBSD 9? I have applied dummynet.RELENG_9.diff but without results.
> >> >
> >> Well can you be more clear on your findings?
> >>
> >> That patch should work the same as the patch for RELENG_8_1 that is in
> >> use on pfSense 2.0 and throughly tested.
> >>
> >
> >  Should I use some another patches or dummynet.RELENG_9.diff only?
> >
> 
> You cannot apply this patches directly unless you do that manually.
> The order of the patches to apply before this for a clean patch apply
> is in the file
> https://github.com/bsdperimeter/pfsense-tools/blob/master/builder_scripts/patches.RELENG_9_0
> 
> ignore the entries with 3(~~~) tildes characters.

 Hi.
 At first. Ermal, thanks for your work and help to me.

1. I have Updated source tree with tag RELENG_9  

2. Below patches which I have applied:

patch<./dscp.RELENG_9.diff 
patch<./fairq.RELENG_9.diff
patch<./hfscconfig.RELENG_9.diff
patch<./killifstates.RELENG_9.diff
patch<./queuestats.RELENG_9.diff
patch<./divert.RELENG_9.diff
patch<./dummynet.RELENG_9.diff

3. Then has recompiled the world and the kernel

But an error occurred (at compilling world):
-----

===> sbin/pfctl (all)
cc -O2 -fno-strict-aliasing -pipe  -Wall -Wmissing-prototypes -Wno-uninitialized                                               -Wstrict-prototypes -I/usr/src/sbin/pfctl/../../contrib/pf/pfctl -DENABLE_ALTQ                                               -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno                                              -uninitialized -Wno-pointer-sign -c /usr/src/sbin/pfctl/../../contrib/pf/pfctl/p                                              fctl.c
cc -O2 -fno-strict-aliasing -pipe  -Wall -Wmissing-prototypes -Wno-uninitialized                                               -Wstrict-prototypes -I/usr/src/sbin/pfctl/../../contrib/pf/pfctl -DENABLE_ALTQ                                               -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno                                              -uninitialized -Wno-pointer-sign -c parse.c
*** Error code 1

Stop in /usr/src/sbin/pfctl.
*** Error code 1

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

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

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

Stop in /usr/src.

 What I must correct?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6216.1321381835.1640159413787033600>