mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
New version, tarball. Bug fix. Debug data collector using Perl requires
explicitly setting Passive => 1 (true) for some systems and firewall configurations. This corrects a failure to upload issue I experienced for a test remote system that had a different firewall configuration than the dev system has.
This commit is contained in:
parent
bbac37c144
commit
911ac1685c
9
inxi
9
inxi
|
@ -2,8 +2,8 @@
|
|||
########################################################################
|
||||
SELF_NAME='inxi'
|
||||
# don't quote the following, parsers grab these too
|
||||
SELF_VERSION=2.3.38
|
||||
SELF_DATE=2017-09-07
|
||||
SELF_VERSION=2.3.39
|
||||
SELF_DATE=2017-09-12
|
||||
SELF_PATCH=00
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
|
@ -2185,7 +2185,7 @@ debug_data_collector()
|
|||
ls_sys 2
|
||||
ls_sys 3
|
||||
ls_sys 4
|
||||
# note, this generates more lines than the full sys parsing, so only use if requird
|
||||
# note, this generates more lines than the full sys parsing, so only use if required
|
||||
# ls_sys 5
|
||||
touch $sys_data_file
|
||||
if type -p perl &>/dev/null;then
|
||||
|
@ -2400,7 +2400,8 @@ upload_debugger_data()
|
|||
$pass = "anonymous\@techpatterns.com";
|
||||
$dir = "incoming";
|
||||
$fpath = $ENV{debugger_file};
|
||||
$ftp = Net::FTP->new($host, Debug => 0);
|
||||
# NOTE: important: must explicitly set to passive true/1
|
||||
$ftp = Net::FTP->new($host, Debug => 0, Passive => 1);
|
||||
$ftp->login($user, $pass) || die $ftp->message;
|
||||
$ftp->binary();
|
||||
$ftp->cwd($dir);
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
=====================================================================================
|
||||
Version: 2.3.39
|
||||
Patch Version: 00
|
||||
Script Date: 2017-09-12
|
||||
-----------------------------------
|
||||
Changes:
|
||||
-----------------------------------
|
||||
New version, tarball. Bug fix. Debug data collector using Perl requires
|
||||
explicitly setting Passive => 1 (true) for some systems and firewall
|
||||
configurations.
|
||||
|
||||
This corrects a failure to upload issue I experienced for a test remote
|
||||
system that had a different firewall configuration than the dev system has.
|
||||
|
||||
|
||||
-----------------------------------
|
||||
-- Harald Hope - Tue, 12 Sep 2017 17:53:11 -0700
|
||||
|
||||
=====================================================================================
|
||||
Version: 2.3.38
|
||||
Patch Version: 00
|
||||
|
|
Loading…
Reference in a new issue