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
e55b0555
Commit
e55b0555
authored
9 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Rename outbound to outboundRoot to ensure it's more than 8 chars long.
Strip trailing slashes from the SBBSEcho outbound directory.
parent
a3e22c5d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
exec/binkit.js
+7
-8
7 additions, 8 deletions
exec/binkit.js
exec/load/fidocfg.js
+1
-1
1 addition, 1 deletion
exec/load/fidocfg.js
with
8 additions
and
9 deletions
exec/binkit.js
+
7
−
8
View file @
e55b0555
...
...
@@ -11,8 +11,7 @@
* zone. That is, if the default zone is zone 1, and the outbound
* is "/path/to/outbound", it will not correctly handle the case
* where there is a "/path/to/outbound.001" directory.
* 3) The domain is always 'fidonet'
* 4) Flow files are processed in alphabetical order, not the reccomended
* 3) Flow files are processed in alphabetical order, not the reccomended
* order from FTS-5005.
*
* See FTS-5005 for details.
...
...
@@ -506,7 +505,7 @@ function callout_done(bp, semaphores)
function
callout
(
addr
,
scfg
,
semaphores
,
locks
)
{
var
myaddr
=
FIDO
.
parse_addr
(
system
.
fido_addr_list
[
0
],
1
,
'
fidonet
'
);
var
myaddr
=
FIDO
.
parse_addr
(
system
.
fido_addr_list
[
0
],
1
);
var
bp
=
new
BinkP
(
'
BinkIT/
'
+
(
"
$Revision$
"
.
split
(
'
'
)[
1
]),
undefined
,
rx_callback
,
tx_callback
);
var
port
;
var
f
;
...
...
@@ -536,7 +535,7 @@ function callout(addr, scfg, semaphores, locks)
// We can't use the defaults since the defaults are only 4D addresses.
bp
.
addr_list
=
[];
system
.
fido_addr_list
.
forEach
(
function
(
faddr
){
bp
.
addr_list
.
push
(
FIDO
.
parse_addr
(
faddr
,
this
.
default_zone
,
'
fidonet
'
));},
this
);
system
.
fido_addr_list
.
forEach
(
function
(
faddr
){
bp
.
addr_list
.
push
(
FIDO
.
parse_addr
(
faddr
,
this
.
default_zone
));},
this
);
// We won't add files until the auth finishes...
success
=
bp
.
connect
(
addr
,
bp
.
cb_data
.
binkitpw
,
callout_auth_cb
,
port
);
...
...
@@ -556,7 +555,7 @@ function callout(addr, scfg, semaphores, locks)
function
run_one_outbound_dir
(
dir
,
scfg
,
semaphores
)
{
var
myaddr
=
FIDO
.
parse_addr
(
system
.
fido_addr_list
[
0
],
1
,
'
fidonet
'
);
var
myaddr
=
FIDO
.
parse_addr
(
system
.
fido_addr_list
[
0
],
1
);
var
ran
=
{};
var
locks
=
[];
...
...
@@ -604,7 +603,7 @@ function run_one_outbound_dir(dir, scfg, semaphores)
flow_file_loop
:
for
(
i
=
0
;
i
<
flow_files
.
length
;
i
++
)
{
try
{
addr
=
FIDO
.
parse_flo_file_path
(
flow_files
[
i
],
myaddr
.
zone
,
'
fidonet
'
);
addr
=
FIDO
.
parse_flo_file_path
(
flow_files
[
i
],
myaddr
.
zone
);
}
catch
(
addr_e
)
{
log
(
LOG_WARNING
,
addr_e
+
"
when checking '
"
+
flow_files
[
i
]
+
"
' (default zone:
"
+
myaddr
.
zone
+
"
)
"
);
...
...
@@ -789,7 +788,7 @@ function inbound_auth_cb(pwd, bp)
function
run_inbound
(
sock
)
{
var
myaddr
=
FIDO
.
parse_addr
(
system
.
fido_addr_list
[
0
],
1
,
'
fidonet
'
);
var
myaddr
=
FIDO
.
parse_addr
(
system
.
fido_addr_list
[
0
],
1
);
var
bp
=
new
BinkP
(
'
BinkIT/
'
+
(
"
$Revision$
"
.
split
(
'
'
)[
1
]),
undefined
,
rx_callback
,
tx_callback
);
var
port
;
var
f
;
...
...
@@ -815,7 +814,7 @@ function run_inbound(sock)
// We can't use the defaults since the defaults are only 4D addresses.
bp
.
addr_list
=
[];
system
.
fido_addr_list
.
forEach
(
function
(
faddr
){
bp
.
addr_list
.
push
(
FIDO
.
parse_addr
(
faddr
,
this
.
default_zone
,
'
fidonet
'
));},
this
);
system
.
fido_addr_list
.
forEach
(
function
(
faddr
){
bp
.
addr_list
.
push
(
FIDO
.
parse_addr
(
faddr
,
this
.
default_zone
));},
this
);
// We won't add files until the auth finishes...
success
=
bp
.
accept
(
sock
,
inbound_auth_cb
);
...
...
This diff is collapsed.
Click to expand it.
exec/load/fidocfg.js
+
1
−
1
View file @
e55b0555
...
...
@@ -387,7 +387,7 @@ function FTNDomains()
},
this
);
}
this
.
domainDNSMap
[
d
]
=
f
.
iniGetValue
(
domain
,
'
DNSSuffix
'
,
'
example.com
'
);
this
[
d
].
outbound
=
f
.
iniGetValue
(
domain
,
'
OutboundRoot
'
,
ecfg
.
outbound
);
this
[
d
].
outbound
Root
=
f
.
iniGetValue
(
domain
,
'
OutboundRoot
'
,
ecfg
.
outbound
.
replace
(
/
[\\\/]
$/
,
''
)
);
},
this
);
f
.
close
();
}
...
...
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