Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
51272cb6
Commit
51272cb6
authored
7 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some typos.
Added node address to some authentication failure warnings.
parent
7064aac4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/load/fido_syscfg.js
+8
-8
8 additions, 8 deletions
exec/load/fido_syscfg.js
with
8 additions
and
8 deletions
exec/load/fido_syscfg.js
+
8
−
8
View file @
51272cb6
...
...
@@ -7,10 +7,10 @@
* TODO: SBBSecho supports per-node inbound via fileboxes... a method to get the inbound for a node should exist
* secure_inbound secure inbound directory path
* TODO: SBBSecho supports per-node inbound via fileboxes... a method to get the inbound for a node should exist
* outbound default oubound path, may end with a path separator
* outbound default ou
t
bound path, may end with a path separator
* TODO: SBBSecho supports per-node outbound via fileboxes... a method to get the outbound for a node should exist
* is_flow boolean indicating it is a FLO style mailer... most things will require this to be true
* pktpass{} object with a separate property for each node addres (wildcards included as "ALL").
* pktpass{} object with a separate property for each node addres
s
(wildcards included as "ALL").
* Should be accessed using get_pw() and match_pw() methods.
*
* SBBSEchoCfg Methods:
...
...
@@ -98,17 +98,17 @@ SBBSEchoCfg.prototype.match_ticpw = function(node, pw)
if
(
ticpw
===
undefined
||
ticpw
==
''
)
{
if
(
pw
===
''
||
pw
===
undefined
)
return
true
;
log
(
LOG_WARNING
,
"
Configued TicFilePwd is empty, but TIC file has a password
"
);
log
(
LOG_WARNING
,
"
Configu
r
ed TicFilePwd is empty, but TIC file has a password
, node:
"
+
node
);
return
false
;
}
if
(
pw
===
undefined
||
pw
===
''
)
{
log
(
LOG_WARNING
,
"
TicFilePwd (
"
+
ticpw
+
"
) configured, but TIC file has no password
"
);
log
(
LOG_WARNING
,
"
TicFilePwd (
"
+
ticpw
+
"
) configured, but TIC file has no password
, node:
"
+
node
);
return
false
;
}
if
(
pw
.
toUpperCase
()
===
ticpw
.
toUpperCase
())
return
true
;
log
(
LOG_WARNING
,
"
Incorrect TIC password
"
+
pw
+
"
(expected
"
+
ticpw
+
"
)
"
);
log
(
LOG_WARNING
,
"
Incorrect TIC password
"
+
pw
+
"
(expected
"
+
ticpw
+
"
)
, node:
"
+
node
);
return
false
;
};
SBBSEchoCfg
.
prototype
.
match_pw
=
function
(
node
,
pw
)
...
...
@@ -118,17 +118,17 @@ SBBSEchoCfg.prototype.match_pw = function(node, pw)
if
(
pktpw
===
undefined
||
pktpw
==
''
)
{
if
(
pw
===
''
||
pw
===
undefined
)
return
true
;
log
(
LOG_WARNING
,
"
Configured packet password is empty, but packet has a password
"
);
log
(
LOG_WARNING
,
"
Configured packet password is empty, but packet has a password
, node:
"
+
node
);
return
false
;
}
if
(
pw
===
undefined
||
pw
===
''
)
{
log
(
LOG_WARNING
,
"
Configured packet password (
"
+
pktpw
+
"
) configured, but packet has no password
"
);
log
(
LOG_WARNING
,
"
Configured packet password (
"
+
pktpw
+
"
) configured, but packet has no password
, node:
"
+
node
);
return
false
;
}
if
(
pw
.
toUpperCase
()
===
pktpw
.
toUpperCase
())
return
true
;
log
(
LOG_WARNING
,
"
Incorrect packet password
"
+
pw
+
"
(expected
"
+
pktpw
+
"
)
"
);
log
(
LOG_WARNING
,
"
Incorrect packet password
"
+
pw
+
"
(expected
"
+
pktpw
+
"
)
, node:
"
+
node
);
return
false
;
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment