Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
48 user(s) are online (29 user(s) are browsing Forums)

Members: 0
Guests: 48

more...

Headlines

Forum Index


Board index » All Posts (MigthyMax)




Re: Strange AllocVec Problem
Just popping in
Just popping in


@jabirulo

Whenever you make your next test run. If you can give the debug output and maybe even the a wireshark capturing would be nice.

Go to top


Re: Strange AllocVec Problem
Just popping in
Just popping in


@trgswe

Good to know that i don't need to swap the data. That was a little question in back mind, which got answered now.
Will see that i rewrite the network read/write stuff.

Go to top


Re: Strange AllocVec Problem
Just popping in
Just popping in


@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


Re: Strange AllocVec Problem
Just popping in
Just popping in


@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


@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


@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


@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 popping in
Just popping in


@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


@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
Just popping in
Just popping in


@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
Just popping in
Just popping in


@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


Strange AllocVec Problem
Just popping in
Just popping in


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: SpotLess debugger
Just popping in
Just popping in


@alfkil

Where can the latest version of spotless be downloaded? The os4depot version seems to be from 2020 and on GitHub aren’t any releases for download.

Go to top


Re: X5000 No Boot with particular RX550 Card
Just popping in
Just popping in


@all

just for the curiosity. Has someone a RX580 gfx card successfully running, or are they not supported?

Go to top


Re: Support for "APICALL (__attribute__(libcall))" VS Code
Just popping in
Just popping in


@trgswe

I would probably be aware, if i would targeting 68k. But the __libcall__ attribute was introduced with Amiga OS4, os i thin only PPC targets are of concern of this.

@walkero

Thas nice to hear. Because i just picked one of our docker image from github, to build my envirnoment on. I don't know if it was the best choice, but i made Pull Request to include the latest SDK.

@all

I really recommend anyone having a github account and using Visual Studio Code or thinking of to use it in the future for cross compiling for AOS4 ti vote on the issue.

Go to top


Support for "APICALL (__attribute__(libcall))" VS Code
Just popping in
Just popping in


Hi everyone,

Im using VS code to cross compile for amigaOS 4, like George Sokianos described it in this Video on Youtube: docker based AmigaOS cross-platform development environment

This really works nice, except for that VS Code comes up with "too few arguments.." on each call to a Amiga Library function.

I wanted to go after it and found this posted issue: Intellisense support for gcc __attribute__((libcall)) not found

It seems that if enough interest is presented, one of the folks might add support for APICALL.

So anyone having interest in this feature of VS Code should maybe express it on Github.

Go to top


Re: SonosController - looking for beta testers
Just popping in
Just popping in


@mrupp

Well the killing of the Sonos device only happened with my first run with SonosController. Now that i wanted to verify it before posting, it didn't happen again. And even Auto discovering works really fine.
At work i only use Sonos(Controller) to mute and change radio station, and that works without any troubles, even with v1.2 version. But most of the day the app is just idling.

Oh, i have a Micro AmigaOne with OS4.1 with latest update. No enhancer stuff, because i (A-Eon) don't get my account working. Having 512Mb of RAM.

Go to top


Re: Micro A1-C, overclocking, PCI cards, etc..
Just popping in
Just popping in


@walkero

Please let us now how it works with your intended setup.
Because i have a IDE44 to SATA converted on the main IDE
interface, which gives none deterministic and random read
errors from while to while. I'm thinking about to replace
it with a Transcend PSD330, which is a SSD with PSATA (IDE
44) interface. But i think your solution could be nicer.

Go to top


Re: SonosController - looking for beta testers
Just popping in
Just popping in


@mrupp

I have access to SONOS speakers at work, so i tested your v1.1 around the time you released that version.

With my first test, SonosController had trouble to discover all speakers. So i added them one by one via there IP address. That somehow resulted in my colleagues haven't no access to the speakers via the Sonos app. Thus they wanted the control back, and we had a hard time to tell the original Sonos app, again about we speakers. We had to reset them etc, until access was possible. So i didn't use SonosController any further, until now.

I started v1.1 again and, whatever chnanged, now the speakers are automatically discovered. I can control them and my colleagues haven't yet a clue that i do it on my amiga. Maybe the cause was a issue on the company network? So works nice and great.

Next i started v1.2 and works as nice as v1.1, and even the groups are correctly discovered.

I did following tests:

a) On the original Sonos app, i split a group. SonosController did automatically update itself to reflect the change. Nice.

b) Rejoined the group with SonsoController. Was performed and the Sonos app did update itself to reflect the change.

If you want to have something specific tested, let me know. For now i stopped any testing, in the case something goes wrong, so that my colleagues don't get upset on me

Go to top


Re: AmiSphere Account
Just popping in
Just popping in


@amigakit

Thanks for the second email. I could log on the webpage and change the initial given password.

But if i use the AmiStore application on the amiga, i can not checkout. The app ask for my credential and seems to log in, at least no error comes. But the browser isn't opened (is configured as described). And looking from screenshots, i don't get a checkout button after login. What is wrong with my account?



Go to top



TopTop
(1) 2 3 »




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project