[OpenAFS] NetRestrict

Derrick J Brashear shadow@dementia.org
Wed, 14 Mar 2007 09:54:01 -0400 (EDT)


On Wed, 14 Mar 2007, Steve Devine wrote:

> Environment:
> Volserver is OpenAFS 1.4.2 built  2007-02-19
> OS is Suse 10.2
> Server has an Iscsi enclosure on a private ip address (192.168.0.9)
> I put NetRestrict file in place in /usr/afs/local/
> inside file I put one line "192.168.0.255" Hoping to cover entire subnet.

It doesn't work that way.

> restart bosserver  move a volume over and when I run
> vos listaddr it lists
> 192.168.0.9
>
> If I repeat the same expireiment  moving the volume off the server and 
> deleting the address from the VLDB then only explicitly declaring 
> 192.168.0.9, moving volume back on server, restarting bosserver it fails as 
> well.
> So does the NetInfo file have to exist as well to fix this.

Possibly, but I thought masking the address was sufficient.
Some relevant fixes are in 1.4.3