admin_way
CDCloudflare Developers
•Created by admin_way on 7/4/2023 in #general-help
regrex in waf rule for hmac_validation
Hi,
I want to use the regex replace function in (http.host eq "xxx.xxx" and not is_timed_hmac_valid_v0("secret", regex_replace(http.request.uri.path, "/.*$", ""), 10800, http.request.timestamp.sec, 8))
The purpose of this rule is to use the partial path (only want to truncate to the last /" of the uri path) to do the hmac valication.
it throws an error in the WAF custom rule dashboard saying regex_replace is not allowed.
Any solutions to this ?
12 replies
CDCloudflare Developers
•Created by admin_way on 6/26/2023 in #workers-help
calling direct public ip from cloudflare worker
Hi,
I have a dynamic server allocation service that spins off new server if the server is overloaded or underloaded. right now, i'm calling them using public ip from cloudflare worker but got forbidden. are there any workarounds ? i have to use a proxy instead ?
2 replies
CDCloudflare Developers
•Created by admin_way on 6/18/2023 in #workers-help
grpc working ?
Hi,
I want to make grpc call to external services I hosted from my cloudflare worker. Is there any good example ? Also I hope it is better to be secure call such as TLS / SSL based. Thank you,
1 replies
CDCloudflare Developers
•Created by admin_way on 3/10/2023 in #workers-help
temp file for workers
hi , is it possible to create temp files using workers? there are multipart upload cases where temp file are needed. say upload some image or video before doing other processing.
5 replies
CDCloudflare Developers
•Created by admin_way on 3/7/2023 in #workers-help
is it safe to access worker in client code ?
Hi I have an application that needs to access workers in client code and worker has the authentication code to authenticate the request using jwt. But I am wondering about the security about using workers in the client code.
say there is DDOS attach toward my worker. first, will i get charged ? second, how to mitigate the ddos attack ? do i need to add some code in my worker to prevent that such as IP rate limit ?
4 replies