MCPcopy Create free account

hub / github.com/SerCeMan/firewalker / functions

Functions54 in github.com/SerCeMan/firewalker

↓ 158 callersMethodmatch
* Matches the request against the request. * * Note, not all of the parameters can be obtained from a request. For instance, thread score, geoip
src/firewall.ts:462
↓ 75 callersMethodcreateRule
* Creates a firewall rule from a WAF language expression. * * @param rule waf language expression
src/firewall.ts:325
↓ 34 callersFunctionaddString
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:35
↓ 34 callersMethodaddString
(name: string, value: string)
src/firewall.ts:864
↓ 20 callersFunctioncheckAdded
(added: boolean, msg: string)
src/firewall.ts:29
↓ 18 callersFunctionwirefilterString
(s: string)
src/firewall.ts:15
↓ 12 callersFunctionaddNumber
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:92
↓ 12 callersMethodaddNumber
(name: string, value: number)
src/firewall.ts:853
↓ 11 callersMethodmatchRequest
* Iterates through the list of rules and returns the matching rule id * * @param request incoming request to be matched against * @returns th
src/firewall.ts:592
↓ 10 callersMethodaddBoolean
(name: string, value: boolean)
src/firewall.ts:875
↓ 10 callersFunctionaddBoolen
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:100
↓ 10 callersMethodaddRule
* Appends a new rule into the firewall at the end of the chain * * @param rule Object with an id and a WAF language expression
src/firewall.ts:577
↓ 6 callersFunctionaddStrArray
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:61
↓ 6 callersMethodaddStringArray
(name: string, value: string[])
src/firewall.ts:937
↓ 4 callersFunctionaddMapToStrArray
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:47
↓ 4 callersMethodaddStringMap
(name: string, value: Map<string, string[]>)
src/firewall.ts:911
↓ 3 callersFunctionwirefilterByteArray
(s: string)
src/firewall.ts:22
↓ 2 callersMethodbuildFromRequest
( wirefilter: any, scheme: any, lists: Lists, req: Request, )
src/firewall.ts:700
↓ 2 callersMethodbuildList
( type: any, list: Record<string, T[]> | undefined, addToArray: (wirefilterArray: any, index: numb
src/firewall.ts:1017
↓ 2 callersMethodfree
()
src/firewall.ts:1013
↓ 2 callersFunctionisSkipCurrent
(action: FirewallAction)
src/firewall.ts:543
↓ 2 callersFunctionisTerminalAction
(action: FirewallAction)
src/firewall.ts:539
↓ 2 callersMethodmatchUsingContext
(execCtx: ExecutionContext)
src/firewall.ts:506
↓ 2 callersFunctionparamsToMap
(params: string)
src/firewall.ts:124
↓ 2 callersFunctionparseIp
(value: string)
src/firewall.ts:685
↓ 1 callersFunctionaddIPaddr
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:84
↓ 1 callersMethodaddIpAddr
(name: string, value: string)
src/firewall.ts:886
↓ 1 callersFunctionaddNumArray
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:73
↓ 1 callersMethodaddNumberArray
(name: string, value: number[])
src/firewall.ts:955
↓ 1 callersFunctioncookiesToMap
(cookieString: string)
src/firewall.ts:192
↓ 1 callersMethodcreateRuleSet
* Creates a new empty firewall ruleset * @returns ruleset
src/firewall.ts:333
↓ 1 callersFunctionextractIpInfo
(cf: CfRequestExt)
src/firewall.ts:339
↓ 1 callersFunctionheadersToMap
(headers: Headers)
src/firewall.ts:179
↓ 1 callersFunctioninitWirefilter
(path: string)
src/wirefilter.ts:895
↓ 1 callersFunctionparamNamesToArray
(params: string)
src/firewall.ts:159
↓ 1 callersFunctionparamValuesToArray
(params: string)
src/firewall.ts:169
↓ 1 callersFunctionparseExtension
(path: string)
src/firewall.ts:147
↓ 1 callersFunctionparsePort
(req: Request)
src/firewall.ts:108
↓ 1 callersMethodsetDefaultLists
* Sets the lists to be added to the execution context for rule evaluation * @param lists - lists to be added * @returns this for method chaining
src/firewall.ts:567
↓ 1 callersMethodsetNeverMatchLists
()
src/firewall.ts:1006
↓ 1 callersMethodsetupIntLists
(list: Lists['int'])
src/firewall.ts:973
↓ 1 callersMethodsetupIpLists
(list: Lists['ip'])
src/firewall.ts:983
Methodconstructor
()
src/firewall.ts:222
Methodconstructor
(input: RequestInfo, init?: CfRequestInit)
src/firewall.ts:443
Methodconstructor
( private readonly wirefilter: any, // private readonly scheme: any, // private readonly rule: str
src/firewall.ts:473
Methodconstructor
( private wirefilter: any, private scheme: any, )
src/firewall.ts:557
Methodconstructor
( private wirefilter: any, private scheme: any, )
src/firewall.ts:842
MethodinternalPointer
()
src/firewall.ts:849
MethodloggedRules
()
src/firewall.ts:662
Methodmatch
(req: Request)
src/firewall.ts:491
MethodskippedPhases
()
src/firewall.ts:642
MethodskippedProducts
()
src/firewall.ts:652
MethodterminalAction
()
src/firewall.ts:670
MethodterminatedEarly
()
src/firewall.ts:666