Sunteți pe pagina 1din 2

Correct Answer by hdashnau about 5 years 5 months ago

You can configure the ASA to send syslog messages when the user connects and
disconnects. There are a few kinds of "remote access" VPN like IPsec, webvpn/clientless,
anyconnect/ssl vpn client that you can track.
If you are using Clientless SSL VPN the syslogs usually begin with 716xxx. For example
the syslog for connect is 716001 and disconnect is 716002. There is a list of other
Clientless SSL VPN related messages here. You can view the specific content of each log
here:
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsg
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsgs.html#wp47
76913
If you are using SSL VPN Client (SVC1.x,AnyConnect 2.x) the syslogs usually begin
with 722xxx. For example, the syslog for connect is 722022 and disconnect is 722023.
There is a list of other SSL VPN Client related messages here
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsg
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsgs.html#wp47
78697
If you are using IPSec client VPN you can track a successfull connect with 713119
(indicates Phase1 complete), 713049 (indicates Phase2 complete) and disconnect with
113019. There is an additional ipsec syslog 713049 you might want to track for ipsec.
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsgs.html#wp47
75678
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsgs.html#wp47
75412http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsg
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsgs.html#wp47
69539
Here are some other helpful notes to keep in mind:
-You can tell what levels of logging you currently have on the ASA command line with
"show log"
-The logs that you send to a syslog server are controled with the "Trap logging"
commands. For example "logging trap informational" (level 6) or "logging trap alerts"
(level 1)

-You can tell what severity level (ie alerts, critical, errors,warnings, notifications,
informational, debugging) each of these logs through this link. As youll notice by
checking the link, the ones tracking log in or logout as I noted above are usually
informational (sev 6)):
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logsev
http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logsevp.html
-If you want to create a specific subset of syslogs to send to a particular device, you can
accomplish this with a logging class or a logging list:
http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/m

For example (logging class):


http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/m
http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/monitor.html#wp
1065253
logging class vpnc traf informational
For example (logging list):
http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/monitor.html#wp
1065512
logging list mylist message 722022
logging list mylist message 722023
logging trap mylist
Please remember to rate the posts that helped you and to mark the question as resolved if
youre question has been answered.
-heather

S-ar putea să vă placă și