Questions tagged [session-reuse]
15 questions
26
votes
4 answers
How to connect to FTPS server with data connection using same TLS session?
Environment: I'm using Sun Java JDK 1.8.0_60 on 64-bit Windows 7, using Spring Integration 4.1.6 (which internally appears to use Apache Commons Net 3.3 for FTPS access).
I'm attempting to integrate with our application an automatic download from…
user65839
6
votes
1 answer
Java okHttp reuse keep-alive connection
How to reuse http keep-alive connection via okHttp?
My code sample:
public class MainWithOkHttp {
static OkHttpClient _client = new OkHttpClient();
public static void main(String[] args) {
...
query1();
...
…

Vüsal
- 2,580
- 1
- 12
- 31
3
votes
1 answer
How to establish a FTPS data connection to a FileZilla Server 1.2.0
It is a known problem to use the Java FTPSClient of Apache commons-net with session resumption. Session resumption is a security feature which a FTPS server can require for data connections. The Apache FTPSClient does not support session resumption,…

mperktold
- 436
- 4
- 14
3
votes
2 answers
How can I make ansible reuse SSH sessions instead of creating a new one for each task?
My corporate firewall policy allows only 20 connections per minute 60 seconds between the same source and destinations.
Owing to this the ansible play hangs after a while.
I would like multiple tasks to use the same ssh session rather than creating…

Ashar
- 2,942
- 10
- 58
- 122
3
votes
0 answers
How to use TLS session resumption with firebase?
I’m about to deploy a firebase project using firebase database, storage, authentication, and cloud functions; and I intended to implement TLS session resumption as recommended in the firebase docs in order to lower costs and loading times.
I’ve…

Oranakia
- 129
- 1
- 10
3
votes
0 answers
Prevent client to use SSL Session reuse
Due to some restraints in the network infrastructure(load balancing) we have to switch off SSL Session reuse for some specific traffic.
Our client created in C# .Net is sending an SOAP v1.1 over SSL with an Client Certificate but I looking to see…

StefanE
- 7,578
- 10
- 48
- 75
2
votes
0 answers
Does Java Apache HttpClient reuse keepalive connection?
I have nginx with enabled keepalive. I create simple java code, which sends 2 requests to nginx:
public class Main {
public static void main(String[] args) {
var apacheHttpClient = HttpClients.custom()
…

Kreans
- 60
- 7
2
votes
2 answers
Android - FTPS Session Reuse - No field sessionHostPortCache
I'm developing an application on Android with Android Studio and I want to use FTP to send files to a server. I need to support session reuse since the server is hosted by an hosting service provider and they obviously have session reuse enabled.
I…
2
votes
1 answer
Python3.6, ftp_tls and session reuse
So, I'm struggling trying to upload a file to a remote ftps server that requires session reuse.
I must specify that even if I can connect to the server without problems via Filezilla, I get the error "unknown server certificate".
This is my…

Ministry
- 131
- 4
- 9
1
vote
0 answers
Every request is a full ssl handshake, how to reuse the ssl session?
.NET Framework 4.x
I have an HTTP client with c#, I find HTTPS request is full handshake always. But if use Postman to request, it will reuse the SSL session by session_ticket.
These is packet capture through wireshark:
client hello
…

cosmosir
- 11
- 3
1
vote
0 answers
JDBC SSL reuse session property MSSQL
Im trying to connect MSSQL server with JDBC using SSL but want to simulate reuse session. I opened the first connection and successfully saw SSL handshae.
whithout closing the first one I opened a new one from the same client(IP, port), and expected…

Aviv Aniger
- 11
- 1
0
votes
0 answers
How to connect to FTPS server (TLS-enabled secure FTP connection) on Java 17
We went through couple of solutions provided on tranferring files using FTPS. They are working fine with lower versions of Java like Java 11 etc. But are facing the same "SSL peer shut down incorrectly" issue in Java 17. Please let us know if there…

Rajesh Garaga
- 1
- 1
0
votes
2 answers
Jmeter HTTP Connects and disconnects
I am using random variable to generate port numbers and used the variable in the port field of HTTP Sampler. I have tried to replace this with a counter variable also. Range is around 300 ports.
I need to send traffic to 300 ports but when i send…

Zack
- 117
- 2
- 12
0
votes
1 answer
Selenium session reuse - monkey patch key error
In attempting to reattach selenium to a chromium session I am experiencing a keyerror:
KeyError: 'sessionId'
To reattach the session without initialising a new window, a monkey patch is used from another stackoverflow question - pasted below from…

Alex
- 1
0
votes
0 answers
Adding another layer by reusing the the previous layer does not look to reuse the variables
Say I have a network X and I want to add another layer on top of X, like this:
with tf.variable_Scope("X_Layer_10"):
W = tf.get_variable(initializer=tf.random_normal([10,5], stddev=0.1), name='W')
b = tf.get_variable(
initializer=…

HHH
- 7
- 4