Modifier and Type | Method and Description |
---|---|
void |
ICifsAuthenticator.generateNegotiateResponse(SMBSrvSession sess,
SMBSrvPacket respPkt,
boolean extendedSecurity)
Generate the CIFS negotiate response packet, the authenticator should add authentication
specific fields to the response.
|
void |
EnterpriseCifsAuthenticator.generateNegotiateResponse(SMBSrvSession sess,
SMBSrvPacket respPkt,
boolean extendedSecurity)
Generate the CIFS negotiate response packet, the authenticator should add authentication
specific fields to the response.
|
void |
CifsAuthenticator.generateNegotiateResponse(SMBSrvSession sess,
SMBSrvPacket respPkt,
boolean extendedSecurity) |
void |
ICifsAuthenticator.processSessionSetup(SMBSrvSession sess,
SMBSrvPacket reqPkt)
Process the CIFS session setup request packet and build the session setup response
|
void |
EnterpriseCifsAuthenticator.processSessionSetup(SMBSrvSession sess,
SMBSrvPacket reqPkt)
Process the CIFS session setup request packet and build the session setup response
|
void |
CifsAuthenticator.processSessionSetup(SMBSrvSession sess,
SMBSrvPacket reqPkt) |
Modifier and Type | Method and Description |
---|---|
void |
PassthruAuthenticator.generateNegotiateResponse(SMBSrvSession sess,
SMBSrvPacket respPkt,
boolean extendedSecurity)
Generate the CIFS negotiate response packet, the authenticator should add authentication
specific fields to the response.
|
void |
PassthruAuthenticator.processSessionSetup(SMBSrvSession sess,
SMBSrvPacket reqPkt)
Process the CIFS session setup request packet and build the session setup response
|
Modifier and Type | Method and Description |
---|---|
void |
FileStateCache.requestOplockBreak(String path,
OpLockDetails oplock,
SMBSrvSession sess,
SMBSrvPacket pkt)
Request an oplock break
|
void |
FileStateLockManager.requestOpLockBreak(String path,
OpLockDetails oplock,
SMBSrvSession sess,
SMBSrvPacket pkt)
Request an oplock break on the specified oplock
|
Modifier and Type | Method and Description |
---|---|
SMBSrvPacket |
DeferredRequest.getDeferredPacket()
Return the deferred request packet
|
Modifier and Type | Method and Description |
---|---|
void |
OpLockDetailsAdapter.addDeferredSession(SMBSrvSession deferredSess,
SMBSrvPacket deferredPkt)
Add a deferred session/packet, whilst an oplock break is in progress
|
void |
LocalOpLockDetails.addDeferredSession(SMBSrvSession deferredSess,
SMBSrvPacket deferredPkt)
Add a deferred session/packet, whilst an oplock break is in progress
|
void |
OpLockDetails.addDeferredSession(SMBSrvSession deferredSess,
SMBSrvPacket deferredPkt)
Add a deferred session/packet, whilst an oplock break is in progress
|
void |
OpLockManager.requestOpLockBreak(String path,
OpLockDetails oplock,
SMBSrvSession sess,
SMBSrvPacket pkt)
Request an oplock break on the specified oplock
|
Constructor and Description |
---|
DeferredRequest(SMBSrvSession sess,
SMBSrvPacket reqPkt)
Class constructor
|
LocalOpLockDetails(int lockTyp,
String path,
SMBSrvSession sess,
SMBSrvPacket pkt,
boolean folder)
Class constructor
|
Modifier and Type | Class and Description |
---|---|
class |
DCESrvPacket
DCE/RPC Server Packet Class
|
Modifier and Type | Method and Description |
---|---|
void |
DCEHandler.processRequest(SMBSrvSession sess,
DCEBuffer inBuf,
DCEPipeFile pipeFile,
SMBSrvPacket smbPkt)
Process a DCE/RPC request
|
void |
WkssvcDCEHandler.processRequest(SMBSrvSession sess,
DCEBuffer inBuf,
DCEPipeFile pipeFile,
SMBSrvPacket smbPkt)
Process a WksSvc DCE/RPC request
|
void |
SrvsvcDCEHandler.processRequest(SMBSrvSession sess,
DCEBuffer inBuf,
DCEPipeFile pipeFile,
SMBSrvPacket smbPkt)
Process a SrvSvc DCE/RPC request
|
Modifier and Type | Class and Description |
---|---|
class |
NTTransPacket
NT Transaction Packet Class
|
class |
SMBTransPacket
SMB transact packet class
|
Modifier and Type | Method and Description |
---|---|
SMBSrvPacket |
CIFSPacketPool.allocatePacket(int reqSiz)
Allocate a CIFS packet with the specified buffer size
|
SMBSrvPacket |
CIFSPacketPool.allocatePacket(int reqSiz,
SMBSrvPacket reqPkt)
Allocate a CIFS packet with the specified buffer size, copy the header from the
request packet
|
SMBSrvPacket |
CIFSPacketPool.allocatePacket(int reqSiz,
SMBSrvPacket reqPkt,
int copyLen)
Allocate a CIFS packet with the specified buffer size, copy the header from the
request packet
|
SMBSrvPacket |
SMBSrvPacket.getAssociatedPacket()
Return the associated packet
|
SMBSrvPacket |
SMBSrvPacketQueue.QueuedSMBPacket.getPacket()
Return the SMB packet
|
SMBSrvPacket |
NetBIOSPacketHandler.readPacket()
Read a packet from the input stream
|
abstract SMBSrvPacket |
PacketHandler.readPacket()
Read a packet
|
SMBSrvPacket |
TcpipSMBPacketHandler.readPacket()
Read a packet from the input stream
|
protected SMBSrvPacket |
SMBSrvSession.removeFirstAsynchResponse()
Remove an asynchronous response packet from the head of the list
|
Modifier and Type | Method and Description |
---|---|
void |
SMBSrvPacketQueue.addToQueue(SMBSrvPacket pkt,
int offset,
int len,
boolean writeRaw)
Add an SMB packet to the queue
|
SMBSrvPacket |
CIFSPacketPool.allocatePacket(int reqSiz,
SMBSrvPacket reqPkt)
Allocate a CIFS packet with the specified buffer size, copy the header from the
request packet
|
SMBSrvPacket |
CIFSPacketPool.allocatePacket(int reqSiz,
SMBSrvPacket reqPkt,
int copyLen)
Allocate a CIFS packet with the specified buffer size, copy the header from the
request packet
|
TreeConnection |
SMBSrvSession.findTreeConnection(SMBSrvPacket smbPkt)
Find the tree connection for the request
|
protected int |
NTProtocolHandler.procAndXCommands(SMBSrvPacket smbPkt,
NetworkFile file)
Process the chained SMB commands (AndX).
|
protected int |
NTProtocolHandler.procChainedClose(int cmdOff,
SMBSrvPacket smbPkt,
SMBSrvPacket respPkt,
int endOff)
Process a chained close file request
|
protected int |
NTProtocolHandler.procChainedReadAndX(int cmdOff,
SMBSrvPacket smbPkt,
SMBSrvPacket respPkt,
int endOff,
NetworkFile netFile)
Process a chained read file request
|
protected int |
NTProtocolHandler.procChainedTreeConnectAndX(int cmdOff,
SMBSrvPacket smbPkt,
SMBSrvPacket respPkt,
int endOff)
Process a chained tree connect request.
|
protected void |
NTProtocolHandler.procCloseFile(SMBSrvPacket smbPkt)
Close a file that has been opened on the server.
|
static void |
DCERPCHandler.procDCEBind(SMBSrvSession sess,
DCEBuffer dceBuf,
DCEPipeFile pipeFile,
SMBSrvPacket smbPkt)
Process a DCE bind request
|
static void |
DCERPCHandler.procDCERequest(SMBSrvSession sess,
DCEBuffer inBuf,
DCEPipeFile pipeFile,
SMBSrvPacket smbPkt)
Process a DCE request
|
protected void |
NTProtocolHandler.procDeleteDirectory(SMBSrvPacket smbPkt)
Delete a directory.
|
protected void |
NTProtocolHandler.procDeleteFile(SMBSrvPacket smbPkt)
Delete a file.
|
static void |
DCERPCHandler.processDCEBuffer(SMBSrvSession sess,
DCEBuffer dceBuf,
DCEPipeFile pipeFile,
SMBSrvPacket smbPkt)
Process the DCE/RPC request buffer
|
static void |
DCERPCHandler.processDCERPCRead(SMBSrvSession sess,
SMBSrvPacket smbPkt)
Process a DCE/RPC pipe read request
|
static void |
DCERPCHandler.processDCERPCRequest(SMBSrvSession sess,
SMBSrvPacket smbPkt)
Process a DCE/RPC write request to the named pipe file
|
static void |
DCERPCHandler.processDCERPCRequest(SMBSrvSession sess,
org.alfresco.jlan.smb.server.SMBSrvTransPacket srvTrans,
SMBSrvPacket smbPkt)
Process a DCE/RPC request
|
static void |
DCERPCHandler.processDCERPCRequest(SMBSrvSession sess,
VirtualCircuit vc,
TransactBuffer tbuf,
SMBSrvPacket smbPkt)
Process a DCE/RPC request
|
void |
SMBSrvSession.processPacket(SMBSrvPacket smbPkt)
Process a CIFS request packet
|
protected void |
NTProtocolHandler.procFindClose(SMBSrvPacket smbPkt)
Close a search started via the transact2 find first/next command.
|
protected void |
NTProtocolHandler.procLockingAndX(SMBSrvPacket smbPkt)
Process the file lock/unlock request.
|
protected void |
NTProtocolHandler.procLogoffAndX(SMBSrvPacket smbPkt)
Process the logoff request.
|
protected void |
SMBSrvSession.procNetBIOSSessionRequest(SMBSrvPacket smbPkt)
Process the NetBIOS session request message, either accept the session request and send back
a NetBIOS accept or reject the session and send back a NetBIOS reject and hangup the session.
|
protected void |
NTProtocolHandler.procNTCancel(SMBSrvPacket smbPkt)
Process the cancel request.
|
protected void |
NTProtocolHandler.procNTCreateAndX(SMBSrvPacket smbPkt)
Process the file create/open request.
|
protected void |
NTProtocolHandler.procNTTransaction(SMBSrvPacket smbPkt)
Process an NT transaction
|
protected void |
NTProtocolHandler.procNTTransactionSecondary(SMBSrvPacket smbPkt)
Process an NT transaction secondary packet
|
protected void |
NTProtocolHandler.procNTTransactNotifyChange(NTTransPacket ntpkt,
SMBSrvPacket smbPkt)
Process an NT change notification transaction
|
protected void |
NTProtocolHandler.procOpenAndX(SMBSrvPacket smbPkt)
Process the file open request.
|
protected void |
NTProtocolHandler.procReadAndX(SMBSrvPacket smbPkt)
Process the file read request.
|
protected void |
NTProtocolHandler.procRenameFile(SMBSrvPacket smbPkt)
Rename a file.
|
protected void |
NTProtocolHandler.procSessionSetup(SMBSrvPacket smbPkt)
Process the NT SMB session setup request.
|
protected void |
SMBSrvSession.procSMBNegotiate(SMBSrvPacket smbPkt)
Process an SMB dialect negotiate request.
|
protected void |
NTProtocolHandler.procTrans2FindFirst(org.alfresco.jlan.smb.server.SrvTransactBuffer tbuf,
SMBSrvPacket smbPkt)
Process a transact2 file search request.
|
protected void |
NTProtocolHandler.procTrans2FindNext(org.alfresco.jlan.smb.server.SrvTransactBuffer tbuf,
SMBSrvPacket smbPkt)
Process a transact2 file search continue request.
|
protected void |
NTProtocolHandler.procTrans2QueryFile(org.alfresco.jlan.smb.server.SrvTransactBuffer tbuf,
SMBSrvPacket smbPkt)
Process a transact2 query file information (via handle) request.
|
protected void |
NTProtocolHandler.procTrans2QueryFileSys(org.alfresco.jlan.smb.server.SrvTransactBuffer tbuf,
SMBSrvPacket smbPkt)
Process a transact2 file system query request.
|
protected void |
NTProtocolHandler.procTrans2QueryPath(org.alfresco.jlan.smb.server.SrvTransactBuffer tbuf,
SMBSrvPacket smbPkt)
Process a transact2 query path information request.
|
protected void |
NTProtocolHandler.procTrans2SetFile(org.alfresco.jlan.smb.server.SrvTransactBuffer tbuf,
SMBSrvPacket smbPkt)
Process a transact2 set file information (via handle) request.
|
protected void |
NTProtocolHandler.procTrans2SetPath(org.alfresco.jlan.smb.server.SrvTransactBuffer tbuf,
SMBSrvPacket smbPkt)
Process a transact2 set path information request.
|
protected void |
NTProtocolHandler.procTransact2(SMBSrvPacket smbPkt)
Process a transact2 request.
|
protected void |
NTProtocolHandler.procTransact2Secondary(SMBSrvPacket smbPkt)
Process a transact2 secondary request.
|
protected void |
NTProtocolHandler.procTreeConnectAndX(SMBSrvPacket smbPkt)
Process the SMB tree connect request.
|
protected void |
NTProtocolHandler.procWriteAndX(SMBSrvPacket smbPkt)
Process the file write request.
|
protected void |
SMBSrvSession.queueAsynchResponseSMB(SMBSrvPacket pkt)
Queue an asynchronous response SMB for sending when current SMB requests have been processed.
|
void |
CIFSPacketPool.releasePacket(SMBSrvPacket smbPkt)
Release a CIFS packet buffer back to the pool
|
protected void |
SMBSrvSession.runHandler(SMBSrvPacket smbPkt)
Handle a session message, receive all data and run the SMB protocol handler.
|
boolean |
NTProtocolHandler.runProtocol(SMBSrvPacket smbPkt)
Run the NT SMB protocol handler to process the received SMB packet
|
boolean |
SMBSrvSession.sendAsyncErrorResponseSMB(SMBSrvPacket smbPkt,
int errCode,
int errClass)
Send an asynchonous error response SMB.
|
boolean |
SMBSrvSession.sendAsynchResponseSMB(SMBSrvPacket pkt,
int len)
Send, or queue, an asynchronous response SMB
|
void |
SMBSrvSession.sendErrorResponseSMB(SMBSrvPacket smbPkt,
int errCode,
int errClass)
Send an error response SMB.
|
void |
SMBSrvSession.sendErrorResponseSMB(SMBSrvPacket smbPkt,
int ntCode,
int stdCode,
int stdClass)
Send an error response SMB.
|
void |
SMBSrvSession.sendResponseSMB(SMBSrvPacket pkt)
Send an SMB response
|
void |
SMBSrvSession.sendResponseSMB(SMBSrvPacket pkt,
int len)
Send an SMB response
|
void |
SMBSrvSession.sendSuccessResponseSMB(SMBSrvPacket smbPkt)
Send a success response SMB
|
void |
SMBSrvPacket.setAssociatedPacket(SMBSrvPacket smbPkt)
Set the associated packet
|
void |
PacketHandler.writePacket(SMBSrvPacket pkt)
Send an SMB response packet
|
void |
PacketHandler.writePacket(SMBSrvPacket pkt,
int len)
Send an SMB response packet
|
void |
NetBIOSPacketHandler.writePacket(SMBSrvPacket pkt,
int len,
boolean writeRaw)
Send a packet to the output stream
|
abstract void |
PacketHandler.writePacket(SMBSrvPacket pkt,
int len,
boolean writeRaw)
Send an SMB response packet
|
void |
TcpipSMBPacketHandler.writePacket(SMBSrvPacket pkt,
int len,
boolean writeRaw)
Send a packet to the output stream
|
Constructor and Description |
---|
CIFSThreadRequest(SMBSrvSession sess,
SMBSrvPacket smbPkt)
Class constructor
|
SMBSrvException(SMBSrvPacket pkt)
Construct an SMB exception using the error class/error code in the SMB packet
|
SMBSrvPacket(SMBSrvPacket pkt)
Copy constructor.
|
SMBSrvPacket(SMBSrvPacket pkt,
int len)
Copy constructor.
|
SMBSrvPacketQueue.QueuedSMBPacket(SMBSrvPacket pkt,
int offset,
int len,
boolean writeRaw)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
SMBSrvPacket |
NetBIOSSMBChannelHandler.readPacket()
Read a packet from the input stream
|
SMBSrvPacket |
TcpipSMBChannelHandler.readPacket()
Read a packet from the input stream
|
Modifier and Type | Method and Description |
---|---|
void |
NetBIOSSMBChannelHandler.writePacket(SMBSrvPacket pkt,
int len,
boolean writeRaw)
Send a packet to the output stream
|
void |
TcpipSMBChannelHandler.writePacket(SMBSrvPacket pkt,
int len,
boolean writeRaw)
Send a packet to the output stream
|
Modifier and Type | Method and Description |
---|---|
SMBSrvPacket |
WinsockNetBIOSPacketHandler.readPacket()
Read a packet from the client
|
SMBSrvPacket |
Win32NetBIOSPacketHandler.readPacket()
Read a packet from the client
|
Modifier and Type | Method and Description |
---|---|
void |
WinsockNetBIOSPacketHandler.writePacket(SMBSrvPacket pkt,
int len,
boolean writeRaw)
Write a packet to the client
|
void |
Win32NetBIOSPacketHandler.writePacket(SMBSrvPacket pkt,
int len,
boolean writeRaw)
Write a packet to the client
|
Copyright © 2005–2018 Alfresco Software. All rights reserved.