Issues configuring SASL on Ubuntu 14 LTS

Jesse Bowling jessebowling at gmail.com
Tue May 27 20:23:10 EDT 2014


Much different results using 3.0.6.rc2:

# /usr/local/sbin/argus -F /etc/argus.conf                                                                                                                                                       
argus[49290]: looking for plugins in '/usr/lib64/sasl2', failed to open directory, error: No such file or directory
argus[49290]: 27 May 14 20:13:44.194462 started
argus[49290]: 27 May 14 20:13:44.199882 ArgusGetInterfaceStatus: interface eth0 is up
argus[49290]: 27 May 14 20:13:48.003224 ArgusAuthenticateClient: Error generating mechanism list

Oddly, the libsasl2-2 package does not seem to include ‘/usr/lib64/sasl2’...I’m scouring the nets for instructions on generic SASL configuration on Ubuntu 14, but coming up short...Is this an issue on the Ubuntu/SASL side, or the argus side?

# dpkg -L libsasl2-2
/.
/usr
/usr/lib
/usr/lib/sasl2
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
/usr/share
/usr/share/doc
/usr/share/doc/libsasl2-2
/usr/share/doc/libsasl2-2/README.configure-options
/usr/share/doc/libsasl2-2/README.Debian
/usr/share/doc/libsasl2-2/copyright
/usr/lib/x86_64-linux-gnu/libsasl2.so.2
/usr/share/doc/libsasl2-2/NEWS.Debian.gz
/usr/share/doc/libsasl2-2/changelog.Debian.gz

# ldd /usr/local/sbin/argus 
        linux-vdso.so.1 =>  (0x00007fff4a9fa000)
        libpcap.so.0.8 => /usr/lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f19af385000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f19af167000)
        libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f19aef4b000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f19aec45000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f19aea2c000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f19ae665000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f19af5cd000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f19ae461000)

Cheers,

Jesse

On May 27, 2014, at 12:12 PM, Carter Bullard <carter at qosient.com> wrote:

