/etc/allow Test

Pathname Matching Test

We test the slash problem in path matching. The test is :

/test/pathmatch/noslash
	~*
/test/pathmatch/slash/
	~*
in "/etc/allow"

enter noslash room.

  1. protected
  2. protected
  3. allowed to enter

enter slash room

  1. protected
  2. protected
  3. allowed to enter

IP address Matching Test

The test is :
/test/pathmatch/room1
	*.*.*.*[13579]
/test/pathmatch/room2
	~*.*.*.*[13579]
/test/pathmatch/room1/more1
	*.*.*[0-4].*
/test/pathmatch/room1/more2
	*.*.*[5-9].*
/test/pathmatch/room2/more1
	*.*.*[0-4].*
/test/pathmatch/room2/more2
	*.*.*[5-9].*

Enter the room. You may be accepted or rejected depending on your IP.

  1. room1
  2. room2