Skip to content

Instantly share code, notes, and snippets.

@liveaverage
Created August 7, 2014 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liveaverage/22139f9adf9423143cf2 to your computer and use it in GitHub Desktop.
Save liveaverage/22139f9adf9423143cf2 to your computer and use it in GitHub Desktop.
Syslog-ng "listener" Python app that digest ISE RADIUS accounting syslog messages and generates CDA/AD-agent RADIUS accounting update requests
import mod_radacct
# Dictionary path (can be relative or absolute):
dictionary = "dictionary"
# If missing a user domain in the syslog msg, this is provided:
default_domain = "DefaultDomain"
# List of CDA identity maintainers. Can include legacy AD Agent servers:
servers = [ "cda1", "cda2", "ada1", "ada2" ]
# RADIUS secret:
secret = "yourRadiusSecret"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment