apparmor/libraries/libapparmor
Steve Beattie f7ce93b27c libapparmor: add support for ip addresses and ports
Bugs: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/800826
  https://bugzilla.novell.com/show_bug.cgi?id=755923

This patch modifies the libapparmor log parsing code to add support
for the additional ip address and port keywords that can occur in
network rejection rules. The laddr and faddr keywords stand for local
address and foreign address respectively.

The regex used to match an ip address is not very strict, to hopefully
catch the formats that the kernel emits for ipv6 addresses; however,
because this is in a context triggered by the addr keywords, it should
not over-eagerly consume non-ip addresses. Said addresses are returned
as strings in the struct to be processed by the calling application.

Bug: https://launchpad.net/bugs/800826
2012-04-06 15:59:04 -07:00
..
doc Fix the return size of aa_getprocattr 2012-03-22 07:58:18 -07:00
m4 Fix aclocal warning. 2009-05-12 21:58:54 +00:00
src libapparmor: add support for ip addresses and ports 2012-04-06 15:59:04 -07:00
swig Auther: Michael (kensington) 2011-11-10 09:22:09 -08:00
testsuite libapparmor: add support for ip addresses and ports 2012-04-06 15:59:04 -07:00
AUTHORS libraries/libapparmor/: more license cleanups, adjust my email address 2011-02-23 14:02:45 -08:00
autogen.sh move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
ChangeLog move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
configure.in This patch moves the overall version definition of the software out of 2010-10-07 15:37:30 -07:00
COPYING.LGPL move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
INSTALL move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
libapparmor1.spec Bump versioning to AppArmor 2.5 2010-03-10 23:07:29 -08:00
Makefile.am move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
NEWS move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
README move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00

What little documentation exists is in src/aalogparse.h.  Please file bugs using http://bugzilla.novell.com under the AppArmor product.