Skip to content

Commit

Permalink
Merge pull request #68 from fixy/master
Browse files Browse the repository at this point in the history
Update log4j version
Update documentation
Fix transfer port issue
  • Loading branch information
fixy authored Mar 10, 2024
2 parents a3bd0e4 + 79250ab commit 6cd9c1e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/doc-fdt-ddcopy.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ Agent can use booth Server and Client options too, because at any time Agent can

**-fdtTAG \<tag>** custom FDT metrics tag

**-FDT_LISTEN \<IP>** listen only to specific IP address


### DDCopy
**DDCopy** is very similar to Unix `dd` command and can be used to test the local disks or file system. It is bundled in the fdt.jar and has the following syntax:
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.17.2</version>
</dependency>
<dependency>
<groupId>edu.illinois.ncsa</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/lia/util/net/common/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class Config {
public static final String FDT_MAINTENANCE_VERSION = "0";
public static final String FDT_FULL_VERSION = FDT_MAJOR_VERSION + "." + FDT_MINOR_VERSION + "."
+ FDT_MAINTENANCE_VERSION;
public static final String FDT_RELEASE_DATE = "2019-07-02";
public static final String FDT_RELEASE_DATE = "2022-07-02";
public static final String FDT_RELEASE_TIME = "0530";
// the size of header packet sent over the wire -
// TODO - this should be dynamic ... or not ( performance resons ?! )
Expand Down
5 changes: 4 additions & 1 deletion src/lia/util/net/copy/FDTReaderSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,10 @@ public void handleEndFDTSession(CtrlMsg ctrlMsg) throws Exception {
public void handleStartFDTSession(CtrlMsg ctrlMsg) throws Exception {
// I will start the TransportProvider ... if every thing works as
// expected I will start sending
transferPort=(int)ctrlMsg.message;
if (ctrlMsg.tag == CtrlMsg.REMOTE_TRANSFER_PORT) {
transferPort = (int) ctrlMsg.message;
}

boolean sendCookie = true;
if (role == CLIENT) {
sendCookie = false;
Expand Down

0 comments on commit 6cd9c1e

Please sign in to comment.