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

Allow conecting from a non local address #30

Open
psychowood opened this issue Nov 4, 2011 · 12 comments
Open

Allow conecting from a non local address #30

psychowood opened this issue Nov 4, 2011 · 12 comments

Comments

@psychowood
Copy link

Hi,
I'm trying to use a KeePassHttp server in my local network, but I can't connect to it because the server only accepts connections from localhost (I'm receiving "400:host do not allowed" when trying to connect from another host - editing the PassIFox xpi file).

Is there a way to overcome this limitation?

Thanks

@pfn
Copy link
Owner

pfn commented Nov 5, 2011

For security, I initially chose not to allow remote connections to keepasshttp. It will be a feature I need to consider adding in the future.

----- Original Message -----
From: "psychowood" [email protected]
To: "Perry" [email protected]
Sent: Friday, November 4, 2011 4:58:54 PM
Subject: [keepasshttp] Allow conecting from a non local address (#30)

Hi,
I'm trying to use a KeePassHttp server in my local network, but I can't connect to it because the server only accepts connections from localhost (I'm receiving "400:host do not allowed" when trying to connect from another host - editing the PassIFox xpi file).

Is there a way to overcome this limitation?

Thanks


Reply to this email directly or view it on GitHub:
#30

@lsgd
Copy link
Collaborator

lsgd commented Mar 25, 2013

Are there more interested people for this feature?
It could be an opt-in feature to allow connections from other hosts. Except the pairing one, this should be done from localhost or manually.

It would be also easy to let the user change the connection part in the extension (I'm speaking for chromeIPass).

@jk3us
Copy link

jk3us commented Apr 22, 2013

I've heard of people using ssh port forwarding to accomplish this.... a single database with keepasshttp running, and different machines can connect to it over a ssh port forward. I would recommend this if possible for security reasons. Not that this feature shouldn't be implemented, but it should be done very carefully if it is.

@rickr
Copy link

rickr commented Jun 13, 2013

I'm interested in this feature as well.
Has anyone explored reverse proxying via something like nginx?

@nzhook
Copy link

nzhook commented Jan 5, 2014

It seems that you can now configure the browsers to connect to a remote host, however instead of getting a message of 'host do not allowed' as described above I get an error of 'Bad Request (Invalid host)' when using anything other than localhost.

Is there something that needs to be changed to allow another hostname rather than just localhost?

@nick4fake
Copy link

That feature would be great, as it may connect to KeePass from vmware guest

@jaimeagudo
Copy link

I see no point on this, why don't simply share your database on any cloud service (I keep it on Dropbox), or just make read-only copies wherever you need? I think it's going to be a security weakness

@nick4fake
Copy link

It is not going to be security issue if we limit allowed hosts/ips

@jaimeagudo
Copy link

Ip based security is no security at all, don't want to initiate a discussion here though. For your particular scenario @nick4fake is far simpler to share the folder (locally or remotely) where the .db file lives and setup everything locally on your Vmware guest. Cheers

@nick4fake
Copy link

no, you do not understand. If I share folder, I should unlock the base twice.

As for me, I already recompiled and fixed the plugin. I was talking about another people who may have same problems.

@nick4fake
Copy link

What if I make pull-request with my changes? I created an option to specify additional host.

@pfn
Copy link
Owner

pfn commented Apr 9, 2014

Clean patches are gladly accepted

Sent from my phone
On Apr 9, 2014 9:50 AM, "Bogdan Yurov" [email protected] wrote:

What if I make pull-request with my changes? I created an option to
specify additional host.

Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-39987745
.

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

No branches or pull requests

8 participants