Commit Graph

96 Commits

Author SHA1 Message Date
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
nathan b3aea5960a Fixed field typo 2020-08-20 17:15:18 +02:00
nathan 54f89df277 Fixed ipv4WortToByte, and IP toInt/toString. Added more tests 2020-08-20 00:28:39 +02:00
nathan e98cdd2705 fixed typo 2020-08-18 22:35:27 +02:00
nathan f2aeec156b Fixed warnings, added implementations 2020-08-18 22:34:13 +02:00
nathan 887729faf8 WIP ping 2020-08-18 22:33:40 +02:00
nathan f8b4485cf2 Added dhcp to namespace, cleaned up "normal" dhcp 2020-08-18 22:28:03 +02:00
nathan 32dc98470b Added IP.isLoopback 2020-08-18 01:54:39 +02:00
nathan b7dabe6db0 code polis for updated lib 2020-08-11 16:24:36 +02:00
nathan 7c6e072739 Added toLongSafe 2020-08-11 16:24:23 +02:00
nathan 0074adf5ea Added isPrivate check for ipv4 2020-08-11 16:24:02 +02:00
nathan b7d62e4242 Added Mac.toLong(string) 2020-08-09 14:50:35 +02:00
nathan 27a90021a7 Fixed conflict between route.flush(), and namespace-route.flush() 2020-08-09 14:44:33 +02:00
nathan 63dc7ee987 Removed experimental stuff 2020-08-08 22:26:49 +02:00
nathan 44f4ac1aa1 Initial commit of multiple project merge 2020-08-08 20:23:54 +02:00