Skip to content

Releases

qico 0.60.4

Choose a tag to compare

@glasslike glasslike released this 15 Nov 16:53

qico 0.60.4

This release is mainly about closing vulnerabilities in BinkP.

New

  • binkpopt defaults to MBM. CRAM-MD5 is offered; a clear password is
    still accepted unless p is set.
  • qcc session log: Z hides sessions with no traffic, F shows failed
    ones only, A shows every session again. The filter lasts until the
    binlog file changes.
  • release archives add Debian 13 beside Debian 12 and NetBSD 11.

Security

  • config: a password that starts with CRAM- is rejected when the
    config is read. The secret is not logged.
  • binkp: the CRAM challenge is read from /dev/urandom.
  • binkp: p also blocks a clear password on our own call.
  • binkp: a received file is synced to disk before M_GOT. A failed
    sync skips the file. A short file stays in inbound/tmp and is not
    acknowledged.
  • binkp: a size or offset that does not fit is skipped, and the rest
    of the batch continues.
  • binkp: a received name is stored as one inbound name. An empty
    name, ".", ".." and a name containing NUL are skipped.

Other fixes

  • outbound: the session is recorded as the address we called, not
    the remote's first AKA.
  • binkp: a file time before 1970 no longer aborts the session. A time
    through 2446-05-10 is kept and sent in full.
  • binkp: the same file offered three times in a row ends the session.
  • binkp: if the other side moves on after a finished receive, qico
    still acknowledges it.
  • abortsession on an incoming call runs after the listed flag is set,
    so if listed applies.
  • a path or file request that does not fit is refused and logged.

See Changes for the full notes.

qico 0.60.3

Choose a tag to compare

@glasslike glasslike released this 25 Oct 13:57

qico 0.60.3

qcc works with NetBSD's own curses again.

qcc can also show the session history the daemon writes to the binlog. Pass the binlog path when you start qcc. If qcc runs apart from the server that has the daemon and the binlog, start it with no path. The screen is optional. To leave it out of the build for good, configure with --disable-qcc-binlog.

Two new config words. listedfrom chooses where a node counts as listed: the nodelist, a password or subst line, or either. abortsession, inside if, ends the session after the handshake and before any files, and gives a reason. In an if, use them for a listed-only policy, or when a particular address should get no session.

See Changes for the full notes.

qico 0.60.2

Choose a tag to compare

@glasslike glasslike released this 11 Oct 16:58

qico 0.60.2

Adds an optional T-Hist binary session log and fixes a few related
session-edge cases.

New

  • keyword binlog: append a T-Hist v3 binary session log. Independent
    of history; both may be set to different files. See qico.conf.sample
    for details.

Fixes

  • [security] binkp: inbound O_PWD is set only after the password
    matches. A wrong password still ends the session and is not marked
    protected in the binary log.
  • inbound log: an IPv4 client on the dual-stack socket is written as
    a.b.c.d, not ::ffff:a.b.c.d. The same text goes into binlog.
  • freq: a received *.req is deleted after receipt when neither extrp
    nor srifrp is set, or when freqtime is unset or closed. The session
    stays successful and the processor is not run.

Special thanks
Mikhail Markovskiy (2:5020/378) - for collaboration on developing and testing the
binlog format, and for implementing many convenient statistics
features on the T-Hist side (https://github.com/klug378/T-Hist).

See Changes for the full notes.

qico 0.60.1

Choose a tag to compare

@glasslike glasslike released this 25 Sep 17:50

qico 0.60.1

A security release. Five of the fixes below close BinkP session and
password handling holes; the rest are queue and logging corrections
found alongside them.

Security

  • binkp: handshake commands (M_ADR, M_PWD, M_OK) are rejected after
    login, file commands before it. Matches binkd.
  • binkp: an inbound session offering two different passwords in one
    M_ADR is refused. On our own call the conflicting aka is dropped.
  • binkp: plaintext password compare is case-sensitive; CRAM-MD5 hex
    stays case-insensitive. Failed passwords are no longer logged.
  • binkp: a short fread/fwrite is an error, and M_GOT is not sent for
    a file that was not stored.
  • binkp: a busy password-protected aka ends an incoming session with
    M_BSY; on our own call that aka is skipped and the session goes on.

Other fixes

  • outbound lock: a session no longer removes .bsy/.csy files it did
    not create. A node is locked in every configured outbound or none.
  • binkp: file timestamps stay in UTC. EMSI, Zmodem, Hydra and Janus
    still carry local time.
  • binkp: identity NULs recode a copy, not the config.
  • "if date": the day was compared with the day of the year.
  • longrescan: the counter only grew, so a full ?lo recount never
    repeated. Every Nth scan now recounts.
  • showpkt: from/to names are logged up to 36 bytes and recoded to
    the local charset.
  • inbound modem: the log line name comes from mgetty DEVICE, then
    ttyname; a missing name is "modem".

New

  • keyword kill-old-bsy , default off: removes a stale .bsy/.csy,
    including an empty one or one whose PID now belongs to another
    process. A live session refreshes its own busy files each minute.
  • systemd: inbound ifcico on TCP 60179 (qico-ifc.socket /
    qico-ifc@.service). qico.target starts it with the originate daemon
    and BinkP (24554).

See Changes for the full notes.

qico 0.60.0

Choose a tag to compare

@glasslike glasslike released this 18 Sep 14:17

qico 0.60.0

  • new keyword: share [member2 ...]
    Binkd-compatible shared AKA for netmail failover.
  • new keyword: rootdomain
    Default: binkp.net. Suffix for fN.nN.zZ. (binkd root-domain).
  • new keyword: binkplisted yes/no. Default: no.
    Nodelist listed-check on BinkP so if listed, FREQ listed status
    and /LST work as on EMSI.
  • nodelist: parse FTS-5001 internet flags (INA, IBN, IFC, IRD). Host
    order matches binkd: subst, then nodelist, then DNS
    fN.nN.zZ..
  • nodelist: compile a missing qnode.idx on query like a stale index.
  • binkp: finish the empty extra batch on binkp/1.1 so a file transfer
    does not hang until timeout.
  • emsi: parse EMSI_DAT length and CRC correctly on 64-bit.
  • zmodem: accept HEX headers without a CR/LF trailer.
  • version: qico -v / EMSI banner date is the UTC git commit time.
  • qctl: default to loopback instead of connect(0.0.0.0).
  • portability: musl-safe memmove; configure probes for socklen_t,
    SIGRTMIN/CQUIT, MD5 prototypes, and Perl xsinit/PIE.

See Changes for the full notes.

qico 0.59.2-rpe (Rabarber Pie Edition)

Choose a tag to compare

@glasslike glasslike released this 18 Sep 14:17

Based on kosfango/qico 0.59.1 plus:

  • Debian 12 / modern toolchain: -fcommon, Perl/ncurses via LDADD, 64-bit MD5.
  • aarch64 fix: qcc/qctl getopt uses int (unsigned char broke option parsing).
  • flagexp/flex: reset lexer between if-expression parses so if protected
    selects secure inbound correctly.
  • systemd: qico.target + BinkP socket activation (originate + answer).
  • new keyword: osnametemplate: choose which uname() fields (sysname, release, machine)
    go into the auto-detected OS ident; BinkP and other consumers unchanged.