[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New port: freenet6 client
- To: ports@openbsd.org
- Subject: Re: New port: freenet6 client
- From: Hugo Villeneuve <harpagon@jwales.EINTR.net>
- Date: Wed, 4 Sep 2002 23:39:50 -0400
- Content-Disposition: inline
- References: <20020825222417.GD3080@yumi.fraktured.net> <Pine.BSO.4.44.0208252244430.12949-100000@th.bofh.lm.ro>
- User-Agent: Mutt/1.2.5.1i
On Sun, Aug 25, 2002 at 10:46:45PM +0001, Thorsten Glaser wrote:
>
> However, I made a better port, with a howto and a waaay better script,
> at http://mitglied.lycos.de/tygs/ports/net/
>
> If someone cares, I'll attach it and send it to the list.
>
> This port is in collaboration of three people, and works in -current.
>
--- template/openbsd.sh.orig Thu Aug 22 13:41:12 2002
+++ template/openbsd.sh Wed Sep 4 23:02:38 2002
@@ -96,6 +96,8 @@
Display 1 "Router configuration"
Display 1 "Kernel setup"
+ ExecNoCheck $route add -net -inet6 $TSP_PREFIX:: -prefixlen $TSP_PREFIXLEN ::1 -reject
+
Exec $sysctl -w net.inet6.ip6.forwarding=1 # ipv6_forwarding enabled
Exec $sysctl -w net.inet6.ip6.accept_rtadv=0 # routed must disable any router advertisement incoming
Freenet6 gives you a /48 prefix but the script acknowledge only one
/64 out of it. That route command acknowledge the reminder of the
/48 so that nice host unreachable messages get sent instead of
routing loops.
Altough, I didn't use your port of your personnal version of freenet6
tspc [It's not patch against the original version, like I expected
an OpenBSD port to be.]. But I look at it when debugging the
openbsd.sh script shipped with freenet6 0.9.6 original tar ball.
[It's the only thing that doesn't work well on OpenBSD from the
original version.]
I know noting so someone should test or tell me I'm wrong.
--
Hugo Villeneuve <hugo@EINTR.net>
http://EINTR.net/