Scheduled Policy not terminating existing session

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scheduled Policy not terminating existing session

L0 Member

Hello everybody,

 

I have a PA-220 and setup a rule that my children cannot access the internet after 8pm. This is working but only for new sessions. Existing sessions like TeamSpeak or BattleNet started before 8pm are still open. Can I somehow kill also existing sessions?

 

Thank you

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

whenever you commit and have 'session rematch' enabled, active sessions will be reevaluated against the current security policy

 

you could script an api call for a commit job after the schedule finishes, so any 'left open' sessions are killed too

session rematch.png

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

5 REPLIES 5

L1 Bithead

This is currently a feature request.

Only new sessions will be affected by the applied security policy rule. Existing sessions are not affected by the scheduled policy.

As a workaround, to enforce the scheduled Security Policy for existing sessions, you can do either of the following:
1. Set a shorter timeout value for the application.
2. Clear the session manually.

Best Regards,
Alaa Amarin

Focused Service Engineer | Palo Alto Networks | MSc, PCNSE
Working hours: Mon-Fri 09:00 – 18:00 CET (GMT+1)
Support Numbers: EU: +31 20 808 4600, International: +1 408 738 7799
https://support.paloaltonetworks.com

Cyber Elite
Cyber Elite

whenever you commit and have 'session rematch' enabled, active sessions will be reevaluated against the current security policy

 

you could script an api call for a commit job after the schedule finishes, so any 'left open' sessions are killed too

session rematch.png

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

Thank you!

I tried this and run a scheduled task from the server with the api key. Short after it the block is working!

Cyber Elite
Cyber Elite

Hi @aamarin ,

 

Could you share the FRID so that customers can have their SE vote for it?  Not clearing active sessions defeats the purpose of the scheduled rule.  The existing feature is partially implemented.  It really should be a feature fix.

 

Thanks,

 

Tom

Help the community: Like helpful comments and mark solutions.

Hello @TomYoung,

 

Yes for sure, FR ID: 9854.

 

Thanks,

Alaa

 

Best Regards,
Alaa Amarin

Focused Service Engineer | Palo Alto Networks | MSc, PCNSE
Working hours: Mon-Fri 09:00 – 18:00 CET (GMT+1)
Support Numbers: EU: +31 20 808 4600, International: +1 408 738 7799
https://support.paloaltonetworks.com
  • 1 accepted solution
  • 4770 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!