argus with sasl2 installation

Peter Van Epp vanepp at sfu.ca
Wed Mar 21 22:23:17 EDT 2007


On Wed, Mar 21, 2007 at 04:53:38PM -0400, Carter Bullard wrote:
> Found it, apply this not so simple patch.  Should work?
> Carter
> 
> ???
> On Mar 21, 2007, at 1:45 PM, Carter Bullard wrote:
> 
> >Hmmm, so appending "/lib" and "/include" to the distdir supplied
> >on the --with-sasl=distdir command option doesn't seem to be enough?
> >If I try to configure on a Fedora system with "--with-sasl=/usr", this
> >also fails.  OK, so the structure of the libraries on Fedora seem  
> >to be:
> >
> >   /usr/lib/libsasl2.so /usr/lib/libsasl2.so.2 /usr/lib/sibsasl2.so. 
> >2.0.22
> >
> > and in /usr/lib/sasl2
> >   all the real libraries for the methods.
> >
> >So do you see this same strategy, but in /usr/local/lib?
> >
> >Carter
> >

	Yep, thats what mine looks like too and applying the patch, 
building autoconf259 out of ports and then

test5# cd argus-3.0.0.rc.42
test5# autoconf259
test5# ./configure --with-sasl=/usr/local/
...
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking sasl/saslutil.h usability... yes
checking sasl/saslutil.h presence... yes
checking for sasl/saslutil.h... yes
checking for prop_get in -lsasl2... yes
checking for special C compiler options needed for large files... no
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ./common/Makefile
config.status: creating ./argus/Makefile
test5# make
### Making in /usr/local/src/argus-3.0.0.rc.42/common
...
gcc -O3 -I. -I/usr/local//include -I./../include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRUCT_ETHER_ADDR=1 -DHAVE_DECL_ETHER_HOSTTON=0 -DSIZEOF_LONG=4 -DHAVE_DN_EXPAND=1 -DHAVE_GSSAPI_H= -DARGUS_SASL=1 -DHAVE_PCAP_LIST_DATALINKS=1 -DHAVE_PCAP_SET_DATALINK=1 -DHAVE_PCAP_DATALINK_NAME_TO_VAL=1 -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION=1 -DHAVE_PCAP_BREAKLOOP=1 -DHAVE_PCAP_DUMP_FTELL=1 -DHAVE_TCP_WRAPPER=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG=1 -o ../bin/argus argus.o ArgusModeler.o ArgusSource.o ArgusUtil.o ArgusOutput.o ArgusUdp.o ArgusTcp.o ArgusIcmp.o ArgusIgmp.o ArgusEsp.o ArgusArp.o ArgusFrag.o ArgusAuth.o ArgusApp.o -L/usr/local//lib -lsasl2 -lpcap -lwrap  ../lib/argus_common.a -lm
### Done with /usr/local/src/argus-3.0.0.rc.42/argus
test5#

and we are at least compiled! Now to do the same to clients (will the same 
patch work there, guess I'll find out :-)), brush up on how to configure sasl 
and try it all out then get out the sniffer and see if it is encrypting (which
was my problem last time I tackled sasl on 2.0.6 :-)). 

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada



More information about the argus mailing list