> I've done this this morning and found that all of a sudden natd and
> related stuff stopped working; it leads to a kernel panic whenever a
> machine inside natd tries to access the Internet.  IIRC, the kernel
> option IPDIVERT was documented to be incompatible in KAME LINT; maybe
> this should be documented in our LINT as well?

Thanks for checking.
I thought I should have fixed that, but there seems to be a
mistake.

> For now, I've reverted to my previous kernel (because my mom would get
> upset if the Internet gets inaccessible from her Win98 box), but if you
> give further direction, I can do some testing while she's off the
> computer. :-)

Could you please try following patch when she got tired of
computer. :-)

Index: ip_divert.c
===================================================================
RCS file: /home/ncvs/src/sys/netinet/ip_divert.c,v
retrieving revision 1.41
diff -u -r1.41 ip_divert.c
--- ip_divert.c 1999/12/22 19:13:20     1.41
+++ ip_divert.c 2000/01/08 09:27:00
@@ -297,7 +297,7 @@
                ipstat.ips_rawout++;                    /* XXX */
                error = ip_output(m, inp->inp_options, &inp->inp_route,
                        (so->so_options & SO_DONTROUTE) |
-                       IP_ALLOWBROADCAST | IP_RAWOUTPUT | IP_SOCKINMRCVIF,
+                       IP_ALLOWBROADCAST | IP_RAWOUTPUT,
                        inp->inp_moptions);
        } else {
                struct  ifaddr *ifa;




If the patch doesn't work, I would like to try same
configuration as yours.  In that case, could you please give
me some of your related configuration files if possible?

Yoshinobu Inoue


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to