Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
21 user(s) are online (18 user(s) are browsing Forums)

Members: 0
Guests: 21

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Strange AllocVec Problem
Just popping in
Just popping in


See User information
Hi all,

anyone interested to help me in figuring out what i'm doing wrong in my code?
I using AllocVecTags to get memory from the system. Normally it works, except suddenly a call to it fails, with the
following output via the serial port. The output is mainly from my program except for the kernel at the end, which
i cannot make any sens of.

[SMB2INFO ‘start’ Socket created0
[SMB2INFO ‘start’ Host name172.16.0.122
[SMB2INFO ‘start’ Host port445
[SMB2DEBUG ‘network’ Dump read packet structure at address 0x662121F8
[SMB2DEBUG ‘network’ |     Start address 0x66212210
[SMB2DEBUG ‘network’ |     End address 0x6622220Fcapacity 65535
[SMB2DEBUG ‘network’ |     Read address 0x66212210Write address 0x66212210available 0 bytes
[SMB2DEBUG ‘network’ |     Is Empty
[
SMB2INFO ‘start’ Host uuid06f4c066-fbe5-4409-866e-d8f0d87cad90
[SMB2INFO ‘start’ Connecting to ‘172.16.0.122:445’…
[SMB2DEBUG ‘start’ Socket connected
[SMB2DEBUG ‘start’ Configured keep Alive
[SMB2DEBUG ‘start’ Configured TCP No delay
[SMB2DEBUG ‘smbv2’ Negotiate Protocol Request:
[
SMB2DEBUG ‘smbv2’ |     SMB2 Header [Request]:
[
SMB2DEBUG ‘smbv2’ |         ProtocolId0xFE534D42
[SMB2DEBUG ‘smbv2’ |         Header Length64
[SMB2DEBUG ‘smbv2’ |         Credit Charge0
[SMB2DEBUG ‘smbv2’ |         Status0x00000000
[SMB2DEBUG ‘smbv2’ |             ServeritySucess
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |         CommandNegotiate protocol
[SMB2DEBUG 'smbv2' |         Credit requested126
[SMB2DEBUG 'smbv2' |         Flags0x00000000
[SMB2DEBUG 'smbv2' |         Next command/Chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x TODO
[SMB2DEBUG 'smbv2' |         Process Id00000000
[SMB2DEBUG 'smbv2' |         Tree Id00000000
[SMB2DEBUG 'smbv2' |         Session ID0x TODO
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x0024
[SMB2DEBUG 'smbv2' |         Fixed Length Part:  18
[SMB2DEBUG 'smbv2' |         Dynamic PartFalse
[SMB2DEBUG 'smbv2' |     Dialect Count1
[SMB2DEBUG 'smbv2' |     SecurityMode0x01
[SMB2DEBUG 'smbv2' |         Signing enabledTrue
[SMB2DEBUG 'smbv2' |         Signing requiredFalse
[SMB2DEBUG 'smbv2' |     Reserved0x00
[SMB2DEBUG 'smbv2' |     Capabilities0x00000000
[SMB2DEBUG 'smbv2' |         DFSFalse
[SMB2DEBUG 'smbv2' |         LEASINGFalse
[SMB2DEBUG 'smbv2' |         LARGE MTUFalse
[SMB2DEBUG 'smbv2' |         MULTI CHANNELFalse
[SMB2DEBUG 'smbv2' |         PERSISTENS HANDLESFalse
[SMB2DEBUG 'smbv2' |         DIRECTORY LEASINGFalse
[SMB2DEBUG 'smbv2' |         ENCYRPTIONFalse
[SMB2DEBUG 'smbv2' |     Client Guid66c0f406-e5fb-0944-866e-d8f0d87cad90
[SMB2DEBUG 'smbv2' |     smb2:
[
SMB2DEBUG 'smbv2' |         ClientStartTimeTODO
[SMB2DEBUG 'smbv2' |     smbVx311:
[
SMB2DEBUG 'smbv2' |         NegotiateContextOffset0x00000000
[SMB2DEBUG 'smbv2' |         NegotiateContextCount0x00
[SMB2DEBUG 'smbv2' |         Reserved0x00
[SMB2DEBUG 'smbv2' |     Dialect (0x202):
[
SMB2DEBUG 'network' NETWORK_DataBuffer_writeBytesBuffered 108 bytes
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send108
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Write to socket request
[SMB2DEBUG 'network' NETWORK_sendBytesTrying to send 108 bytes
[SMB2DEBUG 'network' NETWORK_sendBytesSuccessfull send 108 bytes?
[
SMB2DEBUG 'smbv2' SMB2_FreeFreed a packet
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 65535 bytes into 0x66212210 from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 260 bytes
[SMB2DEBUG 'network' NETWORK_processBytesstart packet 0x662121F8
[SMB2DEBUG 'smbv2' SMB2_ProcesserRemaining bytes 260
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame length is256
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame should be decodable
[SMB2DEBUG 'network' NETWORK_processBytesFound valid framedecodedablereset read pointer
[SMB2DEBUG 'smbv2' SMB2_DecoderCHECK ITFrame length is256
[SMB2INFO 'smbv2' SMB2_DecoderDecoding Negotiate Reponse Message 0
[SMB2DEBUG 'smbv2' Negotiate Protocol Response:
[
SMB2DEBUG 'smbv2' |     SMB2 Header [Response]:
[
SMB2DEBUG 'smbv2' |         ProtocolId0xFE534D42
[SMB2DEBUG 'smbv2' |         Header Length64
[SMB2DEBUG 'smbv2' |         Credit Charge0
[SMB2DEBUG 'smbv2' |         Status0x00000000
[SMB2DEBUG 'smbv2' |             ServeritySucess
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |         CommandNegotiate protocol
[SMB2DEBUG 'smbv2' |         Credit granted126
[SMB2DEBUG 'smbv2' |         Flags0x00000001
[SMB2DEBUG 'smbv2' |         This is a REQUEST
[SMB2DEBUG 'smbv2' |         This is a SYNC command
[SMB2DEBUG 'smbv2' |         This pdu is NOT a CHAINED command
[SMB2DEBUG 'smbv2' |         This pdu is NOT SIGNED
[SMB2DEBUG 'smbv2' |         This pdu does NOT contain a PRIORITY
[SMB2DEBUG 'smbv2' |         This is a normal operation
[SMB2DEBUG 'smbv2' |         This is NOT a REPLAY operatio
[SMB2DEBUG 'smbv2' |         Next command/chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x TODO
[SMB2DEBUG 'smbv2' |         Process Id00000000
[SMB2DEBUG 'smbv2' |         Tree Id00000000
[SMB2DEBUG 'smbv2' |         Session ID0x TODO
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x0041
[SMB2DEBUG 'smbv2' |         Fixed Length Part:  32
[SMB2DEBUG 'smbv2' |         Dynamic PartTrue
[SMB2DEBUG 'smbv2' |     SecurityMode0x03
[SMB2DEBUG 'smbv2' |         Signing enabledTrue
[SMB2DEBUG 'smbv2' |         Signing requiredTrue
[SMB2DEBUG 'smbv2' |     DialectRevision: (0x202):
[
SMB2DEBUG 'smbv2' |     NegotiateConextCount0
[SMB2DEBUG 'smbv2' |     ServerGuidb34367dc-ed2f-5946-9b95-281b16d93dea
[SMB2DEBUG 'smbv2' |     Capabilities0x00000000
[SMB2DEBUG 'smbv2' |         DFSFalse
[SMB2DEBUG 'smbv2' |         LEASINGFalse
[SMB2DEBUG 'smbv2' |         LARGE MTUFalse
[SMB2DEBUG 'smbv2' |         MULTI CHANNELFalse
[SMB2DEBUG 'smbv2' |         PERSISTENS HANDLESFalse
[SMB2DEBUG 'smbv2' |         DIRECTORY LEASINGFalse
[SMB2DEBUG 'smbv2' |         ENCYRPTIONFalse
[SMB2DEBUG 'smbv2' |     MaxTransactSize4194304
[SMB2DEBUG 'smbv2' |     MaxReadSize4194304
[SMB2DEBUG 'smbv2' |     MaxWriteSize4194304
[SMB2DEBUG 'smbv2' |     SystemTimeTODO
[SMB2DEBUG 'smbv2' |     ServerStartTimeTODO
[SMB2DEBUG 'smbv2' |     SecurityBufferOffset128 0x00000080
[SMB2DEBUG 'smbv2' |     SecurityBufferLength128
[SMB2DEBUG 'smbv2' |     NegotiateContextOffset0x00000000
[SMB2DEBUG 'smbv2' |     GSS Security BLOB Dump (Length 128 at 0x6D6B9484):
[
SMB2DEBUG 'smbv2' |          0x60 0x7E 0x06 0x06 0x2B 0x06 0x01 0x05   0x05 0x02 0xA0 0x74 0x30 0x72 0xA0 0x44  
[SMB2DEBUG 'smbv2' |          0x30 0x42 0x06 0x09 0x2A 0x86 0x48 0x82   0xF7 0x12 0x01 0x02 0x02 0x06 0x09 0x2A  
[SMB2DEBUG 'smbv2' |          0x86 0x48 0x86 0xF7 0x12 0x01 0x02 0x02   0x06 0x06 0x2A 0x85 0x70 0x2B 0x0E 0x03  
[SMB2DEBUG 'smbv2' |          0x06 0x06 0x2B 0x06 0x01 0x05 0x05 0x0E   0x06 0x0A 0x2B 0x06 0x01 0x04 0x01 0x82  
[SMB2DEBUG 'smbv2' |          0x37 0x02 0x02 0x0A 0x06 0x06 0x2B 0x05   0x01 0x05 0x02 0x07 0x06 0x06 0x2B 0x06  
[SMB2DEBUG 'smbv2' |          0x01 0x05 0x02 0x05 0xA3 0x2A 0x30 0x28   0xA0 0x26 0x1B 0x24 0x6E 0x6F 0x74 0x5F  
[SMB2DEBUG 'smbv2' |          0x64 0x65 0x66 0x69 0x6E 0x65 0x64 0x5F   0x69 0x6E 0x5F 0x52 0x46 0x43 0x34 0x31  
[SMB2DEBUG 'smbv2' |          0x37 0x38 0x40 0x70 0x6C 0x65 0x61 0x73   0x65 0x5F 0x69 0x67 0x6E 0x6F 0x72 0x65
[SMB2INFO 'smbv2' SMB2_ConsumerConsume Negotiate Reponse Message 0
[SMB2DEBUG 'gss-api' gss_init_sec_contextContext handle is NO_CONTEXT
[SMB2DEBUG 'mech' _gss_find_mechSearching for OID'1.3.6.1.5.5.2'...found1.3.6.1.5.5.2
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextNo input tokencreated initial token
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitOffer MechType '1.3.6.1.4.1.311.2.2.10'
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitCreated Mecthtype
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitConverted text to oid
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitmech list size 1
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitOptimistic mechanism '1.3.6.1.4.1.311.2.2.10'
[SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextbegin
[SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextNegotiate Message (Length 40):
[
SMB2DEBUG 'ntlm' |      0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00   0x01 0x00 0x00 0x00 0x35 0x82 0x08 0xE2  
[SMB2DEBUG 'ntlm' |      0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00  
[SMB2DEBUG 'ntlm' |      0x35 0x0E 0x00 0x00 0x00 0x00 0x00 0x0F
[SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextend
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextInitial token:
[
SMB2DEBUG 'spnego' Simple Protected Negotiation:
[
SMB2DEBUG 'spnego' |     TypeNegTokenInit
[SMB2DEBUG 'spnego' |     mechTypes1
[SMB2DEBUG 'spnego' |         MechType 1.3.6.1.4.1.311.2.2.10
[SMB2DEBUG 'spnego' |     reqFlagsNot present
[SMB2DEBUG 'spnego' |     mechTokenlength 40
[SMB2DEBUG 'spnego' |          0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00   0x01 0x00 0x00 0x00 0x35 0x82 0x08 0xE2  
[SMB2DEBUG 'spnego' |          0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |          0x35 0x0E 0x00 0x00 0x00 0x00 0x00 0x0F
[SMB2DEBUG 'spnego' |     mechListMICNot present
[SMB2INFO 'spnego' _SPNEGO_InitSecurityContextGot an init negotation token
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextProcessed token:
[
SMB2DEBUG 'spnego' Simple Protected Negotiation:
[
SMB2DEBUG 'spnego' |     TypeNegTokenInit
[SMB2DEBUG 'spnego' |     mechTypes1
[SMB2DEBUG 'spnego' |         MechType 1.3.6.1.4.1.311.2.2.10
[SMB2DEBUG 'spnego' |     reqFlagsNot present
[SMB2DEBUG 'spnego' |     mechTokenlength 40
[SMB2DEBUG 'spnego' |          0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00   0x01 0x00 0x00 0x00 0x35 0x82 0x08 0xE2  
[SMB2DEBUG 'spnego' |          0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |          0x35 0x0E 0x00 0x00 0x00 0x00 0x00 0x0F
[SMB2DEBUG 'spnego' |     mechListMICNot present
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextOutput buffer supplied
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextResponse token (Length 64)
[
SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextAllocVecTags succeeded
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextEncode token
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextEncoded DER represantaion of token:
[
SMB2DEBUG 'spnego' |      0xA0 0x3E 0x30 0x3C 0xA0 0x0E 0x30 0x0C   0x06 0x0A 0x2B 0x06 0x01 0x04 0x01 0x82  
[SMB2DEBUG 'spnego' |      0x37 0x02 0x02 0x0A 0xA2 0x2A 0x04 0x28   0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00  
[SMB2DEBUG 'spnego' |      0x01 0x00 0x00 0x00 0x35 0x82 0x08 0xE2   0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |      0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00   0x35 0x0E 0x00 0x00 0x00 0x00 0x00 0x0F
[SMB2DEBUG 'gss-api' gss_init_sec_contextResponse token (Length 74)
[
SMB2DEBUG 'gss-api' |     inner token size 64
[SMB2DEBUG 'gss-api' |     oid size 6
[SMB2DEBUG 'gss-api' |     complete payload size 74
[SMB2DEBUG 'gss-api' gss_init_sec_contextAllocation performed
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 0 value0x60
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 1 value
[SMB2DEBUG 'ans1' _ANS1_DER_encode_lengthpayload size fits in single byte
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 2 value after length encoding
 
[SMB2DEBUG 'ans1' _ANS1_DER_encode_lengthpayload size fits in single byte
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncoded DER represantaion of token:
[
SMB2DEBUG 'gss-api' |      0x60 0x48 0x06 0x06 0x2B 0x06 0x01 0x05   0x05 0x02 0xA0 0x3E 0x30 0x3C 0xA0 0x0E  
[SMB2DEBUG 'gss-api' |      0x30 0x0C 0x06 0x0A 0x2B 0x06 0x01 0x04   0x01 0x82 0x37 0x02 0x02 0x0A 0xA2 0x2A  
[SMB2DEBUG 'gss-api' |      0x04 0x28 0x4E 0x54 0x4C 0x4D 0x53 0x53   0x50 0x00 0x01 0x00 0x00 0x00 0x35 0x82  
[SMB2DEBUG 'gss-api' |      0x08 0xE2 0x00 0x00 0x00 0x00 0x28 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x28 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x00 0x35 0x0E 0x00 0x00 0x00 0x00   0x00 0x0F
[SMB2DEBUG 'gss-api' gss_init_sec_contextOutput buffer supplied
[SMB2DEBUG 'smbv2' createSessionSetupRequestsizeof SMB_Session_Setup_Request 92 ,SMB_Header 68 sizeof GSSToken 74 size of Direct Header 4
[SMB2DEBUG 'smbv2' Session Setup Request:
[
SMB2DEBUG 'smbv2' |     SMB2 Header [Request]:
[
SMB2DEBUG 'smbv2' |         ProtocolId0xFE534D42
[SMB2DEBUG 'smbv2' |         Header Length64
[SMB2DEBUG 'smbv2' |         Credit Charge0
[SMB2DEBUG 'smbv2' |         Status0x00000000
[SMB2DEBUG 'smbv2' |             ServeritySucess
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |         CommandSession setup
[SMB2DEBUG 'smbv2' |         Credit requested126
[SMB2DEBUG 'smbv2' |         Flags0x00000000
[SMB2DEBUG 'smbv2' |         Next command/Chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x TODO
[SMB2DEBUG 'smbv2' |         Process Id00000000
[SMB2DEBUG 'smbv2' |         Tree Id00000000
[SMB2DEBUG 'smbv2' |         Session ID0x TODO
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x0019
[SMB2DEBUG 'smbv2' |         Fixed Length Part:  12
[SMB2DEBUG 'smbv2' |         Dynamic PartTrue
[SMB2DEBUG 'smbv2' |     Flags0x00
[SMB2DEBUG 'smbv2' |     SecurityMode0x100
[SMB2DEBUG 'smbv2' |         Signing enabledFalse
[SMB2DEBUG 'smbv2' |         Signing requiredFalse
[SMB2DEBUG 'smbv2' |     Capabilities0x00000000
[SMB2DEBUG 'smbv2' |         DFSFalse
[SMB2DEBUG 'smbv2' |         LEASINGFalse
[SMB2DEBUG 'smbv2' |         LARGE MTUFalse
[SMB2DEBUG 'smbv2' |         MULTI CHANNELFalse
[SMB2DEBUG 'smbv2' |         PERSISTENS HANDLESFalse
[SMB2DEBUG 'smbv2' |         DIRECTORY LEASINGFalse
[SMB2DEBUG 'smbv2' |         ENCYRPTIONFalse
[SMB2DEBUG 'smbv2' |     Channel0x00000000
[SMB2DEBUG 'smbv2' |     Pervious Session IdTODO
[SMB2DEBUG 'smbv2' |     SecurityBufferOffset88
[SMB2DEBUG 'smbv2' |     SecurityBufferLength74
[SMB2DEBUG 'smbv2' |     GSS Security BLOB Dump (Length 74 at 0x696A9DDC):
[
SMB2DEBUG 'smbv2' |          0x60 0x48 0x06 0x06 0x2B 0x06 0x01 0x05   0x05 0x02 0xA0 0x3E 0x30 0x3C 0xA0 0x0E  
[SMB2DEBUG 'smbv2' |          0x30 0x0C 0x06 0x0A 0x2B 0x06 0x01 0x04   0x01 0x82 0x37 0x02 0x02 0x0A 0xA2 0x2A  
[SMB2DEBUG 'smbv2' |          0x04 0x28 0x4E 0x54 0x4C 0x4D 0x53 0x53   0x50 0x00 0x01 0x00 0x00 0x00 0x35 0x82  
[SMB2DEBUG 'smbv2' |          0x08 0xE2 0x00 0x00 0x00 0x00 0x28 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x28 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x35 0x0E 0x00 0x00 0x00 0x00   0x00 0x0F
[SMB2DEBUG 'network' NETWORK_DataBuffer_writeBytesBuffered 166 bytes
[SMB2DEBUG 'network' NETWORK_processBytesConsumed frame
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send166
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Write to socket request
[SMB2DEBUG 'network' NETWORK_sendBytesTrying to send 166 bytes
[SMB2DEBUG 'network' NETWORK_sendBytesSuccessfull send 166 bytes?
[
SMB2DEBUG 'smbv2' SMB2_FreeFreed a packet
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 65275 bytes into 0x66212314 from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 241 bytes
[SMB2DEBUG 'network' NETWORK_processBytesstart packet 0x662121F8
[SMB2DEBUG 'smbv2' SMB2_ProcesserRemaining bytes 241
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame length is237
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame should be decodable
[SMB2DEBUG 'network' NETWORK_processBytesFound valid framedecodedablereset read pointer
[SMB2DEBUG 'smbv2' SMB2_DecoderCHECK ITFrame length is237
[SMB2INFO 'smbv2' SMB2_DecoderDecoding SessionSetup Reponse Message 1
[SMB2ERROR 'smbv2' decodeSessionSetupResponseGoing to allaocte 241 bytes
[SMB2ERROR 'smbv2' decodeSessionSetupResponseGit it
[SMB2DEBUG 'smbv2' SessionSetup Protocol Response:
[
SMB2DEBUG 'smbv2' |     SMB2 Header [Response]:
[
SMB2DEBUG 'smbv2' |         ProtocolId0xFE534D42
[SMB2DEBUG 'smbv2' |         Header Length64
[SMB2DEBUG 'smbv2' |         Credit Charge0
[SMB2DEBUG 'smbv2' |         Status0xC0000016
[SMB2DEBUG 'smbv2' |             ServerityError
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |             MORE_PROCERSSING_REQUIRED
[SMB2DEBUG 'smbv2' |         CommandSession setup
[SMB2DEBUG 'smbv2' |         Credit granted126
[SMB2DEBUG 'smbv2' |         Flags0x00000001
[SMB2DEBUG 'smbv2' |         This is a REQUEST
[SMB2DEBUG 'smbv2' |         This is a SYNC command
[SMB2DEBUG 'smbv2' |         This pdu is NOT a CHAINED command
[SMB2DEBUG 'smbv2' |         This pdu is NOT SIGNED
[SMB2DEBUG 'smbv2' |         This pdu does NOT contain a PRIORITY
[SMB2DEBUG 'smbv2' |         This is a normal operation
[SMB2DEBUG 'smbv2' |         This is NOT a REPLAY operatio
[SMB2DEBUG 'smbv2' |         Next command/chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x TODO
[SMB2DEBUG 'smbv2' |         Process Id00000000
[SMB2DEBUG 'smbv2' |         Tree Id00000000
[SMB2DEBUG 'smbv2' |         Session ID0x TODO
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x0009
[SMB2DEBUG 'smbv2' |         Fixed Length Part:  4
[SMB2DEBUG 'smbv2' |         Dynamic PartTrue
[SMB2DEBUG 'smbv2' |     SessionFlags0x0000
[SMB2DEBUG 'smbv2' |         GuestFalse
[SMB2DEBUG 'smbv2' |         NullFalse
[SMB2DEBUG 'smbv2' |         EncryptFalse
[SMB2DEBUG 'smbv2' |     SecurityBufferOffset72
[SMB2DEBUG 'smbv2' |     SecurityBufferLength165
[SMB2DEBUG 'smbv2' |     GSS Security BLOB Dump (Length 165 at 0x678F82DC):
[
SMB2DEBUG 'smbv2' |          0xA1 0x81 0xA2 0x30 0x81 0x9F 0xA0 0x03   0x0A 0x01 0x01 0xA1 0x0C 0x06 0x0A 0x2B  
[SMB2DEBUG 'smbv2' |          0x06 0x01 0x04 0x01 0x82 0x37 0x02 0x02   0x0A 0xA2 0x81 0x89 0x04 0x81 0x86 0x4E  
[SMB2DEBUG 'smbv2' |          0x54 0x4C 0x4D 0x53 0x53 0x50 0x00 0x02   0x00 0x00 0x00 0x06 0x00 0x06 0x00 0x38  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x35 0x82 0x89 0x62 0xB0   0xEF 0x6D 0x36 0xCD 0x9D 0xFE 0xBA 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x48   0x00 0x48 0x00 0x3E 0x00 0x00 0x00 0x06  
[SMB2DEBUG 'smbv2' |          0x01 0xB0 0x1D 0x0F 0x00 0x00 0x00 0x54   0x00 0x4F 0x00 0x4D 0x00 0x01 0x00 0x06  
[SMB2DEBUG 'smbv2' |          0x00 0x54 0x00 0x4F 0x00 0x4D 0x00 0x02   0x00 0x06 0x00 0x54 0x00 0x4F 0x00 0x4D  
[SMB2DEBUG 'smbv2' |          0x00 0x03 0x00 0x12 0x00 0x74 0x00 0x6F   0x00 0x6D 0x00 0x2E 0x00 0x6C 0x00 0x6F  
[SMB2DEBUG 'smbv2' |          0x00 0x63 0x00 0x61 0x00 0x6C 0x00 0x04   0x00 0x0A 0x00 0x6C 0x00 0x6F 0x00 0x63  
[SMB2DEBUG 'smbv2' |          0x00 0x61 0x00 0x6C 0x00 0x07 0x00 0x08   0x00 0x80 0xC4 0x99 0xC6 0xA6 0x66 0xD8  
[SMB2DEBUG 'smbv2' |          0x01 0x00 0x00 0x00 0x00
[SMB2INFO 'smbv2' SMB2_ConsumerConsume SessionSetup Reponse Message 1
[SMB2DEBUG 'smbv2' SMB2_ConsumerGot GSS token from trying to continue negoation with server token
[SMB2DEBUG 'mech' _gss_find_mechSearching for OID'1.3.6.1.5.5.2'...found1.3.6.1.5.5.2
[SMB2DEBUG 'gss-api' gss_init_sec_contextContext is present and has mechansim 'iso.org.dod.internet.security.mechanism.snego'
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextInput token presentinitial token decoded
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextInitial token:
[
SMB2DEBUG 'spnego' Simple Protected Negotiation:
[
SMB2DEBUG 'spnego' |     TypeNegTokenResp
[SMB2DEBUG 'spnego' |     negState0x694B40D4
[SMB2DEBUG 'spnego' |     supportedMech1.3.6.1.4.1.311.2.2.10
[SMB2DEBUG 'spnego' |     responseToken134
[SMB2DEBUG 'spnego' |          0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00   0x02 0x00 0x00 0x00 0x06 0x00 0x06 0x00  
[SMB2DEBUG 'spnego' |          0x38 0x00 0x00 0x00 0x35 0x82 0x89 0x62   0xB0 0xEF 0x6D 0x36 0xCD 0x9D 0xFE 0xBA  
[SMB2DEBUG 'spnego' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x48 0x00 0x48 0x00 0x3E 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |          0x06 0x01 0xB0 0x1D 0x0F 0x00 0x00 0x00   0x54 0x00 0x4F 0x00 0x4D 0x00 0x01 0x00  
[SMB2DEBUG 'spnego' |          0x06 0x00 0x54 0x00 0x4F 0x00 0x4D 0x00   0x02 0x00 0x06 0x00 0x54 0x00 0x4F 0x00  
[SMB2DEBUG 'spnego' |          0x4D 0x00 0x03 0x00 0x12 0x00 0x74 0x00   0x6F 0x00 0x6D 0x00 0x2E 0x00 0x6C 0x00  
[SMB2DEBUG 'spnego' |          0x6F 0x00 0x63 0x00 0x61 0x00 0x6C 0x00   0x04 0x00 0x0A 0x00 0x6C 0x00 0x6F 0x00  
[SMB2DEBUG 'spnego' |          0x63 0x00 0x61 0x00 0x6C 0x00 0x07 0x00   0x08 0x00 0x80 0xC4 0x99 0xC6 0xA6 0x66  
[SMB2DEBUG 'spnego' |          0xD8 0x01 0x00 0x00 0x00 0x00
[SMB2DEBUG 'spnego' |     mechListMICNot present
[SMB2INFO 'spnego' _SPNEGO_InitSecurityContextGot an response negotation token
[SMB2DEBUG 'mech' _gss_find_mechSearching for OID'1.3.6.1.4.1.311.2.2.10'...found1.3.6.1.4.1.311.2.2.10
[SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextbegin
[SMB2INFO 'ntlm' _NTLM_InitSecurityContextProcessing message type 'CHALLENGE' as client
[SMB2DEBUG 'ntlm' _NTLMSSP_alloc_AuthenticateMessagebegin
[SMB2DEBUG 'ntlm' _NTLMSSP_NTOWF_v1Going to allocated memory 16 bytes
[SMB2DEBUG 'ntlm' _NTLMSSP_NTOWF_v1Allocated memory
[SMB2DEBUG 'ntlm' _NTLMSSP_NTOWF_v1Initilze MD4 context
[SMB2DEBUG 'ntlm' _NTLMSSP_NTOWF_v1Updated MD4 context
[SMB2DEBUG 'ntlm' _NTLMSSP_NTOWF_v1Finalized  MD4 context
[SMB2INFO 'ntlm' _NTLMSSP_alloc_AuthenticateMessageChallenge message contain Timestamp in Target Info and we make NTML v2thus LMV2 Reponse is Z(24), see page 45 MS-NLMP.pde
[SMB2DEBUG 'ntlm' _NTLMSSP_alloc_AuthenticateMessageEncrypted random session key exported
[SMB2DEBUG 'ntlm' _NTLMSSP_alloc_AuthenticateMessageVersion flag not setclearingrespcan be used for debugging puposes
[SMB2INFO 'ntlm' NTLM Authenticate Message:
[
SMB2INFO 'ntlm' |     Header:
[
SMB2INFO 'ntlm' |         NTLMSSP IdentifierNTLMSSP
[SMB2INFO 'ntlm' |         NTLM Message TypeAuthenticate (0x00000003)
[
SMB2INFO 'ntlm' |     Lan Manager Response:
[
SMB2INFO 'ntlm' |         Length24
[SMB2INFO 'ntlm' |         Max Length24
[SMB2INFO 'ntlm' |         Offset104
[SMB2INFO 'ntlm' |         LMv2 Client Challange
[
SMB2INFO 'ntlm' |     NTLM Response:
[
SMB2INFO 'ntlm' |         Length70
[SMB2INFO 'ntlm' |         Max Length70
[SMB2INFO 'ntlm' |         Offset128
[SMB2INFO 'ntlm' |         NTProofStr
[
SMB2INFO 'ntlm' |         Response Version222
[SMB2INFO 'ntlm' |         Hi Response Version173
[SMB2INFO 'ntlm' |         TimeTODO Time ecnodign
[SMB2INFO 'ntlm' |         NTLMv2 Client Challange
[
SMB2INFO 'ntlm' |     Domain Name ResponseTODO converst domain to string
[SMB2INFO 'ntlm' |         Length6
[SMB2INFO 'ntlm' |         Max Length6
[SMB2INFO 'ntlm' |         Offset198
[SMB2INFO 'ntlm' |              0x54 0x00 0x4F 0x00 0x4D 0x00
[SMB2INFO 'ntlm' |     User Name ResponseTODO converst username to string
[SMB2INFO 'ntlm' |         Length20
[SMB2INFO 'ntlm' |         Max Length20
[SMB2INFO 'ntlm' |         Offset204
[SMB2INFO 'ntlm' |              0x6D 0x00 0x61 0x00 0x78 0x00 0x6C 0x00   0x61 0x00 0x72 0x00 0x73 0x00 0x73 0x00  
[SMB2INFO 'ntlm' |              0x6F 0x00 0x6E 0x00
[SMB2INFO 'ntlm' |     Workstation Name ResponseTODO converst workstation to string
[SMB2INFO 'ntlm' |         Length8
[SMB2INFO 'ntlm' |         Max Length8
[SMB2INFO 'ntlm' |         Offset224
[SMB2INFO 'ntlm' |              0x74 0x00 0x6F 0x00 0x6D 0x00 0x00 0x00
[SMB2INFO 'ntlm' |     Enrcypted Session Key ResponseTODO converst session kye to string
[SMB2INFO 'ntlm' |         Length16
[SMB2INFO 'ntlm' |         Max Length16
[SMB2INFO 'ntlm' |         Offset88
[SMB2INFO 'ntlm' |              0xDF 0x1F 0xC3 0x63 0x79 0x08 0x64 0x05   0xA7 0x3C 0x73 0x9D 0x7F 0x4B 0x94 0x93
[SMB2INFO 'ntlm' |     Flags 0xE0088235:
[
SMB2INFO 'ntlm' |         Negotiate Encyrption 56True
[SMB2INFO 'ntlm' |         Negotiate Key ExchangeFalse
[SMB2INFO 'ntlm' |         Negotiate Encyrption 128True
[SMB2INFO 'ntlm' |         Negotiate VersionFalse
[SMB2INFO 'ntlm' |         Negotiate Target InfoTrue
[SMB2INFO 'ntlm' |         Request Non-NT SessionFalse
[SMB2INFO 'ntlm' |         Negotiate IdentifyFalse
[SMB2INFO 'ntlm' |         Negotiate Extended SecurityFalse
[SMB2INFO 'ntlm' |         Target Type ServerTrue
[SMB2INFO 'ntlm' |         Target Type DomainFalse
[SMB2INFO 'ntlm' |         Negotiate Always SignFalse
[SMB2INFO 'ntlm' |         Negotiate OEM Workstataion suppliedFalse
[SMB2INFO 'ntlm' |         Negotiate OEM Domain suppliedFalse
[SMB2INFO 'ntlm' |         Negotiate AnonymousTrue
[SMB2INFO 'ntlm' |         Negotiate NTLM keyFalse
[SMB2INFO 'ntlm' |         Negotiate Lan Manager keyTrue
[SMB2INFO 'ntlm' |         Negotiate Datagram keyTrue
[SMB2INFO 'ntlm' |         Negotiate SealTrue
[SMB2INFO 'ntlm' |         Negotiate SignFalse
[SMB2INFO 'ntlm' |         Request TargetFalse
[SMB2INFO 'ntlm' |         Negotiate OEMFalse
[SMB2INFO 'ntlm' |         Negotiate UniCodeFalse
[SMB2INFO 'ntlm' |     Version 0.0 (Build 0); NTLM Current Revision 0
[SMB2INFO 'ntlm' |         Major Version0
[SMB2INFO 'ntlm' |         Minor Version0
[SMB2INFO 'ntlm' |         Build:  0
[SMB2INFO 'ntlm' |         NTLM Current Revision0
[SMB2INFO 'ntlm' |     MIC:
[
SMB2INFO 'ntlm' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[SMB2DEBUG 'ntlm' |      0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00   0x03 0x00 0x00 0x00 0x18 0x00 0x18 0x00  
[SMB2DEBUG 'ntlm' |      0x68 0x00 0x00 0x00 0x46 0x00 0x46 0x00   0x80 0x00 0x00 0x00 0x06 0x00 0x06 0x00  
[SMB2DEBUG 'ntlm' |      0xC6 0x00 0x00 0x00 0x14 0x00 0x14 0x00   0xCC 0x00 0x00 0x00 0x08 0x00 0x08 0x00  
[SMB2DEBUG 'ntlm' |      0xE0 0x00 0x00 0x00 0x10 0x00 0x10 0x00   0x58 0x00 0x00 0x00 0x35 0x82 0x08 0xE0  
[SMB2DEBUG 'ntlm' |      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'ntlm' |      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0xDF 0x1F 0xC3 0x63 0x79 0x08 0x64 0x05  
[SMB2DEBUG 'ntlm' |      0xA7 0x3C 0x73 0x9D 0x7F 0x4B 0x94 0x93   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'ntlm' |      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'ntlm' |      0xF3 0xDA 0xFE 0xC9 0x35 0xAE 0xBF 0x20   0x6C 0xBE 0xD1 0x5C 0x6F 0x47 0xA0 0xEC  
[SMB2DEBUG 'ntlm' |      0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00   0x80 0xC4 0x99 0xC6 0xA6 0x66 0xD8 0x01  
[SMB2DEBUG 'ntlm' |      0x71 0x00 0x81 0xDD 0x87 0x70 0x6A 0x25   0x00 0x00 0x00 0x00 0x03 0x00 0x12 0x00  
[SMB2DEBUG 'ntlm' |      0x74 0x00 0x6F 0x00 0x6D 0x00 0x2E 0x00   0x6C 0x00 0x6F 0x00 0x63 0x00 0x61 0x00  
[SMB2DEBUG 'ntlm' |      0x6C 0x00 0x00 0x00 0x00 0x00 0x54 0x00   0x4F 0x00 0x4D 0x00 0x6D 0x00 0x61 0x00  
[SMB2DEBUG 'ntlm' |      0x78 0x00 0x6C 0x00 0x61 0x00 0x72 0x00   0x73 0x00 0x73 0x00 0x6F 0x00 0x6E 0x00  
[SMB2DEBUG 'ntlm' |      0x74 0x00 0x6F 0x00 0x6D 0x00 0x00 0x00
[SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextchallege end
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextProcessed token:
[
SMB2DEBUG 'spnego' Simple Protected Negotiation:
[
SMB2DEBUG 'spnego' |     TypeNegTokenResp
[SMB2DEBUG 'spnego' |     negState0x694B40D4
[SMB2DEBUG 'spnego' |     supportedMechNot present
[SMB2DEBUG 'spnego' |     responseToken232
[SMB2DEBUG 'spnego' |          0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00   0x03 0x00 0x00 0x00 0x18 0x00 0x18 0x00  
[SMB2DEBUG 'spnego' |          0x68 0x00 0x00 0x00 0x46 0x00 0x46 0x00   0x80 0x00 0x00 0x00 0x06 0x00 0x06 0x00  
[SMB2DEBUG 'spnego' |          0xC6 0x00 0x00 0x00 0x14 0x00 0x14 0x00   0xCC 0x00 0x00 0x00 0x08 0x00 0x08 0x00  
[SMB2DEBUG 'spnego' |          0xE0 0x00 0x00 0x00 0x10 0x00 0x10 0x00   0x58 0x00 0x00 0x00 0x35 0x82 0x08 0xE0  
[SMB2DEBUG 'spnego' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0xDF 0x1F 0xC3 0x63 0x79 0x08 0x64 0x05  
[SMB2DEBUG 'spnego' |          0xA7 0x3C 0x73 0x9D 0x7F 0x4B 0x94 0x93   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |          0xF3 0xDA 0xFE 0xC9 0x35 0xAE 0xBF 0x20   0x6C 0xBE 0xD1 0x5C 0x6F 0x47 0xA0 0xEC  
[SMB2DEBUG 'spnego' |          0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00   0x80 0xC4 0x99 0xC6 0xA6 0x66 0xD8 0x01  
[SMB2DEBUG 'spnego' |          0x71 0x00 0x81 0xDD 0x87 0x70 0x6A 0x25   0x00 0x00 0x00 0x00 0x03 0x00 0x12 0x00  
[SMB2DEBUG 'spnego' |          0x74 0x00 0x6F 0x00 0x6D 0x00 0x2E 0x00   0x6C 0x00 0x6F 0x00 0x63 0x00 0x61 0x00  
[SMB2DEBUG 'spnego' |          0x6C 0x00 0x00 0x00 0x00 0x00 0x54 0x00   0x4F 0x00 0x4D 0x00 0x6D 0x00 0x61 0x00  
[SMB2DEBUG 'spnego' |          0x78 0x00 0x6C 0x00 0x61 0x00 0x72 0x00   0x73 0x00 0x73 0x00 0x6F 0x00 0x6E 0x00  
[SMB2DEBUG 'spnego' |          0x74 0x00 0x6F 0x00 0x6D 0x00 0x00 0x00
[SMB2DEBUG 'spnego' |     mechListMICNot present
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextOutput buffer supplied
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextResponse token (Length 249)
[
SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextAllocVecTags succeeded
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextEncode token
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextEncoded DER represantaion of token:
[
SMB2DEBUG 'spnego' |      0xA1 0x81 0xF6 0x30 0x81 0xF3 0xA0 0x03   0x0A 0x01 0x01 0xA2 0x81 0xEB 0x04 0x81  
[SMB2DEBUG 'spnego' |      0xE8 0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50   0x00 0x03 0x00 0x00 0x00 0x18 0x00 0x18  
[SMB2DEBUG 'spnego' |      0x00 0x68 0x00 0x00 0x00 0x46 0x00 0x46   0x00 0x80 0x00 0x00 0x00 0x06 0x00 0x06  
[SMB2DEBUG 'spnego' |      0x00 0xC6 0x00 0x00 0x00 0x14 0x00 0x14   0x00 0xCC 0x00 0x00 0x00 0x08 0x00 0x08  
[SMB2DEBUG 'spnego' |      0x00 0xE0 0x00 0x00 0x00 0x10 0x00 0x10   0x00 0x58 0x00 0x00 0x00 0x35 0x82 0x08  
[SMB2DEBUG 'spnego' |      0xE0 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0xDF 0x1F 0xC3 0x63 0x79 0x08 0x64  
[SMB2DEBUG 'spnego' |      0x05 0xA7 0x3C 0x73 0x9D 0x7F 0x4B 0x94   0x93 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |      0x00 0xF3 0xDA 0xFE 0xC9 0x35 0xAE 0xBF   0x20 0x6C 0xBE 0xD1 0x5C 0x6F 0x47 0xA0  
[SMB2DEBUG 'spnego' |      0xEC 0x01 0x01 0x00 0x00 0x00 0x00 0x00   0x00 0x80 0xC4 0x99 0xC6 0xA6 0x66 0xD8  
[SMB2DEBUG 'spnego' |      0x01 0x71 0x00 0x81 0xDD 0x87 0x70 0x6A   0x25 0x00 0x00 0x00 0x00 0x03 0x00 0x12  
[SMB2DEBUG 'spnego' |      0x00 0x74 0x00 0x6F 0x00 0x6D 0x00 0x2E   0x00 0x6C 0x00 0x6F 0x00 0x63 0x00 0x61  
[SMB2DEBUG 'spnego' |      0x00 0x6C 0x00 0x00 0x00 0x00 0x00 0x54   0x00 0x4F 0x00 0x4D 0x00 0x6D 0x00 0x61  
[SMB2DEBUG 'spnego' |      0x00 0x78 0x00 0x6C 0x00 0x61 0x00 0x72   0x00 0x73 0x00 0x73 0x00 0x6F 0x00 0x6E  
[SMB2DEBUG 'spnego' |      0x00 0x74 0x00 0x6F 0x00 0x6D 0x00 0x00   0x00
[SMB2DEBUG 'gss-api' gss_init_sec_contextResponse token (Length 261)
[
SMB2DEBUG 'gss-api' |     inner token size 249
[SMB2DEBUG 'gss-api' |     oid size 6
[SMB2DEBUG 'gss-api' |     complete payload size 261
[SMB2DEBUG 'gss-api' gss_init_sec_contextAllocation performed
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 0 value0x60
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 1 value
[SMB2DEBUG 'ans1' _ANS1_DER_encode_lengthpayload size requires 2 bytes 0x82
[SMB2DEBUG 'ans1' _ANS1_DER_encode_lengthencoded 3 bytes
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 4 value after length encoding
 
[SMB2DEBUG 'ans1' _ANS1_DER_encode_lengthpayload size fits in single byte
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncoded DER represantaion of token:
[
SMB2DEBUG 'gss-api' |      0x60 0x82 0x01 0x01 0x06 0x06 0x2B 0x06   0x01 0x05 0x05 0x02 0xA1 0x81 0xF6 0x30  
[SMB2DEBUG 'gss-api' |      0x81 0xF3 0xA0 0x03 0x0A 0x01 0x01 0xA2   0x81 0xEB 0x04 0x81 0xE8 0x4E 0x54 0x4C  
[SMB2DEBUG 'gss-api' |      0x4D 0x53 0x53 0x50 0x00 0x03 0x00 0x00   0x00 0x18 0x00 0x18 0x00 0x68 0x00 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x46 0x00 0x46 0x00 0x80 0x00 0x00   0x00 0x06 0x00 0x06 0x00 0xC6 0x00 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x14 0x00 0x14 0x00 0xCC 0x00 0x00   0x00 0x08 0x00 0x08 0x00 0xE0 0x00 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x10 0x00 0x10 0x00 0x58 0x00 0x00   0x00 0x35 0x82 0x08 0xE0 0x00 0x00 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x00 0x00 0x00 0x00 0xDF 0x1F 0xC3   0x63 0x79 0x08 0x64 0x05 0xA7 0x3C 0x73  
[SMB2DEBUG 'gss-api' |      0x9D 0x7F 0x4B 0x94 0x93 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0xF3 0xDA 0xFE  
[SMB2DEBUG 'gss-api' |      0xC9 0x35 0xAE 0xBF 0x20 0x6C 0xBE 0xD1   0x5C 0x6F 0x47 0xA0 0xEC 0x01 0x01 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x00 0x00 0x00 0x00 0x80 0xC4 0x99   0xC6 0xA6 0x66 0xD8 0x01 0x71 0x00 0x81  
[SMB2DEBUG 'gss-api' |      0xDD 0x87 0x70 0x6A 0x25 0x00 0x00 0x00   0x00 0x03 0x00 0x12 0x00 0x74 0x00 0x6F  
[SMB2DEBUG 'gss-api' |      0x00 0x6D 0x00 0x2E 0x00 0x6C 0x00 0x6F   0x00 0x63 0x00 0x61 0x00 0x6C 0x00 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x00 0x00 0x54 0x00 0x4F 0x00 0x4D   0x00 0x6D 0x00 0x61 0x00 0x78 0x00 0x6C  
[SMB2DEBUG 'gss-api' |      0x00 0x61 0x00 0x72 0x00 0x73 0x00 0x73   0x00 0x6F 0x00 0x6E 0x00 0x74 0x00 0x6F  
[SMB2DEBUG 'gss-api' |      0x00 0x6D 0x00 0x00 0x00
[SMB2DEBUG 'gss-api' gss_init_sec_contextOutput buffer supplied
[SMB2DEBUG 'smbv2' createSessionSetupRequestsizeof SMB_Session_Setup_Request 92 ,SMB_Header 68 sizeof GSSToken 261 size of Direct Header 4
[SMB2DEBUG 'smbv2' Session Setup Request:
[
SMB2DEBUG 'smbv2' |     SMB2 Header [Request]:
[
SMB2DEBUG 'smbv2' |         ProtocolId0xFE534D42
[SMB2DEBUG 'smbv2' |         Header Length64
[SMB2DEBUG 'smbv2' |         Credit Charge0
[SMB2DEBUG 'smbv2' |         Status0x00000000
[SMB2DEBUG 'smbv2' |             ServeritySucess
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |         CommandSession setup
[SMB2DEBUG 'smbv2' |         Credit requested126
[SMB2DEBUG 'smbv2' |         Flags0x00000000
[SMB2DEBUG 'smbv2' |         Next command/Chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x TODO
[SMB2DEBUG 'smbv2' |         Process Id00000000
[SMB2DEBUG 'smbv2' |         Tree Id00000000
[SMB2DEBUG 'smbv2' |         Session ID0x TODO
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x0019
[SMB2DEBUG 'smbv2' |         Fixed Length Part:  12
[SMB2DEBUG 'smbv2' |         Dynamic PartTrue
[SMB2DEBUG 'smbv2' |     Flags0x00
[SMB2DEBUG 'smbv2' |     SecurityMode0x100
[SMB2DEBUG 'smbv2' |         Signing enabledFalse
[SMB2DEBUG 'smbv2' |         Signing requiredFalse
[SMB2DEBUG 'smbv2' |     Capabilities0x00000000
[SMB2DEBUG 'smbv2' |         DFSFalse
[SMB2DEBUG 'smbv2' |         LEASINGFalse
[SMB2DEBUG 'smbv2' |         LARGE MTUFalse
[SMB2DEBUG 'smbv2' |         MULTI CHANNELFalse
[SMB2DEBUG 'smbv2' |         PERSISTENS HANDLESFalse
[SMB2DEBUG 'smbv2' |         DIRECTORY LEASINGFalse
[SMB2DEBUG 'smbv2' |         ENCYRPTIONFalse
[SMB2DEBUG 'smbv2' |     Channel0x00000000
[SMB2DEBUG 'smbv2' |     Pervious Session IdTODO
[SMB2DEBUG 'smbv2' |     SecurityBufferOffset88
[SMB2DEBUG 'smbv2' |     SecurityBufferLength261
[SMB2DEBUG 'smbv2' |     GSS Security BLOB Dump (Length 261 at 0x6959BCAC):
[
SMB2DEBUG 'smbv2' |          0x60 0x82 0x01 0x01 0x06 0x06 0x2B 0x06   0x01 0x05 0x05 0x02 0xA1 0x81 0xF6 0x30  
[SMB2DEBUG 'smbv2' |          0x81 0xF3 0xA0 0x03 0x0A 0x01 0x01 0xA2   0x81 0xEB 0x04 0x81 0xE8 0x4E 0x54 0x4C  
[SMB2DEBUG 'smbv2' |          0x4D 0x53 0x53 0x50 0x00 0x03 0x00 0x00   0x00 0x18 0x00 0x18 0x00 0x68 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x46 0x00 0x46 0x00 0x80 0x00 0x00   0x00 0x06 0x00 0x06 0x00 0xC6 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x14 0x00 0x14 0x00 0xCC 0x00 0x00   0x00 0x08 0x00 0x08 0x00 0xE0 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x10 0x00 0x10 0x00 0x58 0x00 0x00   0x00 0x35 0x82 0x08 0xE0 0x00 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x00 0xDF 0x1F 0xC3   0x63 0x79 0x08 0x64 0x05 0xA7 0x3C 0x73  
[SMB2DEBUG 'smbv2' |          0x9D 0x7F 0x4B 0x94 0x93 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0xF3 0xDA 0xFE  
[SMB2DEBUG 'smbv2' |          0xC9 0x35 0xAE 0xBF 0x20 0x6C 0xBE 0xD1   0x5C 0x6F 0x47 0xA0 0xEC 0x01 0x01 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x00 0x80 0xC4 0x99   0xC6 0xA6 0x66 0xD8 0x01 0x71 0x00 0x81  
[SMB2DEBUG ‘smbv2’ |          0xDD 0x87 0x70 0x6A 0x25 0x00 0x00 0x00   0x00 0x03 0x00 0x12 0x00 0x74 0x00 0x6F  
[SMB2DEBUG ‘smbv2’ |          0x00 0x6D 0x00 0x2E 0x00 0x6C 0x00 0x6F   0x00 0x63 0x00 0x61 0x00 0x6C 0x00 0x00  
[SMB2DEBUG ‘smbv2’ |          0x00 0x00 0x00 0x54 0x00 0x4F 0x00 0x4D   0x00 0x6D 0x00 0x61 0x00 0x78 0x00 0x6C  
[SMB2DEBUG ‘smbv2’ |          0x00 0x61 0x00 0x72 0x00 0x73 0x00 0x73   0x00 0x6F 0x00 0x6E 0x00 0x74 0x00 0x6F  
[SMB2DEBUG ‘smbv2’ |          0x00 0x6D 0x00 0x00 0x00
[SMB2DEBUG ‘network’ NETWORK_DataBuffer_writeBytesBuffered 353 bytes
[SMB2DEBUG ‘network’ NETWORK_processBytesConsumed frame
[SMB2DEBUG ‘network’ NETWORK_pendingBytesPending data in bytes to send353
[SMB2DEBUG ‘start’ Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG ‘start’ Write to socket request
[SMB2DEBUG ‘network’ NETWORK_sendBytesTrying to send 353 bytes
[SMB2DEBUG ‘network’ NETWORK_sendBytesSuccessfull send 353 bytes?
[
SMB2DEBUG ‘smbv2’ SMB2_FreeFreed a packet
[SMB2DEBUG ‘network’ NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG ‘start’ Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG ‘start’ Reading from socket request
[SMB2DEBUG ‘network’ _iNETWORK_receiveBytesTrying to receive 65034 bytes into 0x66212405 from socket 0
[SMB2DEBUG ‘network’ _iNETWORK_receiveBytesRead 77 bytes
[SMB2DEBUG ‘network’ NETWORK_processBytesstart packet 0x662121F8
[SMB2DEBUG ‘smbv2’ SMB2_ProcesserRemaining bytes 77
[SMB2DEBUG ‘smbv2’ SMB2_ProcesserFrame length is73
[SMB2DEBUG ‘smbv2’ SMB2_ProcesserFrame should be decodable
[SMB2DEBUG ‘network’ NETWORK_processBytesFound valid framedecodedablereset read pointer
[SMB2DEBUG ‘smbv2’ SMB2_DecoderCHECK ITFrame length is73
[SMB2INFO ‘smbv2’ SMB2_DecoderDecoding SessionSetup Reponse Message 1
[SMB2ERROR ‘smbv2’ decodeSessionSetupResponseGoing to allaocte 77 bytes
 
kernel 54.30 
(1.1.2021AmigaOne X5000 release 
Machine model
(AmigaOne X5000/20
Dump of context at 0xEFDB5000 
Trap type
DSI exception 
DSISR
: 00800000  DAR00006625 
No matching page found 
Machine State 
(raw): 0x0002F030 
Machine State 
(verbose): [Critical Ints on] [ExtInt on] [User] [IAT on] [DAT on]  
Instruction pointerin module kernel+0x00033438 (0x01833438
Crashed processrea:smbv2/smbv2.debug (0x697634A0
DSI verbose error descriptionAccess to address 0x00006625 not allowed by page protection in user state (protection violation
Access was a store operation 
Exception Syndrome Register
0x00800000  
0
: 0184ABB0 66BF89D0 00000002 6991A890 6991AFDC 00000000 00000050 66BF8AA0  
8
FFFFFFFF 00006621 6991AFDC 66BF89F8 3B553959 6D411850 6D28D8F0 00000001 
16
6D5DF410 EFE17F00 6709D010 00000000 0215B136 02150000 02150000 02008418 
24022BECC2 02150000 EFFF9054 00000000 6991AFDC 6991AFD0 EFFF9010 0215A968 
CR
95553595   XER8000007E  CTR: 01833418  LR: 0184AA78


I had this once, and figure out that before AllocVecTags fails, i previously allocated memory with less size than expected
and wrote over the allocated space, which seems to disturb AllocVecTags during the following call. I can not see that i'm
still doing it. So what else can make AllocVecTags fails?

The source is avaible here.

If anyoue want to know what the programm is inteded to do at some point: Currently it aim is it to implement the
authentication procedure for a smbv2 client.

Go to top
Re: Strange AllocVec Problem
Just can't stay away
Just can't stay away


See User information
@MigthyMax

Hi, just recompied under AOS4, build it fine (Wohuu)
and the tried to run from shell:
#smbv2.debug 192.168.1.58
_NTLMSSP_alloc_NegotiateMessage: Going to allocate 40 bytes
_NTLMSSP_alloc_NegotiateMessage: Successfull allocated at 0x68d84900 size 40
0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 00 00 00 00 ........
_NTLMSSP_alloc_NegotiateMessage: Successfull populated memory at 0x68d84900 size 40
0000 4E 54 4C 4D 53 53 50 00 01 00 00 00 35 82 08 E2 NTLMSSP.....5...
0010 00 00 00 00 28 00 00 00 00 00 00 00 28 00 00 00 ....(.......(...
0020 35 0E 00 00 00 00 00 0F 5.......
FEFECAFEFEFECAFEFEFECAFEFEFECAFEFEFECAFEFEFECAFEFEFECAFEFEFECAFE#

My SMB2 shared object is a Windows10 machine sharing a plain folder (called SHARED), seems nothing shows/happens, and pressed CTRL+C, got those FEFECAFE (unfreed' signals or data?)
Can be a (small) stack issue?

Serial output::
Nuevo proceso Shell 12
#APPDIR:Sashimi 
Sashimi installed ([Ctrl]+or "Break 12" to remove)
...
[
_impl_InitResidentInitializing native autoinit amisslmaster.library V4priority 0
[_impl_AddLibraryAdding library amisslmaster.library to the system
[_impl_InitResidentamisslmaster.library V4 initialized
[_impl_InitResidentInitializing native autoinit amissl_v111m.library V4priority 0
[_impl_AddLibraryAdding library amissl_v111m.library to the system
[_impl_InitResidentamissl_v111m.library V4 initialized
[SMB2INFO 'start' Socket created0
[SMB2INFO 'start' Host name192.168.1.58
[SMB2INFO 'start' Host port445
[_impl_InitResidentInitializing native autoinit uuid.library V1priority 0
[_impl_AddLibraryAdding library uuid.library to the system
[_impl_InitResidentuuid.library V1 initialized
[_impl_AddTaskAdding Task 0x69722df0RANDOM/Random-Handler 52.1  (0x6a5f4c80)
[
SMB2DEBUG 'network' Dump read packet structure at address 0x67fc41f8
[SMB2DEBUG 'network' |      Start address 0x67fc4210
[SMB2DEBUG 'network' |      End address 0x67fd420fcapacity 65535
[SMB2DEBUG 'network' |      Read address 0x67fc4210Write address 0x67fc4210available 0 bytes
[SMB2DEBUG 'network' |      Is Empty
[
SMB2INFO 'start' Host uuid01feaa8b-0baf-4164-b675-0ed3a51c6138
[SMB2INFO 'start' Connecting to '192.168.1.58:445'...
[
SMB2DEBUG 'start' Socket connected
[SMB2DEBUG 'start' Configured keep Alive
[SMB2DEBUG 'start' Configured TCP No delay
[SMB2DEBUG 'smbv2' Negotiate Protocol Request:
[
SMB2DEBUG 'smbv2' |        SMB2 Header [Request]:
[
SMB2DEBUG 'smbv2' |                ProtocolId0xfe534d42
[SMB2DEBUG 'smbv2' |                Header Length64
[SMB2DEBUG 'smbv2' |                Credit Charge0
[SMB2DEBUG 'smbv2' |                Status0x00000000
[SMB2DEBUG 'smbv2' |                        ServeritySucess
[SMB2DEBUG 'smbv2' |                        Defined byCustomer
[SMB2DEBUG 'smbv2' |                CommandNegotiate protocol
[SMB2DEBUG 'smbv2' |                Credit requested126
[SMB2DEBUG 'smbv2' |                Flags0x00000000
[SMB2DEBUG 'smbv2' |                Next command/Chain offset0
[SMB2DEBUG 'smbv2' |                Message ID0x TODO
[SMB2DEBUG 'smbv2' |                Process Id00000000
[SMB2DEBUG 'smbv2' |                Tree Id00000000
[SMB2DEBUG 'smbv2' |                Session ID0x TODO
[SMB2DEBUG 'smbv2' |                Signature0x TODO
[SMB2DEBUG 'smbv2' |        StructureSize0x0024
[SMB2DEBUG 'smbv2' |                Fixed Length Part:  18
[SMB2DEBUG 'smbv2' |                Dynamic PartFalse
[SMB2DEBUG 'smbv2' |        Dialect Count1
[SMB2DEBUG 'smbv2' |        SecurityMode0x01
[SMB2DEBUG 'smbv2' |                Signing enabledTrue
[SMB2DEBUG 'smbv2' |                Signing requiredFalse
[SMB2DEBUG 'smbv2' |        Reserved0x00
[SMB2DEBUG 'smbv2' |        Capabilities0x00000000
[SMB2DEBUG 'smbv2' |                DFSFalse
[SMB2DEBUG 'smbv2' |                LEASINGFalse
[SMB2DEBUG 'smbv2' |                LARGE MTUFalse
[SMB2DEBUG 'smbv2' |                MULTI CHANNELFalse
[SMB2DEBUG 'smbv2' |                PERSISTENS HANDLESFalse
[SMB2DEBUG 'smbv2' |                DIRECTORY LEASINGFalse
[SMB2DEBUG 'smbv2' |                ENCYRPTIONFalse
[SMB2DEBUG 'smbv2' |        Client Guid8baafe01-af0b-6441-b675-0ed3a51c6138
[SMB2DEBUG 'smbv2' |        smb2:
[
SMB2DEBUG 'smbv2' |                ClientStartTimeTODO
[SMB2DEBUG 'smbv2' |        smbVx311:
[
SMB2DEBUG 'smbv2' |                NegotiateContextOffset0x00000000
[SMB2DEBUG 'smbv2' |                NegotiateContextCount0x00
[SMB2DEBUG 'smbv2' |                Reserved0x00
[SMB2DEBUG 'smbv2' |        Dialect (0x202):
[
SMB2DEBUG 'network' NETWORK_DataBuffer_writeBytesBuffered 108 bytes
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send108
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Write to socket request
[SMB2DEBUG 'network' NETWORK_sendBytesTrying to send 108 bytes
[SMB2DEBUG 'network' NETWORK_sendBytesSuccessfull send 108 bytes?
[
SMB2DEBUG 'smbv2' SMB2_FreeFreed a packet
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 65535 bytes into 0x67fc4210 from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 452 bytes
[SMB2DEBUG 'network' NETWORK_processBytesstart packet 0x67fc41f8
[SMB2DEBUG 'smbv2' SMB2_ProcesserRemaining bytes 452
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame length is448
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame should be decodable
[SMB2DEBUG 'network' NETWORK_processBytesFound valid framedecodedablereset read pointer
[SMB2DEBUG 'smbv2' SMB2_DecoderCHECK ITFrame length is448
[SMB2INFO 'smbv2' SMB2_DecoderDecoding Negotiate Reponse Message 0
[SMB2DEBUG 'smbv2' Negotiate Protocol Response:
[
SMB2DEBUG 'smbv2' |        SMB2 Header [Response]:
[
SMB2DEBUG 'smbv2' |                ProtocolId0xfe534d42
[SMB2DEBUG 'smbv2' |                Header Length64
[SMB2DEBUG 'smbv2' |                Credit Charge0
[SMB2DEBUG 'smbv2' |                Status0x00000000
[SMB2DEBUG 'smbv2' |                        ServeritySucess
[SMB2DEBUG is pdu is NOT SIGNED
[SMB2DEBUG 'smbv2' |                This pdu does NOT contain a PRIORITY
[SMB2DEBUG 'smbv2' |                This is a normal operation
[SMB2DEBUG 'smbv2' |                This is NOT a REPLAY operatio
[SMB2DEBUG 'smbv2' |                Next command/chain offset0
[SMBB2DEBUG 'spnego' |               0x4e 0x54 0x4c 0x4d 0x53 0x53 0x50 0x00   0x01 0x00 0x00 0x00 0x35 0x82 0x08 0xe2  
[SMB2DEBUG 'spnego' |                0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |                0x35|          Session ID0x TODO
[SMB2DEBUG 'smbv2' |                Signature0x TODO
[SMB2DEBUG 'smbv2' |        StructureSize0x0019
[SMB2DEBUG 'smbv2' |                Fixed Length Part:  12
[SMB2DEBUG 'smbv2' |                Dynamic PartTrue
[SMB2DEBUG 'smbv2' |        Flags0x00
[SMBFO 'ntlm' |               Build:  0
[SMB2INFO 'ntlm' |          NTLM Current Revision0
[SMB2INFO 'ntlm' |  MIC:
[
SMB2INFO 'ntlm' |           0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[SMB2DEBUG 'ntlm' |          0x4e 0x54 0x4c 0xbe 0x80 0x23   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |                0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |                0x0a 0x9c 0x27 0xda 0x77 0x03 0x4f 0xc6   0xce 0xfc 0x09 EBUG 'spnego' |      0x1b 0xc6 0x66 0xd8 0x01 0x22 0xf0 0x91   0xf4 0xad 0x52 0x08 0xb7 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |        0x00 0x03 0x00 0x1e 0x00 0x44 0x00 0x45   0x00 0x53 0x00 0x4b 0x00 0x54 0x00 0x4f  
[SMB2DEBUG 'spnego' |        0x00 0x50 0x 0x0c 0x04 0x82 0x01  
[SMB2DEBUG 'smbv2' |                 0x08 0x4e 0x54 0x4c 0x4d 0x53 0x53 0x50   0x00 0x03 0x00 0x00 0x00 0x18 0x00 0x18  
[SMB2DEBUG 'smbv2' |                 0x00 0x68 0x00 0x00 0x00 0x52 0x00 0x52   0x00 0x80 0x00 0x00 0x00 0x1e 0x00 0x1e  
[SMB2DEailed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG eady descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROwork' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from Wai _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bror code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' ket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORKt 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pt 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pMB2] DEBUG | 'network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0 into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEdy descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR t 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_part' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket requeeBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Readinnetwork' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMBiled with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG |SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading dy descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR ket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORKng from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading dETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
steBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Readint 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_p2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receing from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading d'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network't
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unkno0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2UG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveByteh 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 byt 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTeBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Readin
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'startWake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWO DEBUG | 'start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORKdy descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR [SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start'eBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Readineady descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERRO DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK 'network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: T 'network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: T'start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network'ngBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 byt'start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network'uest
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with undy descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR 2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWOdescriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
EBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'n failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUeBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading EBUG | 'start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
neive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error cBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_pr1 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2EDEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG '64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -ror code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | 'start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
networrk' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Read 0 bytes
[SMB2] ERROR | '
network' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERtwork' 
_iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading dat1 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2Ees into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2k' | NETWORK_processBytes: Reading data failed with unknown error code
[SMB2] ERROR | '
start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSetart' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket requt with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead K_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' Nd with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'np from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Trying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2] DEBUG | '
network' | _iNETWORK_rec 'start' | Reading failed with error code -4
[SMB2] DEBUG | '
network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket r 'network' | NETWORK_pendingBytes: Pending data in bytes to send: 0
[SMB2] DEBUG | '
start' | Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2] DEBUG | '
start' | Reading from socket request
[SMB2] DEBUG | '
network' | _iNETWORK_receiveBytes: Tk' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying tody descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR ytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendy descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR ror code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with errod with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2]data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptg from socket request
...
[
SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 64736 bytes into 0x67fc452f from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 0 bytes
[SMB2ERROR 'network' NETWORK_processBytesReading data failed with unknown error code
[SMB2ERROR 'start' Reading failed with error code -4
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0xffffffff ready descriptors
[SMB2INFO 'network' NETWORK_getErrorNumberCTRL-C detected

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@jabirulo

Thanks for trying out.

But investigation your output it seems that my program cannot handle the initial response from your server. I test against a mac computer. I will see if i can upgrade the implementation, to handle the response. Than we can see if it progress further with your setup.

Might it be possible, that you can capture the network traffic with wireshark on your Win10 machine, and give it to me?

Go to top
Re: Strange AllocVec Problem
Just can't stay away
Just can't stay away


See User information
@MigthyMax

if it's as simple as runnig wireshark on the win10 laptop?

1)run wireshark on win10 laptop
2)launch smb2 <IP_laptop>
3)wait a couple of seconds and CTRL+C

Will this be enough?

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@jabirulo

Yes. You only need to select the network card, where the traffic runs through. And don't forget to actually start the capturing in wireshark.

Go to top
Re: Strange AllocVec Problem
Home away from home
Home away from home


See User information
@MigthyMax

Quote:

So what else can make AllocVecTags fails?


AllocVecTags can fail for a number of reasons, the most obvious being insufficient memeory to meet the request. (that could be due to an overall lack of memory or due to memory fragmentations or asking for something very specific (an unssuported alignment maybe).

You should ALWAYS test the result for success and fail gracefully if possible if it fails.

Go to top
Re: Strange AllocVec Problem
Just can't stay away
Just can't stay away


See User information
@MigthyMax

ok dunnot if I did it right, but here is wireshark log:

http://jabirulo.byethost13.com/temp/wireshark.pcapng.gz

captured from my win10 laptop (had to install npcap).

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@broadblues

Quote:
AllocVecTags can fail for a number of reasons, the most obvious being insufficient memeory to meet the request.
(that could be due to an overall lack of memory or due to memory fragmentations or asking for something very specific
(an unssuported alignment maybe). You should ALWAYS test the result for success and fail gracefully if possible if it
fails.


I have 2GB Ram and i test it just after a fresh restart, so i don't think that lack of memory or fragmentation paly a
role. Furthermore on my machine the allocations made up till the crash. Each is less than 1024 bytes (and only around
6 allocations) and one or two bigger chunks around 65KB.

And you are right that the return result should be checked. If did checked it, i just forgot about it. If you see a
something in the code, please let me know.

But the crash seems to be in AllocVecTags, thus it just returns nothing, which can be checked.And that drives my crazy.
I think i'm accidentally poking in memory location, which i shouldn't. But my C skills aren't that good, that i
immediately see such places.

Go to top
Re: Strange AllocVec Problem
Home away from home
Home away from home


See User information
@MigthyMax

Usually when strange things happen, its just before the crash that caused it.

Once memory corruption has happened, the OS can freeze or crash at any place, good practice is set pointer to NULL, after freeing it, or else you can be writing to random place in memory, and its wherry hard to debug.

I often write a small macro like this.

// safe free macro
#define sf(fn,ptr) if (ptr) { fn(ptr); ptr = NULL; } else { printf("ptr was freed before, or never allocated\n"); }

void free_All()
{
   
sf(free,str);
   
sf(FreeVec,mem);
   
sf(FreeBitMap,my_bitmap);
}


Boundary check macros can also be useful, when writing to pointer, you change to something more efficient when it works.

#define sw(ptr,value,line,fn) if (((ptr)<__min_ptr) | ((ptr)>__max_ptr)) { printf(“%d:%s: ptr is outside of limit\n”,line,fn); } else { *(ptr) = (value); }

Ptr+=4// 
sw(__FUNCTION__,__LINE__ptr,value);


when allocated with malloc() or alloca(), it should not be freed with FreeVec(), make sure you know how it was allocated.

Monitor your memory usage at all times, you can’t afford to have memory leaks in AmigaOS4.x programs.


Edited by LiveForIt on 2022/5/16 9:45:55
Edited by LiveForIt on 2022/5/16 9:47:17
Edited by LiveForIt on 2022/5/16 9:51:34
Edited by LiveForIt on 2022/5/16 9:55:17
Edited by LiveForIt on 2022/5/16 9:56:58
Edited by LiveForIt on 2022/5/16 9:58:27
Edited by LiveForIt on 2022/5/16 9:58:57
Edited by LiveForIt on 2022/5/16 10:09:27
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@jabirulo

Thanks for the wireshark capturing. I will used it to improve the communication with other servers,

@LiveForIt

Thanks for idea with the macros.

Quote:
Monitor your memory usage at all times, you can’t afford to have memory leaks in AmigaOS4.x programs.


You are completely right. That's is way i want to really understand whats going wrong. I think one way would be to really debug the stuff on premises. But the spotless debugger from os4depot doesn't work for me. And the latest release from the Spotless debugger thread here on amigans, isn't accessible anymore. I Hope alfkil will soon release a version general available. And the GDB debugger, there I miss a little graphical support, plain text based interface is way out for me.

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@all

Thanks for all the input and hints. I'm have probably found thousand of bugs. But no found bug completely eliminates the "AllocVec" crash. It still comes up.

But if it doesn't crash, i can authenticate against all my SMB server, for which i have access to.

If anyone want to try, please download the binary here https://drive.google.com/file/d/1dZaFw ... 4K_iJBK5/view?usp=sharing , but be aware it is still buggy!! Use at your own risk.

Any feedback is welcome, so i can improve the implementation.

The binary now requires that you supplied all related information on the command line like this:

smbv2.debug SERVER=<ip/dns> SHARE=<sharename> USER=<username> PASSWORD=<clear text password>

Go to top
Re: Strange AllocVec Problem
Just can't stay away
Just can't stay away


See User information
@MigthyMax

#ram:smbv2.debug SERVER=192.168.1.58 SHARE=SHARED USER=xxx PASSWORD=xxx
Connecting to '192.168.1.58:445'...connected
Negotiating dialect....accepted by server


but nothing more ¿:-/
Windows 10 machine and on amiga serial ouput I get lots of:
...
[SMB2] DEBUG | 'smbv2' | 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe
[SMBx00 0x00
[SMB2] DEBUG | 'smbv2' | 0x2a 0x00 0x00 0x00 0x2a 0x00 0x00 0x00 0x2a 0x00 0x00 0x00 0x2a 0x00 0x00 0x00
[SMB2] DEBUG | 'smbv2' | 0x2a 0x00 0x00 0x00 0x2a 0x00 0x00 0x00 0x2a 0x00 0x00 0x00 0x2a 0x00 0x00 0x00
[SMB2] DEBUG | 'smbv2 0xfe 0xca 0xfe
[SMB2] DEBUG | 'smbv2' | 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe
[SMB2] DEBUG | 'smbv2' | 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe 0xfe 0xfe 0xca 0xfe
[SMB2] DEBUG |fe 0xca 0xfe 0xfe 0xfe 0xca 0xfe
..

EDIT: added some more serial output
[ColdStart9mExecSG
[ColdStartCopyright (c2002-2022 Trevor Dickinson
[ColdStartexec 54.52 (15.6.2022)
[
ColdStartKernel commandlinedebuglevel=4 SERIAL MUNGE
[ColdStartDebug level4
[mem_enable_munge] *** WarningMemory munging enabled for malloc/free emulation
[HAL_InitCPUCPUppc460ex
...
[
_impl_AddLibraryAdding library amisslmaster.library to the system
[_impl_InitResidentamisslmaster.library V5 initialized
[_impl_InitResidentInitializing native autoinit amissl_v111m.library V4priority 0
[_impl_AddLibraryAdding library amissl_v111m.library to the system
[_impl_InitResidentamissl_v111m.library V4 initialized
[SMB2INFO 'start' Socket created0
[SMB2INFO 'start' Server name192.168.1.58
[SMB2INFO 'start' Server port445
[SMB2INFO 'start' Host namesam460ex
[_impl_InitResidentInitializing native autoinit uuid.library V1priority 0
[_impl_AddLibraryAdding library uuid.library to the system
[_impl_InitResidentuuid.library V1 initialized
[_impl_AddTaskAdding Task 0x67F24B40RANDOM/Random-Handler 52.1  (0x6BF8BC90)
[
SMB2ERROR 'smbv2' SMB_connectgenerated GUID/UUID '0b76e040-79a1-4714-9e51-7bd289094baf'
[SMB2DEBUG 'network' Dump read packet structure at address 0x67B011F8
[SMB2DEBUG 'network' |     Start address 0x67B01210End address 0x67B1120Fcapacity 65535
[SMB2DEBUG 'network' |     Read address 0x67B01210Write address 0x67B01210available 0 bytes
[SMB2DEBUG 'network' |     Is Empty
[
SMB2INFO 'start' Connecting to '192.168.1.58:445'...
[
SMB2DEBUG 'start' Socket connected
[SMB2DEBUG 'start' Configured keep Alive
[SMB2DEBUG 'start' Configured TCP No delay
[SMB2DEBUG 'network' Dump read packet structure at address 0x67B011F8
[SMB2DEBUG 'network' |     Start address 0x67B01210End address 0x67B1120Fcapacity 65535
[SMB2DEBUG 'network' |     Read address 0x67B01210Write address 0x67B01210available 0 bytes
[SMB2DEBUG 'network' |     Is Empty
[
SMB2DEBUG 'smbv2' Negotiate Protocol Request:
[
SMB2DEBUG 'smbv2' |     SMB2 Header [Request]:
[
SMB2DEBUG 'smbv2' |         ProtocolId0xFE534D42
[SMB2DEBUG 'smbv2' |         Header Length64
[SMB2DEBUG 'smbv2' |         Credit Charge0
[SMB2DEBUG 'smbv2' |         Status0x00000000
[SMB2DEBUG 'smbv2' |             ServeritySucess
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |         CommandNegotiate protocol
[SMB2DEBUG 'smbv2' |         Credit requested126
[SMB2DEBUG 'smbv2' |         Flags0x00000000
[SMB2DEBUG 'smbv2' |         Next command/Chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x0000000000000000
[SMB2DEBUG 'smbv2' |         Process Id0x6A675200
[SMB2DEBUG 'smbv2' |         Tree Id0x00000000
[SMB2DEBUG 'smbv2' |         Session ID0x0000000000000000
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x0024
[SMB2DEBUG 'smbv2' |         Fixed Length Part18
[SMB2DEBUG 'smbv2' |         Dynamic PartFalse
[SMB2DEBUG 'smbv2' |     Dialect Count1
[SMB2DEBUG 'smbv2' |     SecurityMode0x01
[SMB2DEBUG 'smbv2' |         Signing enabledTrue
[SMB2DEBUG 'smbv2' |         Signing requiredFalse
[SMB2DEBUG 'smbv2' |     Reserved0x00
[SMB2DEBUG 'smbv2' |     Capabilities0x00000000
[SMB2DEBUG 'smbv2' |         DFSFalse
[SMB2DEBUG 'smbv2' |         LEASINGFalse
[SMB2DEBUG 'smbv2' |         LARGE MTUFalse
[SMB2DEBUG 'smbv2' |         MULTI CHANNELFalse
[SMB2DEBUG 'smbv2' |         PERSISTENS HANDLESFalse
[SMB2DEBUG 'smbv2' |         DIRECTORY LEASINGFalse
[SMB2DEBUG 'smbv2' |         ENCYRPTIONFalse
[SMB2DEBUG 'smbv2' |     Client Guid40e0760b-a179-1447-9e51-7bd289094baf
[SMB2DEBUG 'smbv2' |     smb2:
[
SMB2DEBUG 'smbv2' |         ClientStartTimeTODO
[SMB2DEBUG 'smbv2' |     smbVx311:
[
SMB2DEBUG 'smbv2' |         NegotiateContextOffset0x00000000
[SMB2DEBUG 'smbv2' |         NegotiateContextCount0x00
[SMB2DEBUG 'smbv2' |         Reserved0x00
[SMB2DEBUG 'smbv2' |     Dialect (0x202):
[
SMB2DEBUG 'network' NETWORK_DataBuffer_writeBytesBuffered 108 bytes
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send108
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Write to socket request
[SMB2DEBUG 'network' NETWORK_sendBytesTrying to send 108 bytes
[SMB2DEBUG 'network' NETWORK_sendBytesSuccessfull send 108 bytes?
[
SMB2DEBUG 'smbv2' SMB2_FreeFreed a packet
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' Dump read packet structure at address 0x67B011F8
[SMB2DEBUG 'network' |     Start address 0x67B01210End address 0x67B1120Fcapacity 65535
[SMB2DEBUG 'network' |     Read address 0x67B01210Write address 0x67B01210available 0 bytes
[SMB2DEBUG 'network' |     Is Empty
[
SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 65535 bytes into 0x67B01210 from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 452 bytes
[SMB2DEBUG 'network' Dump read packet structure at address 0x67B011F8
[SMB2DEBUG 'network' |     Start address 0x67B01210End address 0x67B1120Fcapacity 65535
[SMB2DEBUG 'network' |     Read address 0x67B01210Write address 0x67B013D4available 452 bytes
[SMB2DEBUG 'network' |          0x00 0x00 0x01 0xC0 0xFE 0x53 0x4D 0x42   0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x00 0x01 0x00 0x01 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x00 0x00 0x00 0x00 0x52 0x67 0x6A   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x00 0x00 0x00 0x41 0x00 0x01 0x00   0x02 0x02 0x00 0x00 0xA7 0x9C 0x13 0x06  
[SMB2DEBUG 'network' |          0x7D 0xD1 0x8C 0x49 0x81 0x30 0x71 0x78   0x32 0x6F 0xBD 0xFC 0x01 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x00 0x01 0x00 0x00 0x00 0x01 0x00   0x00 0x00 0x01 0x00 0xE0 0x5C 0x8D 0x25  
[SMB2DEBUG 'network' |          0x26 0x8A 0xD8 0x01 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x80 0x00 0x40 0x01  
[SMB2DEBUG 'network' |          0x00 0x00 0x00 0x00 0x60 0x82 0x01 0x3C   0x06 0x06 0x2B 0x06 0x01 0x05 0x05 0x02  
[SMB2DEBUG 'network' |          0xA0 0x82 0x01 0x30 0x30 0x82 0x01 0x2C   0xA0 0x1A 0x30 0x18 0x06 0x0A 0x2B 0x06  
[SMB2DEBUG 'network' |          0x01 0x04 0x01 0x82 0x37 0x02 0x02 0x1E   0x06 0x0A 0x2B 0x06 0x01 0x04 0x01 0x82  
[SMB2DEBUG 'network' |          0x37 0x02 0x02 0x0A 0xA2 0x82 0x01 0x0C   0x04 0x82 0x01 0x08 0x4E 0x45 0x47 0x4F  
[SMB2DEBUG 'network' |          0x45 0x58 0x54 0x53 0x01 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x70 0x00 0x00 0x00 0x2A 0xB6 0x1B 0xCF   0x8A 0x77 0x1F 0xCF 0x43 0x39 0xBA 0x8A  
[SMB2DEBUG 'network' |          0xF1 0xDD 0x0B 0x16 0x0F 0x2D 0x1B 0xC8   0xA6 0x69 0x5A 0x59 0x02 0x6B 0x47 0x2E  
[SMB2DEBUG 'network' |          0x43 0xA9 0xD3 0x8B 0x6F 0xD9 0xF9 0x68   0x55 0xDC 0xBC 0xDD 0x21 0x4A 0xFF 0x5D  
[SMB2DEBUG 'network' |          0x24 0x50 0xCE 0x23 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x5C 0x33 0x53 0x0D  
[SMB2DEBUG 'network' |          0xEA 0xF9 0x0D 0x4D 0xB2 0xEC 0x4A 0xE3   0x78 0x6E 0xC3 0x08 0x4E 0x45 0x47 0x4F  
[SMB2DEBUG 'network' |          0x45 0x58 0x54 0x53 0x03 0x00 0x00 0x00   0x01 0x00 0x00 0x00 0x40 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x98 0x00 0x00 0x00 0x2A 0xB6 0x1B 0xCF   0x8A 0x77 0x1F 0xCF 0x43 0x39 0xBA 0x8A  
[SMB2DEBUG 'network' |          0xF1 0xDD 0x0B 0x16 0x5C 0x33 0x53 0x0D   0xEA 0xF9 0x0D 0x4D 0xB2 0xEC 0x4A 0xE3  
[SMB2DEBUG 'network' |          0x78 0x6E 0xC3 0x08 0x40 0x00 0x00 0x00   0x58 0x00 0x00 0x00 0x30 0x56 0xA0 0x54  
[SMB2DEBUG 'network' |          0x30 0x52 0x30 0x27 0x80 0x25 0x30 0x23   0x31 0x21 0x30 0x1F 0x06 0x03 0x55 0x04  
[SMB2DEBUG 'network' |          0x03 0x13 0x18 0x54 0x6F 0x6B 0x65 0x6E   0x20 0x53 0x69 0x67 0x6E 0x69 0x6E 0x67  
[SMB2DEBUG 'network' |          0x20 0x50 0x75 0x62 0x6C 0x69 0x63 0x20   0x4B 0x65 0x79 0x30 0x27 0x80 0x25 0x30  
[SMB2DEBUG 'network' |          0x23 0x31 0x21 0x30 0x1F 0x06 0x03 0x55   0x04 0x03 0x13 0x18 0x54 0x6F 0x6B 0x65  
[SMB2DEBUG 'network' |          0x6E 0x20 0x53 0x69 0x67 0x6E 0x69 0x6E   0x67 0x20 0x50 0x75 0x62 0x6C 0x69 0x63  
[SMB2DEBUG 'network' |          0x20 0x4B 0x65 0x79
[SMB2DEBUG 'network' NETWORK_processBytesstart packet 0x67B011F8
[SMB2DEBUG 'smbv2' SMB2_ProcesserRemaining bytes 452
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame length is448
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame should be decodable
[SMB2DEBUG 'network' NETWORK_processBytesFound valid framedecodedablereset read pointer
[SMB2DEBUG 'smbv2' SMB2_Decoderheader address 0x67F8DB60
[SMB2DEBUG 'smbv2' SMB2_DecoderCHECK ITFrame length is448
[SMB2INFO 'smbv2' SMB2_DecoderDecoding Negotiate Reponse Message 'SMB2_COMMAND_NEGOTIATE' (0)
[
SMB2DEBUG 'smbv2' decodeNegotiateResponseheader address 0x67F8DB60
[SMB2DEBUG 'smbv2' Negotiate Protocol Response:
[
SMB2DEBUG 'smbv2' |     SMB2 Header [Response]:
[
SMB2DEBUG 'smbv2' |         ProtocolId0xFE534D42
[SMB2DEBUG 'smbv2' |         Header Length64
[SMB2DEBUG 'smbv2' |         Credit Charge0
[SMB2DEBUG 'smbv2' |         Status0x00000000
[SMB2DEBUG 'smbv2' |             ServeritySucess
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |         CommandNegotiate protocol
[SMB2DEBUG 'smbv2' |         Credit granted1
[SMB2DEBUG 'smbv2' |         Flags0x00000001
[SMB2DEBUG 'smbv2' |         This is a REQUEST
[SMB2DEBUG 'smbv2' |         This is a SYNC command
[SMB2DEBUG 'smbv2' |         This pdu is NOT a CHAINED command
[SMB2DEBUG 'smbv2' |         This pdu is NOT SIGNED
[SMB2DEBUG 'smbv2' |         This pdu does NOT contain a PRIORITY
[SMB2DEBUG 'smbv2' |         This is a normal operation
[SMB2DEBUG 'smbv2' |         This is NOT a REPLAY operation
[SMB2DEBUG 'smbv2' |         Next command/chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x0000000000000000
[SMB2DEBUG 'smbv2' |         Process Id0x6A675200
[SMB2DEBUG 'smbv2' |         Tree Id0x00000000
[SMB2DEBUG 'smbv2' |         Session ID0x0000000000000000
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x0041
[SMB2DEBUG 'smbv2' |         Fixed Length Part32
[SMB2DEBUG 'smbv2' |         Dynamic PartTrue
[SMB2DEBUG 'smbv2' |     SecurityMode0x01
[SMB2DEBUG 'smbv2' |         Signing enabledTrue
[SMB2DEBUG 'smbv2' |         Signing requiredFalse
[SMB2DEBUG 'smbv2' |     DialectRevision: (0x202):
[
SMB2DEBUG 'smbv2' |     NegotiateConextCount0
[SMB2DEBUG 'smbv2' |     ServerGuida79c1306-7dd1-8c49-8130-7178326fbdfc
[SMB2DEBUG 'smbv2' |     Capabilities0x00000001
[SMB2DEBUG 'smbv2' |         DFSTrue
[SMB2DEBUG 'smbv2' |         LEASINGFalse
[SMB2DEBUG 'smbv2' |         LARGE MTUFalse
[SMB2DEBUG 'smbv2' |         MULTI CHANNELFalse
[SMB2DEBUG 'smbv2' |         PERSISTENS HANDLESFalse
[SMB2DEBUG 'smbv2' |         DIRECTORY LEASINGFalse
[SMB2DEBUG 'smbv2' |         ENCYRPTIONFalse
[SMB2DEBUG 'smbv2' |     MaxTransactSize65536
[SMB2DEBUG 'smbv2' |     MaxReadSize65536
[SMB2DEBUG 'smbv2' |     MaxWriteSize65536
[SMB2DEBUG 'smbv2' |     SystemTimeTODO
[SMB2DEBUG 'smbv2' |     ServerStartTimeTODO
[SMB2DEBUG 'smbv2' |     SecurityBufferOffset128 0x00000080
[SMB2DEBUG 'smbv2' |     SecurityBufferLength320
[SMB2DEBUG 'smbv2' |     NegotiateContextOffset0x00000000
[SMB2DEBUG 'smbv2' |     GSS Security BLOB Dump (Length 320 at 0x67D7E444):
[
SMB2DEBUG 'smbv2' |          0x60 0x82 0x01 0x3C 0x06 0x06 0x2B 0x06   0x01 0x05 0x05 0x02 0xA0 0x82 0x01 0x30  
[SMB2DEBUG 'smbv2' |          0x30 0x82 0x01 0x2C 0xA0 0x1A 0x30 0x18   0x06 0x0A 0x2B 0x06 0x01 0x04 0x01 0x82  
[SMB2DEBUG 'smbv2' |          0x37 0x02 0x02 0x1E 0x06 0x0A 0x2B 0x06   0x01 0x04 0x01 0x82 0x37 0x02 0x02 0x0A  
[SMB2DEBUG 'smbv2' |          0xA2 0x82 0x01 0x0C 0x04 0x82 0x01 0x08   0x4E 0x45 0x47 0x4F 0x45 0x58 0x54 0x53  
[SMB2DEBUG 'smbv2' |          0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x60 0x00 0x00 0x00 0x70 0x00 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x2A 0xB6 0x1B 0xCF 0x8A 0x77 0x1F 0xCF   0x43 0x39 0xBA 0x8A 0xF1 0xDD 0x0B 0x16  
[SMB2DEBUG 'smbv2' |          0x0F 0x2D 0x1B 0xC8 0xA6 0x69 0x5A 0x59   0x02 0x6B 0x47 0x2E 0x43 0xA9 0xD3 0x8B  
[SMB2DEBUG 'smbv2' |          0x6F 0xD9 0xF9 0x68 0x55 0xDC 0xBC 0xDD   0x21 0x4A 0xFF 0x5D 0x24 0x50 0xCE 0x23  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x60 0x00 0x00 0x00 0x01 0x00 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00   0x5C 0x33 0x53 0x0D 0xEA 0xF9 0x0D 0x4D  
[SMB2DEBUG 'smbv2' |          0xB2 0xEC 0x4A 0xE3 0x78 0x6E 0xC3 0x08   0x4E 0x45 0x47 0x4F 0x45 0x58 0x54 0x53  
[SMB2DEBUG 'smbv2' |          0x03 0x00 0x00 0x00 0x01 0x00 0x00 0x00   0x40 0x00 0x00 0x00 0x98 0x00 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0x2A 0xB6 0x1B 0xCF 0x8A 0x77 0x1F 0xCF   0x43 0x39 0xBA 0x8A 0xF1 0xDD 0x0B 0x16  
[SMB2DEBUG 'smbv2' |          0x5C 0x33 0x53 0x0D 0xEA 0xF9 0x0D 0x4D   0xB2 0xEC 0x4A 0xE3 0x78 0x6E 0xC3 0x08  
[SMB2DEBUG 'smbv2' |          0x40 0x00 0x00 0x00 0x58 0x00 0x00 0x00   0x30 0x56 0xA0 0x54 0x30 0x52 0x30 0x27  
[SMB2DEBUG 'smbv2' |          0x80 0x25 0x30 0x23 0x31 0x21 0x30 0x1F   0x06 0x03 0x55 0x04 0x03 0x13 0x18 0x54  
[SMB2DEBUG 'smbv2' |          0x6F 0x6B 0x65 0x6E 0x20 0x53 0x69 0x67   0x6E 0x69 0x6E 0x67 0x20 0x50 0x75 0x62  
[SMB2DEBUG 'smbv2' |          0x6C 0x69 0x63 0x20 0x4B 0x65 0x79 0x30   0x27 0x80 0x25 0x30 0x23 0x31 0x21 0x30  
[SMB2DEBUG 'smbv2' |          0x1F 0x06 0x03 0x55 0x04 0x03 0x13 0x18   0x54 0x6F 0x6B 0x65 0x6E 0x20 0x53 0x69  
[SMB2DEBUG 'smbv2' |          0x67 0x6E 0x69 0x6E 0x67 0x20 0x50 0x75   0x62 0x6C 0x69 0x63 0x20 0x4B 0x65 0x79
[SMB2INFO 'smbv2' SMB2_ConsumerConsume Negotiate Reponse Message 0
[SMB2DEBUG 'smbv2' SMB2_ConsumerSMBv2 calling (gss_init_secdesired GSS Mechanism 'SPNEGO' with context handle 0x689F0094 with value 0x00000000
[SMB2DEBUG 'gss-api' gss_init_sec_contextContext handle is NO_CONTEXT
[SMB2DEBUG 'mech' _gss_find_mechSearching for OID'1.3.6.1.5.5.2'...found1.3.6.1.5.5.2
[SMB2DEBUG 'gss-api' gss_init_sec_contextGSS-API calling (init_secselected GSS Mechanism '1.3.6.1.5.5.2' with context handle 0x67F6F84C with value 0x00000000
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContext:  Context is present
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextNo input tokencreated initial token
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitOffer MechType '1.3.6.1.4.1.311.2.2.10'
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitCreated Mecthtype
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitConverted text to oid
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitmech list size 1
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitOptimistic mechanism '1.3.6.1.4.1.311.2.2.10'
[SMB2DEBUG 'spnego' _SPNEGO_alloc_NegTokenInitSPNEGO calling (init_secoptimistic GSS Mechanism '1.3.6.1.4.1.311.2.2.10' with context handle 0x68F28E64 with value 0x00000000
[SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextbegin
[SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextGot called  with context handle 0x68F28E64 with value 0x00000000
[SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextNegotiate Message (Length 40):
[
SMB2DEBUG 'ntlm' _NTLM_InitSecurityContextend
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextInitial token:
[
SMB2DEBUG 'spnego' Simple Protected Negotiation:
[
SMB2DEBUG 'spnego' |     TypeNegTokenInit
[SMB2DEBUG 'spnego' |     mechTypes1
[SMB2DEBUG 'spnego' |         MechType 1.3.6.1.4.1.311.2.2.10
[SMB2DEBUG 'spnego' |     reqFlagsNot present
[SMB2DEBUG 'spnego' |     mechTokenlength 40
[SMB2DEBUG 'spnego' |          0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00   0x01 0x00 0x00 0x00 0x17 0x82 0x08 0xE2  
[SMB2DEBUG 'spnego' |          0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |          0x06 0x01 0xB0 0x1D 0x00 0x00 0x00 0x00
[SMB2DEBUG 'spnego' |     mechListMICNot present
[SMB2INFO 'spnego' _SPNEGO_InitSecurityContextGot an init negotation token
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextProcessed token:
[
SMB2DEBUG 'spnego' Simple Protected Negotiation:
[
SMB2DEBUG 'spnego' |     TypeNegTokenInit
[SMB2DEBUG 'spnego' |     mechTypes1
[SMB2DEBUG 'spnego' |         MechType 1.3.6.1.4.1.311.2.2.10
[SMB2DEBUG 'spnego' |     reqFlagsNot present
[SMB2DEBUG 'spnego' |     mechTokenlength 40
[SMB2DEBUG 'spnego' |          0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00   0x01 0x00 0x00 0x00 0x17 0x82 0x08 0xE2  
[SMB2DEBUG 'spnego' |          0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |          0x06 0x01 0xB0 0x1D 0x00 0x00 0x00 0x00
[SMB2DEBUG 'spnego' |     mechListMICNot present
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextOutput buffer supplied
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextResponse token (Length 64)
[
SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextAllocVecTags succeeded
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextEncode token
[SMB2DEBUG 'spnego' _SPNEGO_InitSecurityContextEncoded DER represantaion of token:
[
SMB2DEBUG 'spnego' |      0xA0 0x3E 0x30 0x3C 0xA0 0x0E 0x30 0x0C   0x06 0x0A 0x2B 0x06 0x01 0x04 0x01 0x82  
[SMB2DEBUG 'spnego' |      0x37 0x02 0x02 0x0A 0xA2 0x2A 0x04 0x28   0x4E 0x54 0x4C 0x4D 0x53 0x53 0x50 0x00  
[SMB2DEBUG 'spnego' |      0x01 0x00 0x00 0x00 0x17 0x82 0x08 0xE2   0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00  
[SMB2DEBUG 'spnego' |      0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00   0x06 0x01 0xB0 0x1D 0x00 0x00 0x00 0x00
[SMB2DEBUG 'gss-api' gss_init_sec_contextResponse token (Length 74)
[
SMB2DEBUG 'gss-api' |     inner token size 64
[SMB2DEBUG 'gss-api' |     oid size 6
[SMB2DEBUG 'gss-api' |     complete payload size 74
[SMB2DEBUG 'gss-api' gss_init_sec_contextAllocation performed
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 0 value0x60
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 1 value
[SMB2DEBUG 'ans1' _ANS1_DER_encode_lengthpayload size fits in single byte
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncode response index 2 value after length encoding
 
[SMB2DEBUG 'ans1' _ANS1_DER_encode_lengthpayload size fits in single byte
[SMB2DEBUG 'gss-api' gss_init_sec_contextEncoded DER represantaion of token:
[
SMB2DEBUG 'gss-api' |      0x60 0x48 0x06 0x06 0x2B 0x06 0x01 0x05   0x05 0x02 0xA0 0x3E 0x30 0x3C 0xA0 0x0E  
[SMB2DEBUG 'gss-api' |      0x30 0x0C 0x06 0x0A 0x2B 0x06 0x01 0x04   0x01 0x82 0x37 0x02 0x02 0x0A 0xA2 0x2A  
[SMB2DEBUG 'gss-api' |      0x04 0x28 0x4E 0x54 0x4C 0x4D 0x53 0x53   0x50 0x00 0x01 0x00 0x00 0x00 0x17 0x82  
[SMB2DEBUG 'gss-api' |      0x08 0xE2 0x00 0x00 0x00 0x00 0x28 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x28 0x00  
[SMB2DEBUG 'gss-api' |      0x00 0x00 0x06 0x01 0xB0 0x1D 0x00 0x00   0x00 0x00
[SMB2DEBUG 'gss-api' gss_init_sec_contextOutput buffer supplied
[SMB2DEBUG 'smbv2' createSessionSetupRequestsizeof SMB_Session_Setup_Request 92 ,SMB_Header 68 sizeof GSSToken 74 size of Direct Header 4
[SMB2DEBUG 'smbv2' Session Setup Request:
[
SMB2DEBUG 'smbv2' |     SMB2 Header [Request]:
[
SMB2DEBUG 'smbv2' |         ProtocolId0xFE534D42
[SMB2DEBUG 'smbv2' |         Header Length64
[SMB2DEBUG 'smbv2' |         Credit Charge0
[SMB2DEBUG 'smbv2' |         Status0x00000000
[SMB2DEBUG 'smbv2' |             ServeritySucess
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |         CommandSession setup
[SMB2DEBUG 'smbv2' |         Credit requested126
[SMB2DEBUG 'smbv2' |         Flags0x00000000
[SMB2DEBUG 'smbv2' |         Next command/Chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x0000000000000001
[SMB2DEBUG 'smbv2' |         Process Id0x6A675200
[SMB2DEBUG 'smbv2' |         Tree Id0x00000000
[SMB2DEBUG 'smbv2' |         Session ID0x0000000000000000
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x0019
[SMB2DEBUG 'smbv2' |         Fixed Length Part12
[SMB2DEBUG 'smbv2' |         Dynamic PartTrue
[SMB2DEBUG 'smbv2' |     Flags0x00
[SMB2DEBUG 'smbv2' |     SecurityMode0x01
[SMB2DEBUG 'smbv2' |         Signing enabledTrue
[SMB2DEBUG 'smbv2' |         Signing requiredFalse
[SMB2DEBUG 'smbv2' |     Capabilities0x00000000
[SMB2DEBUG 'smbv2' |         DFSFalse
[SMB2DEBUG 'smbv2' |         LEASINGFalse
[SMB2DEBUG 'smbv2' |         LARGE MTUFalse
[SMB2DEBUG 'smbv2' |         MULTI CHANNELFalse
[SMB2DEBUG 'smbv2' |         PERSISTENS HANDLESFalse
[SMB2DEBUG 'smbv2' |         DIRECTORY LEASINGFalse
[SMB2DEBUG 'smbv2' |         ENCYRPTIONFalse
[SMB2DEBUG 'smbv2' |     Channel0x00000000
[SMB2DEBUG 'smbv2' |     Pervious Session IdTODO
[SMB2DEBUG 'smbv2' |     SecurityBufferOffset88
[SMB2DEBUG 'smbv2' |     SecurityBufferLength74
[SMB2DEBUG 'smbv2' |     GSS Security BLOB Dump (Length 74 at 0x67F9A42C):
[
SMB2DEBUG 'smbv2' |          0x60 0x48 0x06 0x06 0x2B 0x06 0x01 0x05   0x05 0x02 0xA0 0x3E 0x30 0x3C 0xA0 0x0E  
[SMB2DEBUG 'smbv2' |          0x30 0x0C 0x06 0x0A 0x2B 0x06 0x01 0x04   0x01 0x82 0x37 0x02 0x02 0x0A 0xA2 0x2A  
[SMB2DEBUG 'smbv2' |          0x04 0x28 0x4E 0x54 0x4C 0x4D 0x53 0x53   0x50 0x00 0x01 0x00 0x00 0x00 0x17 0x82  
[SMB2DEBUG 'smbv2' |          0x08 0xE2 0x00 0x00 0x00 0x00 0x28 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x28 0x00  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x06 0x01 0xB0 0x1D 0x00 0x00   0x00 0x00
[SMB2DEBUG 'network' NETWORK_DataBuffer_writeBytesBuffered 166 bytes
[SMB2DEBUG 'network' NETWORK_processBytesConsumed frame
[SMB2ERROR 'start' Reading failed with error code -1
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send166
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Write to socket request
[SMB2DEBUG 'network' NETWORK_sendBytesTrying to send 166 bytes
[SMB2DEBUG 'network' NETWORK_sendBytesSuccessfull send 166 bytes?
[
SMB2DEBUG 'smbv2' SMB2_FreeFreed a packet
[SMB2DEBUG 'network' NETWORK_pendingBytesPending data in bytes to send0
[SMB2DEBUG 'start' Wake up from WaitSelect with 0x00000001 ready descriptors
[SMB2DEBUG 'start' Reading from socket request
[SMB2DEBUG 'network' Dump read packet structure at address 0x67B011F8
[SMB2DEBUG 'network' |     Start address 0x67B01210End address 0x67B1120Fcapacity 65535
[SMB2DEBUG 'network' |     Read address 0x67B013D4Write address 0x67B013D4available 0 bytes
[SMB2DEBUG 'network' |     Is Empty
[
SMB2DEBUG 'network' _iNETWORK_receiveBytesTrying to receive 65083 bytes into 0x67B013D4 from socket 0
[SMB2DEBUG 'network' _iNETWORK_receiveBytesRead 347 bytes
[SMB2DEBUG 'network' Dump read packet structure at address 0x67B011F8
[SMB2DEBUG 'network' |     Start address 0x67B01210End address 0x67B1120Fcapacity 65535
[SMB2DEBUG 'network' |     Read address 0x67B013D4Write address 0x67B0152Favailable 347 bytes
[SMB2DEBUG 'network' |          0x00 0x00 0x01 0x57 0xFE 0x53 0x4D 0x42   0x40 0x00 0x00 0x00 0x16 0x00 0x00 0xC0  
[SMB2DEBUG 'network' |          0x01 0x00 0x01 0x00 0x01 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x00 0x00 0x00 0x00 0x52 0x67 0x6A   0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x38 0x02 0x00 0x00 0x00 0x00 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x00 0x00 0x00 0x09 0x00 0x00 0x00   0x48 0x00 0x0F 0x01 0xA1 0x82 0x01 0x0B  
[SMB2DEBUG 'network' |          0x30 0x82 0x01 0x07 0xA0 0x03 0x0A 0x01   0x01 0xA1 0x0C 0x06 0x0A 0x2B 0x06 0x01  
[SMB2DEBUG 'network' |          0x04 0x01 0x82 0x37 0x02 0x02 0x0A 0xA2   0x81 0xF1 0x04 0x81 0xEE 0x4E 0x54 0x4C  
[SMB2DEBUG 'network' |          0x4D 0x53 0x53 0x50 0x00 0x02 0x00 0x00   0x00 0x1E 0x00 0x1E 0x00 0x38 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x15 0x82 0x8A 0xE2 0xE2 0x9C 0x8D   0x08 0xDC 0xAB 0x29 0xA2 0x00 0x00 0x00  
[SMB2DEBUG 'network' |          0x00 0x00 0x00 0x00 0x00 0x98 0x00 0x98   0x00 0x56 0x00 0x00 0x00 0x0A 0x00 0x61  
[SMB2DEBUG 'network' |          0x4A 0x00 0x00 0x00 0x0F 0x44 0x00 0x45   0x00 0x53 0x00 0x4B 0x00 0x54 0x00 0x4F  
[SMB2DEBUG 'network' |          0x00 0x50 0x00 0x2D 0x00 0x39 0x00 0x54   0x00 0x42 0x00 0x4D 0x00 0x34 0x00 0x4A  
[SMB2DEBUG 'network' |          0x00 0x46 0x00 0x02 0x00 0x1E 0x00 0x44   0x00 0x45 0x00 0x53 0x00 0x4B 0x00 0x54  
[SMB2DEBUG 'network' |          0x00 0x4F 0x00 0x50 0x00 0x2D 0x00 0x39   0x00 0x54 0x00 0x42 0x00 0x4D 0x00 0x34  
[SMB2DEBUG 'network' |          0x00 0x4A 0x00 0x46 0x00 0x01 0x00 0x1E   0x00 0x44 0x00 0x45 0x00 0x53 0x00 0x4B  
[SMB2DEBUG 'network' |          0x00 0x54 0x00 0x4F 0x00 0x50 0x00 0x2D   0x00 0x39 0x00 0x54 0x00 0x42 0x00 0x4D  
[SMB2DEBUG 'network' |          0x00 0x34 0x00 0x4A 0x00 0x46 0x00 0x04   0x00 0x1E 0x00 0x44 0x00 0x45 0x00 0x53  
[SMB2DEBUG 'network' |          0x00 0x4B 0x00 0x54 0x00 0x4F 0x00 0x50   0x00 0x2D 0x00 0x39 0x00 0x54 0x00 0x42  
[SMB2DEBUG 'network' |          0x00 0x4D 0x00 0x34 0x00 0x4A 0x00 0x46   0x00 0x03 0x00 0x1E 0x00 0x44 0x00 0x45  
[SMB2DEBUG 'network' |          0x00 0x53 0x00 0x4B 0x00 0x54 0x00 0x4F   0x00 0x50 0x00 0x2D 0x00 0x39 0x00 0x54  
[SMB2DEBUG 'network' |          0x00 0x42 0x00 0x4D 0x00 0x34 0x00 0x4A   0x00 0x46 0x00 0x07 0x00 0x08 0x00 0x02  
[SMB2DEBUG 'network' |          0x19 0x87 0x26 0x26 0x8A 0xD8 0x01 0x00   0x00 0x00 0x00
[SMB2DEBUG 'network' NETWORK_processBytesstart packet 0x67B011F8
[SMB2DEBUG 'smbv2' SMB2_ProcesserRemaining bytes 347
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame length is343
[SMB2DEBUG 'smbv2' SMB2_ProcesserFrame should be decodable
[SMB2DEBUG 'network' NETWORK_processBytesFound valid framedecodedablereset read pointer
[SMB2DEBUG 'smbv2' SMB2_Decoderheader address 0x67F8DB60
[SMB2DEBUG 'smbv2' SMB2_DecoderCHECK ITFrame length is343
[SMB2INFO 'smbv2' SMB2_DecoderDecoding SessionSetup Reponse Message 'SMB2_COMMAND_SESSION_SETUP' (1)
[
SMB2DEBUG 'smbv2' decodeSessionSetupResponseheader address 0x67F8DB60
[SMB2ERROR 'smbv2' decodeSessionSetupResponseGoing to allaocte 347 bytes
[SMB2ERROR 'smbv2' decodeSessionSetupResponseGot it
[SMB2DEBUG 'smbv2' SessionSetup Protocol Response:
[
SMB2DEBUG 'smbv2' |     SMB2 Header [Response]:
[
SMB2DEBUG 'smbv2' |         ProtocolId0xFE534D42
[SMB2DEBUG 'smbv2' |         Header Length64
[SMB2DEBUG 'smbv2' |         Credit Charge0
[SMB2DEBUG 'smbv2' |         Status0xC0000016
[SMB2DEBUG 'smbv2' |             ServerityError
[SMB2DEBUG 'smbv2' |             Defined byCustomer
[SMB2DEBUG 'smbv2' |             MORE_PROCERSSING_REQUIRED
[SMB2DEBUG 'smbv2' |         CommandSession setup
[SMB2DEBUG 'smbv2' |         Credit granted1
[SMB2DEBUG 'smbv2' |         Flags0x00000001
[SMB2DEBUG 'smbv2' |         This is a REQUEST
[SMB2DEBUG 'smbv2' |         This is a SYNC command
[SMB2DEBUG 'smbv2' |         This pdu is NOT a CHAINED command
[SMB2DEBUG 'smbv2' |         This pdu is NOT SIGNED
[SMB2DEBUG 'smbv2' |         This pdu does NOT contain a PRIORITY
[SMB2DEBUG 'smbv2' |         This is a normal operation
[SMB2DEBUG 'smbv2' |         This is NOT a REPLAY operation
[SMB2DEBUG 'smbv2' |         Next command/chain offset0
[SMB2DEBUG 'smbv2' |         Message ID0x0000000000000001
[SMB2DEBUG 'smbv2' |         Process Id0x6A675200
[SMB2DEBUG 'smbv2' |         Tree Id0x00000000
[SMB2DEBUG 'smbv2' |         Session ID0x0002380000000011
[SMB2DEBUG 'smbv2' |         Signature0x TODO
[SMB2DEBUG 'smbv2' |     StructureSize0x08DC
[SMB2DEBUG 'smbv2' |         Fixed Length Part1134
[SMB2DEBUG 'smbv2' |         Dynamic PartFalse
[SMB2DEBUG 'smbv2' |     Error Context Count171
[SMB2DEBUG 'smbv2' |     Reserved41
[SMB2DEBUG 'smbv2' |     Error data (2717908992)
[
SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x00 0x98 0x00 0x98   0x00 0x56 0x00 0x00 0x00 0x0A 0x00 0x61  
[SMB2DEBUG 'smbv2' |          0x4A 0x00 0x00 0x00 0x0F 0x44 0x00 0x45   0x00 0x53 0x00 0x4B 0x00 0x54 0x00 0x4F  
[SMB2DEBUG 'smbv2' |          0x00 0x50 0x00 0x2D 0x00 0x39 0x00 0x54   0x00 0x42 0x00 0x4D 0x00 0x34 0x00 0x4A  
[SMB2DEBUG 'smbv2' |          0x00 0x46 0x00 0x02 0x00 0x1E 0x00 0x44   0x00 0x45 0x00 0x53 0x00 0x4B 0x00 0x54  
[SMB2DEBUG 'smbv2' |          0x00 0x4F 0x00 0x50 0x00 0x2D 0x00 0x39   0x00 0x54 0x00 0x42 0x00 0x4D 0x00 0x34  
[SMB2DEBUG 'smbv2' |          0x00 0x4A 0x00 0x46 0x00 0x01 0x00 0x1E   0x00 0x44 0x00 0x45 0x00 0x53 0x00 0x4B  
[SMB2DEBUG 'smbv2' |          0x00 0x54 0x00 0x4F 0x00 0x50 0x00 0x2D   0x00 0x39 0x00 0x54 0x00 0x42 0x00 0x4D  
[SMB2DEBUG 'smbv2' |          0x00 0x34 0x00 0x4A 0x00 0x46 0x00 0x04   0x00 0x1E 0x00 0x44 0x00 0x45 0x00 0x53  
[SMB2DEBUG 'smbv2' |          0x00 0x4B 0x00 0x54 0x00 0x4F 0x00 0x50   0x00 0x2D 0x00 0x39 0x00 0x54 0x00 0x42  
[SMB2DEBUG 'smbv2' |          0x00 0x4D 0x00 0x34 0x00 0x4A 0x00 0x46   0x00 0x03 0x00 0x1E 0x00 0x44 0x00 0x45  
[SMB2DEBUG 'smbv2' |          0x00 0x53 0x00 0x4B 0x00 0x54 0x00 0x4F   0x00 0x50 0x00 0x2D 0x00 0x39 0x00 0x54  
[SMB2DEBUG 'smbv2' |          0x00 0x42 0x00 0x4D 0x00 0x34 0x00 0x4A   0x00 0x46 0x00 0x07 0x00 0x08 0x00 0x02  
[SMB2DEBUG 'smbv2' |          0x19 0x87 0x26 0x26 0x8A 0xD8 0x01 0x00   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0x67 0xF2 0x4F 0xE0 0x67 0xF2 0x4F 0xDC   0x67 0xF2 0x4F 0xD0 0x67 0xF2 0x4E 0x40  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE   0xFE 0xFE 0xCA 0xFE 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0x68 0x3D 0xAF 0xD0 0xFF 0xFF 0xED 0xD4   0xFF 0xFF 0xED 0x90 0x67 0xF2 0x4E 0x40  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x00 0x67 0xF2 0x4E 0x40   0x00 0x00 0x00 0x09 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0x00 0x00 0x00 0x1F 0x62 0x76 0xB7 0x54   0x67 0xF2 0x40 0x00 0xFE 0xFE 0xCA 0xFE  
[SMB2DEBUG 'smbv2' |          0x17 0xAE 0x62 0x54 0x17 0xAE 0x62 0x5C   0x17 0xAE 0x62 0x64 0x17 0xAE 0x62 0x6C  
[SMB2DEBUG 'smbv2' |          0x17 0xAE 0x62 0x74 0x17 0xAE 0x62 0x28   0x17 0xAE 0x62 0x28 0x17 0xAE 0x62 0x28  
[SMB2DEBUG 'smbv2' |          0x17 0xAE 0x62 0x28 0x17 0xAE 0x62 0x28   0x17 0xAE 0x62 0x28 0x17 0xAE 0x62 0x7C


Edited by jabirulo on 2022/6/27 14:09:38
Go to top
Re: Strange AllocVec Problem
Quite a regular
Quite a regular


See User information
Is that a wombat?

cheers
tony
Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@tonyw

Of course it is a Wombat. You might not get mixed up by a Quokka. Even cute, bur haven't met any in real life yet, so don't know if they get my excited as the wombats did, as i first encounter one in Crains zoo, along time ago.

@jabirulo

Interesting error, looks like a missed translation of an endian encoding. See if that version https://drive.google.com/file/d/16OLQg ... hVlSG9IF/view?usp=sharing
gives more millage.
BTW what SMB Server do you use? Was it Win10?

It would be really interesting to see if anybody else has the same behavior.

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@MigthyMax
Windows 10 and 11 have support for both v1 and v2 samba, for v1 you have do install an additional samba packet (don't know if it requires Pro, since I only ever use Pro).

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@trgswe

Well smbv1 doesn’t bother me. There is already a client available for it, but it doesn’t support smbv2. Thus I just targeting to implement a smbv2 client with NTLMv2 authentication. So that a samba share can be accessed from the amiga without playing around at the server.

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@jabirulo

I had access to an Win10 Server and could test my implementation and ran in the same bug as you discovered in my implementation. Here is a fixed version, please if you like test it again:

https://drive.google.com/file/d/1YYpF6 ... xFRS3YCf/view?usp=sharing

@all

Even that the strange AllocBehavior disappars more and more. i got output on the shell, which isn't programmed. Anyone an idea what could cause that. See the image and the zeros:

Quote:

Connecting to '172.16.0.122:445'...connected
Negotiating dialect....accepted by server
Authenticating user....0000000000000000000000000000000000000000000000000000000000000000sucees


(Well don't how to add an image, so typed out) It seems to be exactly 64 zeros.

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
Are your sources open?
Seems like you are printing some memory area initialized with zeroes (MEMF_CLEAR AllocVec TAG).
One way to isolate it sholud be initialize memory with 1 (Clear_value TAG).

Memento audere semper!
Go to top
Re: Strange AllocVec Problem
Just can't stay away
Just can't stay away


See User information
@MigthyMax

On 1st attempt I got the same output as you

Then restarted amigaos and tried again, it always freezes/stucks at 'Negotiating dialect....accepted by server' ¿:-/

Will do some more test later.

Go to top
Re: Strange AllocVec Problem
Just popping in
Just popping in


See User information
@flash

The sources can be downloaded here https://drive.google.com/file/d/1VgN9h ... yRKq-bNf/view?usp=sharing

Something like that might it be, but currently i have no idea where to look. But i have the fleeing it might be wrong format string for some output and/or 64 ints alignment stuff.

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project