Skip to content

Commit

Permalink
efs-utils v2.0.1 release
Browse files Browse the repository at this point in the history
- Disable Nagle's algorithm for TLS mounts to improve latencies
  • Loading branch information
RyanStan committed Apr 23, 2024
1 parent 0884956 commit 46cdb9f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 9 deletions.
7 changes: 5 additions & 2 deletions amazon-efs-utils.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
%endif

%global proxy_name efs-proxy
%global proxy_version 2.0.0
%global proxy_version 2.0.1

%{?!include_vendor_tarball:%define include_vendor_tarball true}

Name : amazon-efs-utils
Version : 2.0.0
Version : 2.0.1
Release : 1%{platform}
Summary : This package provides utilities for simplifying the use of EFS file systems

Expand Down Expand Up @@ -169,6 +169,9 @@ fi
%clean

%changelog
* Mon Apr 23 2024 Ryan Stankiewicz <rjstank@amazon.com> - 2.0.1
- Disable Nagle's algorithm for efs-proxy TLS mounts to improve latencies

* Mon Apr 08 2024 Ryan Stankiewicz <rjstank@amazon.com> - 2.0.0
- Replace stunnel, which provides TLS encryptions for mounts, with efs-proxy, a component built in-house at AWS. Efs-proxy lays the foundation for upcoming feature launches at EFS.

Expand Down
2 changes: 1 addition & 1 deletion build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -ex

BASE_DIR=$(pwd)
BUILD_ROOT=${BASE_DIR}/build/debbuild
VERSION=2.0.0
VERSION=2.0.1
RELEASE=1
DEB_SYSTEM_RELEASE_PATH=/etc/os-release

Expand Down
2 changes: 1 addition & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
#

[global]
version=2.0.0
version=2.0.1
release=1
2 changes: 1 addition & 1 deletion dist/amazon-efs-utils.control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: amazon-efs-utils
Architecture: all
Version: 2.0.0
Version: 2.0.1
Section: utils
Depends: python3, nfs-common, stunnel4 (>= 4.56), openssl (>= 1.0.2), util-linux
Priority: optional
Expand Down
2 changes: 1 addition & 1 deletion src/mount_efs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
BOTOCORE_PRESENT = False


VERSION = "2.0.0"
VERSION = "2.0.1"
SERVICE = "elasticfilesystem"

AMAZON_LINUX_2_RELEASE_ID = "Amazon Linux release 2 (Karoo)"
Expand Down
2 changes: 1 addition & 1 deletion src/proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "efs-proxy"
edition = "2021"
build = "build.rs"
# The version of efs-proxy is tied to efs-utils.
version = "2.0.0"
version = "2.0.1"
publish = false

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion src/proxy/src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use s2n_tls_tokio::TlsStream;
use std::path::Path;
use tokio::net::TcpStream;

use crate::connections::configure_stream;
use crate::error::ConnectError;

pub const FIPS_COMPLIANT_POLICY_VERSION: &str = "20230317";
Expand Down Expand Up @@ -138,7 +139,7 @@ pub async fn establish_tls_stream(

let tls_connector = TlsConnector::new(config);

let tcp_stream = TcpStream::connect(tls_config.remote_addr).await?;
let tcp_stream = configure_stream(TcpStream::connect(tls_config.remote_addr).await?);

let tls_stream = tls_connector
.connect(&tls_config.server_domain, tcp_stream)
Expand Down
2 changes: 1 addition & 1 deletion src/watchdog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
AMAZON_LINUX_2_RELEASE_ID,
AMAZON_LINUX_2_PRETTY_NAME,
]
VERSION = "2.0.0"
VERSION = "2.0.1"
SERVICE = "elasticfilesystem"

CONFIG_FILE = "/etc/amazon/efs/efs-utils.conf"
Expand Down

1 comment on commit 46cdb9f

@alokagrawal1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still Getting errors,
image

Please sign in to comment.