[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pf source code question
Thanks to all who answered, I was experiencing some conn problems. I am back
on the road and taking a look at yacc's site.
Thanks!
Martin.
----- Original Message -----
From: "Joshua b. Jore" <josh@greentechnologist.org>
To: "Ralph Forsythe" <rforsythe@centerone.com>
Cc: "Martin Marconcini" <megadeth@millic.com.ar>; <misc@openbsd.org>
Sent: Tuesday, February 26, 2002 9:53 PM
Subject: Re: pf source code question
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Perhaps Martin didn't realize that pfctl uses yacc to generate the parser.
> The pf grammar comes from the .y file and is turned into C source by yacc.
>
> Joshua b. Jore
> http://www.greentechnologist.org
>
> On Tue, 26 Feb 2002, Ralph Forsythe wrote:
>
> > Look at pfctl.
> >
> > On Tue, 26 Feb 2002, Martin Marconcini wrote:
> >
> > > Hi there:
> > >
> > > This question may sound a little weird. But could someone point me to
the
> > > piece of code that does the /etc/pf.conf parsing in pf? (I mean the
> > > routine/s that parses the file looking for rules).
> > >
> > > I am not a C wizard and It's rather difficult for me to find it.
> > >
> > > Thanks in advance.
> > >
> > > Martin.
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (OpenBSD)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8fC3vfexLsowstzcRApHuAJ9PJ3mKqoJCrWY/od8nS5v3NMzG0QCfUofu
> EdFZGV0Rm3OtY8kqwKi1uCs=
> =n4AY
> -----END PGP SIGNATURE-----