Opened 19 months ago

Last modified 7 weeks ago

#1082 new Bug / Defect

Not clear for how long does openVPN caches the resolved IP address of remote host

Reported by: teneri Owned by:
Priority: major Milestone:
Component: Generic / unclassified Version: OpenVPN 2.4.4 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

Currently when running openVPN client in log it says:

    Preserving recently used remote address:

For how long it will cache it? How to tune it?

Maybe best to add some info into man?

Change History (4)

comment:1 Changed 19 months ago by Antonio

There is no "timing" option to tune. The IP is either cached or not.
This particular behaviour can be activated when using "--persist-remote-ip".

However, before going into the details, I'd like to ask if you are having any issue with this option.

If this is not a bug or a feature request, I'd rather move the discussion tot he user mailing list where more people can express their opinion in this regard.

comment:2 Changed 19 months ago by teneri

Thank you, it's clear now.

Thought I don't have the "persist-remote-ip" option set but seeing the "Preserving recently used remote address" events in the log. Anything else except the "persist-remote-ip" option may be triggering this event?

comment:3 Changed 7 weeks ago by tincantech

Unqualified comment:
This must also be effected by other factors, such as having only one connection profile. I do not use --persist-remote-ip ever and yet almost all of my client logs show that the remote IP is preserved.

comment:4 Changed 7 weeks ago by Pippin

Another unqualified comment :)

Using

remote 1
remote 2
remote 3
remote 4
remote 5

remote-random

shows

Preserving recently used remote address:

but remote is actually random.

Note: See TracTickets for help on using tickets.