- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 89 for dialect (0.75 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
* Test validation of excessive negotiate context count. */ @Test public void testExcessiveNegotiateContextCount() { byte[] buffer = createBasicNegotiateResponseBuffer(); // Set SMB 3.1.1 dialect SMBUtil.writeInt2(0x0311, buffer, 4); // Set excessive negotiate context count (should be limited to 100) SMBUtil.writeInt2(1000, buffer, 6); // Set negotiate context offset to valid valueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// Then assertTrue(testConfig.isUseUnicode()); assertFalse(testConfig.isDisablePlainTextPasswords()); } @Test @DisplayName("Should handle dialect version properties") void testDialectVersionProperties() throws CIFSException { // Given Properties props = new Properties(); props.setProperty("jcifs.smb.client.minVersion", "SMB1");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { jcifs.DialectVersion dialect = transport.getNegotiateResponse().getSelectedDialect(); return transport.isSMB2() && dialect.atLeast(jcifs.DialectVersion.SMB300) && !dialect.atLeast(jcifs.DialectVersion.SMB311); } catch (final SmbException e) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
} if (selected == null) { log.debug("Server returned an unknown dialect"); return false; } if (!selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion())) { log.debug("Server selected an disallowed dialect version {} (min: {} max: {})", selected, getConfig().getMinimumVersion(),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
README.md
- **Encryption Context**: Per-session encryption state management - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters - **Pre-Authentication Integrity**: SMB 3.1.1 PAI for preventing downgrade attacks - **Automatic Detection**: Encryption automatically enabled when servers require it - **Secure Key Management**: Proper key derivation and nonce generation
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
@DisplayName("Should throw exception for invalid dialects") void testConstructorInvalidDialects(int dialect) { IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> new Smb2SigningDigest(sessionKey, dialect, null)); assertEquals("Unknown dialect", exception.getMessage()); } } @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} final Smb2NegotiateResponse resp = (Smb2NegotiateResponse) this.negotiated; final DialectVersion dialect = resp.getSelectedDialect(); int cipherId = -1; if (dialect.atLeast(DialectVersion.SMB311)) { cipherId = resp.getSelectedCipher(); if (cipherId == -1) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
@Override public boolean canReuse(final CIFSContext tc, final boolean forceSigning) { return this.getConfig().equals(tc.getConfig()); } /** * Returns the index of the selected SMB dialect from the negotiation. * * @return the dialectIndex */ public int getDialectIndex() { return this.dialectIndex; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Set of commands that should not be used in compound requests */ protected Set<String> disallowCompound; /** Minimum SMB dialect version to negotiate */ protected DialectVersion minVersion; /** Maximum SMB dialect version to negotiate */ protected DialectVersion maxVersion; /** Whether to require secure negotiate validation */ protected boolean requireSecureNegotiate = true;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
this.nativeOs = value; } value = props.getProperty("jcifs.smb.client.nativeLanMan"); if (value != null) { this.nativeLanMan = value; } // Dialect version properties - these should throw exceptions for invalid values String minVersion = props.getProperty("jcifs.smb.client.minVersion"); String maxVersion = props.getProperty("jcifs.smb.client.maxVersion");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13.3K bytes - Viewed (0)