⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sipb_bnfrules_forparse.txt

📁 sip torture test tools
💻 TXT
📖 第 1 页 / 共 2 页
字号:
                     [ language *(COMMA language) ]language         =  language-range *(SEMI accept-param)language-range   =  ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) / "*" )Alert-Info   =  "Alert-Info" HCOLON alert-param *(COMMA alert-param)alert-param  =  LAQUOT absoluteURI RAQUOT *( SEMI generic-param )Allow  =  "Allow" HCOLON [Method *(COMMA Method)]Authorization     =  "Authorization" HCOLON credentialscredentials       =  ("Digest" LWS digest-response)                     / other-responsedigest-response   =  dig-resp *(COMMA dig-resp)dig-resp          =  username / realm / nonce / digest-uri                      / dresponse / algorithm / cnonce                      / opaque / message-qop                      / nonce-count / auth-paramusername          =  "username" EQUAL username-valueusername-value    =  quoted-stringdigest-uri        =  "uri" EQUAL LDQUOT digest-uri-value RDQUOT  ;!!!! WE CHANGE THIS value (be rquest-uri);- - - - - - - - - - - - - - - - - - - - - - digest-uri-value  =  Request-URI ; Equal to request-uri as specified;- - - - - - - - - - - - - - - - - - - - - - message-qop       =  "qop" EQUAL qop-valuecnonce            =  "cnonce" EQUAL cnonce-valuecnonce-value      =  nonce-valuenonce-count       =  "nc" EQUAL nc-valuenc-value          =  8LHEXdresponse         =  "response" EQUAL request-digestrequest-digest    =  LDQUOT 32LHEX RDQUOTauth-param        =  auth-param-name EQUAL                     ( token / quoted-string )auth-param-name   =  tokenother-response    =  auth-scheme LWS auth-param                     *(COMMA auth-param)auth-scheme       =  tokenAuthentication-Info  =  "Authentication-Info" HCOLON ainfo                        *(COMMA ainfo)ainfo                =  nextnonce / message-qop                         / response-auth / cnonce                         / nonce-countnextnonce            =  "nextnonce" EQUAL nonce-valueresponse-auth        =  "rspauth" EQUAL response-digestresponse-digest      =  LDQUOT *LHEX RDQUOTCall-ID  =  ( "Call-ID" / "i" ) HCOLON callidcallid   =  word [ "@" word ]Call-Info   =  "Call-Info" HCOLON info *(COMMA info)info        =  LAQUOT absoluteURI RAQUOT *( SEMI info-param)info-param  =  ( "purpose" EQUAL ( "icon" / "info"               / "card" / token ) ) / generic-param	       Contact        =  ("Contact" / "m" ) HCOLON                  ( STAR / (contact-param *(COMMA contact-param)))contact-param  =  (name-addr / addr-spec) *(SEMI contact-params)name-addr      =  [ display-name ] LAQUOT addr-spec RAQUOT;!!!! We comment absoluteURU (??? );- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  addr-spec      =  SIP-URI / SIPS-URI ; / absoluteURI;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  ;We change this rule;- - - - - - - - - - - - - - - - - - - - -display-name   =  1*(token LWS)/ quoted-string;- - - - - - - - - - - - - - - - - - - - - contact-params     =  c-p-q / c-p-expires                       / contact-extensionc-p-q              =  "q" EQUAL qvalue;We change this rule;- - - - - - - - - - - - - - - - - - - - - - - -  c-p-expires        =  "expires" EQUAL c-p-expires-ds c-p-expires-ds     =  delta-seconds;- - - - - - - - - - - - - - - - - - - - - - - -contact-extension  =  generic-paramdelta-seconds      =  1*DIGITContent-Disposition   =  "Content-Disposition" HCOLON                         disp-type *( SEMI disp-param )disp-type             =  "render" / "session" / "icon" / "alert"                         / disp-extension-tokendisp-param            =  handling-param / generic-paramhandling-param        =  "handling" EQUAL                         ( "optional" / "required"                         / other-handling )other-handling        =  tokendisp-extension-token  =  tokenContent-Encoding  =  ( "Content-Encoding" / "e" ) HCOLON                     content-coding *(COMMA content-coding)Content-Language  =  "Content-Language" HCOLON                     language-tag *(COMMA language-tag)language-tag      =  primary-tag *( "-" subtag )primary-tag       =  1*8ALPHAsubtag            =  1*8ALPHAContent-Length  =  ( "Content-Length" / "l" ) HCOLON 1*DIGITContent-Type     =  ( "Content-Type" / "c" ) HCOLON media-typemedia-type       =  m-type SLASH m-subtype *(SEMI m-parameter)m-type           =  discrete-type / composite-typediscrete-type    =  "text" / "image" / "audio" / "video"                    / "application" / extension-tokencomposite-type   =  "message" / "multipart" / extension-tokenextension-token  =  ietf-token / x-tokenietf-token       =  tokenx-token          =  "x-" tokenm-subtype        =  extension-token / iana-tokeniana-token       =  tokenm-parameter      =  m-attribute EQUAL m-valuem-attribute      =  tokenm-value          =  token / quoted-string;We change this rule;- - - - - - - - - - - - - - - - - - - - - - CSeq        =  "CSeq" HCOLON CSeq-value LWS CSeq-MethodCSeq-value  = 1*DIGITCSeq-Method = Method;- - - - - - - - - - - - - - - - - - - - - Date          =  "Date" HCOLON SIP-dateSIP-date      =  rfc1123-daterfc1123-date  =  wkday "," SP date1 SP time SP "GMT"date1         =  2DIGIT SP month SP 4DIGIT                 ; day month year (e.g., 02 Jun 1982)time          =  2DIGIT ":" 2DIGIT ":" 2DIGIT                 ; 00:00:00 - 23:59:59wkday         =  "Mon" / "Tue" / "Wed"                 / "Thu" / "Fri" / "Sat" / "Sun"month         =  "Jan" / "Feb" / "Mar" / "Apr"                 / "May" / "Jun" / "Jul" / "Aug"                 / "Sep" / "Oct" / "Nov" / "Dec"Error-Info  =  "Error-Info" HCOLON error-uri *(COMMA error-uri)error-uri   =  LAQUOT absoluteURI RAQUOT *( SEMI generic-param );We chanange this rule;- - - - - - - - - - - - - - - - - - -Expires     =  "Expires" HCOLON expires-delta-secondsexpires-delta-seconds=delta-seconds;- - - - - - - - - - - - - - - - - - - -From        =  ( "From" / "f" ) HCOLON from-specfrom-spec   =  ( name-addr / addr-spec )               *( SEMI from-param )from-param  =  tag-param / generic-param;We change this rule;- - - - - - - - - - - - - - - - - - - - - - - -tag-param      =  "tag" EQUAL tag-param-paramtag-param-param=token;- - - - - - - - - - - - - - - - - - - - - - - -In-Reply-To  =  "In-Reply-To" HCOLON callid *(COMMA callid)Max-Forwards  =  "Max-Forwards" HCOLON 1*DIGITMIME-Version  =  "MIME-Version" HCOLON 1*DIGIT "." 1*DIGITMin-Expires  =  "Min-Expires" HCOLON delta-secondsOrganization  =  "Organization" HCOLON [TEXT-UTF8-TRIM]Priority        =  "Priority" HCOLON priority-valuepriority-value  =  "emergency" / "urgent" / "normal"                   / "non-urgent" / other-priorityother-priority  =  tokenProxy-Authenticate  =  "Proxy-Authenticate" HCOLON challengechallenge           =  ("Digest" LWS digest-cln *(COMMA digest-cln))                       / other-challengeother-challenge     =  auth-scheme LWS auth-param                       *(COMMA auth-param)digest-cln          =  realm / domain / nonce                        / opaque / stale / algorithm                        / qop-options / auth-paramrealm               =  "realm" EQUAL realm-valuerealm-value         =  quoted-stringdomain              =  "domain" EQUAL LDQUOT URI                       *( 1*SP URI ) RDQUOTURI                 =  absoluteURI / abs-pathnonce               =  "nonce" EQUAL nonce-valuenonce-value         =  quoted-stringopaque              =  "opaque" EQUAL quoted-stringstale               =  "stale" EQUAL ( "true" / "false" );We change this rule;- - - - - - - - - - - - - - - - - - - - algorithm           =  "algorithm" EQUAL ( md5-str / md5-sess-str                       / token )md5-str  = "MD5"md5-sess-str="MD5-sess";- - - - - - - - - - - - - - - - - - - - 	       		       qop-options         =  "qop" EQUAL LDQUOT qop-value                       *("," qop-value) RDQUOTqop-value           =  "auth" / "auth-int" / tokenProxy-Authorization  =  "Proxy-Authorization" HCOLON credentialsProxy-Require  =  "Proxy-Require" HCOLON option-tag                  *(COMMA option-tag)option-tag     =  tokenRecord-Route  =  "Record-Route" HCOLON rec-route *(COMMA rec-route)rec-route     =  name-addr *( SEMI rr-param )rr-param      =  generic-paramReply-To      =  "Reply-To" HCOLON rplyto-specrplyto-spec   =  ( name-addr / addr-spec )                 *( SEMI rplyto-param )rplyto-param  =  generic-paramRequire       =  "Require" HCOLON option-tag *(COMMA option-tag)Retry-After  =  "Retry-After" HCOLON delta-seconds                [ comment ] *( SEMI retry-param )retry-param  =  ("duration" EQUAL delta-seconds)                / generic-paramRoute        =  "Route" HCOLON route-param *(COMMA route-param)route-param  =  name-addr *( SEMI rr-param )Server           =  "Server" HCOLON server-val *(LWS server-val);We chenage this rule;- - - - - - - - - - - - - - - - - - - - - - - - - - server-val       =  product / comment-for-svcomment-for-sv   = LPAREN *(ctext / quoted-pair /      		 ( LPAREN *( ctext / quoted-pair ) RPAREN ) ) SWS ")";- - - - - - - - - - - - - - - - - - - - - - - - - -product          =  token [SLASH product-version]product-version  =  tokenSubject  =  ( "Subject" / "s" ) HCOLON [TEXT-UTF8-TRIM]Supported  =  ( "Supported" / "k" ) HCOLON              [option-tag *(COMMA option-tag)]Timestamp  =  "Timestamp" HCOLON 1*(DIGIT)               [ "." *(DIGIT) ] [ LWS delay ]delay      =  *(DIGIT) [ "." *(DIGIT) ]To        =  ( "To" / "t" ) HCOLON ( name-addr             / addr-spec ) *( SEMI to-param )to-param  =  tag-param / generic-paramUnsupported  =  "Unsupported" HCOLON option-tag *(COMMA option-tag)User-Agent  =  "User-Agent" HCOLON server-val *(LWS server-val)Via               =  ( "Via" / "v" ) HCOLON via-parm *(COMMA via-parm)via-parm          =  sent-protocol LWS sent-by *( SEMI via-params )via-params        =  via-ttl / via-maddr                     / via-received / via-branch                     / via-extensionvia-ttl           =  "ttl" EQUAL ttl;We change this rules (via-maddr via-received via-branch);- - - - - - - - - - - - - - - - - - - - via-maddr         =  "maddr" EQUAL via-maddr-paramvia-maddr-param   = hostvia-received      =  "received" EQUAL via-received-paramvia-received-param= (IPv4address / IPv6address) via-branch        =  "branch" EQUAL via-branch-paramvia-branch-param  = token;- - - - - - - - - - - - - - - - - - - via-extension     =  generic-paramsent-protocol     =  protocol-name SLASH protocol-version                     SLASH transportprotocol-name     =  "SIP" / tokenprotocol-version  =  tokentransport         =  "UDP" / "TCP" / "TLS" / "SCTP"                     / other-transportsent-by           =  host [ COLON port ]ttl               =  1*3DIGIT ; 0 to 255Warning        =  "Warning" HCOLON warning-value *(COMMA warning-value)warning-value  =  warn-code SP warn-agent SP warn-textwarn-code      =  3DIGITwarn-agent     =  hostport / pseudonym                  ;  the name or pseudonym of the server adding                  ;  the Warning header, for use in debuggingwarn-text      =  quoted-stringpseudonym      =  tokenWWW-Authenticate  =  "WWW-Authenticate" HCOLON challengeextension-header  =  header-name HCOLON header-valueheader-name       =  tokenheader-value      =  *(TEXT-UTF8char / UTF8-CONT / LWS)message-body  =  *OCTET        ALPHA          =  %x41-5A / %x61-7A   ; A-Z / a-z        BIT            =  "0" / "1"        CHAR           =  %x01-7F        CR             =  %x0D        CRLF           =  CR LF        CTL            =  %x00-1F / %x7F        DIGIT          =  %x30-39        DQUOTE         =  %x22        HEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"        HTAB           =  %x09        LF             =  %x0A        LWSP           =  *(WSP / CRLF WSP)        OCTET          =  %x00-FF        SP             =  %x20        VCHAR          =  %x21-7E        WSP            =  SP / HTAB

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -