Scheduled Policy not terminating existing session

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

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

3 REPLIES 3

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!

  • 1 accepted solution
  • 3749 Views
  • 3 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!