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

Use bind() instead of setsockopt() for binding raw sockets on Linux #1642

Closed
wants to merge 22 commits into from

Commits on Nov 15, 2024

  1. Replace setsockopt with bind

    seladb committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    fb420b3 View commit details
    Browse the repository at this point in the history
  2. Update build_and_test.yml

    Temp remove icpx
    seladb authored Nov 15, 2024
    Configuration menu
    Copy the full SHA
    ad95d20 View commit details
    Browse the repository at this point in the history
  3. Remove ubuntu

    seladb authored Nov 15, 2024
    Configuration menu
    Copy the full SHA
    51f82a8 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. Configuration menu
    Copy the full SHA
    d0577ba View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/use-bind-in-raw-sockets' into us…

    …e-bind-in-raw-sockets
    seladb committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    5113a88 View commit details
    Browse the repository at this point in the history
  3. Fix socket variable name

    seladb committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    4cd0bb0 View commit details
    Browse the repository at this point in the history
  4. Add missing include

    seladb committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    0eae3ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    906a7d0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3a87e2f View commit details
    Browse the repository at this point in the history
  7. Try running in a VM

    seladb committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    3d9e92e View commit details
    Browse the repository at this point in the history
  8. Install tools on the VM

    seladb committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    63d6859 View commit details
    Browse the repository at this point in the history
  9. use sudo

    seladb committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    fd08505 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. Try using --network=host

    seladb authored Nov 26, 2024
    Configuration menu
    Copy the full SHA
    49d94c1 View commit details
    Browse the repository at this point in the history
  2. Try using --cap-add=NET_RAW

    seladb authored Nov 26, 2024
    Configuration menu
    Copy the full SHA
    db3de62 View commit details
    Browse the repository at this point in the history
  3. Try also --privileged

    seladb authored Nov 26, 2024
    Configuration menu
    Copy the full SHA
    622879d View commit details
    Browse the repository at this point in the history
  4. Try --cap-add=NET_ADMIN

    seladb authored Nov 26, 2024
    Configuration menu
    Copy the full SHA
    a4f92db View commit details
    Browse the repository at this point in the history
  5. print strerror(errno)

    seladb authored Nov 26, 2024
    Configuration menu
    Copy the full SHA
    fe1db7f View commit details
    Browse the repository at this point in the history
  6. Try PACKET_MR_PROMISC

    seladb authored Nov 26, 2024
    Configuration menu
    Copy the full SHA
    ddcffe4 View commit details
    Browse the repository at this point in the history
  7. Update RawSocketDevice.cpp

    seladb authored Nov 26, 2024
    Configuration menu
    Copy the full SHA
    ae35e84 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Fix a bug

    seladb authored Nov 27, 2024
    Configuration menu
    Copy the full SHA
    c43c56d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e898399 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e82294 View commit details
    Browse the repository at this point in the history