Ryo Nakamura
40cf231e9a
bump version to 0.1.5
v0.1.5
2024-03-14 13:21:25 +09:00
Ryo Nakamura
11a48bbe09
update README: mscp supports checkpointing
2024-03-14 12:49:28 +09:00
Ryo Nakamura
63fb5a7474
add a description for checkpoint file structure
2024-03-14 12:47:17 +09:00
Ryo Nakamura
5dbc9e5bce
test: insert Port to /etc/ssh/sshd_config
...
not to /etc/ssh/sshd_config.d/*.conf because openssh in Rocky Linux in 8
does not support the config.dy directory.
2024-03-12 16:02:58 +09:00
Ryo Nakamura
d03ae9f592
fix typo ( #10 )
2024-03-12 15:30:41 +09:00
Ryo Nakamura
0d248c5f6b
fix port tests and v6only test.
...
port test: sshd listens on 8022 and run mscp with -P 8022
v6only test: change remote name from localhost to ip6-localhost
2024-03-12 15:24:09 +09:00
Ryo Nakamura
9d02fc9122
sftp_async_write: bit cleanup error messaging
2024-03-09 16:06:44 +09:00
Ryo Nakamura
0e80f089be
update doc
2024-02-24 04:16:33 +00:00
Ryo Nakamura
f3a24e0047
add test cases for resume with checkpoint
...
Now mscp supports resume (#5 ) and (#10 )
2024-02-20 22:05:17 +09:00
Ryo Nakamura
dfdad6bca5
update doc for checkpoint
2024-02-20 20:43:57 +09:00
Ryo Nakamura
fc0ced1828
checkpoint includes username
2024-02-20 16:14:26 +09:00
Ryo Nakamura
0695c1e2e4
put magic code at the head of checkpoint
2024-02-20 15:12:05 +09:00
Ryo Nakamura
692ea1d4e4
add validate for path object and update manpage
2024-02-18 22:26:38 +09:00
Ryo Nakamura
19c73af09d
update console output and doc
2024-02-18 21:34:41 +09:00
Ryo Nakamura
5f628b64e3
add -W and -R option for resume checkpoint
2024-02-18 14:48:30 +09:00
Ryo Nakamura
2f9c2c0f10
ready to implement the main-side
2024-02-17 13:25:07 +09:00
Ryo Nakamura
f71c7a145a
add checkpoint.c and .h
2024-02-17 12:39:19 +09:00
Ryo Nakamura
4e895bb72e
add htonll and ntohll
2024-02-12 00:54:28 +09:00
Ryo Nakamura
f152236844
tiny fix on pool
2024-02-11 22:09:23 +09:00
Ryo Nakamura
ce376beeb9
avoid * in paths from two test cases for alpine
2024-02-11 22:05:04 +09:00
Ryo Nakamura
b756654f6e
little cleanup
2024-02-11 22:04:59 +09:00
Ryo Nakamura
a828ca3f5a
change chunk_pool from list to pool
2024-02-11 21:28:03 +09:00
Ryo Nakamura
d65a49768c
cleanup mscp_scan_thread related codes
2024-02-11 20:33:35 +09:00
Ryo Nakamura
00b5c64e27
cmake: add USE_PODMAN to use podman instead of docker
2024-02-11 17:36:33 +09:00
Ryo Nakamura
d6f437bcb1
change thread_list to thread_pool
2024-02-11 14:11:47 +09:00
Ryo Nakamura
bfc955a9a7
change path_list to path_pool
2024-02-11 14:11:47 +09:00
Ryo Nakamura
d2e061fd97
add pool strcture and move src list to pool
2024-02-11 14:08:56 +09:00
Ryo Nakamura
c5afb99d67
fix wrong description for mscp_add_src_path and mscp_set_dst_path
2024-02-11 14:08:56 +09:00
Ryo Nakamura
45ba6b077e
install-build-deps.sh has --dont-install and --platform options.
...
All docker files do not call isntall-build-deps.sh. Instead, cmake passes
REQUIREDPKGS to Dockerfiles, which is derived from the output of
./scripts/install-build-deps.sh --dont-install --platform PLATFORM.
This change enables caching package installaion during docker build.
2024-02-11 14:04:43 +09:00
Ryo Nakamura
d819f715c8
update REAMDE to fix the URL for single binary mscp
2024-02-07 17:19:14 +09:00
Ryo Nakamura
22150c268d
update REAMDE to fix the URL for single binary mscp
2024-02-07 17:15:30 +09:00
Ryo Nakamura
f8f8cf1994
remove unnecessary \n
2024-02-07 16:58:17 +09:00
Ryo Nakamura
758c5e92b3
update doc/mscp.rst
2024-02-07 16:55:12 +09:00
Ryo Nakamura
2ef4267f72
bump version to 0.1.4
v0.1.4
2024-02-07 16:16:40 +09:00
Ryo Nakamura
1d8d853b30
fix manpage to add -g option
2024-02-07 15:14:29 +09:00
Ryo Nakamura
b2628b54fb
add -4 and -6 options to use either IPv4 or IPv6
2024-02-07 15:14:27 +09:00
Ryo Nakamura
a9c59f744a
update man and doc for adjusting to -p option
2024-02-07 14:32:36 +09:00
Ryo Nakamura
96084004b6
cleanup error message handling
...
The top-level funtion in a thread should print errors using
priv_get_err(), while lower-level functions should set error messages
using priv_set_err() except that error mesesages should be printed
immediately, e.g., under walk_src_path().
2024-02-07 13:29:45 +09:00
Ryo Nakamura
5119d5ae26
remove unused FindGSSAPI.cmake module
2024-02-06 23:24:57 +09:00
Ryo Nakamura
93f155cffe
add .clang-format from Linux kernel and format sources
...
The exception is that ColumnLimit is 90.
2024-02-06 23:09:59 +09:00
Ryo Nakamura
4f0669f8f8
refactor error message-related functions
...
split message print fuctions (mpr_*), strerrno, and mscp_get/set_error
into print.c/h and strerrno.c/h.
ToDo: revise usages of priv_set_errv and pr_* functions.
2024-02-06 21:54:04 +09:00
Ryo Nakamura
76892a69f9
do not build strlcat.c if HAVE_STRLCAT is true
2024-02-06 16:25:05 +09:00
Ryo Nakamura
a7f8ad948b
add -p option, preserving file timestamps
2024-02-06 16:15:43 +09:00
Ryo Nakamura
ff45d9d71b
add two env vars to pass password/keyphrase ( #9 )
...
MSCP_SSH_AUTH_PASSWORD passes a password, and MSCP_SSH_AUTH_PASSPHRASE
passes a passphrase for publickey auth. They enable avoiding interactive
password input. Test cases are also added.
2024-02-06 10:35:38 +09:00
Ryo Nakamura
9908fb309d
passing options via pointers in mscp_ssh_opts
...
We do not need static buf because we have already dropped python biding
support.
2024-02-05 23:36:59 +09:00
Ryo Nakamura
c95e6a4fff
do not passing msg_fp via mscp opts
...
instead, mpr_* functions print messages to stdout or stderr directly.
2024-02-04 20:23:08 +09:00
Ryo Nakamura
304e71d5a0
remove (accidentally added) build-srpm.Dockerfile
2024-02-04 17:37:57 +09:00
Ryo Nakamura
ec663cc966
bump up container image versions and drop using CPack
...
We have already provided DEB packages in launchpad PPA and RPM packages
in COPR. Thus, we need no more deb/rpm packages in Github releases. The
single binary build of mscp is an execptio.
Updated container image versions:
- almalinux 8.8 -> 9.3
- rocky 8.8 -> 8.9, and 9.3 is added
- alpine 3.17 -> 3.19
2024-02-04 17:22:31 +09:00
Ryo Nakamura
d57ed4149d
drop python binding support
2024-02-04 16:18:27 +09:00
Ryo Nakamura
7f5fcc617c
add doc/DEVELOP.md instead of doc/README.md
2024-02-04 12:05:18 +09:00