Skip to content

Commit

Permalink
ned: refined text for ExtEthernetSocket
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgeorge309 committed Mar 13, 2024
1 parent dca3dd3 commit 7d625c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/inet/emulation/linklayer/ethernet/ExtEthernetSocket.ned
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ package inet.emulation.linklayer.ethernet;

//
// This module provides a bidirectional connection to an ethernet socket of the
// host computer which is running the simulation. It writes the packets arrived
// host computer which is running the simulation. It writes the packets that arrive
// on 'upperLayerIn' gate to the specified real socket, and sends out packets
// arrived from the real socket on 'upperLayerOut' gate.
// that arrive from the real socket on the 'upperLayerOut' gate.
//
// The CAP_NET_RAW privilege requires for using ExtEthernetSocket.
// The CAP_NET_RAW privilege is required for using ExtEthernetSocket.
//
// The next commands adds this privilege to opp_run, so the all simulation
// has the CAP_NET_RAW privilege, all simulations run with this privilege!!!
// The next commands add this privilege to opp_run, so all simulations
// have the CAP_NET_RAW privilege, and all simulations run with this privilege!
// This is dangerous because it enables a thousand other things for all
// running simulations, it becomes a big security hole.
//
// $> sudo setcap cap_net_raw+ep /${your-omnetpp-root}/bin/opp_run_release
// $> sudo setcap cap_net_raw+ep /${your-omnetpp-root}/bin/opp_run_dbg
//
// For remove extra privileges after run the simulation, use next commands:
// To remove extra privileges after running the simulation, use the following commands:
//
// $> sudo setcap -r /${your-omnetpp-root}/bin/opp_run_release
// $> sudo setcap -r /${your-omnetpp-root}/bin/opp_run_dbg
Expand Down

0 comments on commit 7d625c8

Please sign in to comment.