Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2000 17:58:19 -0400
From:      Bigwillie <mvanberk@optonline.net>
To:        freebsd-questions@freebsd.org
Subject:   Unable to compile kernel Part2 w/Fix
Message-ID:  <4.2.0.58.20000929175353.009f47f0@mail-hub.optonline.net>
In-Reply-To: <B14AF62CDA08D4118B8C00508B44A0B5154DC8@server02.belenus.co m>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey all.  I currently have ipfilter up and running.  What was causing the=20
problem was ipfilter itself and I was luck enough to come across a fix from=
=20
H.Schmalzbauer@belenus.com.  If anyone has the problem I encountered, use=20
this and all is well......:)


At 06:38 AM 9/29/00 , you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hello,
>
>Replace FreeBSD-4.0/ipv6-patch with the following and
>try again:
>
>*** ip6_input.c.orig    Sat Jul 15 03:14:34 2000
>- --- ip6_input.c       Fri Sep 22 12:32:53 2000
>***************
>*** 120,125 ****
>- --- 120,126 ----
>
>   extern struct domain inet6domain;
>   extern struct ip6protosw inet6sw[];
>+ extern int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int,=
 struct
>mbuf **));
>
>   u_char ip6_protox[IPPROTO_MAX];
>   static int ip6qmaxlen =3D IFQ_MAXLEN;
>***************
>*** 289,294 ****
>- --- 290,304 ----
>                 ip6stat.ip6s_badvers++;
>                 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_hdrerr);
>                 goto bad;
>+       }
>+
>+       if (fr_checkp) {
>+               struct  mbuf    *m1 =3D m;
>+
>+               if ((*fr_checkp)(ip6, sizeof(*ip6), m->m_pkthdr.rcvif,
>+                               0, &m1) || !m1)
>+                       return;
>+               ip6 =3D mtod(m =3D m1, struct ip6_hdr *);
>         }
>
>         ip6stat.ip6s_nxthist[ip6->ip6_nxt]++;
>*** ip6_output.c.orig   Sat Jul 15 03:14:35 2000
>- --- ip6_output.c      Fri Sep 22 12:32:05 2000
>***************
>*** 106,111 ****
>- --- 106,113 ----
>   #include <netinet6/ip6_fw.h>
>   #endif
>
>+ extern int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int,=
 struct
>mbuf **));
>+
>   static MALLOC_DEFINE(M_IPMOPTS, "ip6_moptions", "internet multicast
>options");
>
>   struct ip6_exthdrs {
>***************
>*** 787,792 ****
>- --- 789,803 ----
>                         ip6->ip6_src.s6_addr16[1] =3D 0;
>                 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst))
>                         ip6->ip6_dst.s6_addr16[1] =3D 0;
>+       }
>+
>+       if (fr_checkp) {
>+               struct  mbuf    *m1 =3D m;
>+
>+               if ((error =3D (*fr_checkp)(ip6, sizeof(*ip6), ifp, 1,=
 &m1))
>||
>+                   !m1)
>+                       goto done;
>+               ip6 =3D mtod(m =3D m1, struct ip6_hdr *);
>         }
>
>   #ifdef IPV6FIREWALL
>
>Cheers,
>
>Harry
>
>
>belenus GmbH
>Harald Schmalzbauer
>Sys/Net Admin
>Tel: +49 (89) 21979-120
>Fax: +49 (89) 21979-111
>www.belenus.com
>
>
>
> > -----Urspr=FCngliche Nachricht-----
> > Von: Bigwillie [mailto:mvanberk@optonline.net]
> > Gesendet: Freitag, 29. September 2000 10:39
> > An: Sam Wun
> > Cc: ipfilter@coombs.anu.edu.au
> > Betreff: Re: 3.4.10 & FBSD 4.1
> >
> >
> >
> > >Not sure whether your kernel config file is copy from
> > GENERIC. If you
> > >didn't copy form GENERIC before the modification, please do so.
> > >
> > >Sam.
> >
> > Well I copied from GENERIC to create a custom config file and
> > Im getting
> > the same results.....
> > I really dont want to reinstall and come to find out that its
> > not going to
> > fix the problem.  Anyone running ipfilter (3.4.9, 3.4.10)
> > with at least
> > FBSD 4.1????
> >
> > _________________________________________
> > Steiny's Studio
> > Pachyderm Productions
> > http://steiny.hypermart.net
> > mailto:info@steiny.hypermart.net
> >
> >
> >
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGP 6.5.2
>
>iQA/AwUBOdRjMVXEptsBus8cEQKQvwCgz4REsrw/sacmjaO7k0Xle34y+vEAnRtE
>icP0XWNPJN2wdlg5vjDShy+w
>=3DGZks
>-----END PGP SIGNATURE-----


_________________________________________
Steiny's Studio
Pachyderm Productions
http://steiny.hypermart.net
mailto:info@steiny.hypermart.net





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




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