Giter Club home page Giter Club logo

Comments (1)

dkosovic avatar dkosovic commented on September 16, 2024

I thought Aggressive Mode is mainly recommended for use with XAUTH and not with PSK to avoid offline brute force attack of the PSK, which isn't an issue with Main Mode as it doesn't leak the ID in clear text.

Extract from:

  • https://libreswan.org/man/ipsec.secrets.5.html

An additional complexity arises in the case of authentication by preshared secret in IKEv1 Main Mode: the responder will need to look up the secret before the Peer's ID payload has been decoded, so the ID used will be the IP address. IKEv1 Aggressive Mode (aggrmode=yes) can be used to work around this, at the price of leaking the ID in the clear and allowing a brute force attack against the PSK to be performed offline. PSKs are the least secure authentication method and should be avoided.

As the Windows built-in L2TP VPN client doesn't use Aggressive Mode, would there be many L2TP servers that use Aggressive Mode, or IPsec IKEv1 servers that use Aggressive mode but don't use XAUTH?

The NetworkManager-vpnc and NetworkManager-libreswan VPN clients I believe use Aggressive Mode with XAUTH (or in the NetworkManager-libreswan case just for IKEv1 and not IKEv2).

from networkmanager-l2tp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.