LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2011, 08:55 AM   #1
shanky
Member
 
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
adding patch


hii i need to add a mesh support patch to my wireshark.can anybody tell me the steps involved.
Thanks
 
Old 10-19-2011, 10:56 AM   #2
phaemon
Member
 
Registered: Jul 2011
Posts: 40

Rep: Reputation: 5
Do you? The page at http://o11s.org/trac/wiki/HOWTO says that their mesh patches have now been incorporated into Wireshark. Maybe you just need a newer version?
 
Old 10-20-2011, 01:27 AM   #3
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
yes i did google it before posting but in some links i have read that it is not yet perfect or something like..nevertheless can you guys tell me the steps involved.
thanks
 
Old 10-20-2011, 04:54 AM   #4
phaemon
Member
 
Registered: Jul 2011
Posts: 40

Rep: Reputation: 5
Just get the right version of the source code that matches the patch you have, put the patch in the same directory as the file you want to patch and then do (where patchfile.txt is the name of your patch file):
Code:
patch -p0 < patchfile.txt
That's it! Well, obviously you'll need to compile and install the code as well...
 
Old 10-20-2011, 04:59 AM   #5
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
Thank you for the info..Can you tell where can i get the source code for my version??
wireshark website? google? soory a little new to this stuff..i googled it but dint get any source code..

Last edited by shanky; 10-20-2011 at 05:06 AM.
 
Old 10-20-2011, 05:43 AM   #6
phaemon
Member
 
Registered: Jul 2011
Posts: 40

Rep: Reputation: 5
Which version is it for? What patch did you get?
 
Old 10-20-2011, 05:58 AM   #7
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
using wireshark 1.3.2 and got the mesh support patch for this version from this link http://o11s.org/patches/wireshark/
 
Old 10-20-2011, 06:14 AM   #8
phaemon
Member
 
Registered: Jul 2011
Posts: 40

Rep: Reputation: 5
That is *really* old; from 2009. As in, I don't think it's even available any more! My current version of Wireshark is 1.6.2, and the "old" stable version they have for download is 1.4.x!

I just opened http://o11s.org/files/mesh_traffic.cap with my version of Wireshark and it seems to parse it fine. I think you're reading outdated info that says it can't read mesh traffic. Have you actually tried it?
 
Old 10-20-2011, 06:18 AM   #9
phaemon
Member
 
Registered: Jul 2011
Posts: 40

Rep: Reputation: 5
Actually, I found it at http://www.wireshark.org/download/sr...-1.3.2.tar.bz2

...if you really want to just try it out. You'd still be better off with a new version though.
 
Old 10-20-2011, 06:29 AM   #10
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
i did download that version and installed it in my system and opened some captured files ..but it doesnt read the mesh packets hence i wanted to patch...In my wireshark it shows Malformed packets meaning probably it doesnt understand mesh packets...so will it work out on the latest version??
i am unable to send you a .pcap file ..it says invalid file..thought you could check it out on your version.
 
Old 10-20-2011, 06:46 AM   #11
phaemon
Member
 
Registered: Jul 2011
Posts: 40

Rep: Reputation: 5
Are you saying you tried 1.6.2 and it couldn't open your pcap file? Can you open http://wiki.wireshark.org/SampleCapt...rget=mesh.pcap with it?
 
Old 10-20-2011, 06:53 AM   #12
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
no no ..i hav tried 1.3.2 ..i thought i would send you my .pcap file which i generated and you could check it up whether 1.6.2 understands mesh packets..but it doesnt allow me to attach saying an invalid file..could you give me your email id ..i can forward you the .pcap files, when i get back home.sorry for the trouble but would be of great help to me..but do you also know how should i add the patch to 1.3.2 ,would try that in the meantime..
Thanks a lot!!
 
Old 10-20-2011, 06:59 AM   #13
phaemon
Member
 
Registered: Jul 2011
Posts: 40

Rep: Reputation: 5
Well, 1.3.2 won't work: that's why there's a patch for it! You just need to extract the source, copy the patch into that directory and then apply it the way I said above.

But just download the new version. That'll work without all the fuss and there are no doubt other features and bug fixes that have been added.

If you want me to test your pcap file, just upload it to http://www.4shared.com/ and send me the link and I'll try it.
 
Old 10-20-2011, 07:01 AM   #14
phaemon
Member
 
Registered: Jul 2011
Posts: 40

Rep: Reputation: 5
What Linux distro are you using that has such an old version of Wireshark anyway?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding scsi support to kernel for scanport sq2030 scanner (ppscsi patch) jzimm0007@msn.com Linux - Kernel 5 07-05-2008 01:52 PM
Adding network filter extension "time" patch(iptables) psandeepnair1985 Fedora 1 04-24-2008 11:48 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-21-2004 12:14 AM
Adding my patch to network layer eshwar_ind *BSD 2 02-18-2004 01:20 AM
Error with sound after recompiling kernel and adding acpi patch pele_smk Slackware 3 01-04-2004 06:09 AM


All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration