Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor & clean code #93

Closed
wants to merge 174 commits into from
Closed

Refactor & clean code #93

wants to merge 174 commits into from

Commits on Nov 23, 2023

  1. clean code

    due to libc crate updated, ifreq struct added
    ssrlive committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    3c8fb5a View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. refine macos device

    ssrlive committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    dde6920 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. refactor device n queue

    ssrlive committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    9d6c749 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    11d136f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e944758 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. refine TunPacketCodec

    ssrlive committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    a74731b View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. beginning v2

    ssrlive committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    dbb6351 View commit details
    Browse the repository at this point in the history
  2. refine packet_information

    ssrlive committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    05df46c View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into v2

    ssrlive committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    c32366f View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. cargo config.toml

    ssrlive committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    ee80e99 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. refine cargo.toml

    ssrlive committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    b1d0c56 View commit details
    Browse the repository at this point in the history
  2. refine code

    ssrlive committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    51e2553 View commit details
    Browse the repository at this point in the history
  3. eliminate redundantcopy

    xmh0511 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    3061457 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #4 from xmh0511/v2

    eliminate redundant copy
    xmh0511 authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    885d09e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    57fc820 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    641bd42 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f1abffe View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c024261 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #6 from xmh0511/v2

    fix the mtu of wintun may larger than the provided default capacity
    xmh0511 authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    dd57ac0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    86fd2fd View commit details
    Browse the repository at this point in the history
  11. change to shared reference

    xmh0511 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    199f675 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #7 from xmh0511/v2

    associate mtu with the capacity of ReadBuf for all platforms
    xmh0511 authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    33c2b12 View commit details
    Browse the repository at this point in the history
  13. remove AsyncQueue

    ssrlive committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    821dc33 View commit details
    Browse the repository at this point in the history
  14. clippy issues

    ssrlive committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    f153bbf View commit details
    Browse the repository at this point in the history
  15. clippy issues

    ssrlive committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    fa6d281 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. refactor interfaces

    ssrlive committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    9a5da49 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #8 from ssrlive/v0.7

    refactor interfaces
    ssrlive authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a80efc3 View commit details
    Browse the repository at this point in the history
  3. Bump v0.7.1

    ssrlive committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    c2bb8e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Create dependabot.yml

    ssrlive authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    6b0bb56 View commit details
    Browse the repository at this point in the history
  2. codec module to public

    ssrlive committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    5a182dd View commit details
    Browse the repository at this point in the history
  3. Merge pull request #9 from ssrlive/codec

    codec module to public
    ssrlive authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    17b1c58 View commit details
    Browse the repository at this point in the history
  4. rename to unix_device

    ssrlive committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    4b48324 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    e0e0792 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #11 from xmh0511/v2

    avoid unnecessary copy and fix lfreq not found on macOS
    xmh0511 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a891bd9 View commit details
    Browse the repository at this point in the history
  3. bump version

    xmh0511 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    04fb141 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #12 from xmh0511/v2

    bump version
    xmh0511 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ec2e08c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e9ce3a0 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #13 from xmh0511/v2

    add split for windows platform
    xmh0511 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2ddb560 View commit details
    Browse the repository at this point in the history
  7. recover libc version

    xmh0511 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a39357f View commit details
    Browse the repository at this point in the history
  8. Merge pull request #14 from xmh0511/v2

    recover libc version
    xmh0511 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    336d12d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fd74d71 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #15 from xmh0511/v2

    refine platform/windows/device.rs
    xmh0511 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d33d3ad View commit details
    Browse the repository at this point in the history
  11. Bump package version

    xmh0511 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    13cb7d8 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #16 from xmh0511/v2

    Bump package version
    xmh0511 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    11c6c2f View commit details
    Browse the repository at this point in the history
  13. fix mtu for windows

    xmh0511 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b2d3b10 View commit details
    Browse the repository at this point in the history
  14. Bump version

    xmh0511 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    bcdbcbc View commit details
    Browse the repository at this point in the history
  15. Merge pull request #17 from xmh0511/v2

    fix mtu for windows
    xmh0511 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f8f6598 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    19b77c4 View commit details
    Browse the repository at this point in the history
  2. revamp encapsulatation

    xmh0511 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    8fd2629 View commit details
    Browse the repository at this point in the history
  3. correct read-async example

    xmh0511 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    046e9b2 View commit details
    Browse the repository at this point in the history
  4. recover pub

    xmh0511 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    8b5d4c0 View commit details
    Browse the repository at this point in the history
  5. update dependabot.yml

    xmh0511 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    e87262e View commit details
    Browse the repository at this point in the history
  6. 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](actions/checkout@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    4c6e107 View commit details
    Browse the repository at this point in the history
  7. update example

    xmh0511 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    3f47a6d View commit details
    Browse the repository at this point in the history
  8. update

    xmh0511 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    8127bc1 View commit details
    Browse the repository at this point in the history
  9. update

    xmh0511 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    701b7e3 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #20 from ssrlive/dependabot/github_actions/actions…

    …/checkout-4
    
    chore(deps): bump actions/checkout from 3 to 4
    xmh0511 authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    169a269 View commit details
    Browse the repository at this point in the history
  11. refine TunPacketCodec (#19)

    ssrlive authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    0bf68e2 View commit details
    Browse the repository at this point in the history
  12. MTU issues (#21)

    ssrlive authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    236fa4e View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. refine codec.rs

    xmh0511 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    773023a View commit details
    Browse the repository at this point in the history
  2. remove TunPacket struct

    ssrlive authored and xmh0511 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    329e6bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82002f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    d0b4f8d View commit details
    Browse the repository at this point in the history
  2. remove device_io

    since Device obtains Write and Read trait
    ssrlive committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    8ca6b01 View commit details
    Browse the repository at this point in the history
  3. Reader (#25)

    ssrlive authored Jan 25, 2024
    Configuration menu
    Copy the full SHA
    9d0ff37 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c2cfaea View commit details
    Browse the repository at this point in the history
  5. writer issues

    ssrlive committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    cfe31a9 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. fix decode in codec (#26)

    xmh0511 authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    d1739e7 View commit details
    Browse the repository at this point in the history
  2. move codec to async module (#27)

    * fix decode in codec
    
    * move codec to async
    xmh0511 authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    80d4e18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef84fdf View commit details
    Browse the repository at this point in the history
  4. examples

    ssrlive committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    c7e1843 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. add ctrlc2 to examples

    ssrlive committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    f2e89c1 View commit details
    Browse the repository at this point in the history
  2. comment for ask_permission

    ssrlive committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    dae1b7d View commit details
    Browse the repository at this point in the history
  3. prepare for v1.0.0

    ssrlive committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    0dd0cea View commit details
    Browse the repository at this point in the history
  4. ensure_root_privileges

    ssrlive committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    4fb9c10 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Configuration menu
    Copy the full SHA
    0f60f19 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Update Cargo.toml

    xmh0511 authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    059118b View commit details
    Browse the repository at this point in the history
  2. Update README.md

    xmh0511 authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    c29132b View commit details
    Browse the repository at this point in the history
  3. Update README.md

    ssrlive authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    02a813d View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. update doc (#31)

    * update doc
    
    ---------
    
    Co-authored-by: ssrlive <[email protected]>
    xmh0511 and ssrlive authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    f8f32c5 View commit details
    Browse the repository at this point in the history
  2. update doc (#32)

    * detail packet_information
    
    * cargo fmt
    
    * allow deprecated annotation
    
    * Update mod.rs
    
    * Update README.md
    
    * update doc
    
    * update doc
    
    ---------
    
    Co-authored-by: ssrlive <[email protected]>
    xmh0511 and ssrlive authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    a9c0668 View commit details
    Browse the repository at this point in the history
  3. update doc and examples (#33)

    * detail packet_information
    
    * cargo fmt
    
    * allow deprecated annotation
    
    * Update mod.rs
    
    * Update README.md
    
    * update doc
    
    * update doc
    
    * update doc and example
    
    ---------
    
    Co-authored-by: ssrlive <[email protected]>
    xmh0511 and ssrlive authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    211b0ba View commit details
    Browse the repository at this point in the history
  4. update doc (#34)

    xmh0511 authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    bb7a083 View commit details
    Browse the repository at this point in the history
  5. Update configuration.rs

    ssrlive committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    847b641 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. change the type of mtu to u16 (#38)

    * change the type of mtu to u16
    xmh0511 authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    f34d8fb View commit details
    Browse the repository at this point in the history
  2. To fd (#39)

    ssrlive authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    60c0aee View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. unify behavior for macOS (#40)

    * unify behavior for macOS
    
    * update
    
    * update
    
    * read code
    
    * read code
    
    * env_logger
    
    ---------
    
    Co-authored-by: ssrlive <[email protected]>
    xmh0511 and ssrlive authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    49a25a0 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    xmh0511 authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    a4055d6 View commit details
    Browse the repository at this point in the history
  3. remove unused_imports

    xmh0511 authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    6cdb4b3 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    xmh0511 authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    ae3a3f5 View commit details
    Browse the repository at this point in the history
  5. Update Cargo.toml

    xmh0511 authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    b4d7c91 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. bump version

    xmh0511 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    0a0d6a9 View commit details
    Browse the repository at this point in the history
  2. migrate to ipnet (#42)

    xmh0511 authored Feb 6, 2024
    Configuration menu
    Copy the full SHA
    3551885 View commit details
    Browse the repository at this point in the history
  3. Bump version (#44)

    * migrate to ipnet
    
    * bump version
    xmh0511 authored Feb 6, 2024
    Configuration menu
    Copy the full SHA
    ef11d6f View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Configuration menu
    Copy the full SHA
    d7ef515 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Configuration menu
    Copy the full SHA
    fac5d3a View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Bump version 1.1.1

    ssrlive committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    b15d2c9 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    8fece34 View commit details
    Browse the repository at this point in the history
  2. Bump version 1.1.2

    ssrlive committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    ac97228 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. bring back name and specify it as deprecated (#50)

    * migrate to ipnet
    
    * bump version
    xmh0511 authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b36fcf3 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. test_sockaddr

    ssrlive committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    294ac06 View commit details
    Browse the repository at this point in the history
  2. Update rust.yml

    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    dff31b4 View commit details
    Browse the repository at this point in the history
  3. Freebsd (#51)

    * migrate to ipnet
    
    * bump version
    
    * freebsd
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * cargo fmt
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * cargo fmt
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * fix ioctrl inappropriate issue
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * make freebsd usable
    
    * make freebsd usable
    
    * make freebsd usable
    
    * update sockaddr
    
    * cargo fmt
    
    * fix ubuntu error
    
    * github flow
    
    * cargo fmt
    
    * add example
    
    * cargo fmt
    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    c320066 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    a6f30ca View commit details
    Browse the repository at this point in the history
  5. Update README.md

    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    2d1aa51 View commit details
    Browse the repository at this point in the history
  6. Update README.md

    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    6c01af7 View commit details
    Browse the repository at this point in the history
  7. Update Cargo.toml

    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    f37e314 View commit details
    Browse the repository at this point in the history
  8. Update rust.yml

    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    e1d374a View commit details
    Browse the repository at this point in the history
  9. add set_tun_name for freebsd (#52)

    * update example
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * add set_tun_name for freebsd
    
    * add set_tun_name for freebsd
    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    7683b6c View commit details
    Browse the repository at this point in the history
  10. Update Cargo.toml

    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b699339 View commit details
    Browse the repository at this point in the history
  11. unify the access of internal api (#54)

    * update example
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * add set_tun_name for freebsd
    
    * add set_tun_name for freebsd
    
    * unify the access of internal api
    
    * update freebsd
    
    * update example
    
    * cargo fmt
    
    * cargo fmt
    xmh0511 authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    565568a View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. fix packet-information (#55)

    * update example
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * set tun name
    
    * add set_tun_name for freebsd
    
    * add set_tun_name for freebsd
    
    * unify the access of internal api
    
    * update freebsd
    
    * update example
    
    * cargo fmt
    
    * cargo fmt
    
    * fix packet-information
    
    * cargo fmt
    
    * update
    
    * Update split.rs
    
    * Update split.rs
    
    * Update split.rs
    
    * Update split.rs
    
    ---------
    
    Co-authored-by: ssrlive <[email protected]>
    xmh0511 and ssrlive authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    dbb7b23 View commit details
    Browse the repository at this point in the history
  2. Update Cargo.toml

    xmh0511 authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    2e9b777 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. refine code (#57)

    ssrlive authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    f139620 View commit details
    Browse the repository at this point in the history
  2. Bump version 1.2.4

    ssrlive authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    a5da438 View commit details
    Browse the repository at this point in the history
  3. doc refine

    ssrlive committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    e7dc0cf View commit details
    Browse the repository at this point in the history
  4. Bump version 1.2.5

    ssrlive authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    971232c View commit details
    Browse the repository at this point in the history
  5. Bump version 1.2.6

    ssrlive committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    de0b3b4 View commit details
    Browse the repository at this point in the history
  6. Bump version 1.2.7

    ssrlive committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    736d769 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. PI issues (#59)

    ssrlive authored Mar 30, 2024
    Configuration menu
    Copy the full SHA
    980f041 View commit details
    Browse the repository at this point in the history
  2. Bump version 1.2.8

    ssrlive authored Mar 30, 2024
    Configuration menu
    Copy the full SHA
    5bf9c31 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    5eeeef9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    116bc82 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Bump version 1.2.9

    cavivie committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    e29c6cd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #65 from tun2proxy/bump_version

    Bump version 1.2.9
    cavivie authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    74bdd4b View commit details
    Browse the repository at this point in the history
  3. update readme file

    ssrlive committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    00f0f16 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2024

  1. Sockaddr (#67)

    ssrlive authored Apr 14, 2024
    Configuration menu
    Copy the full SHA
    d73452b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96cb935 View commit details
    Browse the repository at this point in the history
  3. Bump version 1.3.0

    ssrlive authored Apr 14, 2024
    Configuration menu
    Copy the full SHA
    bb721ba View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Configuration menu
    Copy the full SHA
    cb57d8c View commit details
    Browse the repository at this point in the history
  2. Bump version 1.3.1

    ssrlive committed May 25, 2024
    Configuration menu
    Copy the full SHA
    d446317 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Configuration menu
    Copy the full SHA
    078a52d View commit details
    Browse the repository at this point in the history
  2. Bump version 1.3.2

    ssrlive authored May 26, 2024
    Configuration menu
    Copy the full SHA
    719aae3 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    f6cab50 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    8ec27d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9f59f6 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    78985e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    228b43e View commit details
    Browse the repository at this point in the history
  3. make rustc compiler happy

    ssrlive committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    b8479d0 View commit details
    Browse the repository at this point in the history
  4. Bump version 2.0.0

    ssrlive committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    209c8c1 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. fix FreeBSD build problem (#78)

    ge9 authored Jun 16, 2024
    Configuration menu
    Copy the full SHA
    3d5e573 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Bump version 2.0.1

    ssrlive authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    5b6a80a View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Configuration menu
    Copy the full SHA
    721a481 View commit details
    Browse the repository at this point in the history
  2. Bump version 2.0.2

    ssrlive authored Jul 14, 2024
    Configuration menu
    Copy the full SHA
    b87ebb0 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Check semver script

    ssrlive committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    777ba78 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Add support for concurrent send/recv apis for tun device (#87)

    * Add send and recv apis similar to Tokio::UdpSocket
    
    Tokio supports async api's for UDP socket which does not need `&mut self`
    
    pub async fn recv(&self, buf: &mut [u8]) -> Result<usize>
    pub async fn send(&self, buf: &[u8]) -> Result<usize>
    
    This makes it pretty easy to call it concurrently, without adding Arc<Mutex<T>> to
    UdpSocket.
    
    This PR tries to add support for similar apis to tun device.
    In this commit, only sync version of recv/send apis are added. Async version will be added in
    further commit.
    
    Reference:
    https://docs.rs/tokio/latest/tokio/net/struct.UdpSocket.html#method.recv
    https://docs.rs/tokio/latest/tokio/net/struct.UdpSocket.html#method.send
    
    * Refactor to use STACK_BUF_LEN as const
    
    * Add async unix send/recv apis for unix
    
    Since unix uses AsyncFd from tokio, it is easier to wait for Ready
    on AsyncFd and call sync send/recv apis
    
    This commit does not take care of windows, which is not as straight-forward as posix variants.
    kp-mariappan-ramasamy authored Jul 23, 2024
    Configuration menu
    Copy the full SHA
    93af5c3 View commit details
    Browse the repository at this point in the history
  2. Bump version (#89)

    xmh0511 authored Jul 23, 2024
    Configuration menu
    Copy the full SHA
    42cc6a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48dbbba View commit details
    Browse the repository at this point in the history
  4. Update wintun version

    ssrlive authored Jul 23, 2024
    Configuration menu
    Copy the full SHA
    96fb69e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ed0a23a View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Fix #91

    ssrlive committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    25fc58a View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Rust 1.79 new feature

    Extending automatic temporary lifetime extension
    ssrlive committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    3644c33 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. chore(deps): update windows-sys requirement from 0.52 to 0.59

    Updates the requirements on [windows-sys](https://github.com/microsoft/windows-rs) to permit the latest version.
    - [Release notes](https://github.com/microsoft/windows-rs/releases)
    - [Commits](microsoft/windows-rs@0.52.0...0.59.0)
    
    ---
    updated-dependencies:
    - dependency-name: windows-sys
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    c8d052a View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    d5128ae View commit details
    Browse the repository at this point in the history
  2. Merge pull request #93 from tun2proxy/dependabot/cargo/windows-sys-0.59

    chore(deps): update windows-sys requirement from 0.52 to 0.59
    cavivie authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e02baf0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #94 from cavivie/v2

    Impl Deref/DerefMut traits for AsyncDevice
    cavivie authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    3e961ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c770830 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Set wintun ring capacity (#95)

    Co-authored-by: lbl8603 <[email protected]>
    vnt-dev and vnt-dev authored Aug 18, 2024
    Configuration menu
    Copy the full SHA
    1f28799 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. compatible with low-version rustc (#97)

    * compatible with low-version rustc
    
    * pass clippy
    
    * Bump version
    xmh0511 authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    cf1468b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5043d96 View commit details
    Browse the repository at this point in the history
  3. windows set mtu (#99)

    vnt-dev authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    16612c7 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. modify wintun

    vnt-dev committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    097d8c9 View commit details
    Browse the repository at this point in the history
  2. set interface metric

    vnt-dev committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    bd6e971 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #100 from vnt-dev/v2

    set interface metric
    vnt-dev authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    9c5965e View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    7efa7ea View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Bump version

    xmh0511 authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    93944a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7293ea View commit details
    Browse the repository at this point in the history
  3. Update Cargo.toml

    xmh0511 authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    08fc54a View commit details
    Browse the repository at this point in the history
  4. Update Cargo.toml

    xmh0511 authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    751bece View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Bump version

    xmh0511 committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    6058f74 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Configuration menu
    Copy the full SHA
    2afc42e View commit details
    Browse the repository at this point in the history
  2. Remove complex macro usage

    ssrlive committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    79b68eb View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Configuration menu
    Copy the full SHA
    11866ed View commit details
    Browse the repository at this point in the history
  2. CI testing script

    ssrlive committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    008ddc7 View commit details
    Browse the repository at this point in the history