You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mihaelamartinas edited this page May 24, 2013
·
1 revision
Raw sockets
PF_SWITCH sockets created for LiSA must be replaced because they needed modifications in kernel space. Some back-end implementation won't allow us to do this kind of modification so a generic solution was found.
For receiving packets libpcap was used. To be able to compile the following libraries should be installed:
libpcap libpcap-devel
The sockets which were previously created as PF_SWITCH sockets are now created as PF_PACKET. Packet sending is made using send for the created socket.