Re: [casper] Dropped packets during HASHPIPE data acquisition

2020-05-25 Thread Mark Ruzindana
Thanks for the additional suggestions. I will try those and let you know what happens. Mark On Mon, May 25, 2020 at 6:07 PM David MacMahon wrote: > A few more suggestions: > > 1) Enable core dumps. Usually you have to run "ulimit -c unlimited" and > for suid executables there's an extra step r

Re: [casper] Dropped packets during HASHPIPE data acquisition

2020-05-25 Thread David MacMahon
A few more suggestions: 1) Enable core dumps. Usually you have to run "ulimit -c unlimited" and for suid executables there's an extra step related to /proc/sys/fs/suid_dumpable. See "man 5 core" and "man 5 proc" for details. Once you have a core file, you can use gdb to examine the state of

Re: [casper] Dropped packets during HASHPIPE data acquisition

2020-05-25 Thread Mark Ruzindana
Thanks for the suggestions. I neglected to mention that I'm printing out the PKT_UDP_SIZE() and PKT_UDP_DST() right before the memcpy(), I take into account the 8 byte UDP header and the size and port are correct. When performing the memcpy(), I am taking into account that PKT_UDP_DATA() returns a

Re: [casper] Dropped packets during HASHPIPE data acquisition

2020-05-25 Thread David MacMahon
Hi, Mark, Sounds like progress! > On May 25, 2020, at 13:56, Mark Ruzindana wrote: > > I have been able to capture data with the first round of frames of the > circular buffer i.e. if I have 160 frames, I am able to capture packets of > frames 0 to 159 at which point right at the memcpy() in

Re: [casper] Dropped packets during HASHPIPE data acquisition

2020-05-25 Thread Mark Ruzindana
Hi Dave, Thanks for all of the help with the use of packet sockets. I will try to be concise, but as detailed as I can. So if you need more details, I will definitely provide them. I was able to install hashpipe with the suid bit set as you suggested previously. So far, I have been able to captu