[ale] ifup problems, possible IPv6

Michael H. Warfield mhw at wittsend.com
Thu Feb 3 14:21:06 EST 2005


On Thu, 2005-02-03 at 14:05 -0500, Geoffrey wrote:
> Michael H. Warfield wrote:
> 
> > 	The protocol module puts hooks too deep into the kernel protocol
> > stacks.  It can not be removed at run time.  If you managed it somehow,
> > by overriding the reference counter, I would expect random acts of
> > terrorism to ensue.

> I meant remove it prior to it being loaded. Add it to rc prior to 
> network stuff.  My suggestion was simply a sure way it wouldn't get 
> loaded again.

	Still won't work.  The module is being loaded because one of the
network utilities has referenced it (I've never taken the trouble to
track down exactly which one but "ifconfig" and "ip" are my prime
suspects) and the kernel kmodload'ed it.  By the time the module itself
is done initializing, it's already added link local addresses to all the
active interfaces and hooked into the routing tables.  Plus, there's
what ever that utility (presumably ifconfig, but I don't know for sure)
is doing or has done.  So, it's being referenced as long as that utility
has that open socket and it's going to have multiple references by the
time the utility is done.  Game over.  I seriously doubt you could even
"modload ipv6 ; rmmod ipv6" with no references in-between on a kernel
with no network interfaces configured and be able to get away with it.

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com  
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list