9 Commits

Author SHA1 Message Date
Andrew Rioux
5ab43a10fe
fix: fixing revshell example and its routes 2023-05-12 01:16:52 -04:00
Andrew Rioux
978d7cb089 chore: run cargo fmt 2023-05-06 22:50:34 -04:00
Andrew Rioux
24dff10b6b feat: added AggregateInterface
AggregateInterface can be used to gather multiple libpcap interfaces
together in order to listen to all simultaneously and also selectively
send on different interfaces
2023-05-06 22:48:04 -04:00
Andrew Rioux
cfdf8f7e86 refactor: simplified route query code
fighting the borrow checker
2023-05-06 22:47:40 -04:00
Andrew Rioux
c16bf366b7 fix: fixed weird issues with querying routes
this just involved a better understanding of the data
types provided by libnl and some refactoring to make querying
as a user of the libnl library easier
2023-05-06 22:46:42 -04:00
Andrew Rioux
1165d687ff docs: added basic documentation to libnl 2023-05-06 22:45:30 -04:00
Andrew Rioux
113a43ac41 refactor: cleaned up some code
there was an attempt to use libnl to look up addresses directly with
FIB_LOOKUP, and some of that code was left over. This commit cleans up
such leftover code
2023-05-06 22:44:40 -04:00
Andrew Rioux
95b5f3ee82 feat: added basic wrapper around libnl 2023-05-06 22:44:31 -04:00
Andrew Rioux
da9aa2178c feat: added basic rust wrapper around libnl 2023-05-06 22:44:23 -04:00