Mausezahn compiling under Yocto/ppc

37 views
Skip to first unread message

Clayton Davis

unread,
May 10, 2013, 5:25:23 PM5/10/13
to netsn...@googlegroups.com
I am glad to report that Mausezahn cross-compiles successfully to ppc under the Yocto project.   There are some endianness issues (IP addresses/Ethertypes in reverse order), but the bulk of MOPS functions seem to work correctly.  I have not gotten around to building the rest of netsniff-ng, but we plan on using trafgen and possibly others for an internal test appliance at my company.  The libcli interface to mz is exactly what we need.  Is there any chance that mz will be moved into the main github repo soon?  What is the best way right now to submit patches for mz?

Thanks,
Clayton Davis
ADTRAN

Daniel Borkmann

unread,
May 10, 2013, 5:36:36 PM5/10/13
to netsn...@googlegroups.com, Clayton Davis
On 05/10/2013 11:25 PM, Clayton Davis wrote:
> I am glad to report that Mausezahn cross-compiles successfully to ppc under
> the Yocto project. There are some endianness issues (IP
> addresses/Ethertypes in reverse order), but the bulk of MOPS functions seem
> to work correctly. I have not gotten around to building the rest of
> netsniff-ng, but we plan on using trafgen and possibly others for an
> internal test appliance at my company. The libcli interface to mz is

Great to hear! The man-pages should tell you everything you need, but in case
of questions, don't hesitate to ask.

> exactly what we need. Is there any chance that mz will be moved into the
> main github repo soon? What is the best way right now to submit patches
> for mz?

In general for submitting patches, there's a document here:

https://github.com/borkmann/netsniff-ng/blob/master/SubmittingPatches

To cut it short: it's the same process as submitting patches to the kernel
if you have already done that. We also accept git pull requests.

Probably I'll open an extra single stable branch for mausezahn or a sort-of
staging area in the toolkit so that we can take patches from you. As we have
taken this project over, you might have seen that the code quality of mz is
quite bad, so we probably plan to rewrite it from scratch and thus fully
integrate it into the main repository since it's a very useful tool.

So you can send patches either to Tobias or me via email, for instance. You
can export them via git-format-patch(1).

Daniel Borkmann

unread,
May 13, 2013, 9:23:22 AM5/13/13
to netsn...@googlegroups.com, Clayton Davis
On 05/10/2013 11:36 PM, Daniel Borkmann wrote:
> On 05/10/2013 11:25 PM, Clayton Davis wrote:
>> I am glad to report that Mausezahn cross-compiles successfully to ppc under
>> the Yocto project. There are some endianness issues (IP
>> addresses/Ethertypes in reverse order), but the bulk of MOPS functions seem
>> to work correctly. I have not gotten around to building the rest of
>> netsniff-ng, but we plan on using trafgen and possibly others for an
>> internal test appliance at my company. The libcli interface to mz is
>
> Great to hear! The man-pages should tell you everything you need, but in case
> of questions, don't hesitate to ask.
>
>> exactly what we need. Is there any chance that mz will be moved into the
>> main github repo soon? What is the best way right now to submit patches
>> for mz?

I've just created a staging area and moved the code there into the main repo, also
integrated mausezahn into the main build process.

Thus, if you have patches against that code, feel free to send them to us as
mentioned in the previous mail. I will write a man page for mausezahn very soon
as well.

After the code has reached a good enough quality, will will be moved from staging
into the root folder.
Reply all
Reply to author
Forward
0 new messages