Forum Discussion
NzYme_68513
Nimbostratus
Dec 19, 2011iRule to log MSRDP traffic to syslog server?
Kind of flying by the seat of pants here since I'm new to writing iRules. I'm trying to log RDP traffic and see if I can grab the user names of the people that have RDP sessions coming through the VIP. Once I have that I can start to manipulate the traffic. Am I on the right track?
when CLIENT_ACCEPTED {
Logging handle to syslog_pool
set hsl [HSL::open -proto UDP -pool pool_syslog]
Collect TCP Data
$rdpdata [TCP::collect]
HSL::send $hsl $rdpdata
}
3 Replies
Sort By
- hoolio
Cirrostratus
Hi, - NzYme_68513
Nimbostratus
How's this look to you guys? - JRahm
Admin
you can pre-parse to pull the username out and log that to save processing on the backside. That said, if the user doesn't submit their credentials at the initiation of the connection, you'll never see them.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects