the-bastion/bin/plugin
Stéphane Lesimple 255f0684cc fix: scp: abort early if host is not found to avoid a warn()
The following warn would happen if the scp wrapper was called with an invalid hostname:

Use of uninitialized value  in bitwise and (&) at /usr/share/perl5/Net/Netmask.pm line 699.
 at /opt/bastion/bin/plugin/open/../../../lib/perl/OVH/Bastion.pm line 41.
 OVH::Bastion::__ANON__("Use of uninitialized value \ in bitwise and (&) at /usr/shar"...) called at /usr/share/perl5/Net/Netmask.pm line 697
 Net::Netmask::match(Net::Netmask=HASH(0x55b1d5f11860), undef) called at /opt/bastion/lib/perl/OVH/Bastion/allowdeny.inc line 214
 OVH::Bastion::is_access_way_granted("port", 22, "exactUserMatch", 1, "ipfrom", "X.X.X.X", "ip", undef, ...) called at /opt/bastion/lib/perl/OVH/Bastion/allowdeny.inc line 688
 OVH::Bastion::is_access_granted(\"account\", \"johndoe\", \"user\", \"!scpupload\", \"ipfrom\", \"X.X.X.X\", \"ip\", undef, ...) called at /opt/bastion/bin/plugin/open/scp line 136
2021-03-01 09:31:38 +01:00
..
admin enh: adminSudo: better autocompletion rules 2020-11-23 08:35:28 +00:00
group-aclkeeper feat: auto-add hostname as comment in groupAddServer / selfAddPersonalAccesss 2021-02-22 11:56:19 +01:00
group-gatekeeper chore: microfixes after review 2021-02-22 13:32:19 +01:00
group-owner doc: update 2021-02-17 10:03:40 +01:00
open fix: scp: abort early if host is not found to avoid a warn() 2021-03-01 09:31:38 +01:00
restricted chore: microfixes after review 2021-02-22 13:32:19 +01:00