"1.2.840.113554.1.2.2.3" => { SCLogDebug!("krb5-user-to-user-mech"); },
"1.3.6.1.4.1.311.2.2.10" => { SCLogDebug!("NTLMSSP"); have_ntlmssp = true; },
"1.3.6.1.4.1.311.2.2.30" => { SCLogDebug!("NegoEx"); },
- _ => { SCLogNotice!("unexpected OID {:?}", oid); },
+ _ => { SCLogDebug!("unexpected OID {:?}", oid); },
}
},
- _ => { SCLogNotice!("expected OID, got {:?}", se); },
+ _ => { SCLogDebug!("expected OID, got {:?}", se); },
}
}
},
true
},
None => {
- SCLogNotice!("NOT found");
+ SCLogDebug!("NOT found");
false
},
};
let mut malformed = false;
if data.len() == 0 {
- SCLogNotice!("weird: no DCERPC data"); // TODO
+ SCLogDebug!("weird: no DCERPC data"); // TODO
// TODO set event?
return false;
let tx = match state.get_dcerpc_tx(&hdr, &vercmd, dcer.call_id) {
Some(tx) => tx,
None => {
- SCLogNotice!("no tx");
+ SCLogDebug!("no tx");
return false; },
};
opnum: *mut libc::uint16_t)
-> libc::uint8_t
{
- SCLogNotice!("rs_smb_tx_get_dce_opnum: start");
+ SCLogDebug!("rs_smb_tx_get_dce_opnum: start");
match tx.type_data {
Some(SMBTransactionTypeData::DCERPC(ref x)) => {
if x.req_cmd == 1 { // REQUEST
}
},
None => {
- SCLogNotice!("not found for handle {:?}", file_handle);
+ SCLogDebug!("not found for handle {:?}", file_handle);
0 },
};
tx.request_done = true;
tx.response_done = self.tc_trunc; // no response expected if tc is truncated
- SCLogNotice!("SMB: TX RENAME created: ID {}", tx.id);
+ SCLogDebug!("SMB: TX RENAME created: ID {}", tx.id);
self.transactions.push(tx);
let tx_ref = self.transactions.last_mut();
return tx_ref.unwrap();
Ok("samr") => ("samr", true),
Err(_) => ("MALFORMED", false),
Ok(&_) => {
- SCLogNotice!("don't know {}", String::from_utf8_lossy(&n));
+ SCLogDebug!("don't know {}", String::from_utf8_lossy(&n));
("UNKNOWN", false)
},
}
None => (false, 0),
};
if last_done && id > 0 {
- SCLogNotice!("check_gap_resync2: TX {} is done post-GAP, mark all older ones complete", id);
+ SCLogDebug!("check_gap_resync2: TX {} is done post-GAP, mark all older ones complete", id);
self.ts_ssn_gap = false;
self.tc_ssn_gap = false;
self.close_non_file_txs(prior_max_id);
Ok("\\PIPE\\") => ("PIPE", true), // TODO not sure if this is true
Err(_) => ("MALFORMED", false),
Ok(&_) => {
- SCLogNotice!("don't know \"{}\"", String::from_utf8_lossy(&name));
+ SCLogDebug!("don't know \"{}\"", String::from_utf8_lossy(&name));
("UNKNOWN", false)
},
}
let (offset, file_fid) = match state.ssn2vecoffset_map.remove(&fid_key) {
Some(o) => (o.offset, o.guid),
None => {
- SCLogNotice!("SMBv1 READ response: reply to unknown request: left {} {:?}",
+ SCLogDebug!("SMBv1 READ response: reply to unknown request: left {} {:?}",
rd.len - rd.data.len() as u32, rd);
state.skip_tc = rd.len - rd.data.len() as u32;
return;
let found = match state.get_negotiate_tx(2) {
Some(_) => {
- SCLogNotice!("WEIRD, should not have NEGOTIATE tx!");
+ SCLogDebug!("WEIRD, should not have NEGOTIATE tx!");
true
},
None => { false },
let file_guid = match state.ssn2vecoffset_map.remove(&guid_key) {
Some(o) => o.guid,
_ => {
- SCLogNotice!("SMBv2 READ response: reply to unknown request");
+ SCLogDebug!("SMBv2 READ response: reply to unknown request");
Vec::new()
},
};
}
false
} else {
- SCLogNotice!("SMBv2 READ: status {}", &smb_ntstatus_string(r.nt_status));
+ SCLogDebug!("SMBv2 READ: status {}", &smb_ntstatus_string(r.nt_status));
false
}
},
true
},
_ => {
- SCLogNotice!("no tx found for {:?}", r);
+ SCLogDebug!("no tx found for {:?}", r);
false
},
};
let hdr = SMBCommonHdr::new(SMBHDR_TYPE_HEADER,
r.session_id, 0, r.message_id);
let vercmd = SMBVerCmdStat::new2_with_ntstatus(SMB2_COMMAND_IOCTL, r.nt_status);
- SCLogNotice!("TODO passing empty GUID");
+ SCLogDebug!("TODO passing empty GUID");
smb_read_dcerpc_record(state, vercmd, hdr, &[],rd.data);
} else {
let tx_key = SMBCommonHdr::new(SMBHDR_TYPE_HEADER,
SCLogDebug!("smb2_session_setup_response: tx {:?}", tx);
},
None => {
- SCLogNotice!("smb2_session_setup_response: tx not found for {:?}", r);
+ SCLogDebug!("smb2_session_setup_response: tx not found for {:?}", r);
},
}
}