smbcmp: new tool to compare SMB traces
Subsystems (2)
Hi,
I've written a small utility to diff and compare SMB network captures. It's a simple python script that uses tshark to filter and dissect SMB packets, with a curses UI.
https://github.com/aaptel/smbcmp
There is a gif demo on there, if you're into that.
Enjoy,
Signature · 4 lines
Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
A message that is not in the archive (sent off-list or not yet received): [email protected]
This is a great idea - why don't we merge this into Samba git tree, so it can be packaged in one of the client/tools rpms?
Quoted 21 lines · Aurélien Aptel
Hi,
I've written a small utility to diff and compare SMB network captures. It's a simple python script that uses tshark to filter and dissect SMB packets, with a curses UI.
https://github.com/aaptel/smbcmp
There is a gif demo on there, if you're into that.
Enjoy,
--
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
Thanks, Steve
A message that is not in the archive (sent off-list or not yet received): CAH2r5mtox_==O1oWq1wik6_wgZ7o56JVNZ_wXcxx87fE79xsHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Hi Steve,
Quoted 2 lines · Steve French
This is a great idea - why don't we merge this into Samba git tree, so it can be packaged in one of the client/tools rpms?
I think it makes more sense to have a separate repo. I don't like to do the dance where I'm working on commit X but want the tool in the same tree at its latest version.
We have a package for openSUSE here [1], it should be simple to adapt for other distros.
1: https://build.opensuse.org/package/show/home:dmulder/smbcmp
Signature · 4 lines
Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Quoted 6 lines · Aurélien Aptel
Hi,
I've written a small utility to diff and compare SMB network captures. It's a simple python script that uses tshark to filter and dissect SMB packets, with a curses UI.
Quoted 6 lines
https://github.com/aaptel/smbcmp
There is a gif demo on there, if you're into that.
Enjoy,
Interesting. How easy is it to extend this for NFS?
Sachin Prabhu
A message that is not in the archive (sent off-list or not yet received): 1485943434.11784.23.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Hi Sachin,
Quoted 1 line · Sachin Prabhu
Interesting. How easy is it to extend this for NFS?
Pretty easy I would say, you just have to tweak a regex in smb_summaries() and smb_packet().
Signature · 4 lines
Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)