[Snort-users] Building a static snort

Ralf Hildebrandt Ralf.Hildebrandt at ...3909...
Sun Sep 1 05:30:04 EDT 2002


On Sun, Sep 01, 2002 at 02:08:45PM +0200, Ralf Hildebrandt wrote:

> > btw, configure with OpenSSH has a --with-ldflags which passes flags
> > to the linker, can we have this option in snort's configure so that
> > we can easily build a static binary and therefore a more secure and
> > more easily chrooted snort.
> 
> CFLAGS=-static

And maybe LDFLAGS="-static":

CFLAGS="-static" LDFLAGS="-static" ./configure

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   Ralf.Hildebrandt at ...3909...
Charite Campus Virchow-Klinikum                 Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
Why you can't find your system administrators:
(s)he is hiding under a table so that (s)he will not be the one sitting for hours watching Ultrix reinstall from a single-speed CDROM because the users who inexplicably have root access have destroyed the filesystem *again* during a misguided attempt to "improve" /etc/rc by repartitioning the disk at boot time "so that it doesn't forget". -- Matt Bandy m-bandy at ...6767...





More information about the Snort-users mailing list