Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 663 for SMB (0.01 sec)

  1. src/main/java/jcifs/util/InputValidator.java

    /**
     * Comprehensive input validation utility for SMB protocol implementation.
     * Provides validation methods to prevent buffer overflows, injection attacks,
     * and other security vulnerabilities.
     */
    public final class InputValidator {
    
        private InputValidator() {
            // Utility class
        }
    
        // Maximum sizes for various SMB fields (based on protocol specifications)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/DialectVersionTest.java

     */
    @DisplayName("DialectVersion Tests")
    class DialectVersionTest extends BaseTest {
    
        @Test
        @DisplayName("Should define all SMB dialect versions")
        void testDialectVersionConstants() {
            // Verify all major SMB versions are defined
            assertNotNull(DialectVersion.SMB1);
            assertNotNull(DialectVersion.SMB202);
            assertNotNull(DialectVersion.SMB210);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        private String suppliedWorkstation;
    
        static {
            DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM
                    | (Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            String defaultWorkstation = null;
            try {
                defaultWorkstation = NbtAddress.getLocalHost().getHostName();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

            // Create URL handler
            Handler urlHandler = new jcifs.smb.Handler(mockCifsContext);
            when(mockCifsContext.getUrlHandler()).thenReturn(urlHandler);
    
            // Use the URL handler to create the URL
            url = new URL(null, "smb://localhost/share/file.txt", urlHandler);
    
            smbFile = spy(new SmbFile(url, mockCifsContext));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SMBProtocolDowngradeException.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when an SMB protocol downgrade attack is detected.
     * Indicates that the negotiated protocol version is lower than expected or required.
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

    ```java
    // In PropertyConfiguration.java
    public static final String USE_WITNESS = "jcifs.smb.client.useWitness";
    public static final String WITNESS_HEARTBEAT_TIMEOUT = "jcifs.smb.client.witnessHeartbeatTimeout";
    public static final String WITNESS_REGISTRATION_TIMEOUT = "jcifs.smb.client.witnessRegistrationTimeout";
    public static final String WITNESS_RECONNECT_DELAY = "jcifs.smb.client.witnessReconnectDelay";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Address.java

        /**
         * Guess called name to try for session establishment. These
         * methods are used by the smb package.
         *
         * @return guessed name
         */
        String firstCalledName();
    
        /**
         * Guess next called name to try for session establishment. These
         * methods are used by the smb package.
         *
         * @param tc the transport context to use for name resolution
         *
         * @return guessed name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    import jcifs.util.transport.Request;
    
    /**
     * Interface for SMB request messages sent from client to server.
     * Extends the common SMB message block with request-specific functionality including
     * asynchronous handling, message chaining, cancellation, and timeout management.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/RequestWithPath.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    /**
     * Interface for SMB requests that include file system path information.
     * Provides path handling capabilities including UNC path resolution and DFS support
     * for SMB operations that target specific files or directories on remote shares.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResourceException.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     */
    
    package jcifs;
    
    /**
     * Exception for resource-related SMB errors
     *
     * This exception is thrown when resource issues occur such as:
     * - File handle leaks
     * - Connection pool exhaustion
     * - Memory allocation failures
     * - Quota exceeded
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top