Skip to content

packetcapr is expecting to capture traffic on the lowest interface number #2

@samodid

Description

@samodid

Is it possible to tell packetcapr interface where to capture traffic ?

If system has several interfaces and one of them with anycast IP, I would like to be able to pass interface name as an option. I have to trick it with interface naming on system level, it would be cool to have that as an option.

I'm not rust expert but as I can see, the logic of interface selection located here

let main_device = Device::lookup().unwrap();

Thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions