Commit Graph

498 Commits

Author SHA1 Message Date
HonigBij 4c78039143 Additions for IP address in credentials 2015-03-17 23:02:22 +01:00
HonigBij 0b25c86051 Added AuthRandom class
The AuthRandom class is an alternative to the UserDB class and
implements the checklogin() method.
To enable the class use the auth_class and auth_class_parameters options
in kippo.cfg.
2015-03-17 23:01:53 +01:00
HonigBij 78b98781e3 Added auth_class and auth_class_parameters
The auth_class and class_parameters options in kippo.cfg can be used to
enable an alternative class (instead of UserDB) for checklogin() in auth.py
2015-03-17 23:00:35 +01:00
Michel Oosterhof f07e03b696 Merge pull request #28 from honigbij/utils-update-fsctl
Add 'ls -l' option side the fsctl utility.
2015-03-16 19:13:15 +04:00
HonigBij 3aefb643b3 Move -l option check up 2015-03-16 16:03:42 +01:00
Michel Oosterhof 36a8f37433 Merge pull request #27 from honigbij/utils-update
Added multiple options to createfs.py
2015-03-16 18:38:05 +04:00
HonigBij 1a509bbcbc Added -l (long format) option to ls command 2015-03-16 15:38:05 +01:00
HonigBij 7bca3b7d92 Added multiple options
-v             verbose
  -p             include /proc
  -l <dir>       local root directory (default is current working directory)
  -d <depth>     maximum depth (default is full depth)
  -o <file>      write output to file instead of stdout
2015-03-16 15:23:30 +01:00
Michel Oosterhof 7ffd54561c Fix issue #26 as reported by honigbij 2015-03-15 07:09:41 +00:00
Michel Oosterhof f39e5d6491 stop logging exec cmd, already logged before 2015-03-11 15:33:09 +00:00
Michel Oosterhof 8733cca515 updates to logging to fix race condition 2015-03-11 13:46:14 +00:00
Michel Oosterhof 35d853c8b9 fix hanging session on unknown exec command 2015-03-11 13:03:43 +00:00
Michel Oosterhof 60932db100 update lastlog based on shell close, not on transport close
also don't keep lastlog for exec commands, as unix does
2015-03-11 12:45:03 +00:00
Michel Oosterhof 613e277832 correct newlines onissue file. also doesn't need ^M. 2015-03-10 14:10:08 +00:00
Michel Oosterhof dfae11047a typo on ssh fingerprint 2015-03-10 14:05:06 +00:00
Michel Oosterhof 616f2b745c remove isError, system, cache IP in output module 2015-03-10 10:36:38 +00:00
Michel Oosterhof 87b6368fd6 remove isError by default 2015-03-10 10:14:40 +00:00
Michel Oosterhof e53840355a put all abstract methods together 2015-03-10 09:40:18 +00:00
Michel Oosterhof 79bc99f47a add output module to .cfg.dist 2015-03-10 09:29:29 +00:00
Michel Oosterhof 85b3f0dcbf Merge branch 'master' into output-plugin 2015-03-10 09:22:12 +00:00
Michel Oosterhof 4c43a99ad2 remove warnings for closing ttylog msg 2015-02-26 17:02:23 +00:00
Michel Oosterhof 8928cb10fa display /etc/motd only on interactive shell 2015-02-26 16:48:12 +00:00
Michel Oosterhof b932936597 update exception to 'as' syntax 2015-02-26 11:50:11 +00:00
Michel Oosterhof f1bcd95bf2 updated exception syntax 2015-02-26 11:46:55 +00:00
Michel Oosterhof 81b1ea36ae formatted log message with fingerprint 2015-02-26 08:37:06 +00:00
Michel Oosterhof 2dd5910889 basics working 2015-02-25 19:27:15 +00:00
Michel Oosterhof 317fae3273 a few small changes 2015-02-25 18:17:55 +00:00
Michel Oosterhof d4d3bdbe0e Merge branch 'master' into output-plugin
Conflicts:
	kippo/core/ssh.py
2015-02-25 17:59:41 +00:00
Michel Oosterhof d36e8077e4 forgot changelog as usual 2015-02-25 17:17:03 +00:00
Michel Oosterhof 8cf00addaf don't write ttylog to JSON, is for test only 2015-02-25 17:13:14 +00:00
Michel Oosterhof 356f5f7409 Merge branch 'master' into logging-2 2015-02-25 17:00:00 +00:00
Michel Oosterhof b48e10adb7 changelog update 2015-02-24 09:38:33 +00:00
Michel Oosterhof ea7148c521 support for 'uname -m' 2015-02-24 09:37:04 +00:00
Michel Oosterhof 9e3ef8ffd6 Merge branch 'master' into logging-2
Conflicts:
	kippo/core/protocol.py
	kippo/core/ssh.py
2015-02-20 09:19:06 +00:00
Michel Oosterhof a7f189eed1 stdin log updates
now give log message when writing
and simplify variable storage
2015-02-19 20:21:55 +00:00
Michel Oosterhof e4cd5442ae changelog 2015-02-19 20:03:44 +00:00
Michel Oosterhof 62697b967c remove the screen clear/reset on logout 2015-02-19 20:01:04 +00:00
Michel Oosterhof c8824e94d8 ttylog handling is done from logtransport only now.
reliably call logtransport on disconnect
2015-02-19 19:47:40 +00:00
Michel Oosterhof f6cff3216a wip 2015-02-19 14:10:37 +00:00
Michel Oosterhof 5a885c4f00 Merge branch 'master' of https://github.com/micheloosterhof/kippo into logging-2
Conflicts:
	kippo/core/auth.py
	kippo/core/dblog.py
	kippo/core/ssh.py
	kippo/dblog/jsonlog.py
2015-02-19 12:36:26 +00:00
Michel Oosterhof d4a562a55a they're instance variables, not class variables 2015-02-19 12:27:30 +00:00
Michel Oosterhof b2bc38e94b another relative import 2015-02-19 12:10:19 +00:00
Michel Oosterhof 95b58538aa new copyright, imports, etc 2015-02-19 12:10:06 +00:00
Michel Oosterhof 687870c45c use relative style imports instead of absolute paths 2015-02-19 12:01:07 +00:00
Michel Oosterhof dd2ee20a90 Merge branch 'master' of https://github.com/micheloosterhof/kippo 2015-02-19 11:47:01 +00:00
Michel Oosterhof 63de6893c8 space after comma, remove unused imports 2015-02-19 11:46:50 +00:00
Michel Oosterhof 4c1ddf154d Merge pull request #13 from MrPumo/fix-pwd-log
change username-pwd delimiter in log from / to ]/[ allowing pwd with / c...
2015-02-19 15:10:11 +04:00
MrPumo f590587d9d change username-pwd delimiter in log from / to ]/[ allowing pwd with / char 2015-02-19 10:08:36 +01:00
Michel Oosterhof 88f5a3c377 update abstract method for start 2015-02-19 06:53:36 +00:00
Michel Oosterhof 9e348e4c8d rename ssh_addr -> listen_addr
and ssh_port -> listen_port
old values still accepted for backwards compatibility
2015-02-19 06:51:11 +00:00