<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:16:36 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-1434] Update Wireshark support for LNet and Lustre</title>
                <link>https://jira.whamcloud.com/browse/LU-1434</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There was work previously done to create two plugins for Wireshark to decode LNet and Lustre headers.  That work is started in lustre/contrib as the files packet-lnet.c and packet-lustre.c.&lt;/p&gt;

&lt;p&gt;Attempting to build these plugins revealed that Wireshark&apos;s API for dissectors has changed such they no longer build/run.  Also, the Lustre plugin had a few syntax errors so I am not sure if it ever worked.&lt;/p&gt;

&lt;p&gt;This feature request is to do the following upgrades to Wireshark support:&lt;/p&gt;

&lt;p&gt;1- Get both plugins building under the latest 1.4.x version of Wireshark (will be backwards compatible with 1.2.x).&lt;br/&gt;
2- Move them to a wireshark subdirectory of lustre/contrib to isolate them better&lt;br/&gt;
3- Create a Makefile to build and install the plugins (one does not exist today).&lt;br/&gt;
4- If possible, automate the building of the plugins if the build system has the Wireshark source package installed.&lt;/p&gt;

&lt;p&gt;A Wiki page should also be created to provide instruction on how to use Wireshark to look at LNet and Lustre packets.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14546">LU-1434</key>
            <summary>Update Wireshark support for LNet and Lustre</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="doug">Doug Oucharek</assignee>
                                    <reporter username="doug">Doug Oucharek</reporter>
                        <labels>
                            <label>LNet</label>
                            <label>tools,</label>
                    </labels>
                <created>Wed, 23 May 2012 17:53:15 +0000</created>
                <updated>Tue, 19 Jun 2018 02:30:45 +0000</updated>
                            <resolved>Fri, 15 Mar 2013 14:16:47 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="46788" author="adilger" created="Fri, 19 Oct 2012 13:40:58 +0000"  >&lt;p&gt;Doug, what is the current stat of this code?  It would probably be useful to submit these patches to Gerrit for inspection and landing.&lt;/p&gt;

&lt;p&gt;Ideally we would hook the files into the Lustre build system and generate (possibly a separate RPM) binaries for Wireshark plugins for the kernels we support.  This would probably need the build nodes to install the &quot;wireshark devel&quot; packages, and have a configure check to detect whether the headers/libraries are installed.&lt;/p&gt;</comment>
                            <comment id="46798" author="doug" created="Fri, 19 Oct 2012 18:50:33 +0000"  >&lt;p&gt;Here is the current state of Wireshark support:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;All changes I have made to date are on a Git branch on my system ready to be pushed into Gerrit.  I was holding off until we are past 2.3 being the master.  We are beyond that point so I should be pushing soon.&lt;/li&gt;
	&lt;li&gt;I have done a Makefile for manual building so people can build it for themselves when they want.&lt;/li&gt;
	&lt;li&gt;There is a README in the directory explaining how to build and install the new Wireshark plugins.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;There are, however, some problems:&lt;/p&gt;

&lt;p&gt;1- The decoding for Lustre is HUGE.  The one file is over 12K lines of code.  The file for LNet decoding is just over 1K lines.  This is going to be a very long and painful code inspection.&lt;br/&gt;
2- I updated all code for our coding guidelines so it passes our Git hooks.  As such, Gerrit will flag all lines as changed.  That means about 13.5K lines will go into Gerrit in one patch.&lt;br/&gt;
3- I&apos;ve been able to verify the LNet decoding, but the Lustre decoding does have some errors.  I&apos;m sure it is over 80% correct, but there is a need for making corrections.  I don&apos;t have the background to do this (nor is there a protocol map I can rely on for this).  I need the help of the Lustre experts to verify the Lustre decoding and make the necessary changes.&lt;/p&gt;

&lt;p&gt;So, what I&apos;d like to do is this:&lt;/p&gt;

&lt;p&gt;1- Submit what I have so far to Gerrit to start the review/correction process.&lt;br/&gt;
2- Have some of the experts at the Lustre protocol install the patch, build Wireshark support, and do captures to verify that the decoding is correct.  When errors are found, send corrections to me and I&apos;ll accumulate them into a new updated patch.&lt;br/&gt;
3- When the decoding is correct and happy, do a final patch to automate the build process tying this into our build system.&lt;/p&gt;

&lt;p&gt;Thoughts?&lt;/p&gt;</comment>
                            <comment id="46801" author="adilger" created="Sat, 20 Oct 2012 02:19:30 +0000"  >&lt;p&gt;Do we really need to convert every line of code to the new format?  In other words, is every line modified just to convert it to proper coding style, or is in needed due to changes in wireshark?  Changing every line in the file in one patch will make it messy to inspect.&lt;/p&gt;

&lt;p&gt;Is it possible to land the LNet decoding first, then do the Lustre decoding in a separate patch to reduce the patch size?  This would also allow landing the working LNet code first while the Lustre code is being fixed.&lt;/p&gt;

&lt;p&gt;As to the Lustre decoding, the RQF structures should describe all of the RPC formats in use today. I agree that getting all of the structures decoded would be great, but given that the current code is completely broken I wonder if 80% decoding is better than zero, and we can work on fixing this incrementally?&lt;/p&gt;</comment>
                            <comment id="46943" author="doug" created="Thu, 25 Oct 2012 18:40:01 +0000"  >&lt;p&gt;I&apos;ve created a new patch with only the changes needed to build and run the wireshark LNet and Lustre decoders under wireshark-1.6.8.  &lt;/p&gt;

&lt;p&gt;This is under change: &lt;a href=&quot;http://review.whamcloud.com/4393&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4393&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are known issues with the Lustre decoding which will need to be ironed out over time. Future improvements/fixes will be done under new patches.&lt;/p&gt;</comment>
                            <comment id="49396" author="utopiabound" created="Tue, 18 Dec 2012 13:04:43 +0000"  >&lt;p&gt;Update to Makefile to compile code in the directory and install depending on user id:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4851&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4851&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Updates to lustre parsing code that I needed to decode lustre packets while investigating &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2277&quot; title=&quot;Text file busy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2277&quot;&gt;&lt;del&gt;LU-2277&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4852&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4852&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51098" author="utopiabound" created="Thu, 24 Jan 2013 09:25:29 +0000"  >&lt;p&gt;Further lustre parsing enhancements&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/5155&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5155&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="55997" author="jlevi" created="Wed, 10 Apr 2013 13:17:23 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,5520&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5520&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="15956">LUDOC-91</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                            <subtask id="17206">LU-2632</subtask>
                            <subtask id="15924">LU-1915</subtask>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvnjb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7627</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>