Issue with Argus-3-0-6 server over CYGWIN (Windows XP)

Carter Bullard carter at qosient.com
Fri Jun 1 10:07:05 EDT 2012


Hey Cristian,
I apologize that I have not been in a position to test your problem yet.
I should have access to a windows machine on monday, and should be
able to test then.

Sorry for any inconvenience.

Carter

On May 29, 2012, at 1:45 PM, Carter Bullard wrote:

> Well, I'll work on this tomorrow, and try to figure out what happened to CYGWIN.
> Sorry for the delay.
> 
> Do send the email to the argus mailing list, rather than argus at qosient.com.
> I don't check that email queue very often, and rarely respond,
> 
> Carter
> 
> On May 29, 2012, at 1:40 PM, Cristian G. Farias wrote:
> 
>> Thanks Carter,
>>  
>> It don’t works
>>  
>> CTI4121 at 9XFMDG1 ~
>> $ argus -i 1 -r CM_mezclado.pcap -w salida.arg
>> argus: PID 7304: 29 May 12 14:36:56.234375 setArgusDevice: no interfaces
>>  
>> CTI4121 at 9XFMDG1 ~
>> $ argus -i 2 -r CM_mezclado.pcap -w salida.arg
>> argus: PID 9860: 29 May 12 14:37:22.593750 setArgusDevice: no interfaces
>>  
>> CTI4121 at 9XFMDG1 ~
>> $ argus -i 3 -r CM_mezclado.pcap -w salida.arg
>> argus: PID 480: 29 May 12 14:37:29.593750 setArgusDevice: no interfaces
>>  
>> CTI4121 at 9XFMDG1 ~
>> $ argus -i 4 -r CM_mezclado.pcap -w salida.arg
>> argus: PID 3208: 29 May 12 14:37:36.187500 setArgusDevice: no interfaces
>>  
>> CTI4121 at 9XFMDG1 ~
>> $ argus -i 0 -r CM_mezclado.pcap -w salida.arg
>> argus: PID 5340: 29 May 12 14:37:42.718750 setArgusDevice: no interfaces
>>  
>> C
>>  
>>  
>> De: Carter Bullard [mailto:carter at qosient.com] 
>> Enviado el: Martes, 29 de Mayo de 2012 02:15 p.m.
>> Para: Cristian G. Farias
>> Asunto: Re: Issue with Argus-3-0-6 server over CYGWIN (Windows XP)
>>  
>> Hey Cristian,
>> Sorry for the delayed response.  You need to send these to the argus mailing list to get
>> a reasonable response.  Did you try adding an interface number?
>>    ./bin/argus -i 1 -r …….
>>  
>> Carter
>>  
>> On May 15, 2012, at 4:22 PM, Cristian G. Farias wrote:
>> 
>> 
>> Carter,
>>  
>> I build the argus-3.0.4 in CYGWIN (Windows XP), but it show me the same output:
>>  
>> $ pwd
>> /argus-3.0.4
>>  
>> $ ./bin/argus -r /home/cti4121/CM_mezclado.pcap -w /home/cti4121/salida.arg
>> argus: PID 9892: 15 May 12 17:19:55.921875 setArgusDevice: no interfaces
>>  
>> Regards,
>>  
>>  
>> De: Carter Bullard [mailto:carter at qosient.com] 
>> Enviado el: Martes, 15 de Mayo de 2012 11:47 a.m.
>> Para: Cristian G. Farias
>> CC: argus at qosient.com
>> Asunto: Re: Issue with Argus-3-0-6 server over CYGWIN (Windows XP)
>>  
>> I'm sorry for the inconvenience, but I'll have to work on this tomorrow.
>> I didn't test the Cygwin stuff at all, and didn't realize we had broken it
>> before it went out.  
>>  
>> argus-3.0.4 should work fine, however, and the argus-clients-3.0.6 work
>> very well with that version of argus.
>>  
>> Carter 
>>  
>> On May 14, 2012, at 9:54 PM, Cristian G. Farias wrote:
>> 
>> 
>> 
>> Carter,
>> 
>> It showme the error and return me the prompt
>> 
>> $ pwd
>> /argus-3.0.6
>> 
>> $ ./bin/argus -Xr /home/cti4121/CM_mezclado.pcap -w /home/cti4121/salida.arg
>> argus: PID 8900: 14 May 12 22:53:06.203125 setArgusDevice: no interfaces
>> 
>> Regards,
>> 
>> 
>> -----Mensaje original-----
>> De: Carter Bullard [mailto:carter at qosient.com] 
>> Enviado el: Lunes, 14 de Mayo de 2012 06:27 p.m.
>> Para: Cristian G. Farias
>> CC: argus at qosient.com
>> Asunto: Re: Issue with Argus-3-0-6 server over CYGWIN (Windows XP)
>> 
>> Hey Christian,
>> To run this command you shouldn't need anything defined in the argus.conf
>> for the interface.  What does this do?
>> 
>>   ./bin/argus -Xr /home/cti4121/CM_mezclado.pcap -w /home/cti4121/salida.arg
>> 
>> Carter
>> 
>> 
>> On May 14, 2012, at 3:32 PM, Cristian G. Farias wrote:
>> 
>> 
>> 
>> Ok Carter,
>>>  
>>> I change the next line between range 1 to 5, in the file /etc/argus.conf
>>>  
>>> ARGUS_INTERFACE=1
>>>  
>>> But when executing argus command, it response in same way as below:
>>>  
>>> $ pwd
>>> /argus-3.0.6
>>>  
>>>  
>>> $ ./bin/argus -r /home/cti4121/CM_mezclado.pcap -w /home/cti4121/salida.arg
>>> argus: PID 6868: 14 May 12 16:28:50.203125 setArgusDevice: no interfaces
>>>  
>>>  
>>>  
>>> De: Carter Bullard [mailto:carter at qosient.com]
>>> Enviado el: Lunes, 14 de Mayo de 2012 04:01 p.m.
>>> Para: Cristian G. Farias
>>> CC: argus at qosient.com
>>> Asunto: Re: Issue with Argus-3-0-6 server over CYGWIN (Windows XP)
>>>  
>>> Hmmmm, yes, I see the problem.  I'll have to make some code changes to
>>> turn that back on.
>>>  
>>> There are 2 ways to specify interfaces in argus.conf or on the command line.
>>> either through the standard interface name, which you can find in the registry, or
>>> using the index number of the interface.  For example, in my argus.conf on my
>>> Windows 7 machine, the entry is:
>>>  
>>> ARGUS_INTERFACE=1
>>>  
>>> This is the wireless interface on my laptop.  Try using a few index numbers
>>> until I can turn on interface reporting again.
>>>  
>>> Carter
>>>  
>>>  
>>>  
>>> On May 14, 2012, at 2:06 PM, Cristian G. Farias wrote:
>>>  
>>>  
>>> Carter,
>>>  
>>> I have builded Argus Server 3.0.6 over CYGWIN (Windos XP)
>>> But when a executed argus.exe it it doesn't display the interface number (it does display nothing)
>>> I don't have /etc/argus.conf
>>>  
>>>  
>>> In some post I find you recommend to added this patch
>>> I replace the next line y argus_code.c:
>>>  
>>>         FD_ZERO (&readmask);
>>>  
>>> With the next code post for you:
>>>  
>>>        found = 0;
>>>        up = 0;
>>>        FD_ZERO(&ArgusReadMask);
>>>  
>>>        for (i = 0; i < src->ArgusInterfaces; i++) {
>>>                    if (src->ArgusInterface[i].ArgusPd && (pcap_fileno(src->ArgusInterface[i].ArgusPd) >= 0)) {
>>>                       found++;
>>>                       wait.tv_sec = 0; wait.tv_usec = 200000;
>>>                    }
>>>                    if (!found)
>>>                       break;
>>>        }
>>>  
>>>  
>>> But result in the same way
>>>  
>>>  
>>>  
>>>  
>>> $ pwd
>>> /argus-3.0.6
>>>  
>>> $ ./bin/argus
>>> argus: PID 7084: 14 May 12 15:05:27.953125 started
>>>  
>>>  
>>> $ gdb bin/argus
>>> GNU gdb (GDB) 7.3.50.20111026-cvs (cygwin-special)
>>> Copyright (C) 2011 Free Software Foundation, Inc.
>>> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>>> This is free software: you are free to change and redistribute it.
>>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>>> and "show warranty" for details.
>>> This GDB was configured as "i686-cygwin".
>>> For bug reporting instructions, please see:
>>> <http://www.gnu.org/software/gdb/bugs/>...
>>> Reading symbols from /argus-3.0.6/bin/argus...done.
>>> (gdb) run
>>> Starting program: /argus-3.0.6/bin/argus
>>> [New Thread 4012.0x1230]
>>> [New Thread 4012.0x1d10]
>>> [New Thread 4012.0x13d0]
>>> [New Thread 4012.0x11fc]
>>> [New Thread 4012.0x23cc]
>>> argus: PID 4012: 14 May 12 15:04:13.031250 started
>>> [New Thread 4012.0x14a8]
>>> [Inferior 1 (process 4012) exited normally]
>>> (gdb) Quit
>>> (gdb)
>>>  
>>>  
>>>  
>>>  
>>>  
>>>  
>>> Cristian,
>>>  
>>>  
>>>  
>>> *******************************************************************************************
>>>  
>>> Este mensaje y todos los archivos adjuntos a el son para uso exclusivo del destinatario y pueden contener informacion confidencial o propietaria, cuya divulgacion es sancionada por  ley.
>>>  
>>> Si usted recibio este mensaje erroneamente, por favor notifiquenos respondiendo al remitente, borre el mensaje original y destruya las copias (impresas o grabadas en cualquier medio magnetico) que pueda haber realizado del mismo.
>>>  
>>> Todas las opiniones contenidas en este mail son propias del autor del mensaje y no necesariamente coinciden con las de Claro o alguna de las empresas accionistas. La  publicacion, uso, copia e impresion total o parcial de este mensaje o documentos adjuntos queda prohibida.
>>>  
>>> *******************************************************************************************
>>>  
>>> This message and any attachments are for exclusive usage of an addressee and may contain confidential or privileged information whose disclosure is subject to penalty by law.
>>>  
>>> If you are not the addressee, please notify the sender by return e-mail, delete the original message and destroy any existing copy no matter if printed or recorded.
>>>  
>>> Any opinions contained in this e-mail are those of the author of the message and do not necessarily coincide with those of Claro or its shareholders. No part of this message or attachments may be used or reproduced in any manner whatsoever.
>>>  
>>>  
>>  
>>  
>>  
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20120601/cc02ec36/attachment.html>


More information about the argus mailing list