Nice! Now, probably we're not supposed to *actually* need to use that
command. A little strange that they made it unchangeable like that...
maybe it's because of that bug I filed where if you change it, your
network stops working after 10 minutes thanks to a helpful ARP bug.
So rather than fix the ARP bug, they just made it unchangeable?
That's some quality engineering there. Sigh.
I wonder if there's some way to make the ipfw fwd stuff work *without*
disabling the scopedroute feature.
I suppose we now have to add yet another workaround to sshuttle to
make it do the above commands *instead* of the sysctl commands, if it
turns out the sysctl is non-writable. Patches to do something like
that are welcome. Patches to fix things so we don't even need that
are even more welcome :)
Have fun,
Avery
I doubt we'll learn anything more exciting from that than "it doesn't
work." It really is caused by a kernel bug; too bad Apple doesn't
seem to care about kernel bugs. (Perhaps rationally so, if almost
nobody uses 'ipfw fwd' rules, but it's weird that they don't work *at
all* without this ugly sysctl hack.)
I guess I might have to give in and buy a copy of Lion this weekend.
Blah. Normally I wait a year before installing new versions of OSes
:) But luckily I have a separate work Macbook now so I'll be able to
continue testing 10.6 even if I install 10.7 at home.
Have fun,
Avery
bash-3.2# uname -a
Darwin haecceity.local 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18
12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64
bash-3.2# defaults read
"//Library/Preferences/SystemConfiguration/com.apple.Boot.plist"
{
"Kernel Flags" = "net.inet.ip.scopedroute=0 ";
}
bash-3.2# sysctl -a | grep scopedroute
kern.bootargs: net.inet.ip.scopedroute=0
net.inet.ip.scopedroute: 0
net.inet6.ip6.scopedroute: 1
Luis-- what's your "kern.bootargs"?
-ian.