mirror of
https://github.com/ovh/the-bastion.git
synced 2025-12-11 06:15:54 +08:00
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
|
||
|---|---|---|
| .. | ||
| alive | ||
| alive.json | ||
| batch | ||
| clush | ||
| groupInfo | ||
| groupInfo.json | ||
| groupList | ||
| groupList.json | ||
| groupListPasswords | ||
| groupListPasswords.json | ||
| groupListServers | ||
| groupListServers.json | ||
| help | ||
| help.json | ||
| info | ||
| info.json | ||
| lock | ||
| lock.json | ||
| mtr | ||
| mtr.json | ||
| nc | ||
| nc.json | ||
| ping | ||
| ping.json | ||
| scp | ||
| scp.json | ||
| selfAddIngressKey | ||
| selfAddIngressKey.json | ||
| selfDelIngressKey | ||
| selfDelIngressKey.json | ||
| selfForgetHostKey | ||
| selfForgetHostKey.json | ||
| selfGenerateEgressKey | ||
| selfGenerateEgressKey.json | ||
| selfGeneratePassword | ||
| selfGeneratePassword.json | ||
| selfGenerateProxyPassword | ||
| selfGenerateProxyPassword.json | ||
| selfListAccesses | ||
| selfListAccesses.json | ||
| selfListEgressKeys | ||
| selfListIngressKeys | ||
| selfListIngressKeys.json | ||
| selfListPasswords | ||
| selfListPasswords.json | ||
| selfListSessions | ||
| selfMFAResetPassword | ||
| selfMFAResetPassword.json | ||
| selfMFAResetTOTP | ||
| selfMFAResetTOTP.json | ||
| selfMFASetupPassword | ||
| selfMFASetupPassword.json | ||
| selfMFASetupTOTP | ||
| selfMFASetupTOTP.json | ||
| selfPlaySession | ||
| selfPlaySession.json | ||
| unlock | ||
| unlock.json | ||