Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for SMB3 (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

    import java.net.NetworkInterface;
    import java.net.SocketException;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Information about a network interface for SMB3 Multi-Channel
     */
    public class NetworkInterfaceInfo {
    
        private int interfaceIndex;
        private int capability;
        private int linkSpeed; // In units of 1 Mbps
        private byte[] sockaddrStorage;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            assertEquals(0, request.getCapabilities() & Smb2Constants.SMB2_GLOBAL_CAP_DFS);
        }
    
        @Test
        @DisplayName("Should set encryption capability for SMB3+")
        void testEncryptionCapabilitySmb3() {
            // Given
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB300);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

    import java.util.zip.Inflater;
    import java.util.zip.InflaterInputStream;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    
    /**
     * Default implementation of SMB3 compression service.
     *
     * Provides compression using Java's built-in deflate algorithm as a base
     * for LZ77-based compression. For production use, more specialized
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            // Assert
            assertEquals(DialectVersion.SMB202, dialect);
            verify(negotiationResponse).getSelectedDialect();
        }
    
        @Test
        @DisplayName("Test getSelectedDialect returns SMB3")
        void testGetSelectedDialectSMB3() {
            // Arrange
            when(negotiationResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311);
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

            if (nego.getSelectedDialect().atLeast(DialectVersion.SMB311)) {
                // have preauth integrity instead
                log.debug("Secure negotiation does not apply, is SMB3.1");
                return;
            }
            final Smb2NegotiateRequest negoReq = new Smb2NegotiateRequest(sess.getConfig(), trans.getRequestSecurityMode(nego));
    
            log.debug("Sending VALIDATE_NEGOTIATE_INFO");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ServerResponseValidator.java

        private static final Logger log = LoggerFactory.getLogger(ServerResponseValidator.class);
    
        // Protocol limits
        private static final int MAX_SMB_MESSAGE_SIZE = 16 * 1024 * 1024; // 16MB max for SMB3
        private static final int MAX_SMB1_MESSAGE_SIZE = 65535; // 64KB for SMB1
        private static final int MIN_SMB_HEADER_SIZE = 32;
        private static final int MAX_PATH_COMPONENT_SIZE = 255;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb3KeyDerivation.
     * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation.
     */
    @DisplayName("Smb3KeyDerivation Tests")
    class Smb3KeyDerivationTest {
    
        private byte[] sessionKey;
        private byte[] preauthIntegrity;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportImplTest.java

                assertThrows(SmbUnsupportedOperationException.class, () -> transport.createEncryptionContext(new byte[] { 1 }, null));
            }
    
            @Test
            @DisplayName("createEncryptionContext rejects pre-SMB3 dialect")
            void createEncryptionContext_rejects_oldDialect() throws Exception {
                setField(transport, "smb2", true);
                Smb2NegotiateResponse nego = new Smb2NegotiateResponse(cfg);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

    import jcifs.internal.smb2.ioctl.QueryNetworkInterfaceInfoResponse;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.session.Smb2SessionSetupRequest;
    
    /**
     * Manages SMB3 Multi-Channel connections
     */
    public class ChannelManager {
    
        private static final Logger log = LoggerFactory.getLogger(ChannelManager.class);
    
        private final CIFSContext context;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

            }
        }
        
        public void validateRemoteAccess(long remoteAddress, int length, int remoteKey) {
            // Validate that remote memory access is authorized
            // This would integrate with SMB3 encryption/signing
            if (!isAuthorizedAccess(remoteAddress, length, remoteKey)) {
                throw new SecurityException("Unauthorized RDMA remote access");
            }
        }
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top