scapy.layers.pptp
PPTP (Point to Point Tunneling Protocol)
[RFC 2637]
- class scapy.layers.pptp.PPTP(_pkt, /, *, len=None, type=1, magic_cookie=439041101, ctrl_msg_type=1, reserved_0=0, data=b'')[源代码]
基类:
Packet- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPPPTP fields len
Nonetype
1magic_cookie
439041101ctrl_msg_type
1reserved_0
0data
b''
- 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(_pkt, /, *, len=16, type=1, magic_cookie=439041101, ctrl_msg_type=12, reserved_0=0, call_id=1, reserved_1=0)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CALL ID | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPCallClearRequestPPTPCallClearRequest fields len
16type
1magic_cookie
439041101ctrl_msg_type
12reserved_0
0call_id
1reserved_1
0
- class scapy.layers.pptp.PPTPCallDisconnectNotify(_pkt, /, *, len=148, type=1, magic_cookie=439041101, ctrl_msg_type=13, reserved_0=0, call_id=1, result_code=1, error_code=0, cause_code=0, reserved_1=0, call_statistic=b'')[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CALL ID | RESULT CODE | ERROR CODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAUSE CODE | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CALL STATISTIC | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPCallDisconnectNotifyPPTPCallDisconnectNotify fields len
148type
1magic_cookie
439041101ctrl_msg_type
13reserved_0
0call_id
1result_code
1error_code
0cause_code
0reserved_1
0call_statistic
b''
- class scapy.layers.pptp.PPTPEchoReply(_pkt, /, *, len=20, type=1, magic_cookie=439041101, ctrl_msg_type=6, reserved_0=0, identifier=None, result_code=1, error_code=0, reserved_1=0)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IDENTIFIER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESULT CODE | ERROR CODE | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPEchoReplyPPTPEchoReply fields len
20type
1magic_cookie
439041101ctrl_msg_type
6reserved_0
0identifier
Noneresult_code
1error_code
0reserved_1
0
- class scapy.layers.pptp.PPTPEchoRequest(_pkt, /, *, len=16, type=1, magic_cookie=439041101, ctrl_msg_type=5, reserved_0=0, identifier=None)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IDENTIFIER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPEchoRequestPPTPEchoRequest fields len
16type
1magic_cookie
439041101ctrl_msg_type
5reserved_0
0identifier
None
- class scapy.layers.pptp.PPTPIncomingCallConnected(_pkt, /, *, len=28, type=1, magic_cookie=439041101, ctrl_msg_type=11, reserved_0=0, peer_call_id=1, reserved_1=0, connect_speed=100000000, pkt_window_size=64, pkt_transmit_delay=0, framing_type=1)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PEER CALL ID | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CONNECT SPEED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PKT WINDOW SIZE | PKT TRANSMIT DELAY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRAMING TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPIncomingCallConnectedPPTPIncomingCallConnected fields len
28type
1magic_cookie
439041101ctrl_msg_type
11reserved_0
0peer_call_id
1reserved_1
0connect_speed
100000000pkt_window_size
64pkt_transmit_delay
0framing_type
1
- class scapy.layers.pptp.PPTPIncomingCallReply(_pkt, /, *, len=148, type=1, magic_cookie=439041101, ctrl_msg_type=10, reserved_0=0, call_id=1, peer_call_id=1, result_code=1, error_code=0, pkt_window_size=64, pkt_transmit_delay=0, reserved_1=0)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CALL ID | PEER CALL ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESULT CODE | ERROR CODE | PKT WINDOW SIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PKT TRANSMIT DELAY | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPIncomingCallReplyPPTPIncomingCallReply fields len
148type
1magic_cookie
439041101ctrl_msg_type
10reserved_0
0call_id
1peer_call_id
1result_code
1error_code
0pkt_window_size
64pkt_transmit_delay
0reserved_1
0
- class scapy.layers.pptp.PPTPIncomingCallRequest(_pkt, /, *, len=220, type=1, magic_cookie=439041101, ctrl_msg_type=9, reserved_0=0, call_id=1, call_serial_number=1, bearer_type=3, channel_id=0, dialed_number_len=0, dialing_number_len=0, dialed_number=b'', dialing_number=b'', subaddress=b'')[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CALL ID | CALL SERIAL NUMBER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BEARER TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNEL ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DIALED NUMBER LEN | DIALING NUMBER LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DIALED NUMBER | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DIALING NUMBER | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBADDRESS | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPIncomingCallRequestPPTPIncomingCallRequest fields len
220type
1magic_cookie
439041101ctrl_msg_type
9reserved_0
0call_id
1call_serial_number
1bearer_type
3channel_id
0dialed_number_len
0dialing_number_len
0dialed_number
b''dialing_number
b''subaddress
b''
- class scapy.layers.pptp.PPTPOutgoingCallReply(_pkt, /, *, len=32, type=1, magic_cookie=439041101, ctrl_msg_type=8, reserved_0=0, call_id=1, peer_call_id=1, result_code=1, error_code=0, cause_code=0, connect_speed=100000000, pkt_window_size=16, pkt_proc_delay=0, channel_id=0)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CALL ID | PEER CALL ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESULT CODE | ERROR CODE | CAUSE CODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CONNECT SPEED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PKT WINDOW SIZE | PKT PROC DELAY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNEL ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPOutgoingCallReplyPPTPOutgoingCallReply fields len
32type
1magic_cookie
439041101ctrl_msg_type
8reserved_0
0call_id
1peer_call_id
1result_code
1error_code
0cause_code
0connect_speed
100000000pkt_window_size
16pkt_proc_delay
0channel_id
0
- class scapy.layers.pptp.PPTPOutgoingCallRequest(_pkt, /, *, len=168, type=1, magic_cookie=439041101, ctrl_msg_type=7, reserved_0=0, call_id=1, call_serial_number=0, minimum_bps=32768, maximum_bps=2147483648, bearer_type=3, framing_type=3, pkt_window_size=16, pkt_proc_delay=0, phone_number_len=0, reserved_1=0, phone_number=b'', subaddress=b'')[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CALL ID | CALL SERIAL NUMBER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MINIMUM BPS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXIMUM BPS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BEARER TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRAMING TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PKT WINDOW SIZE | PKT PROC DELAY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PHONE NUMBER LEN | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PHONE NUMBER | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBADDRESS | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPOutgoingCallRequestPPTPOutgoingCallRequest fields len
168type
1magic_cookie
439041101ctrl_msg_type
7reserved_0
0call_id
1call_serial_number
0minimum_bps
32768maximum_bps
2147483648bearer_type
3framing_type
3pkt_window_size
16pkt_proc_delay
0phone_number_len
0reserved_1
0phone_number
b''subaddress
b''
- class scapy.layers.pptp.PPTPSetLinkInfo(_pkt, /, *, len=24, type=1, magic_cookie=439041101, ctrl_msg_type=15, reserved_0=0, peer_call_id=1, reserved_1=0, send_accm=0, receive_accm=0)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PEER CALL ID | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SEND ACCM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RECEIVE ACCM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPSetLinkInfoPPTPSetLinkInfo fields len
24type
1magic_cookie
439041101ctrl_msg_type
15reserved_0
0peer_call_id
1reserved_1
0send_accm
0receive_accm
0
- class scapy.layers.pptp.PPTPStartControlConnectionReply(_pkt, /, *, len=156, type=1, magic_cookie=439041101, ctrl_msg_type=2, reserved_0=0, protocol_version=256, result_code=1, error_code=0, framing_capabilities=<Flag 0 ()>, bearer_capabilities=<Flag 0 ()>, maximum_channels=65535, firmware_revision=256, host_name=b'linux', vendor_string=b'')[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PROTOCOL VERSION | RESULT CODE | ERROR CODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRAMING CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BEARER CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXIMUM CHANNELS | FIRMWARE REVISION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HOST NAME | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VENDOR STRING | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPStartControlConnectionReplyPPTPStartControlConnectionReply fields len
156type
1magic_cookie
439041101ctrl_msg_type
2reserved_0
0protocol_version
256result_code
1error_code
0framing_capabilities
<Flag 0 ()>bearer_capabilities
<Flag 0 ()>maximum_channels
65535firmware_revision
256host_name
b'linux'vendor_string
b''
- class scapy.layers.pptp.PPTPStartControlConnectionRequest(_pkt, /, *, len=156, type=1, magic_cookie=439041101, ctrl_msg_type=1, reserved_0=0, protocol_version=256, reserved_1=0, framing_capabilities=<Flag 0 ()>, bearer_capabilities=<Flag 0 ()>, maximum_channels=65535, firmware_revision=256, host_name=b'linux', vendor_string=b'')[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PROTOCOL VERSION | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRAMING CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BEARER CAPABILITIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAXIMUM CHANNELS | FIRMWARE REVISION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HOST NAME | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VENDOR STRING | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPStartControlConnectionRequestPPTPStartControlConnectionRequest fields len
156type
1magic_cookie
439041101ctrl_msg_type
1reserved_0
0protocol_version
256reserved_1
0framing_capabilities
<Flag 0 ()>bearer_capabilities
<Flag 0 ()>maximum_channels
65535firmware_revision
256host_name
b'linux'vendor_string
b''
- class scapy.layers.pptp.PPTPStopControlConnectionReply(_pkt, /, *, len=16, type=1, magic_cookie=439041101, ctrl_msg_type=4, reserved_0=0, result_code=1, error_code=0, reserved_2=0)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESULT CODE | ERROR CODE | RESERVED 2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPStopControlConnectionReplyPPTPStopControlConnectionReply fields len
16type
1magic_cookie
439041101ctrl_msg_type
4reserved_0
0result_code
1error_code
0reserved_2
0
- class scapy.layers.pptp.PPTPStopControlConnectionRequest(_pkt, /, *, len=16, type=1, magic_cookie=439041101, ctrl_msg_type=3, reserved_0=0, reason=1, reserved_1=0, reserved_2=0)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | REASON | RESERVED 1 | RESERVED 2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPStopControlConnectionRequestPPTPStopControlConnectionRequest fields len
16type
1magic_cookie
439041101ctrl_msg_type
3reserved_0
0reason
1reserved_1
0reserved_2
0
- class scapy.layers.pptp.PPTPWANErrorNotify(_pkt, /, *, len=40, type=1, magic_cookie=439041101, ctrl_msg_type=14, reserved_0=0, peer_call_id=1, reserved_1=0, crc_errors=0, framing_errors=0, hardware_overruns=0, buffer_overruns=0, time_out_errors=0, alignment_errors=0)[源代码]
基类:
PPTP- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAGIC COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CTRL MSG TYPE | RESERVED 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PEER CALL ID | RESERVED 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CRC ERRORS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRAMING ERRORS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HARDWARE OVERRUNS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BUFFER OVERRUNS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIME OUT ERRORS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALIGNMENT ERRORS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PPTPWANErrorNotifyPPTPWANErrorNotify fields len
40type
1magic_cookie
439041101ctrl_msg_type
14reserved_0
0peer_call_id
1reserved_1
0crc_errors
0framing_errors
0hardware_overruns
0buffer_overruns
0time_out_errors
0alignment_errors
0