Published on iptel.org (http://www.iptel.org)

FCP Protocol Specification 15

By janakj
Created 2006-08-30 14:34

FCP rough specs + description - v.015 - 11-28-00 - Nils Ohlmeier [1], Ulrich Abend [2]

<FCP>::=

<Request>|<Response>

<Request>::=

        SET <RequestHeader> <PacketMatching Expression> [<SetOptions>] |
        RELEASE <RequestHeader> <PacketMatching Expression> |
        QUERY <RequestHeader> [<PacketMatching Expression>] |
        QUERYNAT <RequestHeader> IP=<value> PORT=<value>
                   [UPPERPORT=<value>] PROTO=<value> |
        RELEASENAT <RequestHeader> IP=<value> PORT=<value> PROTO=<value>

<RequestHeader>::=

<Protocol_Name_And_Version> <Transaction Number>

<Protocol_Name_And_Version>::=

FCP=1.0

<Transaction Number>::=

SEQ=<value>

<PacketMatchingExpression>::=

        [PROTO=<value>]                         // Protokoll
        [SRCIP=<ip-address>[/<netmask>]]        // source ip address(es)
        [DSTIP=<ip-address>[/<netmask>]]        // destination ip address(es)
        [SRCPORT=<port> | <port-range>]         // port number of source
        [DSTPORT=<port> | <port-range>]         // port number of destination
        [TOSFLD=<value>]                        // IPv4 TOS field
        [TCPSYNALLOWED={yes|no}]                // tcp SYN packets allowed
        [ICMPTYPE=<value>]                      // icmp type e.g. ping, pong
        [ININTERFACE={in|out|dmz|loopback}]     // the input interface
        [OUTINTERFACE={in|out|dmz|loopback}]    // the output interface

<SetOptions>::=

        [ACTION={pass [<PacketModifier>] | drop | reject [<ICMPi [3] message>]}]
        [TIMER=<value>]                         // auch keep-alive
        [REFLEXIVE={yes|no}]
        [PRIORITYCLASS=<value>]
        [LOG=<value>]

<PacketModifier>::=

        [PROTO=<value>]                         // Protokoll
        [SRCIP=<ip-address>]                    // source ip address
        [DSTIP=<ip-address>]                    // destination ip address
        [SRCPORT=<port>]                        // port number of source
        [DSTPORT=<port>]                        // port number of destination
        [TOSFLD=<value>]                        // IPv4 TOS field

<ICMP message>::=

ICMPMESSAGE=<value>

<Response>::=

        <Protocol_Name_And_Version> <Transaction Number>
        <StatusCode> [<QueryResponse> | <NatQueryResponse>]

<QueryResponse>::=

<PME> <SetOptions> [; <PME> <SetOptions> ]*

<NatQueryResponse>::=

IP=<value> PORT=<value> [UPPERPORT=<value>]

<StatusCode>::=

        {200 OK |
        400 Bad Request |
        401 Unauthorized |
        402 Invalid Control State Field Value |
        403 Forbidden |
        480 Priority Class Conflict |
        500 Server Internal Error |
        501 Not Implemented |
        502 Service Unavaiable |
        503 Version Not Supported }

Description:

SET:

RELEASE:

QUERY:

QUERYNAT:

RELEASENAT:

Transaction Number (SEQ):

PROTO:

UPPERPORT:

SRCIP:

DSTIP:

SRCPORT:

DSTPORT:

TOSFLD: (see RFC1349 [8] and RFC2474 [9])

TCPSYNALLOWED:

ICMPTYPE:

ININTERFACE:

OUTINTERFACE:

ACTION:

TIMER:

REFLEXIVE:

PRIORITYCLASS:

LOG:

ICMPMESSAGE:


Source URL:
http://www.iptel.org/fcp/fcp-spec-15
Home |  Recent changes |  Search |  Glossary |  Sitemap |  Login