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

Logging to the external syslog #33

Open
gvfnix opened this issue Feb 14, 2013 · 2 comments
Open

Logging to the external syslog #33

gvfnix opened this issue Feb 14, 2013 · 2 comments
Labels
Milestone

Comments

@gvfnix
Copy link

gvfnix commented Feb 14, 2013

There is a security issue: we cannot see, who used the access data. So we need to log each case of accounts usage to some external syslog to determine the person who made this or that action on the server.

@ahitrin
Copy link
Contributor

ahitrin commented Feb 14, 2013

Currently, logging is being performed using standard Log4J library. All logs are stored locally, on the user's machine.

On the one hand, Log4J allows to use Syslog directly, via Syslog Appender class. All you need to start logging is just to setup log4j.appender.file property in log4j.property file (well, maybe you also need some additional configuration on the syslog's side). And since that syslog can deliver logging info somewhere you need. But, on the other hand, a malicious user can easily change appenders setup, so you can not know about his connection actions.

Also, Windows users have no syslog, AFAIK. Hence, I suggest that "log4j -> syslog" solution is neither cross-platform, nor really secure.

Maybe, you want to have some built-in "spy" module that can deliver messages directly to some listening server? Such solution can be cross-platform and, possibly, more reliable (in terms of message delivery) than the first one. But I'm afraid it is not suitable for persons (including myself) who use standalone installations of ServerAccess (no server, just local config).

TL; DR

I cannot imagine yet how to implement such feature. Do you have any ideas?

@ahitrin
Copy link
Contributor

ahitrin commented Feb 14, 2013

We can extend accounts file that users take from the server. And define remote logging options there.

@ahitrin ahitrin modified the milestones: 0.9.17, 0.9.16 May 14, 2014
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

2 participants