Ticket #1934 (closed bug: fixed)

Opened 8 months ago

Last modified 6 months ago

tcpdump is broken.

Reported by: bga Owned by: axeld
Priority: normal Milestone: R1
Component: Network & Internet/Stack Version: R1 development
Cc: Blocked By:
Platform: x86 Blocking:

Description

Running tcpdump with any options results in it printint a line like this:

tcpdump:

After that, it exists immediately.

Change History

Changed 8 months ago by axeld

  • priority changed from normal to low

You're supposed to call it using the '-i' option like this: $ tcpdump -i /dev/net/ipro1000/0

When you don't specify anything, it's supposed to take the first interface, and that's obviously not working. I don't know why it doesn't print an error in this case; I think this might be a bug in tcpdump itself.

Changed 8 months ago by bga

As I said, tcpdump with any options just prints "tcpdump:" and exists. This includes:

tcpdump -i /dev/net/ipro1000/0

Changed 8 months ago by bga

I mean "exits", not "exists". :)

Changed 8 months ago by axeld

  • priority changed from low to normal

Ah, I thought that you wanted to say "without" instead. The problem I thought you meant is fixed in r24441. It didn't print an error because I didn't return one :-) "tcpdump" works fine here, and I can't reproduce this, if any error remains.

Changed 6 months ago by axeld

  • status changed from new to closed
  • resolution set to fixed

Looks like someone could still had problems... fixed by James Woodcock in r25601.

Note: See TracTickets for help on using tickets.