packetdrill test gets stuck whenever I try and emulate the server.

44 views
Skip to first unread message

Leonie Philip

unread,
Jun 8, 2015, 3:13:22 PM6/8/15
to packe...@googlegroups.com
Hi,

I am new to packetdrill so please help me out and I apologize if the question is silly.

I am trying to execute the packetdrill test scripts, which were downloaded from gitHub.

However, when I try to execute the listen-incoming-syn-ack.pkt script, it gets stuck after the first inbound packet is injected.

Also is there a way i can run gdb with packetdrill ?

Thank you.

Neal Cardwell

unread,
Jun 8, 2015, 3:34:48 PM6/8/15
to Leonie Philip, packe...@googlegroups.com
On Mon, Jun 8, 2015 at 3:13 PM, Leonie Philip <leoniep...@gmail.com> wrote:
> Hi,
>
> I am new to packetdrill so please help me out and I apologize if the
> question is silly.

Great. No question is silly. :-)

> I am trying to execute the packetdrill test scripts, which were downloaded
> from gitHub.

Which URL, exactly? There are several forks of packetdrill on github.

> However, when I try to execute the listen-incoming-syn-ack.pkt script, it
> gets stuck after the first inbound packet is injected.

What platform and exact kernel version are you running?

What does "tcpdump -n -i any" (in another window) show?

> Also is there a way i can run gdb with packetdrill ?

Yes, you can use gdb, as you would expect, as long as you compile and
link with -g (assuming gcc tool chain). Remember gdb will need to be
running as root, just like packetdrill.

neal

>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "packetdrill" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to packetdrill...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Leonie Philip

unread,
Jun 8, 2015, 3:50:33 PM6/8/15
to packe...@googlegroups.com, leoniep...@gmail.com
Hi Neal !
So thrilled to be talking to you !

Ok so i am running packetdrill on Ubuntu. 
when i do a uname, the version i get is:- 3.13.0-51-generic.

when i do a tcpdump on another window i get multiple packet traces [ both incoming and outgoing] 

And the URL would be the one which said had an option to clone packetdrill or something like that. cant recall. sorry.

Neal Cardwell

unread,
Jun 8, 2015, 10:39:19 PM6/8/15
to Leonie Philip, packe...@googlegroups.com
On Mon, Jun 8, 2015 at 3:50 PM, Leonie Philip <leoniep...@gmail.com> wrote:
> Hi Neal !
> So thrilled to be talking to you !

I'm glad to hear from folks who are using packetdrill!

> Ok so i am running packetdrill on Ubuntu.
> when i do a uname, the version i get is:- 3.13.0-51-generic.

Since this is ubuntu, can you please reply with the output of the
following, to give details about your ubuntu release?

lsb_release -a

> when i do a tcpdump on another window i get multiple packet traces [ both
> incoming and outgoing]
>
> And the URL would be the one which said had an option to clone packetdrill
> or something like that. cant recall. sorry.

Can you please double-check that you are using the official Google
open-source packetdrill release at:

https://github.com/google/packetdrill

There are a number of forks, and I can't vouch for any of the others,
and don't have cycles to track down problems with any of the others.

Also, can you please provide the exact command line you are running?

thanks,
neal
Reply all
Reply to author
Forward
0 new messages