On Tuesday 20 December 2005 16:03, Adam KOSA wrote:
Hi all,
google and the wiki search option did not answer my question, it may be too dumb to ask. i have the following huntgroup contents:
aclip Calling-Station-Id == 127.0.0.1 aclip Calling-Station-Id == 127.0.0.11 aclip Calling-Station-Id == 10.61.11.17 aclip Calling-Station-Id == 10.61.13.41 ... aclip Calling-Station-Id == 10.61.14.10 aclip NAS-Port-Type == Async
for restricting the logins to our cisco devices. what i'm looking for is the ability to use 127.0.0.0/24 or 127.0.0.1-255 instead of the first two lines. the above / and - syntax did not work. is this possible? what doc am i missing?
See "man 5 users" and look at the =~ operator. Match on the first 3 octets of the IP address and it should have the desired effect. Kevin Bonner