[Aide] trim size of aide binary?

andre.lue-fook-sang at thomson.com andre.lue-fook-sang at thomson.com
Thu Jan 4 18:02:11 EET 2007


Did you already run strip on your production binary?

________________________________

From: aide-bounces at cs.tut.fi [mailto:aide-bounces at cs.tut.fi] On Behalf
Of Eric Webster
Sent: Thursday, January 04, 2007 8:52 AM
To: 'Aide user mailinglist'
Subject: Re: [Aide] trim size of aide binary?


Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-mmap             use mmap [default=check]
  --with-locale           use locale stuff
  --with-syslog-ident     syslog ident
  --with-syslog-facility  Specify syslog facility, see man syslog for
options
  --with-syslog-logopt    Specify syslog logopt, see man syslog for
options
  --with-syslog-priority  Specify syslog priority, see man syslog for
options
  --with-zlib             use zlib compression
  --with-curl             use curl for http,https and ftp backends
  --with-sun-acl          use ACL on solaris (no checking)
  --with-posix-acl        use POSIX ACLs (no checking)
  --with-selinux          use SELinux (no checking)
  --with-xattr            use xattr (no checking)
  --with-config-file=config-file
                          use config-file as the default config file
  --with-gnu-regexp       use the bundled GNU regexp library. use only
if
                          necessary
  --with-mhash            use libmhash, needed for hmacs [default=check]
  --with-gcrypt           use gcrypt library
  --with-confighmactype=TYPE
                          Hash type to use for checking config. Valid
values
                          are md5, sha1, sha256 and sha512.
  --with-confighmackey=KEY HMAC
                          hash key to use for checking config. Must be a
                          base64 encoded byte stream. Maximum string
length is
                          31 chars.
  --with-dbhmactype=TYPE  Hash type to use for checking db. Valid values
are
                          md5 and sha1.
  --with-dbhmackey=KEY HMAC
                          hash key to use for checking db. Must be a
base64
                          encoded byte stream. Maximum string lentgth is
31
                          chars.
  --with-initial-errors-to=URL
                          Where errors should go while checking config.
                          Default is stderr.
  --with-psql             use postgresql library for storing databases
  --with-audit            use audit library

 
It depends on what you are using. My guess is that the average
implementation wouldn't need curl or psql for example so you could do
without them, if you don't use selinux or xattr then you could also
disable those. I'm not sure how much it would reduce the file size for
you though.
 

Eric Webster
Enterprise Services
2CheckOut.com 

 


________________________________

	From: aide-bounces at cs.tut.fi [mailto:aide-bounces at cs.tut.fi] On
Behalf Of Wes Thomas
	Sent: Wednesday, January 03, 2007 6:26 PM
	To: aide at cs.tut.fi
	Subject: [Aide] trim size of aide binary?
	
	
	Hi,
	 
	I am trying to fit my database, config, and the aide binary on a
floppy disk. What are some options I can pass to ./configure to
significantly cut the size of the binary? If I lose about 150kB, I will
be able to fit my gzipped database on the disk. 
	 
	Also, a side question: is there a safe way to automate aide
checks for a single system? A cron job does not seem like a good idea.
	 
	Thanks,
	Wes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.tut.fi/pipermail/aide/attachments/20070104/2c36d396/attachment.html 


More information about the Aide mailing list