scapy.layers.pptp module

PPTP (Point to Point Tunneling Protocol)

[RFC 2637]

class scapy.layers.pptp.PPTP

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
fields_desc = [<Field (PPTP).len>, <Field (PPTP).type>, <Field (PPTP).magic_cookie>, <Field (PPTP).ctrl_msg_type>, <Field (PPTP).reserved_0>, <Field (PPTP).data>]
classmethod register_variant()
registered_options = {1: <class 'scapy.layers.pptp.PPTPStartControlConnectionRequest'>, 2: <class 'scapy.layers.pptp.PPTPStartControlConnectionReply'>, 3: <class 'scapy.layers.pptp.PPTPStopControlConnectionRequest'>, 4: <class 'scapy.layers.pptp.PPTPStopControlConnectionReply'>, 5: <class 'scapy.layers.pptp.PPTPEchoRequest'>, 6: <class 'scapy.layers.pptp.PPTPEchoReply'>, 7: <class 'scapy.layers.pptp.PPTPOutgoingCallRequest'>, 8: <class 'scapy.layers.pptp.PPTPOutgoingCallReply'>, 9: <class 'scapy.layers.pptp.PPTPIncomingCallRequest'>, 10: <class 'scapy.layers.pptp.PPTPIncomingCallReply'>, 11: <class 'scapy.layers.pptp.PPTPIncomingCallConnected'>, 12: <class 'scapy.layers.pptp.PPTPCallClearRequest'>, 13: <class 'scapy.layers.pptp.PPTPCallDisconnectNotify'>, 14: <class 'scapy.layers.pptp.PPTPWANErrorNotify'>, 15: <class 'scapy.layers.pptp.PPTPSetLinkInfo'>}
class scapy.layers.pptp.PPTPCallClearRequest

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPCallClearRequest'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPCallClearRequest).len>, <Field (PPTPCallClearRequest).type>, <Field (PPTPCallClearRequest).magic_cookie>, <Field (PPTPCallClearRequest).ctrl_msg_type>, <Field (PPTPCallClearRequest).reserved_0>, <Field (PPTPCallClearRequest).call_id>, <Field (PPTPCallClearRequest).reserved_1>]
class scapy.layers.pptp.PPTPCallDisconnectNotify

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPCallDisconnectNotify'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPCallDisconnectNotify).len>, <Field (PPTPCallDisconnectNotify).type>, <Field (PPTPCallDisconnectNotify).magic_cookie>, <Field (PPTPCallDisconnectNotify).ctrl_msg_type>, <Field (PPTPCallDisconnectNotify).reserved_0>, <Field (PPTPCallDisconnectNotify).call_id>, <Field (PPTPCallDisconnectNotify).result_code>, <Field (PPTPCallDisconnectNotify).error_code>, <Field (PPTPCallDisconnectNotify).cause_code>, <Field (PPTPCallDisconnectNotify).reserved_1>, <Field (PPTPCallDisconnectNotify).call_statistic>]
class scapy.layers.pptp.PPTPEchoReply

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPEchoReply'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (PPTPEchoReply).len>, <Field (PPTPEchoReply).type>, <Field (PPTPEchoReply).magic_cookie>, <Field (PPTPEchoReply).ctrl_msg_type>, <Field (PPTPEchoReply).reserved_0>, <Field (PPTPEchoReply).identifier>, <Field (PPTPEchoReply).result_code>, <Field (PPTPEchoReply).error_code>, <Field (PPTPEchoReply).reserved_1>]
class scapy.layers.pptp.PPTPEchoRequest

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPEchoRequest'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPEchoRequest).len>, <Field (PPTPEchoRequest).type>, <Field (PPTPEchoRequest).magic_cookie>, <Field (PPTPEchoRequest).ctrl_msg_type>, <Field (PPTPEchoRequest).reserved_0>, <Field (PPTPEchoRequest).identifier>]
class scapy.layers.pptp.PPTPIncomingCallConnected

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPIncomingCallConnected'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (PPTPIncomingCallConnected).len>, <Field (PPTPIncomingCallConnected).type>, <Field (PPTPIncomingCallConnected).magic_cookie>, <Field (PPTPIncomingCallConnected).ctrl_msg_type>, <Field (PPTPIncomingCallConnected).reserved_0>, <Field (PPTPIncomingCallConnected).peer_call_id>, <Field (PPTPIncomingCallConnected).reserved_1>, <Field (PPTPIncomingCallConnected).connect_speed>, <Field (PPTPIncomingCallConnected).pkt_window_size>, <Field (PPTPIncomingCallConnected).pkt_transmit_delay>, <Field (PPTPIncomingCallConnected).framing_type>]
class scapy.layers.pptp.PPTPIncomingCallReply

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPIncomingCallReply'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (PPTPIncomingCallReply).len>, <Field (PPTPIncomingCallReply).type>, <Field (PPTPIncomingCallReply).magic_cookie>, <Field (PPTPIncomingCallReply).ctrl_msg_type>, <Field (PPTPIncomingCallReply).reserved_0>, <Field (PPTPIncomingCallReply).call_id>, <Field (PPTPIncomingCallReply).peer_call_id>, <Field (PPTPIncomingCallReply).result_code>, <Field (PPTPIncomingCallReply).error_code>, <Field (PPTPIncomingCallReply).pkt_window_size>, <Field (PPTPIncomingCallReply).pkt_transmit_delay>, <Field (PPTPIncomingCallReply).reserved_1>]
class scapy.layers.pptp.PPTPIncomingCallRequest

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPIncomingCallRequest'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPIncomingCallRequest).len>, <Field (PPTPIncomingCallRequest).type>, <Field (PPTPIncomingCallRequest).magic_cookie>, <Field (PPTPIncomingCallRequest).ctrl_msg_type>, <Field (PPTPIncomingCallRequest).reserved_0>, <Field (PPTPIncomingCallRequest).call_id>, <Field (PPTPIncomingCallRequest).call_serial_number>, <Field (PPTPIncomingCallRequest).bearer_type>, <Field (PPTPIncomingCallRequest).channel_id>, <Field (PPTPIncomingCallRequest).dialed_number_len>, <Field (PPTPIncomingCallRequest).dialing_number_len>, <Field (PPTPIncomingCallRequest).dialed_number>, <Field (PPTPIncomingCallRequest).dialing_number>, <Field (PPTPIncomingCallRequest).subaddress>]
class scapy.layers.pptp.PPTPOutgoingCallReply

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPOutgoingCallReply'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (PPTPOutgoingCallReply).len>, <Field (PPTPOutgoingCallReply).type>, <Field (PPTPOutgoingCallReply).magic_cookie>, <Field (PPTPOutgoingCallReply).ctrl_msg_type>, <Field (PPTPOutgoingCallReply).reserved_0>, <Field (PPTPOutgoingCallReply).call_id>, <Field (PPTPOutgoingCallReply).peer_call_id>, <Field (PPTPOutgoingCallReply).result_code>, <Field (PPTPOutgoingCallReply).error_code>, <Field (PPTPOutgoingCallReply).cause_code>, <Field (PPTPOutgoingCallReply).connect_speed>, <Field (PPTPOutgoingCallReply).pkt_window_size>, <Field (PPTPOutgoingCallReply).pkt_proc_delay>, <Field (PPTPOutgoingCallReply).channel_id>]
class scapy.layers.pptp.PPTPOutgoingCallRequest

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPOutgoingCallRequest'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPOutgoingCallRequest).len>, <Field (PPTPOutgoingCallRequest).type>, <Field (PPTPOutgoingCallRequest).magic_cookie>, <Field (PPTPOutgoingCallRequest).ctrl_msg_type>, <Field (PPTPOutgoingCallRequest).reserved_0>, <Field (PPTPOutgoingCallRequest).call_id>, <Field (PPTPOutgoingCallRequest).call_serial_number>, <Field (PPTPOutgoingCallRequest).minimum_bps>, <Field (PPTPOutgoingCallRequest).maximum_bps>, <Field (PPTPOutgoingCallRequest).bearer_type>, <Field (PPTPOutgoingCallRequest).framing_type>, <Field (PPTPOutgoingCallRequest).pkt_window_size>, <Field (PPTPOutgoingCallRequest).pkt_proc_delay>, <Field (PPTPOutgoingCallRequest).phone_number_len>, <Field (PPTPOutgoingCallRequest).reserved_1>, <Field (PPTPOutgoingCallRequest).phone_number>, <Field (PPTPOutgoingCallRequest).subaddress>]
class scapy.layers.pptp.PPTPSetLinkInfo

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPSetLinkInfo'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPSetLinkInfo).len>, <Field (PPTPSetLinkInfo).type>, <Field (PPTPSetLinkInfo).magic_cookie>, <Field (PPTPSetLinkInfo).ctrl_msg_type>, <Field (PPTPSetLinkInfo).reserved_0>, <Field (PPTPSetLinkInfo).peer_call_id>, <Field (PPTPSetLinkInfo).reserved_1>, <Field (PPTPSetLinkInfo).send_accm>, <Field (PPTPSetLinkInfo).receive_accm>]
class scapy.layers.pptp.PPTPStartControlConnectionReply

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPStartControlConnectionReply'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (PPTPStartControlConnectionReply).len>, <Field (PPTPStartControlConnectionReply).type>, <Field (PPTPStartControlConnectionReply).magic_cookie>, <Field (PPTPStartControlConnectionReply).ctrl_msg_type>, <Field (PPTPStartControlConnectionReply).reserved_0>, <Field (PPTPStartControlConnectionReply).protocol_version>, <Field (PPTPStartControlConnectionReply).result_code>, <Field (PPTPStartControlConnectionReply).error_code>, <Field (PPTPStartControlConnectionReply).framing_capabilities>, <Field (PPTPStartControlConnectionReply).bearer_capabilities>, <Field (PPTPStartControlConnectionReply).maximum_channels>, <Field (PPTPStartControlConnectionReply).firmware_revision>, <Field (PPTPStartControlConnectionReply).host_name>, <Field (PPTPStartControlConnectionReply).vendor_string>]
class scapy.layers.pptp.PPTPStartControlConnectionRequest

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPStartControlConnectionRequest'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPStartControlConnectionRequest).len>, <Field (PPTPStartControlConnectionRequest).type>, <Field (PPTPStartControlConnectionRequest).magic_cookie>, <Field (PPTPStartControlConnectionRequest).ctrl_msg_type>, <Field (PPTPStartControlConnectionRequest).reserved_0>, <Field (PPTPStartControlConnectionRequest).protocol_version>, <Field (PPTPStartControlConnectionRequest).reserved_1>, <Field (PPTPStartControlConnectionRequest).framing_capabilities>, <Field (PPTPStartControlConnectionRequest).bearer_capabilities>, <Field (PPTPStartControlConnectionRequest).maximum_channels>, <Field (PPTPStartControlConnectionRequest).firmware_revision>, <Field (PPTPStartControlConnectionRequest).host_name>, <Field (PPTPStartControlConnectionRequest).vendor_string>]
class scapy.layers.pptp.PPTPStopControlConnectionReply

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPStopControlConnectionReply'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (PPTPStopControlConnectionReply).len>, <Field (PPTPStopControlConnectionReply).type>, <Field (PPTPStopControlConnectionReply).magic_cookie>, <Field (PPTPStopControlConnectionReply).ctrl_msg_type>, <Field (PPTPStopControlConnectionReply).reserved_0>, <Field (PPTPStopControlConnectionReply).result_code>, <Field (PPTPStopControlConnectionReply).error_code>, <Field (PPTPStopControlConnectionReply).reserved_2>]
class scapy.layers.pptp.PPTPStopControlConnectionRequest

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPStopControlConnectionRequest'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPStopControlConnectionRequest).len>, <Field (PPTPStopControlConnectionRequest).type>, <Field (PPTPStopControlConnectionRequest).magic_cookie>, <Field (PPTPStopControlConnectionRequest).ctrl_msg_type>, <Field (PPTPStopControlConnectionRequest).reserved_0>, <Field (PPTPStopControlConnectionRequest).reason>, <Field (PPTPStopControlConnectionRequest).reserved_1>, <Field (PPTPStopControlConnectionRequest).reserved_2>]
class scapy.layers.pptp.PPTPWANErrorNotify

Bases: scapy.layers.pptp.PPTP

aliastypes = [<class 'scapy.layers.pptp.PPTPWANErrorNotify'>, <class 'scapy.layers.pptp.PPTP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (PPTPWANErrorNotify).len>, <Field (PPTPWANErrorNotify).type>, <Field (PPTPWANErrorNotify).magic_cookie>, <Field (PPTPWANErrorNotify).ctrl_msg_type>, <Field (PPTPWANErrorNotify).reserved_0>, <Field (PPTPWANErrorNotify).peer_call_id>, <Field (PPTPWANErrorNotify).reserved_1>, <Field (PPTPWANErrorNotify).crc_errors>, <Field (PPTPWANErrorNotify).framing_errors>, <Field (PPTPWANErrorNotify).hardware_overruns>, <Field (PPTPWANErrorNotify).buffer_overruns>, <Field (PPTPWANErrorNotify).time_out_errors>, <Field (PPTPWANErrorNotify).alignment_errors>]