Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 17:08:31 -0500
From:      Jim Bloom <bloom@acm.org>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        jsegovia@cnc.una.py, freebsd-ipfw@FreeBSD.ORG
Subject:   Re: cpp change breaks ipfw
Message-ID:  <38B9A05F.57D2DD6D@acm.org>
References:  <200002271345.JAA29398@alpha.cnc.una.py> <38B98413.CB910261@acm.org> <20000227221631.A70300@relay.ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote:
> 
> On Sun, Feb 27, 2000 at 03:07:47PM -0500, Jim Bloom wrote:
> > Thanks for the hint.  Now all I need to do is modify ipfw to pass additional
> > arguments to the preprocessor.
> >
> What's wrong with
> echo cpp -traditional $@ > ipfw-preproc
> ipfw -p ipfw-preproc ...


That's what I did (including adding a chmod) as a temporary way to get
around the problem.  If that is the recommend solution to the problem,
please commit the following patch to ipfw.8.  This will at least alert
people to the fact that this problem exists in 4.0.  Thanks.

Jim Bloom
bloom@acm.org

Index: ipfw.8
===================================================================
RCS file: /users/ncvs/src/sbin/ipfw/ipfw.8,v
retrieving revision 1.62
diff -u -r1.62 ipfw.8
--- ipfw.8      2000/02/10 14:25:26     1.62
+++ ipfw.8      2000/02/27 21:58:12
@@ -1021,6 +1021,13 @@
 .Ar tee
 rule should not be immediately accepted, but should continue
 going through the rule list.  This may be fixed in a later version.
+.Pp
+The preprocessor
+.Xr cpp 1
+no longer works correctly. It requires the argument
+.Ar -traditional
+to avoid problems with spacing. There is no way for this program to
pass
+the argument directly.
 .Sh AUTHORS
 .An Ugen J. S. Antsilevich ,
 .An Poul-Henning Kamp ,


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




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