Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Firebase detection #29

Open
rviscomi opened this issue Jul 6, 2020 · 5 comments
Open

Add Firebase detection #29

rviscomi opened this issue Jul 6, 2020 · 5 comments
Labels

Comments

@rviscomi
Copy link
Owner

rviscomi commented Jul 6, 2020

cc @davideast

@fiws
Copy link

fiws commented Jul 7, 2020

I don't think there is a header that identifies firebase but maybe just match all domains that end in web.app and firebaseapp.com?

@PierBover
Copy link

It seems pages served from Firebase have this header:

x-served-by: cache-lax8625-LAX

Or

x-served-by: cache-dfw18681-DFW

I'm not sure if this is exclusive to Firebase though.

@rviscomi
Copy link
Owner Author

Thanks @PierBover. Yeah it'd be good to know how many false positives/negatives there would be with that signal. Could there also be many variations of letters/numbers? That would be trickier to detect, but maybe we could extract a pattern.

@fiws
Copy link

fiws commented Jul 14, 2021

I recently learned that firebase uses fastly for caching (found that out during the last fastly outage…). The x-served-by: cache […] header is set by fastly.

For me it has exactly the same value on my firebase page as on fastly.com (cache-muc13929-MUC).
So i think this header can not be used for detection.

@PierBover
Copy link

Thanks for the info @fiws .

So weird that Google uses Fastly instead of its own CDN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants