cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
499
Views
5
Helpful
5
Replies

Location Aware policies with CSA 6

watsoncisco
Level 1
Level 1

Hi,

Does anyone have experience with creating location aware policies in CSA? I'm trying to create a policy which contains 3 location aware rule modules.

Is there a limit on the number of location aware rule modules that can be a used in a policy?

The rules in the location aware modules aren't being applied even though the criteria are being met.

There doesn't seem to be much documentation out there. I followed: http://www.cisco.com/en/US/docs/solutions/Enterprise/Mobility/secwlandg20/csa_mobile_secure.html

5 Replies 5

tsteger1
Level 8
Level 8

The most common problem I've seen with this is when the host cannot determine it's location.

This is usually due to either connection specific DNS, DNS devolution or DNS domain misconfiguration.

I don't believe there is a limit to the number of location aware rule modules.

Tom

Thanks for the reply.

I was guessing that I may have trouble with DNS so am not including anything to do with DNS at this stage.

I currently have a policy that includes 2 location aware rule modules; On-LAN and Off-LAN.

The On-LAN policy is designed to block Firefox when a client is on LAN and the only system state variable is that the MC is reachable.

The Off-LAN policy is designed to block Internet Explorer when a client is Off LAN. The system state is effectively the reverse of the On-LAN system state in that the MC should not be reachable.

The On-LAN system state was included first and works, I then added the Off-LAN rule module but this system state isn't detected when the client is taken off the LAN.

I've even gone very explicit with the rule modules which hasn't worked i.e. On-LAN but not Off-LAN and Off-LAN but not On-LAN respectively.

Everything that can be has been set the same i.e. Log, Take Precedence over other rules.

Any ideas much appreciated.

MC Reachable is not that fast in detecting reachability in my experience, so have patience, and look in the registry under HKLM\SYSTEM\CurrentControlSet\Services\csacenter\Persistent\@SysState there the active system state sets will appear, much easier than looking in the MC. You should also use DNS instead, if your MC is down, then your machines on the LAN would still be in off-lan with your current ruleset.

I have actually developed a little tray utility that looks for those reg keys and displays a green/red or black flag in the tray so you can see if you are offline or online with regards to csa states. check it out here if you want : http://www.csaforum.dk/csamon20.zip

I had a look at this registry yesterday, the On-LAN state is detected and a registry key shows up for it under the path you mentioned but when the laptop goes Off-LAN the key disappears but is not replaced by an Off-LAN version.

There is a key for MC reachability and Ethernet Active also which disappears when I unplug the Ethernet cable to simulate Off-LAN.

Thanks very much for the link, I will have a look at that just now.

You can also look in the csalog.txt to see when MC Reachability state has been set to 'Not Reachable' and 'Reachable'.

It should change almost immediately.

I did a test where if the MC was unreachable, saving to USB was disabled and if it was reachable, you couldn't paste anything copied from Adobe Reader to the clipboard and both worked as expected.

Tom

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card