byteblowerll.byteblower.PAPProtocol

class byteblowerll.byteblower.PAPProtocol(*args, **kwargs)

Represents the Password Authentication Protocol

PPP defines an extensible Link Control Protocol, which allows negotiation of an Authentication Protocol for authenticating its peer before allowing Network Layer protocols to transmit over the link.

This class provides the Password Authentication protocol as described per RFC 1334, section 2

The Password Authentication Protocol (PAP) provides a simple method for the peer to establish its identity using a 2-way handshake. This is done only upon initial link establishment.

After the Link Establishment phase is complete, an Id/Password pair is repeatedly sent by the peer to the authenticator until authentication is acknowledged or the connection is terminated.

PAP is not a strong authentication method. Passwords are sent over the circuit ” in the clear “, and there is no protection from playback or repeated trial and error attacks. The peer is in control of the frequency and timing of the attempts.

By default, authentication is not mandatory. If authentication of the link is desired, an implementation MUST specify the Authentication-Protocol Configuration Option during Link Establishment phase.

New in version 2.5.0.

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

DescriptionGet(*args) Gets a textual description for the current object
GetPPPProtocol(*args)
ParentGet() Returns the parent object.
PasswordGet() Returns the configured password.
PasswordSet(inPassword) Configures the password on the Password authentication Protocol ( PAP )
PeerIDGet() Returns the configured Peer-ID.
PeerIDSet(inUserId) Configures the Peer-ID on the Password authentication Protocol ( PAP )
Refresh() Retrieves the latest data from the server for this object.
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag