Updated version
parent
6e61f165de
commit
80e95c3097
42
LICENSE
42
LICENSE
|
@ -70,6 +70,14 @@
|
|||
Copyright 2014
|
||||
The Apache Software Foundation
|
||||
|
||||
- Kotlin -
|
||||
[The Apache Software License, Version 2.0]
|
||||
https://github.com/JetBrains/kotlin
|
||||
Copyright 2020
|
||||
JetBrains s.r.o. and Kotlin Programming Language contributors
|
||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||
|
||||
- Logback - Logback is a logging framework for Java applications
|
||||
[The Apache Software License, Version 2.0]
|
||||
http://logback.qos.ch
|
||||
|
@ -128,6 +136,34 @@
|
|||
https://github.com/str4d/ed25519-java
|
||||
https://github.com/str4d
|
||||
|
||||
- Updates - Software Update Management
|
||||
[The Apache Software License, Version 2.0]
|
||||
https://git.dorkbox.com/dorkbox/Updates
|
||||
Copyright 2021
|
||||
Dorkbox LLC
|
||||
|
||||
Extra license information
|
||||
- Kotlin -
|
||||
[The Apache Software License, Version 2.0]
|
||||
https://github.com/JetBrains/kotlin
|
||||
Copyright 2020
|
||||
JetBrains s.r.o. and Kotlin Programming Language contributors
|
||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||
|
||||
- PropertyLoader - Property annotation and loader for fields
|
||||
[The Apache Software License, Version 2.0]
|
||||
https://git.dorkbox.com/dorkbox/PropertyLoader
|
||||
Copyright 2021
|
||||
Dorkbox LLC
|
||||
|
||||
- Updates - Software Update Management
|
||||
[The Apache Software License, Version 2.0]
|
||||
https://git.dorkbox.com/dorkbox/Updates
|
||||
Copyright 2021
|
||||
Dorkbox LLC
|
||||
|
||||
Extra license information
|
||||
- Kotlin -
|
||||
[The Apache Software License, Version 2.0]
|
||||
https://github.com/JetBrains/kotlin
|
||||
|
@ -135,3 +171,9 @@
|
|||
JetBrains s.r.o. and Kotlin Programming Language contributors
|
||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||
|
||||
- PropertyLoader - Property annotation and loader for fields
|
||||
[The Apache Software License, Version 2.0]
|
||||
https://git.dorkbox.com/dorkbox/PropertyLoader
|
||||
Copyright 2021
|
||||
Dorkbox LLC
|
||||
|
|
|
@ -21,7 +21,7 @@ Maven Info
|
|||
<dependency>
|
||||
<groupId>com.dorkbox</groupId>
|
||||
<artifactId>NetworkUtils</artifactId>
|
||||
<version>2.3</version>
|
||||
<version>2.4</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
|
@ -30,7 +30,7 @@ Gradle Info
|
|||
```
|
||||
dependencies {
|
||||
...
|
||||
implementation("com.dorkbox:NetworkUtils:2.3")
|
||||
implementation("com.dorkbox:NetworkUtils:2.4")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ object Extras {
|
|||
// set for the project
|
||||
const val description = "Utilities for managing network configurations, IP/MAC address conversion, and ping (via OS native commands)"
|
||||
const val group = "com.dorkbox"
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
// set as project.ext
|
||||
const val name = "NetworkUtils"
|
||||
|
|
|
@ -7,7 +7,7 @@ object Arp {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
// Now setup ARP Proxy for this interface (so ARP requests are answered correctly)
|
||||
fun proxyAdd(interfaceName: String) {
|
||||
|
|
|
@ -15,7 +15,7 @@ internal object Common {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
val OS_LINUX: Boolean
|
||||
val OS_WINDOWS: Boolean
|
||||
|
|
|
@ -10,7 +10,7 @@ object Dhcp {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
fun start(id: String, interfaceName: String) {
|
||||
if (Common.OS_LINUX) {
|
||||
|
|
|
@ -18,7 +18,7 @@ object Dns {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
const val DEFAULT_SEARCH_DOMAIN = ""
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ object IP {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
/**
|
||||
* The [InetAddress] that represents the loopback address. If IPv6 stack is available, it will refer to
|
||||
|
|
|
@ -10,7 +10,7 @@ object IPRoute {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
private val reservedTable = StringBuilder(2048)
|
||||
private val tableNames: MutableMap<Int, String?> = HashMap(256)
|
||||
|
|
|
@ -38,7 +38,7 @@ object IPv4 {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
/**
|
||||
* Returns `true` if IPv4 should be used even if the system supports both IPv4 and IPv6. Setting this
|
||||
|
|
|
@ -32,7 +32,7 @@ object IPv6 {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
/**
|
||||
* Maximum amount of value adding characters in between IPV6 separators
|
||||
|
|
|
@ -9,7 +9,7 @@ object IfConfig {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
fun assignMac(interfaceName: String, interfaceMac: String) {
|
||||
if (Common.OS_LINUX) {
|
||||
|
|
|
@ -10,7 +10,7 @@ object Iface {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
private val ifToIp: MutableMap<String, String> = HashMap()
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ object Mac {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
enum class MacDelimiter(val delimiter: String) {
|
||||
COLON(":"),
|
||||
|
|
|
@ -10,7 +10,7 @@ object NameSpace {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
object Route {
|
||||
fun flush(nameSpace: String) {
|
||||
|
|
|
@ -9,7 +9,7 @@ object Route {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
fun flush() {
|
||||
Executor.run("/sbin/ip", "route", "flush", "cache")
|
||||
|
|
|
@ -20,7 +20,7 @@ object Sntp {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
/**
|
||||
* SNTP client for retrieving time.
|
||||
|
|
|
@ -37,7 +37,7 @@ object SocketUtils {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
private val EMPTY = Collections.enumeration(emptyList<Any>())
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ object VirtualEth {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
|
||||
fun add(host: String, guest: String) {
|
||||
if (Common.OS_LINUX) {
|
||||
|
|
|
@ -16,7 +16,7 @@ class Ping {
|
|||
/**
|
||||
* Gets the version number.
|
||||
*/
|
||||
const val version = "2.3"
|
||||
const val version = "2.4"
|
||||
}
|
||||
|
||||
private val count = 4
|
||||
|
|
Loading…
Reference in New Issue