Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 06:10:37 -0700 (PDT)
From:      "M. V." <bored_to_death85@yahoo.com>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        freebsd-ipfw <freebsd-ipfw@freebsd.org>
Subject:   Re: recompiling ipfw source-code
Message-ID:  <1350997837.96917.YahooMailNeo@web165005.mail.bf1.yahoo.com>
In-Reply-To: <50865C99.7060303@yandex.ru>
References:  <1350981995.17361.YahooMailNeo@web165005.mail.bf1.yahoo.com> <50865C99.7060303@yandex.ru>

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

that did work. thank you so much for your quick reply.


Cheers.




>________________________________
> From: Andrey V. Elsukov <bu7cher@yandex.ru>
>To: M. V. <bored_to_death85@yahoo.com> 
>Cc: freebsd-ipfw <freebsd-ipfw@freebsd.org> 
>Sent: Tuesday, October 23, 2012 12:30 PM
>Subject: Re: recompiling ipfw source-code
> 
>On 23.10.2012 12:46, M. V. wrote:
>> hi everybody,
>> 
>> I'm trying to make some changes in ipfw code. but my problem is, when
>> i make a change in ipfw code in "/usr/src/sys/netinet/ipfw" , this
>> folder doesn't have any Makefile, and i have to compile "/usr/src"
>> instead, which takes a lot of time (almost 20 minutes everytime i try
>> to compile), and this makes what i'm trying to do almost impossible.
>> 
>> 
>> so i wanted to ask, does anyone know an easier or quicker way to
>> compile ipfw (/usr/src/sys/netinet/ipfw), or maybe a simpler Makefile
>> or a shell to do this.
>
>You can build only ipfw kernel module from the /usr/src/sys/modules/ipfw.
>
>-- 
>WBR, Andrey V. Elsukov
>
>
>
From owner-freebsd-ipfw@FreeBSD.ORG  Tue Oct 23 13:15:34 2012
Return-Path: <owner-freebsd-ipfw@FreeBSD.ORG>
Delivered-To: freebsd-ipfw@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id 82862287
 for <freebsd-ipfw@freebsd.org>; Tue, 23 Oct 2012 13:15:34 +0000 (UTC)
 (envelope-from sodynet1@gmail.com)
Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com
 [209.85.219.54])
 by mx1.freebsd.org (Postfix) with ESMTP id 3CFA08FC0A
 for <freebsd-ipfw@freebsd.org>; Tue, 23 Oct 2012 13:15:34 +0000 (UTC)
Received: by mail-oa0-f54.google.com with SMTP id n9so4701304oag.13
 for <freebsd-ipfw@freebsd.org>; Tue, 23 Oct 2012 06:15:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=A8gYIwiCY2xu52SsY/vBSe1nOvOMa8Bc1Xd64x8rMeE=;
 b=nCa0Q15xLgPsNYphtCEscTPFWQPGSlFPiV9aRms6uqibxjWs551YRrnU1A0mLN66X/
 snyX/5A623dzn26jv/BhxUNFzAqicfE7aw6wbc+VfhRbuLlgcGWb33Z6urqsDJi0ty6V
 hEAnoPzKS3onU/vfWcgec2oSmsKQPKADw6ptbsoIipMhm9+SP4C2NwtGLzUwZHxDe4fr
 DRJHPzqjmMHF4sXiTqJaWPPHnBZU1Eux9Ws0AKpDOE1bf6tLR04qLeI2NtxEltzMFidG
 LNDrIMe0y8dIdaub5Tq7sfcsRsCxqWh82MrCcGn9AbPXoxUrGSShL+OuB5t2QmBiEigC
 bl5g==
MIME-Version: 1.0
Received: by 10.60.29.228 with SMTP id n4mr11337215oeh.27.1350998127878; Tue,
 23 Oct 2012 06:15:27 -0700 (PDT)
Received: by 10.182.133.40 with HTTP; Tue, 23 Oct 2012 06:15:27 -0700 (PDT)
In-Reply-To: <1350997837.96917.YahooMailNeo@web165005.mail.bf1.yahoo.com>
References: <1350981995.17361.YahooMailNeo@web165005.mail.bf1.yahoo.com>
 <50865C99.7060303@yandex.ru>
 <1350997837.96917.YahooMailNeo@web165005.mail.bf1.yahoo.com>
Date: Tue, 23 Oct 2012 15:15:27 +0200
Message-ID: <CAEW+ogb5+UZ4erUM4iP-DwX=OMsu022fM9yqhYM4OYXPWRGxbg@mail.gmail.com>
Subject: Re: recompiling ipfw source-code
From: Sami Halabi <sodynet1@gmail.com>
To: "M. V." <bored_to_death85@yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
Cc: freebsd-ipfw <freebsd-ipfw@freebsd.org>,
 "Andrey V. Elsukov" <bu7cher@yandex.ru>
X-BeenThere: freebsd-ipfw@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: IPFW Technical Discussions <freebsd-ipfw.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ipfw>,
 <mailto:freebsd-ipfw-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ipfw>;
List-Post: <mailto:freebsd-ipfw@freebsd.org>
List-Help: <mailto:freebsd-ipfw-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw>,
 <mailto:freebsd-ipfw-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Oct 2012 13:15:34 -0000

Hi,
that would work only if you didn't cmpile IPFW into kernel.

after you finish compile & install the module you'll need to reload the
module (maybe kldunload ipfw and then kldload ipfw & after that load the
rules -if default to deny)

Cheers,
Sami


On Tue, Oct 23, 2012 at 3:10 PM, M. V. <bored_to_death85@yahoo.com> wrote:

> hi Andrey,
>
> that did work. thank you so much for your quick reply.
>
>
> Cheers.
>
>
>
>
> >________________________________
> > From: Andrey V. Elsukov <bu7cher@yandex.ru>
> >To: M. V. <bored_to_death85@yahoo.com>
> >Cc: freebsd-ipfw <freebsd-ipfw@freebsd.org>
> >Sent: Tuesday, October 23, 2012 12:30 PM
> >Subject: Re: recompiling ipfw source-code
> >
> >On 23.10.2012 12:46, M. V. wrote:
> >> hi everybody,
> >>
> >> I'm trying to make some changes in ipfw code. but my problem is, when
> >> i make a change in ipfw code in "/usr/src/sys/netinet/ipfw" , this
> >> folder doesn't have any Makefile, and i have to compile "/usr/src"
> >> instead, which takes a lot of time (almost 20 minutes everytime i try
> >> to compile), and this makes what i'm trying to do almost impossible.
> >>
> >>
> >> so i wanted to ask, does anyone know an easier or quicker way to
> >> compile ipfw (/usr/src/sys/netinet/ipfw), or maybe a simpler Makefile
> >> or a shell to do this.
> >
> >You can build only ipfw kernel module from the /usr/src/sys/modules/ipfw.
> >
> >--
> >WBR, Andrey V. Elsukov
> >
> >
> >
> _______________________________________________
> freebsd-ipfw@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
>



-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert
FreeBSD SysAdmin Expert



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