Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for NbtAddress (0.06 sec)

  1. src/test/java/jcifs/smb1/UniAddressTest.java

            // Arrange
            NbtAddress nbtMock = mock(NbtAddress.class);
            when(nbtMock.nextCalledName()).thenReturn("NEXT");
            UniAddress ua = new UniAddress(nbtMock);
            // Act
            String next = ua.nextCalledName();
            // Assert
            assertEquals("NEXT", next, "nextCalledName should delegate to NbtAddress when called");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        private static final int BUFFER_SIZE = 512;
        private static final int DEFAULT_SO_TIMEOUT = 5000;
    
        private static LogStream log = LogStream.getInstance();
    
        private NbtAddress address;
        private Name calledName;
        private int soTimeout;
    
        /**
         * Constructs an unconnected NbtSocket.
         */
        public NbtSocket() {
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            new NbtAddress(null, addr, false, NbtAddress.B_NODE);
            readInt2(buffer, bufferIndex);
            return this.length;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

     */
    
    package jcifs.smb1.ntlmssp;
    
    import java.io.IOException;
    import java.net.UnknownHostException;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.netbios.NbtAddress;
    
    /**
     * Represents an NTLMSSP Type-1 message.
     */
    public class Type1Message extends NtlmMessage {
    
        private static final int DEFAULT_FLAGS;
    
        private static final String DEFAULT_DOMAIN;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

        private static final int CACHE_POLICY = Config.getInt("jcifs.smb1.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */
    
        static NbtAddress[] dc_list = null;
        static long dc_list_expiration;
        static int dc_list_counter;
    
        private static NtlmChallenge interrogate(final NbtAddress addr) throws SmbException {
            final UniAddress dc = new UniAddress(addr);
            final SmbTransport trans = SmbTransport.getSmbTransport(dc, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/NameServiceClient.java

        /**
         * Retrieves the node status information for the specified NetBIOS address.
         *
         * @param nbtAddress the NetBIOS address to query
         * @return the node status responses
         * @throws UnknownHostException if the node status cannot be retrieved
         */
        NetbiosAddress[] getNodeStatus(NetbiosAddress nbtAddress) throws UnknownHostException;
    
        /**
         * Lookup addresses for the given <code>hostname</code>.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmServlet.java

    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpSession;
    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

            final int nodeType = (src[srcIndex] & 0x60) >> 5;
            srcIndex += 2;
            final int address = readInt4(src, srcIndex);
            if (address != 0) {
                addrEntry[addrIndex] = new NbtAddress(recordName, address, groupName, nodeType);
            } else {
                addrEntry[addrIndex] = null;
            }
    
            return 6;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameQueryResponse.java

            final int nodeType = (src[srcIndex] & 0x60) >> 5;
            srcIndex += 2;
            final int address = readInt4(src, srcIndex);
            if (address != 0) {
                this.addrEntry[this.addrIndex] = new NbtAddress(this.recordName, address, groupName, nodeType);
            } else {
                this.addrEntry[this.addrIndex] = null;
            }
    
            return 6;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    + (src[srcIndex + 3] & 0xFF);
        }
    
        static int readNameTrnId(final byte[] src, final int srcIndex) {
            return readInt2(src, srcIndex);
        }
    
        int addrIndex;
        NbtAddress[] addrEntry;
    
        int nameTrnId;
    
        int opCode, resultCode, questionCount, answerCount, authorityCount, additionalCount;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top