faitout icon indicating copy to clipboard operation
faitout copied to clipboard

Display db name for ip

Open skrzepto opened this issue 8 years ago • 5 comments

I was playing around with faitout and have opened too many connections and I lost reference to the previous dbs to drop the connection and can not create new db.

Not sure if it's a good idea security wise but I propose to allow the ability to view all the db for a specified IP.

To satisfy the security issue I propose also that we create a login panel that Fedora users can connect and users with correct access can then view all the db names to ip mapping. Thoughts?

skrzepto avatar Nov 29 '16 01:11 skrzepto

I am very much in favor of leaving faitout without auth.

Regarding accessing the session for an IP, I'm not sure, it sounds like an easy way to DOS someone, worst case all you have to do is come back in 30 minutes or so. I know that this doesn't sound ideal though

pypingou avatar Nov 29 '16 08:11 pypingou

Hmm how about a route that shows you from your IP the number of active connections and eta of when it'll be dropped?

skrzepto avatar Nov 29 '16 19:11 skrzepto

That sound doable yes

pypingou avatar Nov 30 '16 11:11 pypingou

Implemented in: https://github.com/fedora-infra/faitout/pull/9 :)

pypingou avatar Dec 28 '16 10:12 pypingou

without the ETA though, we could add it though I think

pypingou avatar Dec 28 '16 10:12 pypingou