SMB decoder output can now be stored in a file and does not have to go to stdout.

Added DUMPSMBLEVEL option which controls how much raw data output is produced. By default (level 0) no raw data output is produced at all. Level 1 will print the contents of the command data area. Level 2 will print the raw data used by the respective commands, with any management/control information stripped off.
This commit is contained in:
Olaf Barthel
2016-04-17 11:43:42 +02:00
parent c5e032af84
commit 8dfc8b695a
2 changed files with 600 additions and 540 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ extern void dump_smb(const char *file_name,int line_number,int is_raw_data,
const void * packet,int length,enum smb_packet_source_t smb_packet_source,
int max_buffer_size);
extern void control_smb_dump(int enable);
extern void control_smb_dump(int enable,int level,const char * file_name);
/*****************************************************************************/