Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SerCeMan/firewalker
/ functions
Functions
54 in github.com/SerCeMan/firewalker
⨍
Functions
54
◇
Types & classes
18
↓ 158 callers
Method
match
* 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 callers
Method
createRule
* Creates a firewall rule from a WAF language expression. * * @param rule waf language expression
src/firewall.ts:325
↓ 34 callers
Function
addString
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:35
↓ 34 callers
Method
addString
(name: string, value: string)
src/firewall.ts:864
↓ 20 callers
Function
checkAdded
(added: boolean, msg: string)
src/firewall.ts:29
↓ 18 callers
Function
wirefilterString
(s: string)
src/firewall.ts:15
↓ 12 callers
Function
addNumber
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:92
↓ 12 callers
Method
addNumber
(name: string, value: number)
src/firewall.ts:853
↓ 11 callers
Method
matchRequest
* 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 callers
Method
addBoolean
(name: string, value: boolean)
src/firewall.ts:875
↓ 10 callers
Function
addBoolen
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:100
↓ 10 callers
Method
addRule
* 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 callers
Function
addStrArray
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:61
↓ 6 callers
Method
addStringArray
(name: string, value: string[])
src/firewall.ts:937
↓ 4 callers
Function
addMapToStrArray
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:47
↓ 4 callers
Method
addStringMap
(name: string, value: Map<string, string[]>)
src/firewall.ts:911
↓ 3 callers
Function
wirefilterByteArray
(s: string)
src/firewall.ts:22
↓ 2 callers
Method
buildFromRequest
( wirefilter: any, scheme: any, lists: Lists, req: Request, )
src/firewall.ts:700
↓ 2 callers
Method
buildList
( type: any, list: Record<string, T[]> | undefined, addToArray: (wirefilterArray: any, index: numb
src/firewall.ts:1017
↓ 2 callers
Method
free
()
src/firewall.ts:1013
↓ 2 callers
Function
isSkipCurrent
(action: FirewallAction)
src/firewall.ts:543
↓ 2 callers
Function
isTerminalAction
(action: FirewallAction)
src/firewall.ts:539
↓ 2 callers
Method
matchUsingContext
(execCtx: ExecutionContext)
src/firewall.ts:506
↓ 2 callers
Function
paramsToMap
(params: string)
src/firewall.ts:124
↓ 2 callers
Function
parseIp
(value: string)
src/firewall.ts:685
↓ 1 callers
Function
addIPaddr
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:84
↓ 1 callers
Method
addIpAddr
(name: string, value: string)
src/firewall.ts:886
↓ 1 callers
Function
addNumArray
(wirefilter: any, scheme: any, name: string)
src/firewall.ts:73
↓ 1 callers
Method
addNumberArray
(name: string, value: number[])
src/firewall.ts:955
↓ 1 callers
Function
cookiesToMap
(cookieString: string)
src/firewall.ts:192
↓ 1 callers
Method
createRuleSet
* Creates a new empty firewall ruleset * @returns ruleset
src/firewall.ts:333
↓ 1 callers
Function
extractIpInfo
(cf: CfRequestExt)
src/firewall.ts:339
↓ 1 callers
Function
headersToMap
(headers: Headers)
src/firewall.ts:179
↓ 1 callers
Function
initWirefilter
(path: string)
src/wirefilter.ts:895
↓ 1 callers
Function
paramNamesToArray
(params: string)
src/firewall.ts:159
↓ 1 callers
Function
paramValuesToArray
(params: string)
src/firewall.ts:169
↓ 1 callers
Function
parseExtension
(path: string)
src/firewall.ts:147
↓ 1 callers
Function
parsePort
(req: Request)
src/firewall.ts:108
↓ 1 callers
Method
setDefaultLists
* 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 callers
Method
setNeverMatchLists
()
src/firewall.ts:1006
↓ 1 callers
Method
setupIntLists
(list: Lists['int'])
src/firewall.ts:973
↓ 1 callers
Method
setupIpLists
(list: Lists['ip'])
src/firewall.ts:983
Method
constructor
()
src/firewall.ts:222
Method
constructor
(input: RequestInfo, init?: CfRequestInit)
src/firewall.ts:443
Method
constructor
( private readonly wirefilter: any, // private readonly scheme: any, // private readonly rule: str
src/firewall.ts:473
Method
constructor
( private wirefilter: any, private scheme: any, )
src/firewall.ts:557
Method
constructor
( private wirefilter: any, private scheme: any, )
src/firewall.ts:842
Method
internalPointer
()
src/firewall.ts:849
Method
loggedRules
()
src/firewall.ts:662
Method
match
(req: Request)
src/firewall.ts:491
Method
skippedPhases
()
src/firewall.ts:642
Method
skippedProducts
()
src/firewall.ts:652
Method
terminalAction
()
src/firewall.ts:670
Method
terminatedEarly
()
src/firewall.ts:666