From 7b2267df8c937ab64413cd1417c91e5039aaf062 Mon Sep 17 00:00:00 2001 From: dusk Date: Tue, 26 Nov 2024 20:32:04 +0300 Subject: [PATCH] feat: add ratelimiting to guestbook posts --- bun.lockb | Bin 176752 -> 177552 bytes package.json | 1 + src/routes/guestbook/+page.server.ts | 16 ++++++++++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/bun.lockb b/bun.lockb index d2abc8590036dad7d9f38fde2d209819a9277116..f5a6b334141fe4b4772634230fc6fde9f946b3e6 100755 GIT binary patch delta 26636 zcmeHwcYGDa*Z0nn3t1o}KuEjk5L!q=8aIX9o6uV*(xs+CAcYi40wFgb(nJU=j)+u2 zQL#`o($t9j1QZb!K?DQ=6_lo;1S#+L?9L|nA^QBD_j%s;FZbigcg~qJ?aZ08v%8n^ z`h|weer&ibv|YckZ*2b7y2kro{_mf^zy5{9mE%X9UwCPL{rBW0l^^VD+E;p0mguUg z817e=u!m`kBu&pqEzBy)kW>gfB+2dvt%krx;0X(-Wn?2;a)8_n{`Gp2M+iNHhla5ts<120N)unLCSD+cCegJT%$} zvZBK5tWh+b`pFx+YA_ci*ojc%Z6xZ>GIzJEC95@U} z9moT^0aJifVTQ2k)ZDDhtc-MNT4q)@j48Els@J0ceV|uVkT-S0L`nJxjZwWBGm0{D z)72hwvobqGt`KDb$>6yuxp`UXk~A7s)0pm}eQGKmN@Vy5$Z1TifmBs@2+pAzq=S9?coTF>2S zH(Y}{w+ZN`hSW2c^+yT??QuZrertiv1m5$~<(CD1De!%PuL)cQq;4({I8|V(z=6PK z$hQjYpktZcO9&hV7UX4TPn{x3gInn)w*bixy#&vInqr z2$)qEG9f!JRrLG9J{fw{&5XjSMOoQ}Qbu9^)Qo~+X+*SME~9WtK?Yil zgC0%v=aAEIQquAY$PS^9HwJ&BlO}I(_kw^tDm^20>I5j{6jHNj1acaNe~jMXRP~&x zO>AYXZiI;`g(2wDge~Ant1M3U-%o(l{gg>s@1^1Kk_3;jcU6<>yO-S!*1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AcEE-K(Xj|Qz3r&A(%{moFh1$y#9eqz9%SUgtDpYcPT`bn!*-X9)6bm-ns zut;kk?;`IM^ZkDCE!A=oB9s2plfoAdHk-4kA9rK667|KaelDw2*y-OF2CaApk4lMA zaTFZ2w~OaE?!NjnoY-R;U*a!%_fn5(#hIdq-=2Kfwct5aPH&{}M57<%`oSC1x;AIs zXNpXTj_|At*oe`Z?Q`>!Ji{+9KkmkIr}3-);!$7ysOVVhDIQbrv5(&8f}h&%0nX44lQ^b-~@|fp$21>Zjt)T6$n)qy2%{?D1Lr zUQ;X@^#uveLKrtK!tI#pO|MK!q+)~DewMIMM zE8|ZQ_Hpocfqp|B>Lz02J7X`rJTGS|y&}V8d)C;U z7~MXw6BE`tcnWFkg$91r;`r#Ldxu7yJ@bmHfu;%74n8Xcz5T<%pM$1vi@B=iH`^vG zd3WV`OTDdFejo@ts3CLtaWZL#B5gyiELwEj`LQYU>YKH2E_VwSy%Q^-(GnWBpY9Sg z=SX=;y~cK}?A(K5*pMg0+4VUe&E;cIHlYR@c*W`P^S$--nfPW$>osm6#~nGR545;9 z|GNo4)#teIO~G*CfO%@e`c7kg239Q{fz&^BVIey`?ob`lvSf_#PlPE8+m4U&OG0hzO>Li88Q3H zle}LjZmV@)Im$w@9MwlJzAaR2ZkYWP+(20e%_E*x{&}S1JMH6`cPPIaDyGmEV_ZBY zOpL)VHZ#LSEB$aYObjp`z~?^NLGgR>UGv`T+x+3>dw|!FTEjFoc6~o|<}1TD1sdJK z)BBCNUPE2)d$vF6&rNN_fR2A@?V;Lw(Jv8jE!$c(qmAgss@Ap@n~$s7|Ga2#$XhHG z)A{{p#YVhCx!6uB&Mhca{+AJa?sU { } const postAction = (client: any, scopes: string[]) => { - return async ({ request, cookies }: { request: Request, cookies: Cookies }) => { + return async (event: RequestEvent) => { + const { request, cookies } = event const scopedCookies = scopeCookies(cookies) scopedCookies.set("postAuth", client.name) + const rateStatus = await createPostRatelimiter.check(event) + if (rateStatus.limited) { + scopedCookies.set("sendError", `you are being ratelimited sowwy :c, try again after ${rateStatus.retryAfter} seconds`) + redirect(303, auth.callbackUrl) + } const form = await request.formData() const content = form.get("content")?.toString().substring(0, 512) const anon = !(form.get("anon") === null)