Nп/п : 5 из 48
 От   : Javier Sturman                      4:900/733         20 сен 25 16:52:08
 К    : Nick Boel                                             20 сен 25 23:02:01
 Тема : hpt + binkd direct messages to different zone
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 4:900/733 68cf05ef
@REPLY: 1:154/10 68ce8f5a
@CHRS: LATIN-1 2
@TZUTC: -0300

   Hello Nick!

Here yo have my binkd.conf. Doesn`t HPT support 5D addressing?

=== Cut ===
# Binkd sample configuration file for unix-like enviroment
# Copyright (C) 1996-1997 by Dima Maloff, 2:5047/13
# Copyright (C) 2013 by Binkd development team
# $Id$

#
# Path and name for the logfile, loglevel
#
log /var/log/binkd.log
loglevel 4

#
# Your FTN domains:
#   domain    []
# or
#   domain  alias-for 
# The first variant specifies a domain as a default domain for 3D/4D addresses.
#
domain fidonet /var/spool/ftn/outb 4 fidonet
domain fsxnet  /var/spool/ftn/outb 4 fsxnet

#
#  Aliases to support known wrong 5D configurations
#domain fido     alias-for fidonet
#domain fsx     alias-for fsxnet

#
#  Aliases to support known DNS domain zones
#  (some people mix up the terms "FTN domain" and "DNS internet domain")
domain fidonet.org alias-for fidonet
domain fidonet.net alias-for fidonet
domain fsxnet.nz alias-for fsxnet

#
# Your addresses, 5D or 4D or 3D:
#   address  ...
# If the first address is specified as a 3D/4D address, its domain will be
# taken from the domain defined in the first "domain" line. If more addresses
# are specified as 3D/4D ones, their domain will be taken from the first
# address.
#
address 4:900/733@fidonet 21:3/100.2@fsxnet
#
# Hide or present the specified AKAs if remote AKAs match the address mask
#       hide-aka  [!]
#       present-aka  [!]
# Mask is compared to the 5d-form of address string, `*` matches any number
#       of any symbols (so you have to write `2:5020/*` but not `5020/*`)
# Use `!` to invert the mask
# These rules apply in the same order as in config, you can present any address
#
#hide-aka 2:5020/999.* !2:*@fidonet      # hide aka from all but fido zone 2
#present-aka 2:5047/999.1 2:5047/*.0*    # present aka to all nodes in 2:5047

#
# The name of your system, its location and your name
#
sysname "FIDONODO JAS | ┬п\\_(уГД)_/┬п"
location "Ciudad de Buenos Aires, Argentina"
sysop "jas"

#
# System capabilities
#
nodeinfo 115200,TCP,BINKP

#
# Uncomment it if you want binkd log at your console
#
conlog 0

#
# If a log message matches one of these masks, it won`t be written to log
# (masks are in shell/glob style, case-insensitive)
#
#nolog "*socket # [0-9]*"
#nolog "*.[bc]sy"

#
# Uncomment if you want T-Mail(FrontDoor)-style binary log
# (Will work and have sense on PCs only?)
#
#binlog binkd.sts
#fdinhist in.his
#fdouthist out.his

#
# TCP settings. Leave this unchanged if not sure.
#
# Suffixes for time intervals are w for weeks, d for days,
# h for hours, m for minutes, s or no suffix for seconds.
# You can mix the suffixes, i.e. 1d12h is the same as 36h.
#
#iport binkp
#oport binkp
#oblksize 4096
#timeout 5m
#connect-timeout 5m
#bindaddr 192.168.0.3
#listen *

#
# Zlib compression parameters (if built with zlib support)
#     zlevel          - compression level (zlib only, bzlib2 uses 100kb always),
#                       set to 0 to use default value of 6
#     zminsize  - files smaller than  won`t be compressed anyway
# Rules:
#     zallow ... ] - allow compression for the masks
#     zdeny  ... ] - deny compression for the masks
# If remote accepts compressed blocks (OPT GZ), its name will be checked
# against these rules before sending each file. If the name matches a zallow
 # rule, the file will be sent with compression. If the name
matches a zdeny rule,
# it will be sent as-is. The rule matched first is applied. If a file doesn`t
# match any rule, zdeny will be assumed.
#
#zminsize 1024
#
#zallow *.pkt
#zdeny *.su? *.mo? *.tu? *.we? *.th? *.fr? *.sa?
#zdeny *.zip *.rar *.arj *.ha *.gz *.tgz *.bz2 *.z[0-9][0-9] *.r[0-9][0-9]
#zallow *

#
# Delay of calls and outbound rescans in seconds
#
call-delay 1m
rescan-delay 1m

#
# Max. number of inbound/outbound connections
#
#maxservers 2
#maxclients 2

#
# Binkd will try to call a node N times. If failed, it will
# hold the node for S seconds. The feature is off by default.
#
try 10
hold 10m

#
# Binkd will remove .try files after successful session.
# The feature is off by default.
#
remove-try-files

#
# hold-skipped 
# Binkd will hold for S seconds all mail skipped by a node. (Def. -- 1h)
#
#hold-skipped 1h

#
# Don`t send (only receive) files if no password for an inbound session
#
send-if-pwd

# Tzoff corrects UTC time returned by time() under DOS-derived OS
# Using system TZ variable or tzselect(8) is preferred.
#tzoff 3h

#
# Use syslog (Only if made with -DHAVE_VSYSLOG and -DHAVE_FACILITYNAMES)
#
#syslog local0

#
# Print percents while sending or receiving
#
percents

#
# List queue after rescans
#
printq

#
# Perform reverse resolving (for logging only)
#
#backresolv

#
# Log pid:
#
#pid-file /usr/local/fido/ftn/binkd.pid
pid-file /var/run/binkd/binkd.pid

#
# Inbound directories for secure and non-secure links
#

inbound /var/spool/ftn/inb
inbound-nonsecure /var/spool/ftn/inb/unsecure

#
# Directory for incomplete receiving files (.hr and .dt),
# default to inbound for the node
#
temp-inbound /var/spool/ftn/inbound-temp

#
# Binkd will skip all files from a node if
# size_of_the_next_file_for_us_there + minfree < free_space_in_inbound
# The zero value and the value 4294967295 (2**32-1) are equivalent to infinity.
#
minfree 2048
minfree-nonsecure 2048

#
# When trying to receive a new file: remove partial files with this
# name but different size or time from inbound. (If commented out, binkd
# will left old parts as .dt and .hr in the inbound directory).
#
kill-dup-partial-files

#
# Remove all old partial files from inbound. (OFF if commented out)
#   kill-old-partial-files 
#
kill-old-partial-files 1d

#
# Remove old .bsy/.csy files (If some are left after a system crash). It would
# be wise to set this to 12h on almost any system. (Note that binkd always
# touches .bsy`s/.csy`s for active sessions)
#
# kill-old-bsy is OFF by default.
#
kill-old-bsy 12h

#
# Create a flag file after receiving a file
#
#flag toss!.now *.pkt
#flag toss!.now *.su? *.mo? *.tu? *.we? *.th? *.fr? *.sa?

#
# Run an external program.
# The "*S" macro in command line substed with S.R.I.F., see !SRIF.TXT
# The "!" before program pathname means immediate program execution
#   after receiving the file.
# *** win32 only:
# The "@" before program pathname means execute program in separate console
# The "@@" before program pathname means execute program in hidden console
# ***
# Macros: *F - complete name of received file,
#         *A0..*A9 - first 10 AKA of remote system,
#         *A*, *A@ - list of all remote AKA separated by spaces
#         *P - password protected [0|1],
#         *L - listed system [0|1]
#         *H - remote hostname or IP,
#         *N - short file name (win32 only).
#
#exec "!my-freq-processor /options *S" *.req
exec "!~/ftn/binkd/srifreq *S" *.req
#exec "my-pkt-unpacker /options *P *A* *F" *.[pP][kK][tT]
 #exec "my-tosser /options"
/opt/ftn/inbound-secure/*.[STFWMstfwm][ouaherOUAHER][0-9A-Za-z]
 exec "nice -n 19 /usr/local/bin/hpt -c /usr/local/fido/fidoconfig/config
toss link" /var/spool/ftn/inb/*.[STFWMstfwm][ouaherOUAHER][0-9A-Za-z]
*.[pP][kK][tT]
 exec "nice -n 19 /usr/local/bin/htick -c
/usr/local/fido/fidoconfig/config toss" /var/spool/ftn/inb/*.[Tt][Ii][Cc]
 #exec "nice -n 19 /usr/local/bin/htick -c
/usr/local/fido/fidoconfig/config toss link"

#
# Scan node outbound while connecting and send mail size to remote
#
prescan

# t-mail or ifcico (qico) password file.
# Format of the password file:
#   [password]  [,[][,]]
# where:
#   [password]               optional "password" token;
#               address of a link in the form 1:2/3.4@domain
#                            or 1:2/3@domain or 1:2/3 or 1:2/3.4;
#                     password for incoming sessions;
#                    packet password, used when "share" token
#                            is handled;
#                    password for outgoing sessions.
# Any password is one word without spaces or tabs. If  or 
# is omitted, it will be assumed equal to . If a password is defined for
# a node by the "node" token, then the passwords for the node in the password
# file will be ignored.
#
#passwords ~/ftn/binkd/passwords

#
# Skip files:
#    skip [all|listed|unlisted|secure|unsecure] [!]|- ...
#
#       `all`    applies to all sessions (default)
#       `listed` applies to sessions with the nodes defined by `node` keyword
#       `secure` applies to password-protected sessions
#
# Use `!` before size for destructive skip, default is non-destructive one.
 # If  > 0, then only files larger than  in kilobytes
will be skipped;
#       zero  applies to all files;
#       if the  is set to `-`, then the rule will allow
#       any file matching the .
#
 is a shell-style mask, case-insensitive (except for symbols in []),
#       multiple masks for a rule are permitted.
#
# Policy for rule processing is first-match
#
#skip all 0 *.mp3 *.avi
#skip unsecure 256 *.pkt
#skip unsecure !0 *

#
# Overwrite the existing file by the new received,
# do not save with the changed extension
#
#overwrite net_*.*

#
# Inbound filename case:
#    inboundcase [save(default)|upper|lower|mixed]
#
#   `save`  don`t change filename case (default)
#   `upper` uppercase filename (FILE-NAME.EXT)
#   `lower` lowercase filename (file-name.ext)
#   `mixed` make filename pretty (File-Name.Ext)
#
# * tested only with english filenames
#
#inboundcase save

#
# Should binkd send empty files?
#    dont-send-empty [no(default)|arcmail|yes]
#
#   `no`      inhibit only sending *.?ut (netmail) with size <=60 bytes
#   `arcmail` do not send zero-size arcmail and pkt <= 60 bytes
#   `yes`     do not send all zero-size files and pkt <= 60 bytes
#
#dont-send-empty no

#
# Should binkd delete empty point dirs in BSO?
# Uncomment the following line if yes
#
deletedirs

# Define shared aka
#     Add a shared-address as aka for any node from this list, so that
#     uncompessed netmail for shared aka will be sent in the first session with
#     any node listed in shares; packet header will be updated to match this
#     node`s main aka and pkt password
# share   [ ...]
# example:
#share 2:999/999 2:5020/52 2:5020/238

#
# Check the sender`s address in incoming pkt`s, change the file extension
# to  if the check failed.
#      check-pkthdr [all|secure|unsecure|listed|unlisted] 
#
#       `all`    applies to all nodes;
 # `listed` will be applied if at least one aka is defined by
`node` keyword;
#       `secure` will be applied if at least one aka is password-protected.
#
# It`s ok to specify . as well as  - the dot before ext is ignored.
# The policy set by check-pkthdr may be overridden by -hc or -nohc flags
# in a `node` definition (see below).
# Flag order: -nohc (for any aka), -hc (for any aka), check-pkthdr flag
#
#check-pkthdr secure .sec

#
# Define a link:
 # node [[z:]n/]n[.p][@domain] [-nr|-nd] [-md] [-hc|-nohc] [-ip|-sip]
[-bw [/]] [-pipe ] [-4|-6] [{hosts|-}
[{[,[][,]]|-} [flavour [{obox|-} [{ibox|-}]]]]]
#
# * All non-"-" fields will redefine the values specified for the same node
#   earlier in config.
# * The meaning of  and  is the same as in
#   the description of the "passwords" token. Any password is one word
#   without spaces or tabs. If  or  is omitted, it will be
#   assumed equal to .
# * Flavour is one of i, c, d, -, h and is the flavour for the outbound
#   filebox ("obox").
# * Binkd sends from obox all non-dir entries NOT matching ".*" wildcard.
#   EVERY TIME YOU PUT A FILE INTO OBOX, CHECK IF BINKD IS ABLE TO
#   UNLINK IT. Otherwise, the session will never end.
# * Default for ibox is inbound or inbound-nosecure depending on the pwd field.
# * Default for port is oport.
# * `-nr` stands for `Not Reliable Link`, this works only on outbound calls
#   with another binkp/1.1 mailer. The option solves the only problem with
#   binkd having not enough time to start receiving a file from
#   non-zero offset before IP link`s down, so don`t use it unless you
#   have this problem -- really not effective
# * `-nd` means "No Dupe Mode", this works only on outbound calls with
#   another binkd 0.9.3 or higher. The option solves the problem with
#   duplicating files when connection is lost but link is a bit slower
#   than it is with "-nr" option.
# * `-md` means "Must have CRAM-MD5". This works only with the nodes using
#       versions of binkd or argus supporting this method. Do not set it if
#       your link can use an old version of binkd.
# * `-nomd` - do not use CRAM-MD5 for this node (send plain text password)
# * `-hc` enables check of sender address in pkt header for this node/aka
#       (overrides the setting of the `check-pkthdr` statement)
# * `-nohc` disables check of sender address in pkt header for this node/aka
#       (overrides the setting of the `check-pkthdr` statement)
# * `-ip` means "Remote IP check". In this case the node will be
#       rejected if it comes not from one of its IP-addresses.
#       Remote AKAs with bad IP-address will be dropped on outgoing calls.
# * `-sip` means "Strict remote IP check". Like "-ip", but node will be
#       rejected if no IP-addresses are allowed ("-" or not resolved).
#       Remote AKAs with bad IP-address will be dropped on outgoing calls.
# * `-bw` specifies bandwidth (rate) limit for this node.
#       If one value is specified, it will be used as both send and recv limit.
#       If two values are specified, the first one will be for send and the
#       second one for recv.
#       The rate values are expected to be in the format `[kM%]|-`
#       (see limit-rate keyword for detailed description).
# * `-noproxy` disables usage of proxy/socks server when calling this node
#       (the node is expected to be inside local network).
# * `-pipe` means "run an external command for building a tunnel to the node".
#       `*H` macro is substituted by host and `*I` by port number.
# * `-4` only connect via IPv4
# * `-6` only connect via IPv6
# * `-64` binkd will first try to connect over IPv6, and in case of failure,
#       it will try again over IPv4. Attention! To use the option, you need
#       to compile binkd with the "--with-af-force" option.
# * `-46` binkd will first try to connect over IPv4, and in case of failure,
#       it will try again over IPv6. Attention! To use the option, you need
#       to compile binkd with the "--with-af-force" option.
# * Hosts is a list in form
#       host1[:port1][;host2[:port2]] ...
# * Asterisk (`*`) in the host list forces Binkd to perform
#       1:2/3.4 --> p4.f3.n2.z1.binkp.net translation for a node`s
#       Fido-address and IP lookup for the resulting FQDN in DNS.
#       Root domain part ("binkp.net") can be changed with root-domain
#       keyword.
#

 #node 5047/999 -md hostname;* password i ~/ftn/personalboxes/to999
~/ftn/personalboxes/from999
node 4:902/26@fidonet -md bbs.docksud.com.ar sdasdadsa
node 21:3/100@fsxnet -md n3.z21.bbs.dege.au daosdj31

#
# Default node flags. Binkd will call an unlisted node if "defnode" is defined.
#
#defnode -nd *
=== Cut ===

20 Sep 25 06:23, you wrote to me:
 NB> Seems as though hpt is doing it`s job so far. Post your binkd.conf
 NB> next (without passwords). I predict you may be trying to use some sort
 NB> of 5D addressing when you may not need to.

 NB> Regards,
 NB> Nick




Javier


--- GoldED+/BSD 1.1.5-b20170303-b20170303 + HPT 1.9.0 + Binkd 1.1a-115
 * Origin: FIDONODO DE JAS | ┬п\\_(O,O)_/┬п (4:900/733)
SEEN-BY: 4/0 19/10 50/109 88/0 90/0 93/1 103/705
104/117 124/5016 153/757
SEEN-BY: 154/10 30 201/0 203/0 218/840 221/0 1 6
360 229/426 240/1120 5832
SEEN-BY: 263/1 280/464 5003 5006 292/854 8125
301/1 310/31 320/219 335/364
SEEN-BY: 341/66 234 396/45 423/81 120 452/28 166
460/58 463/68 467/888
SEEN-BY: 633/280 712/848 770/1 900/0 106 733 902/0
19 26 904/13 905/0
SEEN-BY: 5000/111 5010/352 5015/46 5020/400 715 828
846 848 1042 4441 12000
SEEN-BY: 5030/49 1081 5053/51 5061/133 5075/128
5083/444
@PATH: 900/733 902/26 280/464 221/1 6 5020/1042
4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх