Datong Sun
7c3864a3ed
chore(cargo): bump fake-tcp
to 0.7.1
and phantun
to 0.8.1
2025-08-22 20:54:22 -07:00
Datong Sun
6a39e9e9d0
perf(phantun): avoid heap allocation with udp_recv_from_pktinfo()
2025-08-23 11:53:41 +08:00
Datong Sun
cedee0c699
docs(readme): release 0.8.0
and add note about MIPS build
Docker image build / build (push) Waiting to run
Rust / build (push) Waiting to run
2025-08-23 01:20:53 +08:00
Datong Sun
d969f0cc5d
chore(cargo): bump fake-tcp
to 0.7.0
and phantun
to 0.8.0
v0.8.0
2025-08-23 01:09:05 +08:00
WGH
19c9f2d9f2
fix(phantun): use the same source IP for UDP packet replies ( #178 )
...
This fixes an issue when Phantun may choose a source IP different from
the destination IP in the incoming packet.
Closes #177
2025-08-23 01:04:03 +08:00
Datong Sun
1252affdad
chore(github): add issue template
2025-08-23 00:34:17 +08:00
Datong Sun
141c3477f9
docs(readme): clarify the MTU calculation is on the link MTU, not interface MTU
2025-08-23 00:32:24 +08:00
Datong Sun
d8dd3e65d1
docs(readme): update copyright year
2025-08-23 00:27:23 +08:00
Datong Sun
66de44e32f
chore(cargo): bump to Rust edition 2024
( #223 )
...
Docker image build / build (push) Waiting to run
Rust / build (push) Waiting to run
* chore(cargo): bump to Rust edition 2024 and move shared dependency into
workspace `Cargo.toml`
* style(phantun): use Rust 2024 `&&` combination for `if let`
2025-08-23 00:20:07 +08:00
Randy Li
2a37a2fc92
chore(package): add Debian and RedHat package files ( #173 )
...
---------
Signed-off-by: Randy Li <ayaka@soulik.info>
2025-08-23 00:03:21 +08:00
sshhsh
f5aac38969
chore(release): add nightly build for MIPS targets ( #212 )
...
---------
Co-authored-by: Datong Sun <dndx@idndx.com>
2025-08-22 23:50:01 +08:00
dependabot[bot]
118f20f74f
chore(deps): bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 23:19:25 +08:00
Datong Sun
6a424fd43c
chore(deps): bump dependencies to latest and fix build failure with
...
`neli`
2025-08-22 23:06:50 +08:00
Datong Sun
869c79422f
chore(cargo): add Cargo.lock
. Closes #138
Docker image build / build (push) Has been cancelled
Rust / build (push) Has been cancelled
2025-03-14 22:46:01 -07:00
Datong Sun
201da45ee8
style(fake-tcp): fix warnings
2025-03-14 22:45:24 -07:00
SH Weng
333c6dd059
fix(deps): support newer version of rand
crate
...
Closes #186 .
2025-03-15 15:38:13 +08:00
Datong Sun
62f0278c1a
fix(phantun): fix tokio-tun
incompatiable API change
Docker image build / build (push) Has been cancelled
Rust / build (push) Has been cancelled
2025-01-02 21:52:56 +08:00
Meng Zhuo
f436325d23
docs(README): fix typo
Rust / build (push) Has been cancelled
2024-12-29 19:01:26 +08:00
Datong Sun
028a32d197
docs(readme): latest release is now v0.7.0
Docker image build / build (push) Has been cancelled
Rust / build (push) Has been cancelled
2024-11-22 01:31:25 +08:00
Datong Sun
e452e40edd
chore(release): remove MIPS targets due to being downgraded to Tier 3
...
support by Rust
v0.7.0
2024-11-21 09:27:19 -08:00
dependabot[bot]
253ce54554
chore(deps): bump docker/build-push-action from 5 to 6
...
Docker image build / build (push) Waiting to run
Rust / build (push) Waiting to run
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-20 23:12:10 +08:00
Datong Sun
34d2350d1c
chore(cargo): bump fake-tcp
version to 0.6.0
and phantun
to
...
`0.7.0`
2024-11-20 23:06:36 +08:00
Datong Sun
6955a1eb4c
chore(deps): bump dependencies to latest
2024-11-20 23:06:36 +08:00
Datong Sun
e86c5c5c50
fix(fake-tcp): when connect()
-ing, attempt to get ephemeral port using algorithm similar to Linux ( #162 )
...
* fix(fake-tcp): when `connect()`-ing, attempt to get ephemeral port 5 times to reduce the chance
of panicking
Fixes #79
2024-11-20 22:57:11 +08:00
Datong Sun
60f24d2563
Revert "docs(readme): update README.md
to include incoming interface (`-i t…"
...
Rust / build (push) Has been cancelled
This reverts commit 8c7f4e98b39518e10bf5cbd69987e4ccf702015b.
2024-08-27 23:19:09 +08:00
Ricardo Pallas
8c7f4e98b3
docs(readme): update README.md
to include incoming interface (-i tun0
) in client NAT commands example ( #163 )
Rust / build (push) Waiting to run
2024-08-26 19:50:07 +08:00
Datong Sun
90b93370ce
chore(docs): update license year to 2024
2024-04-19 09:15:33 -07:00
dependabot[bot]
792ee46ec4
chore(deps): bump softprops/action-gh-release from 1 to 2
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 23:41:37 +08:00
dependabot[bot]
f5cb4b1220
chore(deps): update nix requirement from 0.27 to 0.28
...
Updates the requirements on [nix](https://github.com/nix-rust/nix ) to permit the latest version.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 23:41:27 +08:00
dependabot[bot]
8a0ec729e2
chore(deps): update tokio-tun requirement from 0.9 to 0.11
...
Updates the requirements on [tokio-tun](https://github.com/yaa110/tokio-tun ) to permit the latest version.
- [Commits](https://github.com/yaa110/tokio-tun/compare/0.9.0...0.11.2 )
---
updated-dependencies:
- dependency-name: tokio-tun
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 22:45:51 +08:00
Datong Sun
78dd7c13b1
style(phantun): fix Clippy warnings
2023-09-19 00:25:52 +08:00
dependabot[bot]
b58d58956b
chore(deps): update nix requirement from 0.26 to 0.27
...
Updates the requirements on [nix](https://github.com/nix-rust/nix ) to permit the latest version.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 00:15:35 +08:00
dependabot[bot]
310bb17516
chore(deps): update pnet requirement from 0.33 to 0.34
...
Updates the requirements on [pnet](https://github.com/libpnet/libpnet ) to permit the latest version.
- [Release notes](https://github.com/libpnet/libpnet/releases )
- [Commits](https://github.com/libpnet/libpnet/compare/v0.33.0...v0.34.0 )
---
updated-dependencies:
- dependency-name: pnet
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 00:07:50 +08:00
dependabot[bot]
632132b75a
chore(deps): bump docker/setup-buildx-action from 2 to 3
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 22:09:47 +08:00
dependabot[bot]
48a0399f59
chore(deps): bump docker/setup-qemu-action from 2 to 3
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 22:09:34 +08:00
dependabot[bot]
590a048b5b
chore(deps): bump docker/build-push-action from 4 to 5
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 22:09:16 +08:00
dependabot[bot]
3fa8f86379
chore(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 22:08:56 +08:00
dependabot[bot]
805bf80cd8
chore(deps): update tokio-tun requirement from 0.7 to 0.9
...
Updates the requirements on [tokio-tun](https://github.com/yaa110/tokio-tun ) to permit the latest version.
- [Commits](https://github.com/yaa110/tokio-tun/compare/0.7.0...0.9.0 )
---
updated-dependencies:
- dependency-name: tokio-tun
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-27 23:38:42 +08:00
dependabot[bot]
aec3bcdeda
chore(deps): update flume requirement from 0.10 to 0.11
...
Updates the requirements on [flume](https://github.com/zesterer/flume ) to permit the latest version.
- [Changelog](https://github.com/zesterer/flume/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zesterer/flume/commits )
---
updated-dependencies:
- dependency-name: flume
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-27 12:58:08 +08:00
dependabot[bot]
9b1d3c0124
chore(deps): update pretty_env_logger requirement from 0.4 to 0.5
...
Updates the requirements on [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger ) to permit the latest version.
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: pretty_env_logger
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 02:39:00 +08:00
dependabot[bot]
6c42f02b28
chore(deps): update socket2 requirement from 0.4 to 0.5
...
Updates the requirements on [socket2](https://github.com/rust-lang/socket2 ) to permit the latest version.
- [Release notes](https://github.com/rust-lang/socket2/releases )
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/socket2/compare/v0.4.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: socket2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 00:35:39 +08:00
Datong Sun
ee0bce0a96
chore(docker): use Debian as base image ( #108 )
...
Alpine has worse performance and musl does not work well with Rust `libc` version `3`,
use Debian instead.
2023-03-21 00:30:39 +08:00
dependabot[bot]
1f11d618e0
chore(deps): bump docker/build-push-action from 3 to 4
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 18:56:42 +08:00
Sing Yu Chan
d7913c1407
chore(docker): add Docker image build. Thanks @pexcn for the contributions!
...
Co-authored-by: Datong Sun <dndx@idndx.com>
2023-02-13 23:29:59 +08:00
dependabot[bot]
ee7ee5d5f9
chore(deps): update pnet requirement from 0.31 to 0.33
...
Updates the requirements on [pnet](https://github.com/libpnet/libpnet ) to permit the latest version.
- [Release notes](https://github.com/libpnet/libpnet/releases )
- [Commits](https://github.com/libpnet/libpnet/compare/v0.31.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: pnet
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 23:16:04 +08:00
Datong Sun
af3a9061a1
docs(README): fix build status link
2022-12-29 10:41:32 +08:00
dependabot[bot]
7c98012a67
chore(deps): update nix requirement from 0.25 to 0.26
...
Updates the requirements on [nix](https://github.com/nix-rust/nix ) to permit the latest version.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 16:31:23 +08:00
Datong Sun
b674268863
docs(README): bumped latest release version to v0.6.0
2022-10-25 23:54:08 +08:00
Datong Sun
b40ca10cc1
chore(phantun): bump fake-tcp
dependency to v0.5.0
v0.6.0
2022-10-25 08:36:42 -07:00
Datong Sun
30f0a1118b
chore(fake-tcp): bump to v0.5.0
2022-10-25 08:35:49 -07:00