Hi,
I am currently using an NMS platform that is spaming AAA log during login and command execution. Is there a way to configure tac_plus-ng to ignore specific users/NAC/NAS to keep the logs clean? Could you show me a configuration example for this?
Best regards,
Hi,
I've added log filtering in 8f5db93bc65ef036fcbab0cd4e6f1d7cf99b296e a couple of minutes ago. Please git pull and rebuild.
log ... {
destination = ...
# filter = logfilter # pre-existing script/acl
filter { if (user =~ /^demo/) deny } # inline script
...
}
Cheers,
Marc
--
You received this message because you are subscribed to the Google Groups "Event-Driven Servers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to event-driven-ser...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/event-driven-servers/9ff5d12b-0e1f-4885-bb97-2517f9bbd377n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/event-driven-servers/c832c67c-bf3a-4ae9-8b4c-d9d4a23d7385%40googlemail.com.
Hi Thanh,
referencing unknown objects from a script won't work.
For matching the device name you can use
device.name =~ /^SP-NETWORK$/
Alternatively, you can put your "device SP-NETWORK" definition above the log-filter script.
client.name REGEX matching isn't supported, but putting the client net definition above the log-filter script should work, too.
Cheers,
Marc
To view this discussion visit https://groups.google.com/d/msgid/event-driven-servers/10d91cb2-7de1-4bb1-b006-fecf695750fen%40googlegroups.com.
Hi Marc,
Thanks for your help!
Moving the device block definition to the top works for me. However, I haven't been able to fully test all the related cases yet. I'll let you know if anything comes up.
Cheers,
To view this discussion visit https://groups.google.com/d/msgid/event-driven-servers/308d01d3-60a0-46c0-947b-de74c84ffdad%40googlemail.com.