[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipforward_solaris.c rewrite.
From: |
Kunihiro Ishiguro |
Subject: |
Re: ipforward_solaris.c rewrite. |
Date: |
Mon, 10 Jun 2002 06:28:59 -0700 |
User-agent: |
Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.2.50 (powerpc-unknown-linux-gnu) MULE/5.0 (SAKAKI) |
>Hi, the existing ipforward_solaris.c had the following problems:
>
>- it only checked ip forwarding, it didn't change it (ie, "no ip forwarding"
>didn't work)
>- it didn't log errors with the open of the ioctl commands.
>- it supported IPv4 only.
>
>I've found information on the format of the ND_SET command and I've
>implemented it below.. I've also added support for ip forwarding support
>for IPv6 when it is enabled one day - for the moment those lines are
>harmless until HAVE_IPV6 is defined.
>
>I've tested the code on Solaris 9 SPARC, Solaris 8 x86, Solaris 2.6 x86 so
>far. The code was diffed against the current CVS tree version of
>ipfoward_solaris.c (10th June).
>
>The "no ip forwarding" command now works on solaris.
Thanks. I was searching for the way of ND_SET. I'll fix this problem.
--
Kunihiro Ishiguro