Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for ip (1.86 sec)

  1. src/main/java/jcifs/internal/witness/WitnessNotification.java

            /**
             * Creates a new witness IP address.
             *
             * @param address the IP address
             */
            public WitnessIPAddress(InetAddress address) {
                this.address = address;
                this.flags = address.getAddress().length == 4 ? IPV4 : IPV6;
            }
    
            /**
             * Gets the IP address.
             *
             * @return the IP address
             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         *
         * 1) IP Address - If a dot-quad IP string is used with getByName (or used
         * to create an NbtAddress internal to this netbios package), no query is
         * sent on the wire and the only state this object has is it's IP address
         * (but that's enough to connect to a host using *SMBSERVER for CallingName).
         *
         * 2) IP Address, NetBIOS name, nodeType, groupName - If however a
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            String username = "testuser";
            String ip = "192.168.1.2";
    
            // First attempts should be allowed
            assertTrue(rateLimiter.checkAttempt(username, ip));
            rateLimiter.recordFailure(username, ip);
    
            assertTrue(rateLimiter.checkAttempt(username, ip));
            rateLimiter.recordFailure(username, ip);
    
            assertTrue(rateLimiter.checkAttempt(username, ip));
            rateLimiter.recordFailure(username, ip);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        }
    
        /**
         * Manually unblock an IP
         *
         * @param sourceIp the IP to unblock
         * @return true if IP was unblocked, false if not found
         */
        public boolean unblockIp(String sourceIp) {
            IpAttempts ip = ipAttempts.get(sourceIp);
            if (ip != null) {
                ip.reset();
                log.info("Manually unblocked IP: {}", sourceIp);
                return true;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        /**
         * Gets the active external host IP address for active mode FTP.
         *
         * @return The active external host IP address
         */
        public String getActiveExternalHost() {
            return activeExternalHost;
        }
    
        /**
         * Sets the active external host IP address for active mode FTP.
         *
         * @param activeExternalHost The active external host IP address
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NbtAddress.java

         *
         * 1) IP Address - If a dot-quad IP string is used with getByName (or used
         * to create an NbtAddress internal to this netbios package), no query is
         * sent on the wire and the only state this object has is it's IP address
         * (but that's enough to connect to a host using *SMBSERVER for CallingName).
         *
         * 2) IP Address, NetBIOS name, nodeType, groupName - If however a
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NameServiceClient.java

        NetbiosName getUnknownName();
    
        /**
         * Retrieve all addresses of a host by it's address. NetBIOS hosts can
         * have many names for a given IP address. The name and IP address make the
         * NetBIOS address. This provides a way to retrieve the other names for a
         * host with the same IP address.
         *
         * @param addr
         *            the address to query
         * @return resolved addresses
         * @throws UnknownHostException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/UniAddress.java

        /**
         * Check whether a hostname is actually an ip address
         *
         * @param hostname the hostname to check
         * @return whether this is an IP address
         */
        public static boolean isDotQuadIP(final String hostname) {
            if (Character.isDigit(hostname.charAt(0))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            /**
             * Get the list of IP addresses for IP change notifications
             *
             * @return list of IP addresses
             */
            public List<String> getIpAddresses() {
                return ipAddresses;
            }
    
            /**
             * Sets the list of IP addresses for IP change notifications.
             *
             * @param ipAddresses the list of new IP addresses available for the witness service
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/LmhostsTest.java

            // Create a temporary lmhosts file with invalid IP formats
            File lmhostsFile = tempDir.resolve("lmhosts_invalid").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168 HOST1\n"); // Invalid IP - missing 2 octets (should be skipped)
                writer.write("192.168.1.100 VALIDHOST\n");
                writer.write("not.an.ip HOST2\n"); // Invalid IP format
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top