setArgusDevice: pcap_findalldevs SIOCGIFFLAGS: bonding_masters: No such device

Carter Bullard carter at qosient.com
Mon Oct 22 14:58:15 EDT 2012


Hey John,
You can comment out the uses of pcap_findalldevs(), and get farther.

If you're using argus-3.0.7.1, comment out these lines, and lets look to see how far you get.

==== //depot/argus/argus/argus/ArgusSource.c#103 - /Volumes/Users/carter/argus/argus/argus/ArgusSource.c ====
730,732c730,732
<       if (type == ARGUS_LIVE_DEVICE)
<          if (pcap_findalldevs(&alldevs, errbuf) == -1)
<             ArgusLog (LOG_ERR, "setArgusDevice: pcap_findalldevs %s\n", errbuf);
---
> //    if (type == ARGUS_LIVE_DEVICE)
> //       if (pcap_findalldevs(&alldevs, errbuf) == -1)
> //          ArgusLog (LOG_ERR, "setArgusDevice: pcap_findalldevs %s\n", errbuf);


Carter

On Oct 21, 2012, at 3:06 PM, John Jenkinson <jenkinsonjp at yahoo.com> wrote:

> 
> 
> have used argus without bonding 
> but added other services to the same machine that require bonding 
> so
> added bonding
> now those other services work, tcpdump works
> but argus now gives the error
> setArgusDevice: pcap_findalldevs SIOCGIFFLAGS:
> bonding_masters: No such device
> i've checked bonding_masters, etc. but can't see why i'm
> getting this error.
> setArgusDevice: pcap_findalldevs SIOCGIFFLAGS: bonding_masters: No such device
> not using an argus config file   all options
> on the command line.
> checked the archives and don't see this error mentioned. 
> 
> Centos 5.8
> /usr/local/sbin/argus -d -i bond0  -m -w /home/netlogs/router1/argus/argus.log -C  -s 1500 -U 1500 &
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4367 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20121022/d7e53861/attachment.bin>


More information about the argus mailing list