> Hey Jesse,
> Well, seems that SASL isn’t happy at all.
> Does an earlier version of argus run, such as 3.0.6.rc2 or rc3 ??
> (just to get a grounding on whether its your SASL installation or argus).
> 
> Carter
> 
> On May 27, 2014, at 11:42 AM, Jesse Bowling <jessebowling at gmail.com> wrote:
> 
>> Sure thing; Wall of text below...
>> 
>> Cheers,
>> 
>> Jesse
>> 
>> May 27 11:15:04 thog argus[44295]: 27 May 14 11:15:04.900563 started
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.904404 ArgusEstablishListen(561, 0x7fff04b85170) binding: any:561 family: 2
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.904621 ArgusEstablishListen(0x1f61010, 0x7fff04b85170) returning 3
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.904917 SASL path ??C
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.907087 ArgusInitOutput() done
>> May 27 11:15:04 thog argus[44295]: 27 May 14 11:15:04.907295 started
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.907486 ArgusCloneSource(0x7ff91d294010) returning 0x7ff91c47c010
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.907810 clearArgusDevice(0x7ff91c47c010) returning
>> May 27 11:15:04 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:04.916181 ArgusOutputProcess(0x1f61010) starting
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.917023 ArgusOpenInterface() pcap_open_live(eth0) returned 0x1f70070
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.917146 Arguslookup_pcap_callback(1) returning 0x40ed85
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.917169 ArgusOpenInterface(0x7ff91c47c010, 'eth0') returning 1
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.918258 ArgusInitModeler(0x7ff91e666010) done
>> May 27 11:15:04 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:04.918311 ArgusInitSource(0x7ff91c47c010) returning 1
>> May 27 11:15:04 thog argus[44295]: argus[44295.00f7ff17f97f0000]: 27 May 14 11:15:04.919130 ArgusGetPackets (0x7ff91c47c010) starting
>> May 27 11:15:04 thog argus[44295]: argus[44295.00f7ff17f97f0000]: 27 May 14 11:15:04.919370 setArgusInterfaceStatus(0x7ff91c47c010, 1)
>> May 27 11:15:04 thog argus[44295]: 27 May 14 11:15:04.919544 ArgusGetInterfaceStatus: interface eth0 is up
>> May 27 11:15:04 thog argus[44295]: argus[44295.00f7ff17f97f0000]: 27 May 14 11:15:04.919966 ArgusGetPackets: interface eth0 is selectable
>> May 27 11:15:04 thog argus[44295]: argus[44295.00f7ff17f97f0000]: 27 May 14 11:15:04.920103 setArgusInterfaceStatus(0x7ff91c47c010, 1)
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.125120 ArgusCheckClientStatus() new client
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.125297 ArgusNewSocket (7) returning 0x7ff91e625010
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.125349 ArgusCheckClientStatus: SASL enabled
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.125664 ArgusCheckClientStatus: wrote 128 bytes to client
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.127701 ArgusSaslLog Other: Internal Error -4 in ../../lib/server.c near line 1753
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.127776 ArgusSaslLog Other: Internal Error -4 in ../../lib/server.c near line 1753
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.127824 ArgusSaslLog Other: Internal Error -4 in ../../lib/server.c near line 1753
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.127866 ArgusAuthenticateClient: Error generating mechanism list
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128168 ArgusShutDown(1)
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128223 argus() [0x40527a]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128264 argus() [0x426f22]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128304 argus() [0x42078f]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128343 argus() [0x41adda]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128382 argus() [0x41b27c]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128420 /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7ff91e192182]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128460 /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7ff91d99e30d]
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.128515 ArgusShutDown(SIGHUP)#012
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.128596 ArgusCloseSource(0x7ff91d294010) starting
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.128643 ArgusCloseSource(0x7ff91c47c010) starting
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128779 ArgusShutDown(0)
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128842 argus() [0x40527a]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128884 argus() [0x40da63]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128933 argus() [0x40f041]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.128974 /usr/lib/x86_64-linux-gnu/libpcap.so.0.8(+0x59ba) [0x7ff91e3ad9ba]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.129015 /usr/lib/x86_64-linux-gnu/libpcap.so.0.8(+0x9dce) [0x7ff91e3b1dce]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.129054 argus() [0x413c91]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.129092 /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7ff91e192182]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.129130 /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7ff91d99e30d]
>> May 27 11:15:13 thog argus[44295]: argus[44295.00f7ff17f97f0000]: 27 May 14 11:15:13.129169 ArgusShutDown(Normal Shutdown)#012
>> May 27 11:15:13 thog argus[44295]: argus[44295.00f7ff17f97f0000]: 27 May 14 11:15:13.129210 ArgusShutDown() returning
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.131104 ArgusProcessQueue (0x7ff910003d80, 96) Shuting Down with 2 records
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.132305 ArgusProcessQueue (0x7ff9100035d0, 96) Shuting Down with 33 records
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.132371 ArgusProcessQueue (0x7ff910000f60, 96) Shuting Down with 180 records
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.132457 ArgusModelerCleanUp (0x7ff91e666010) returning
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.132538 ArgusCloseModeler(0x7ff91e666010) Total Sends 229
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.132584 ArgusCloseSource(0x7ff91c47c010) done
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.132626 ArgusModelerCleanUp (0x7ff91e778010) returning
>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.132687 ArgusCloseModeler(0x7ff91e778010) Total Sends 0
>> May 27 11:15:13 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:13.132742 ArgusSourceProcess: ArgusGetPackets[0] done
>> May 27 11:15:13 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:13.132790 main() ArgusSourceProcess returned: shuting down
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.132865 ArgusShutDown(0)
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.132908 argus() [0x40527a]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.132949 argus() [0x407bae]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.132988 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ff91d8c4ec5]
>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.133029 argus() [0x4043b9]
>> May 27 11:15:13 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:13.133068 ArgusShutDown(Normal Shutdown)#012
>> May 27 11:15:13 thog argus[44295]: argus[44295.40977f1ef97f0000]: 27 May 14 11:15:13.133109 ArgusShutDown() returning
>> On May 27, 2014, at 11:39 AM, Carter Bullard <carter at qosient.com> wrote:
>> 
>>> Hey Jesse,
>>> You are the 2nd site to report this in the last week.
>>> This is a SASL error, not an argus error, but argus maybe
>>> causing it, so need to investigate further.
>>> 
>>> When you run with -D3, do you get a lot of SASL messages ??
>>> Can you send those to the list ??
>>> 
>>> Carter
>>> 
>>> On May 27, 2014, at 11:28 AM, Jesse Bowling <jessebowling at gmail.com> wrote:
>>> 
>>>> Hello,
>>>> 
>>>> Today I’m attempting to set up an argus instance using SASL on Ubuntu 14 LTS, and I encounter the following issue when trying to connect to the argus instance:
>>>> 
>>>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.125349 ArgusCheckClientStatus: SASL enabled
>>>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.125664 ArgusCheckClientStatus: wrote 128 bytes to client
>>>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.127701 ArgusSaslLog Other: Internal Error -4 in ../../lib/server.c near line 1753
>>>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.127776 ArgusSaslLog Other: Internal Error -4 in ../../lib/server.c near line 1753
>>>> May 27 11:15:13 thog argus[44295]: argus[44295.0077081df97f0000]: 27 May 14 11:15:13.127824 ArgusSaslLog Other: Internal Error -4 in ../../lib/server.c near line 1753
>>>> May 27 11:15:13 thog argus[44295]: 27 May 14 11:15:13.127866 ArgusAuthenticateClient: Error generating mechanism list
>>>> 
>>>> Both argus and client configured --with-sasl. I’ve not configured SASL on Ubuntu before, so it could certainly be an issue with that, but the 'Internal Error -4’ is unnerving...
>>>> 
>>>> What does "Internal Error -4” indicate in argus? Anyone else set up SASL auth with Ubuntu that could share their steps?
>>>> 
>>>> Cheers,
>>>> 
>>>> Jesse
>>> 
>> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20140527/2dcb2c52/attachment.sig>


More information about the argus mailing list