Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Information Provided in Session Log Entries for SRX Series Services Gateways

    Session log entries are tied to policy configuration. Each main session event—create, close, and deny—will create a log entry if the controlling policy has enabled logging.

    Different fields are logged for session create, session close, and session deny events as shown in Table 1, Table 2, and Table 3. The same field name under each type indicates that the same information is logged, but each table is a full list of all data recorded for that type of session log.

    The following table defines the fields displayed in session log entries.

    Table 1: Session Create Log Fields

    Field

    Description

    source-address

    Source IP address of the packet that created the session.

    source-port

    Source port of the packet that created the session.

    destination-address

    Destination IP address of the packet that created the session.

    destination-port

    Destination port of the packet that created the session.

    service-name

    Application that the packet traversed (for example, “junos-telnet” for Telnet traffic during the session allowed by a policy that permits native Telnet).

    nat-source-address

    The translated NAT source address if NAT was applied; otherwise, the source address as above.

    nat-source-port

    The translated NAT source port if NAT was applied; otherwise, the source port as above.

    nat-destination-address

    The translated NAT destination address if NAT was applied; otherwise, the destination address as above.

    nat-destination-port

    The translated NAT destination port if NAT was applied; otherwise, the destination port as above.

    src-nat-rule-name

    The source NAT rule that was applied to the session (if any). If static NAT is also configured and applied to the session and if source address translation takes place, then this field shows the static NAT rule name.*

    dst-nat-rule-name

    The destination NAT rule that was applied to the session (if any). If static NAT is also configured and applied to the session and if destination address translation takes place, then this field shows the static NAT rule name.*

    protocol-id

    The protocol ID of the packet that created the session.

    policy-name

    The name of the policy that permitted the session creation.

    session-id-32

    The 32-bit session ID.

    * Note that some sessions might have both destination and source NAT applied and the information logged.

    Table 2: Session Close Log Fields

    Field

    Description

    reason

    The reason the session was closed.

    source-address

    Source IP address of the packet that created the session.

    source-port

    Source port of the packet that created the session.

    destination-address

    Destination IP address of the packet that created the session.

    destination-port

    Destination port of the packet that created the session.

    service-name

    Application that the packet traversed (for example, “junos-telnet” for Telnet traffic during the session allowed by a policy that permits native Telnet).

    nat-source-address

    The translated NAT source address if NAT was applied; otherwise, the source address as above.

    nat-source-port

    The translated NAT source port if NAT was applied; otherwise, the source port as above.

    nat-destination-address

    The translated NAT destination address if NAT was applied; otherwise, the destination address as above.

    nat-destination-port

    The translated NAT destination port if NAT was applied; otherwise, the destination port as above.

    src-nat-rule-name

    The source NAT rule that was applied to the session (if any). If static NAT is also configured and applied to the session and if source address translation takes place, then this field shows the static NAT rule name.*

    dst-nat-rule-name

    The destination NAT rule that was applied to the session (if any). If static NAT is also configured and applied to the session and if destination address translation takes place, then this field shows the static NAT rule name.*

    protocol-id

    The protocol ID of the packet that created the session.

    policy-name

    The name of the policy that permitted the session creation.

    session-id-32

    The 32-bit session ID.

    packets-from-client

    The number of packets sent by the client related to this session.

    bytes-from-client

    The number of data bytes sent by the client related to this session.

    packets-from-server

    The number of packets sent by the server related to this session.

    bytes-from-server

    The number of data bytes sent by the server related to this session.

    elapsed-time

    The total session elapsed time from permit to close, given in seconds.

    unset

    During the session creation, you can set the session close reason as unset.

    The session closes with the reason unset if the session installation on the control point is not successful. The reason for session installation varies, for example, nonavailability of memory for nonmanagement session installation.

    TCP RST

    RST received from either end.

    TCP FIN

    FIN received from either end.

    response received

    Response received for a packet request (for example, ICMP req-reply).

    ICMP error

    ICMP error received.

    aged out

    Session aged out was reached.

    ALG

    ALG errors closed the session (for example, remote access server (RAS) maximum limit reached).

    HA

    HA message closed the session.

    auth

    Authentication failed.

    IDP

    IDP closed the session because of security module (SM) internal error.

    synproxy failure

    SYN proxy failure closed the session.

    synproxy limit

    Reason for failure in allocating minor session, need to free original session.

    parent closed

    Parent session closed.

    CLI

    Session cleared by a CLI statement.

    CP NACK

    CP NACK response received.

    CP delete

    CP ACK deletion closed the session.

    policy delete

    Corresponding policy marked for deletion.

    fwd session

    Session closed because of forwarding session deletion.

    multicast route change

    Session closed because multicast route changed.

    first path reroute, session recreated

    The first path is rerouted and session is re-created.

    source NAT allocation failure

    SPU received ACK message from the central point but failed to receive the DIP resource. Therefore this packet is dropped and the session is closed.

    other

    Session closed because of all other reasons (for example, the pim reg tun needed refreshing).

    error create IKE pass-through template

    IKE pass-through template creation errors.

    IKE pass-through child session ageout

    Session is deleted because the IKE pass through template session has no child.

    sess timeout on pending state

    Pending session closed because time out timer reached the pending state.

    unknown

    Session closed because of unknown reasons.

    * Note that some sessions might have both destination and source NAT applied and the information logged.

    Table 3: Session Deny Log Fields

    Field

    Description

    source-address

    Source IP address of the packet that attempted to create the session.

    source-port

    Source port of the packet that attempted to create the session.

    destination-address

    Destination IP address of the packet that attempted to create the session.

    destination-port

    Destination port of the packet that attempted to create the session.

    service-name

    Application that the packet attempted to traverse.

    protocol-id

    The protocol ID of the packet that attempted to create the session.

    icmp-type

    The ICMP type if the denied packet was ICMP configured; otherwise, this field will be 0.

    policy-name

    The name of the policy that denied the session creation.

    Published: 2012-06-29