mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
The receiver sets CANZSTD (0x40) in the ZF1 of its ZRINIT. The sender sets ZTZSTD (8) in the ZF2 of a ZFILE to send that file as independent zstd frames (at most 64 KiB of the file each, halved on each ZRPOS). All positions stay offsets in the file, and the receiver writes and acknowledges only whole frames, so ZRPOS recovery and resume work as before. Legacy peers do not set the bit and get plain ZMODEM. Uploads of a known size that stop early are kept for 7 days and resumed by ZRPOS when the same user sends the same file again. Downloads seek on ZRPOS (the download reader did not seek before). A second ZRINIT after the first is now dropped, so its stale ZRPOS no longer sends a segment again. zmodem_zstd in [general] turns zstd off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRR1WNeCEtXUcjE8RgY
104 lines
4.5 KiB
AMPL
104 lines
4.5 KiB
AMPL
module github.com/D-Modem/bbs
|
|
|
|
go 1.26.0
|
|
|
|
toolchain go1.26.10
|
|
|
|
require (
|
|
blitiri.com.ar/go/spf v1.5.1
|
|
github.com/D-Modem/go3270 v0.9.14-0.20261105104944-a6550eb72c38
|
|
github.com/D-Modem/menu v0.0.0-20261106031303-853189d86fb2
|
|
github.com/D-Modem/retrossl v0.0.0-20261111132527-5c74d8027d9e
|
|
github.com/coder/websocket v1.8.13
|
|
github.com/dop251/goja v0.0.0-20260603125802-cfe4039cb6d7
|
|
github.com/emersion/go-imap/v2 v2.0.0-beta.8
|
|
github.com/emersion/go-message v0.18.2
|
|
github.com/emersion/go-msgauth v0.7.0
|
|
github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6
|
|
github.com/emersion/go-smtp v0.25.1
|
|
github.com/ergochat/irc-go v0.7.0
|
|
github.com/facebook/time v0.0.0-20261106180548-d4b419b4eef5
|
|
github.com/fclairamb/ftpserverlib v0.30.0
|
|
github.com/go-acme/lego/v4 v4.35.2
|
|
github.com/go-sql-driver/mysql v1.8.1
|
|
github.com/jackc/pgx/v5 v5.7.2
|
|
github.com/jlaffaye/ftp v0.2.0
|
|
github.com/klauspost/compress v1.18.0
|
|
github.com/miekg/dns v1.1.72
|
|
github.com/spf13/afero v1.15.0
|
|
golang.org/x/crypto v0.52.0
|
|
golang.org/x/image v0.23.0
|
|
golang.org/x/net v0.55.0
|
|
golang.org/x/sync v0.20.0
|
|
golang.org/x/sys v0.45.0
|
|
golang.org/x/term v0.43.0
|
|
golang.org/x/text v0.37.0
|
|
google.golang.org/protobuf v1.36.11
|
|
modernc.org/sqlite v1.33.1
|
|
)
|
|
|
|
require (
|
|
filippo.io/edwards25519 v1.1.0 // indirect
|
|
github.com/alexbrainman/sspi v0.0.0-20180613141037-e580b900e9f5 // indirect
|
|
github.com/aws/aws-sdk-go-v2 v1.41.6 // indirect
|
|
github.com/aws/aws-sdk-go-v2/config v1.32.16 // indirect
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.19.15 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.22 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.22 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.22 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.23 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.8 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.22 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/route53 v1.62.6 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/signin v1.0.10 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.30.16 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.20 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.42.0 // indirect
|
|
github.com/aws/smithy-go v1.25.0 // indirect
|
|
github.com/bodgit/tsig v1.2.2 // indirect
|
|
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
|
|
github.com/dlclark/regexp2 v1.11.4 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
|
|
github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/hashicorp/errwrap v1.0.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
|
|
github.com/hashicorp/go-uuid v1.0.3 // indirect
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
|
|
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
|
|
github.com/jcmturner/gofork v1.7.6 // indirect
|
|
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
|
|
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
|
|
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
|
|
github.com/jinzhu/copier v0.4.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.21 // indirect
|
|
github.com/ncruces/go-strftime v0.1.9 // indirect
|
|
github.com/nrdcg/desec v0.11.1 // indirect
|
|
github.com/nrdcg/goacmedns v0.2.0 // indirect
|
|
github.com/nrdcg/porkbun v0.4.0 // indirect
|
|
github.com/openshift/gssapi v0.0.0-20161010215902-5fb4217df13b // indirect
|
|
github.com/ovh/go-ovh v1.9.0 // indirect
|
|
github.com/peterhellberg/link v1.2.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/tink-crypto/tink-go/v2 v2.4.0 // indirect
|
|
golang.org/x/mod v0.35.0 // indirect
|
|
golang.org/x/oauth2 v0.36.0 // indirect
|
|
golang.org/x/tools v0.44.0 // indirect
|
|
gopkg.in/ini.v1 v1.67.1 // indirect
|
|
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
|
|
modernc.org/libc v1.55.3 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.8.0 // indirect
|
|
modernc.org/strutil v1.2.0 // indirect
|
|
modernc.org/token v1.1.0 // indirect
|
|
)
|