Opened 15 years ago

Closed 15 years ago

#22516 closed defect (fixed)

cdpr 2.3 not working and times out

Reported by: hthakkar@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: d2lil@…
Port: cdpr

Description

I installed the latest Macports 1.8.1 yesterday on 10.6.2 32-bit (mac mini)and also installed the port cdpr. %%sudo port install cdpr

After executing sudo cdpr and selecting en0 the operation times out without reporting any details on the packet, or trace of the cable. I have a valid network connection, since I used the same connection to download macports and browsing.

The cdpr on the fink build works fine from my 10.5 laptop. Any tips or work around to solve the above is supremely appreciated.

Change History (12)

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to markd@…
Port: 2.3 removed

comment:2 Changed 15 years ago by markd@…

It sounds like macports was installed on a new 10.6 install, but just to be sure was libpcap compiled on 10.6 (rather than 10.6 upgraded over 10.5 with libpcap installed)? I am not on 10.6 yet, but I thought libpcap was supposed to work on 10.6.

comment:3 in reply to:  1 Changed 15 years ago by hthakkar@…

I have installed macports on 10.6.2. I followed the tweak for wire shark and got that to work on the same. Incidentally wireshark needs libpacap. Since, wireshark was able to work I assumed libpcap works. I have not compiled libpcap for 10.6.2. I will appreciate any help that would make cdpr work.

Thanks, Hiten

comment:4 Changed 15 years ago by markd@…

If you installed wireshark from macports that should mean that libpcap is ok. Though I haven't upgraded to 10.6 yet I have contacted the developer to see if there are any tests that might help determine what the problem is with cdpr. If he responds I'll post whatever he says. I depend on cdpr and I'd hate to upgrade if it doesn't work. Thanks for reporting.

comment:5 in reply to:  description Changed 15 years ago by d2lil@…

I too am having this same problem. I am running 10.6.2 as well. To get cdpr, I have had to install Debian as a virtual machine and run it from there...very annoying. Would downgrading (if possible) fix this issue until it can be resolved? I would appreciate any help whatsoever as I use this on a daily basis for my job. Thanks.

comment:6 Changed 15 years ago by d2lil@…

Cc: d2lil@… added

Cc Me!

comment:7 Changed 15 years ago by markd@…

I communicated with the developer and he said:


It could be that there is an issue with the pcap filter (I've seen that fail on some implementation of libpcap.) In wireshark, you can try using the same filter and see if it catches the CDP packets, the filter that cdpr uses is:

"ether host 01:00:0c:cc:cc:cc and ether[20:2] = 0x2000"


Could someone who has Wireshark running on 10.6.2 run a capture with this filter and report whether you can see the CDP packets or not?

comment:8 Changed 15 years ago by d2lil@…

I installed Wireshark via MacPorts yesterday on 10.6.2 and did in fact capture CDP packets. However, cdpr still times out after the 5 minutes...looks like I'll be using Wireshark in the mean time now...

comment:9 in reply to:  8 Changed 15 years ago by d2lil@…

I didn't specify this in my above post but, I did use the filter "ether host 01:00:0c:cc:cc:cc and ether[20:2] = 0x2000" and was successful at capturing CDP packets with Wireshark. Sorry I didn't specify this in the above.

comment:10 Changed 15 years ago by markd@…

The developer is working on the problem and has even recently got a Mac. Hopefully there will be a 10.6 compatible cdpr soon. Please consider donating to him to recompense his hard work for this invaluable tool at the project page below.

http://www.monkeymental.com/

comment:11 Changed 15 years ago by markd@…

The developer released v2.4 which should fix the problem so I updated the port. I haven't tested it myself on 10.6 yet so please confirm if it works ok on that OS.

comment:12 Changed 15 years ago by markd@…

Resolution: fixed
Status: newclosed

It has been reported to work on 10.6 so I'll close the ticket.

Note: See TracTickets for help on using tickets.