Commit Graph

64 Commits

Author SHA1 Message Date
Robinson 8513d90c99
Updated dependencies. 2022-03-03 00:39:25 +01:00
Robinson 1f375a76ca Updated licensing library 2021-06-29 23:21:44 +02:00
Robinson 17735da8ed Updated version 2021-05-02 22:36:50 +02:00
Robinson 614fc0f637 Updated version 2021-04-29 01:32:51 +02:00
Robinson 88afd48b8c Added Inet4/6, to add an inet address for IP or HOSTname 2021-04-29 01:20:34 +02:00
Robinson d77f6ee353 Comment polish 2021-04-29 01:20:09 +02:00
Robinson 6fb1b23d01 updated version 2021-04-27 10:56:20 +02:00
Robinson d8ec62c680 Removed fromString, changed to toAddress 2021-04-27 01:04:31 +02:00
Robinson 540d134762 Removed WILDCARD_SAFE (it's not really wildcard, and it's not really safe) 2021-04-26 23:47:02 +02:00
Robinson c66444f45b added IPv4/6 cidrPrefixToSubnetMask, added IPv6 toInt (really a bigInt) convenience methods 2021-04-26 23:22:24 +02:00
Robinson 6b3bea9b1b Updated version 2021-04-26 15:52:50 +02:00
Robinson 43d01a74e2 fixed warnings 2021-04-26 15:45:11 +02:00
Robinson ece38d9421 converting JNA to kotlin 2021-04-26 15:38:27 +02:00
Robinson ea5085ac25 Rename .java to .kt 2021-04-26 15:33:19 +02:00
Robinson 6b331051a4 Removed dependency 2021-04-26 15:01:51 +02:00
Robinson 80e95c3097 Updated version 2021-04-09 13:58:11 +02:00
Robinson 6e61f165de Added updates 2021-04-09 13:56:57 +02:00
Robinson 6c36751d05 Added comments regarding IPv4-in-IPv6 2021-04-08 20:55:05 +02:00
Robinson e4a0522093 Updated version 2021-04-08 20:04:02 +02:00
Robinson d5ceece82f Added int array for types, added truncate 2021-04-08 19:59:25 +02:00
Robinson 726e4dbf21 Added truncate and isValid 2021-04-08 19:58:58 +02:00
Robinson 924fbb5e5d Cleaned up host file configuration parsing 2021-04-08 19:58:31 +02:00
Robinson 6eee42cb35 Updated version 2021-04-08 15:27:29 +02:00
Robinson bfc66ef492 Added IPv 4/6 `toAddress` 2021-04-08 15:26:53 +02:00
Robinson af23b76a26 Removed dead code 2021-04-08 14:35:27 +02:00
Robinson 4738f10157 Moved log to trace 2021-04-08 14:33:40 +02:00
Robinson 7842a44bda Code cleanup 2021-04-08 12:14:47 +02:00
Robinson 9897a4dc2d Moved ResolveConf specific logic to it's own file. 2021-04-08 00:13:18 +02:00
Robinson 3ad50e79cf Fixed issue with parsing duplicate search domains 2021-04-07 14:55:32 +02:00
Robinson c66fb357a8 Added hosts file name resolution 2021-04-07 02:31:24 +02:00
Robinson f097cc195b Added extra `socketAddress` function 2021-04-07 02:31:00 +02:00
Robinson 6774c8c411 Supports different search domains in addition to the default for resolv.conf parsing 2021-04-07 00:51:23 +02:00
Robinson 8f9294f295 Added version info to individual classes, added more unit tests 2021-04-06 23:42:55 +02:00
Robinson fa42710ae8 Added getPublicIpViaHttp() 2021-04-06 12:59:06 +02:00
Robinson d33cee3817 Added JNA network utility, added getting DNS nameservers via JNA 2021-04-06 01:28:09 +02:00
Robinson 546ed90ec2 Fixed bug with windows OS detection 2021-04-06 01:27:37 +02:00
Robinson 2164890bd0 Added ability to get LAN address 2021-04-06 01:27:22 +02:00
Robinson 1cc7ac128b Changed from `isPrivate` to `isSiteLocal` to reflect the actual name 2021-04-05 23:08:10 +02:00
nathan 9a0b2d9c6e Suppressed warnings 2020-09-19 23:43:15 +02:00
nathan b1a49be45e Changed getByName -> fromString (to fit with the rest of the API naming conventions). "" host for InetAddress is now (correctly), null 2020-09-18 03:24:08 +02:00
nathan 0ea4ed19b2 Added checks to see if a network stack is available 2020-09-10 00:23:15 +02:00
nathan 2872a46442 Removed unnecessary field 2020-09-09 00:34:04 +02:00
nathan 1838795987 Fixed logging context name 2020-09-09 00:33:51 +02:00
nathan b69f7a9772 Changed logging level 2020-09-09 00:30:56 +02:00
nathan 092ad76820 Added proper WILDCARD addresses. Moved previous IPv4 WILDCARD -> WILDCARD_SAFE 2020-09-08 23:54:16 +02:00
nathan 89141a11f9 Code polish 2020-09-08 23:53:45 +02:00
nathan 8669cab86c Optimized how IP (as IP address) InetAddress resolution works for IPv4/6 2020-09-08 23:02:34 +02:00
nathan bdbb8da05f Fixed issues with mac address conversion + added unit test 2020-08-20 22:39:17 +02:00
nathan d3bf811b21 Added IPv4.inRange(string, string, int) to make some range checks easier 2020-08-20 22:38:18 +02:00
nathan 6f54f881f5 Fixed bit masking for network range checks (this affected isPrivate). Added unit tests 2020-08-20 17:33:34 +02:00