Christophe Crochet
e4b132ed9a
new access option: --force-password <HASH>, to only try one specific password
2021-12-09 16:51:40 +01:00
Stéphane Lesimple
89ecb2c0d7
feat: add support for Duo PAM auth as MFA ( #249 )
2021-11-03 15:50:10 +01:00
Stéphane Lesimple
7dcbfeebc6
fix: --self-password was missing as a -P synonym ( #257 )
2021-10-28 11:33:13 +02:00
Stéphane Lesimple
00aa2e7efc
fix: selfMFASetupTOTP: bad return func
2021-10-20 13:42:13 +02:00
Christophe Crochet
d85298f229
new account option: --pubkey-auth-optional, to allow ingress login with or without pubkey when pam is required
2021-10-15 11:22:00 +02:00
madx
ea8ed97a34
new account option: mfa-any, to allow ingress login with pubkey alone or pam alone instead of requiring both
2021-10-15 11:22:00 +02:00
Stéphane Lesimple
a65cbd55b8
accountPIV: fix bad autocompletion rule
2021-10-08 22:19:51 +02:00
Stéphane Lesimple
8d84fce34f
fix: proactive-mfa: make it work for --osh batch and --osh clush
2021-09-22 11:32:19 +02:00
Stéphane Lesimple
b58388a3d9
feat: add --proactive-mfa and mfa/nofa interactive commands
...
For bastions using JIT MFA, where MFA can be requested when
attempting to connect through specific groups, or when using
some commands, with respect to MFA being enforced at connection
time directly through the sshd authentication process, one can
now request MFA validation in advance, to workaround problems
in commands such as ``clush`` or ``batch``, and interactive mode.
2021-09-21 12:06:40 +02:00
Stéphane Lesimple
f64cf79260
chore: rename an envvar for clarity
2021-09-21 12:06:40 +02:00
Stéphane Lesimple
99686499b1
feat: osh-backup-acl-keys: add the possibility to sign encrypted backups ( #209 )
2021-09-20 17:00:18 +02:00
Stéphane Lesimple
4a21cfc421
enh: add --max-inactive-days to accountCreate
2021-09-06 14:52:46 +02:00
Stéphane Lesimple
ef10d509fd
enh: add max_inactive_days to account configuration ( #230 )
2021-09-06 14:52:46 +02:00
Stéphane Lesimple
15cb2c2453
enh: accountInfo: add --list-groups
...
Listing groups can be slow on bastions having thousands
of groups, hence this is now disabled by default.
2021-09-02 13:13:44 +02:00
Stéphane Lesimple
f1e875ca4b
fix: erroneous message in connect.pl
2021-09-02 11:42:18 +02:00
Stéphane Lesimple
56d4078605
feat: add --fallback-password-delay (3) for ssh password autologin
2021-09-02 11:42:18 +02:00
Stéphane Lesimple
5930775626
enh: better error message when unknown option is used
2021-09-02 10:07:03 +02:00
Stéphane Lesimple
cd5b61b239
chore: perlcritic: remove Variables::RequireInitializationForLocalVars check
2021-09-02 10:06:47 +02:00
Stéphane Lesimple
92d4a46ac5
doc: add osh-piv-grace-reaper.pl config reference
2021-09-02 10:06:47 +02:00
Stéphane Lesimple
9f28dfa977
doc: add osh-backup-acl-keys.sh config reference
2021-09-02 10:06:47 +02:00
Stéphane Lesimple
3c6ce52e8e
doc: add osh-encrypt-rsync.pl config reference
2021-09-02 10:06:47 +02:00
Stéphane Lesimple
0dc448943a
doc: add osh-sync-watcher.sh config reference
2021-09-02 10:06:47 +02:00
Stéphane Lesimple
9b2aa996b3
enh: better use of account creation metadata
...
Store account creation information in a JSON.
Display this information in `accountInfo` for auditors.
2021-07-23 09:50:18 +02:00
Stéphane Lesimple
c0bebf23d4
fix: accountCreate --uid-auto: rare case where a free UID couldn't be found
...
This happened when a free UID was found, along with a corresponding GID,
but the corresponding GID for the ttyrec group of the account was not
available. Now this is checked directly in get_next_available_uid()
2021-07-19 11:53:18 +02:00
Stéphane Lesimple
6b4418e864
chore: fixrights: ensure tests/functional/proxy/remote-daemon is +x
2021-07-16 11:05:04 +02:00
Stéphane Lesimple
2390f56c9a
chore: groupCreate: fix help message
2021-07-02 18:25:24 +02:00
Stéphane Lesimple
f483b1540a
enh: max account length is now 28 chars up from 18
2021-07-02 17:41:12 +02:00
thibault.dewailly
5415ed2793
Feat: Add admin and super owner accounts list in info plugin
...
For auditing purposes, get admin and super owner list in info plugin
Available for auditor role only
Closes #206
2021-06-28 11:13:30 +02:00
Stéphane Lesimple
2f1e3fbfa8
support: del deb8/ubuntu1404/opensuse150/opensuse151, add opensuse153
...
Remove support for EOL OSes:
- Debian 8
- Ubuntu 14.04
- OpenSUSE 15.0
- OpenSUSE 15.1
Add support for:
- OpenSUSE 15.3
2021-06-25 16:02:38 +02:00
Stéphane Lesimple
d400ceeb9f
doc: clush: document --user and --port
...
Partly fixes #201
2021-06-23 12:24:32 +02:00
Stéphane Lesimple
8d2aaf8d8f
fix: setup-first-admin-account.sh: support to add several admins
...
Fixes #202
2021-06-21 14:36:08 +02:00
Thomas Soëte
c61a3eaae9
Remove duplicate groupAddGuestAccess groupDelGuestAccess
...
groupAddGuestAccess groupDelGuestAccess are present twice in help
2021-06-21 09:39:35 +02:00
Stéphane Lesimple
2e9fe9288b
enh: httpproxy: add options to fine-tune logging
...
Added the `log_request_response` and `log_request_response_max_size`
options to osh-http-proxy.conf.
By default, requests are logged, including their body, up to a size
of 64K per request response. Before, there was no size limit to the
logged body response.
2021-06-03 16:39:56 +02:00
Stéphane Lesimple
45cfb78b0b
fix: httpproxy: allow more passthrough headers
...
The following additional header is now allowed to come back from the remote server to the client:
* Content-Length
The following additional headers are now passed through to the remote server:
* Content-Length
* Content-Encoding
2021-06-03 16:16:29 +02:00
Stéphane Lesimple
b364706f37
feat: httpproxy: add functional tests
2021-06-03 16:16:29 +02:00
Stéphane Lesimple
d6291f3ad4
feat: httpproxy: add and use execute_simple() for more performance
...
Also handle errors better in hand_http_request()
2021-06-03 16:16:29 +02:00
Stéphane Lesimple
7da3ef3e25
fix: connect.pl: decode 2K bytes of the ttyrec instead of 1K to not miss messages
2021-06-02 15:32:40 +02:00
Stéphane Lesimple
3925e67d43
feat: add groupDestroy command for owners
...
This command deletes a group, as `groupDelete` does, but works
for owners so that they can delete their own group.
`groupDelete` remains as a restricted command, able to delete any group.
Closes #40 .
2021-06-02 15:32:40 +02:00
Stéphane Lesimple
8cc990ad57
feat: add filtering options to several cmds,nicify print_acls()
...
The commands selfListAccesses, accountListAccesses,
groupList, groupListServers, groupListGuestAccesses and
accountList now have options to filter their output through
pattern matching, with --include and --exclude.
The output from the commands using print_acls() is also more
human-friendly, with auto-adjusting column length, and empty
columns omitted.
Closes #60 .
2021-05-25 09:42:28 +02:00
Stéphane Lesimple
adb9d8c374
feat: add UTF-8 chars to output when supported and allowed
...
To enhance the readability and visibility of important messages
(such as critical ones). This can be disabled with the `allowUTF8`
global option set to `false`. It's never enabled if the user locale
or their terminal don't seem to support it.
2021-05-24 16:44:35 +02:00
Stéphane Lesimple
60ad30ce5b
fix: install: adjust a sed to be FreeBSD 13 compliant
2021-05-21 14:13:22 +02:00
Stéphane Lesimple
344865884b
fix: groupCreate: deny groups starting with 'key'
...
Mitigates #178
2021-05-21 14:13:22 +02:00
Stéphane Lesimple
f4c59ca96b
enh: setup-gpg.sh: clarify the use of ^D with --import
...
Closes #179
2021-05-19 18:56:32 +02:00
Stéphane Lesimple
e865964dd2
enh: setup-encryption.sh: check that luks-config.sh exists
...
As seen in #181
2021-05-19 18:56:17 +02:00
Stéphane Lesimple
68e088a607
doc: accountModify: more details on the --egress-strict-host-key-checking option
2021-05-19 18:55:54 +02:00
Jonathan Marsaud
b7b2533604
accountModify - Add a new accept-new
POLICY in egress-strict-host-key-checking parameter
2021-05-19 16:34:35 +02:00
Jérémy Lecour
3e0202d914
Fix typo in unlock-home.sh
...
Typo : Mouting → Mounting
2021-05-19 15:30:32 +02:00
Stéphane Lesimple
c2b4bb192a
fix: osh-help: put groupDelEgressKey in the proper category
...
Fixes #174
2021-04-16 09:09:26 +02:00
Stéphane Lesimple
90d6dc2e3c
fix: superowners need to have +x on group homes
2021-04-09 09:46:14 +02:00
Stéphane Lesimple
e412083272
fix: accountCreate: incorrect help message ( #167 )
2021-04-08 12:04:19 +02:00