Git Product home page Git Product logo

retina's People

Contributors

bokeefe123 avatar sippejw avatar tbarbette avatar thearossman avatar thegwan avatar zakird avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

retina's Issues

If mlx5 is not available the build fails

Compilation fails without mlx5 installed.

I had to remove the default = ["mlx5"] line from core/cargo.toml. It seems --no-default-feature does not work because core is a dependency.

cargo build --release Stuck

Running this command takes forever:

admin@AN450:~/retina/examples$ cargo build --release --bin basic
    Updating git repository `https://github.com/thegwan/pcap`
    Updating crates.io index
       Fetch [                         ]   0.72%, 1.56KiB/s   

DPDK 21.08在vmware 里面 编译错误

root@retina:~# uname -a
Linux retina 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

root@retina:~# cat /etc/issue
Ubuntu 22.04.4 LTS \n \l

会报:

ar: `x' cannot be used on thin archives.

使用 dpdk-stable-21.11.6 不会

URL Filter with Retina

Hello Team,

I'm planning to use retina as URL filter and block selected URL's. Is there any example like DPDK-l2fw as I need to add retina as transparent bridge. Please advice.

3-way Handshake Scenaio

Hi,

I was trying to filter out the TCP packets involved in a 3-way handshake scenario. Are there any pre-built filters that I can utilize to capture the SYN, SYN-ACK and ACK packets?

Program fails with Online config - Intel x710 with DPDK

admin@AN450:~/retina$ sudo env LD_LIBRARY_PATH=$LD_LIBRARY_PATH RUST_LOG=error ./target/release/client_randoms -c configs/online.toml
Initializing Retina runtime...
Ethdev port_id=0 invalid rss_hf: 0x3afbc, valid value: 0x7ef8
thread 'main' panicked at 'Failed to initialize port.: Failed to configure Port 0', /home/admin/retina/core/src/runtime/online.rs:69:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
[2022-10-12T18:28:17Z ERROR retina_core::port] Failed to close Port 0.

RSS flow type assignment not valid on all NICs

I am running Retina in online mode using an Intel X710. I found that during setup I would get the following error:

Ethdev port_id=0 invalid rss_hf: 0x3afbc, valid value: 0x7ef8

This is associated with how Retina configures DPDK RSS:

retina/core/src/port/mod.rs

Lines 297 to 298 in b7b2c9f

port_conf.rx_adv_conf.rss_conf.rss_hf =
(dpdk::ETH_RSS_IP | dpdk::ETH_RSS_TCP | dpdk::ETH_RSS_UDP) as u64;

Changing to port_conf.rx_adv_conf.rss_conf.rss_hf = 0x7ef8; resolves the problem for X710's.

Given the error was able to provide a valid config, I'm expecting there is a way to check the supported types before assignment and configure the field based on what the NIC supports.

0x7ef8 = RTE_ETH_RSS_FRAG_IPV4 | RTE_ETH_RSS_NONFRAG_IPV4_TCP | RTE_ETH_RSS_NONFRAG_IPV4_UDP | RTE_ETH_RSS_NONFRAG_IPV4_SCTP | RTE_ETH_RSS_NONFRAG_IPV4_OTHER | RTE_ETH_RSS_FRAG_IPV6 | RTE_ETH_RSS_NONFRAG_IPV6_TCP | RTE_ETH_RSS_NONFRAG_IPV6_UDP | RTE_ETH_RSS_NONFRAG_IPV6_SCTP | RTE_ETH_RSS_NONFRAG_IPV6_OTHER | RTE_ETH_RSS_L2_PAYLOAD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.