[Coral-dev] Coral with DAG

Stephen Donnelly stephen.donnelly at endace.com
Mon Nov 7 19:51:36 PST 2011


I am not sure if the Coralreef developers are still maintaining the 
native DAG interface, possibly a bug has crept in.

As a work-around you might try using the libpcap interface in Coral 
instead. Download and compile libpcap from tcpdump.org; it should 
automatically detect and include DAG support if it is installed. Then 
build Coral with libpcap support, making sure it is finding and linking 
against your new libpcap version. You may need to modify LD_LIBRARY_PATH 
or remove the distribution libpcap version.

You can then capture from the libpcap 'dag0' interface in Coral (and 
other tools) instead of using the DAG native support. You will lose some 
time stamp resolution and the interface information with this method but 
it may be more robust.

Regards,

Stephen.

*From:*coral-dev-bounces at caida.org [mailto:coral-dev-bounces at caida.org] 
*On Behalf Of *Srinivas Krishnan
*Sent:* Sunday, 6 November 2011 4:37 p.m.
*To:* coral-dev at caida.org
*Subject:* [Coral-dev] Coral with DAG

We are trying to use Coral with our 10G DAG and compiled coral with DAG 
support. However, every time we try to use a utility it segfaults. Here 
is a sample:

  crl_rate -Cproto=ETHER /dev/dag0

Also a short trace of where it fails:

Program received signal SIGSEGV, Segmentation fault.

coral_dag_init (src=0x6420d0) at coral_type_dag.c:158

158             coral_cell_field_offset(iface0, PAYLOAD) = 18;

(gdb) bt

#0  coral_dag_init (src=0x6420d0) at coral_type_dag.c:158

#1  0x0000000000407638 in coral_open (src=0x6420d0) at coral_init.c:760

#2  0x0000000000403d99 in src_info (src=0x0) at crl_info.c:227

#3  0x0000000000404908 in main (argc=3, argv=0x7fffffffe738) at 
crl_info.c:352

Any suggestions on how to get around it ?


-srinivas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rommie.caida.org/pipermail/coral-dev/attachments/20111107/78ed4234/attachment.htm


More information about the Coral-dev mailing list