pom-ng:proto:ppp_pap
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pom-ng:proto:ppp_pap [2015/07/06 13:00] – Add proto SIP gmsoft | pom-ng:proto:ppp_pap [2020/05/26 21:59] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Protocol | + | ====== Protocol |
| - | This module parses [[wp>Session_Initiation_Protocol|SIP]] packets as defined in RFC [[rfc>3261]] and others. | + | This module parses [[wp>Password_authentication_protocol|PPP PAP]] packets as defined in RFC [[rfc>1334]]. |
| ===== Events ===== | ===== Events ===== | ||
| ^ Name ^ Payload associated ^ Description ^ | ^ Name ^ Payload associated ^ Description ^ | ||
| - | |sip_req|yes|Contains all the information contained in a SIP request.| | + | |ppp_pap_request|no|Contains all the information contained in a request |
| - | |sip_rsp|yes|Contains all the information contained in a SIP response.| | + | |ppp_pap_ack_nack|no|Contains all the information contained in an ACK or NACK packet.| |
| - | ==== sip_reg ==== | + | The compound |
| - | This event is generated for each SIP request packet. | + | |
| - | ^ Field ^ Type ^ Description ^ | ||
| - | |method|string|Method of the request (i.e. INVITE, | ||
| - | |uri|string|URI of the request.| | ||
| - | Additionally, | + | ==== ppp_pap_request |
| - | + | This event is generated for each PAP request | |
| - | ==== sip_rsp | + | |
| - | This event is generated for each SIP response | + | |
| ^ Field ^ Type ^ Description ^ | ^ Field ^ Type ^ Description ^ | ||
| - | |status|uint16|Response status.| | + | |code|uint8|The code is 1.| |
| - | |reason|string|Reason provided for the status.| | + | |identifier|uint8|Authentification attempt identifier.| |
| + | |peer_id|string|String containing | ||
| + | |password|string|The password.| | ||
| - | Additionally, | + | ==== ppp_ack_nack ==== |
| + | This event is generated for each Acknoledgement or N-Ack packet. | ||
| - | ==== common properites ==== | ||
| ^ Field ^ Type ^ Description ^ | ^ Field ^ Type ^ Description ^ | ||
| - | |first_line|string|First line of the packet.| | + | |code|uint8|The code is 2 for Ack, 3 for N-Ack.| |
| - | |calld_id|string|Call-id used in this packet.| | + | |identifier|uint8|Authentication attempt identifier.| |
| - | |top_branch|string|SIP top (first seen) branch of the packet.| | + | |message|string|Result message from the server.| |
| - | |cseq_num|uint32|Sequence number.| | + | |
| - | |cseq_method|string|Sequence method.| | + | |
| - | |content_type|string|Value of the Content-Type header.| | + | |
| - | |content_len|string|Value of the Content-Length header.| | + | |
| - | |from_display|string|Display name in the From header.| | + | |
| - | |from_uri|string|URI in the From header.| | + | |
| - | |from_tag|string|Tag in the From header.| | + | |
| - | |to_display|string|Display name in the To header.| | + | |
| - | |to_uri|string|URI in the To header.| | + | |
| - | |to_tag|string|Tag in the To header.| | + | |
| - | |other_headers|string list|List of unparsed header.| | + | |
| ===== Packet fields ===== | ===== Packet fields ===== | ||
| - | None | + | ^ Name ^ Type ^ Description ^ |
| + | |code|uint8|Packet code.| | ||
| + | |identifier|uint8|Authentication identifier.| | ||
| ===== Parameters ===== | ===== Parameters ===== | ||
| ^ Name ^ Type ^ Default value ^ Description ^ | ^ Name ^ Type ^ Default value ^ Description ^ | ||
| - | |udp_timeout|uint32|300|Number of seconds | + | |auth_timeout|uint32|60|Number of seconds |
pom-ng/proto/ppp_pap.1436187603.txt.gz · Last modified: (external edit)
