Changes between Version 2 and Version 3 of TBR/UserManual/Controlling_ICMP_ECHO_(PING)_requests


Ignore:
Timestamp:
11/13/18 13:16:18 (5 years ago)
Author:
taneka zenon hans
Comment:

Error in instructions. Setting allecho sysctl to 0 should prevent echos NOT prevent them from not being echoed

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/Controlling_ICMP_ECHO_(PING)_requests

    v2 v3  
    1010The standard "BSD" way to prevent a ping to a broadcast/multicast address being echoed is to use the '''''bmcastecho''''' sysctl.  Setting this sysctl to 0 will prevent any ping to a broadcast/multicast address being echoed.
    1111
    12 However, some applications also require that ANY ping directed to the device not be echoed.  The BSD network stack utilised by RTEM has no standard feature to allow this.  RTEMS has implemented a non-portable "Extension" to allow all Pings recieved by a device to not be echoed.  This feature is controlled by the '''''allecho''''' sysctl.  Setting this sysctl to 0 will prevent any "ping" to the device to be not echoed.  As this extension is specific to RTEMS, code that uses it will not function as expected on other systems, use with caution if portability is desired.
     12However, some applications also require that ANY ping directed to the device not be echoed.  The BSD network stack utilised by RTEM has no standard feature to allow this.  RTEMS has implemented a non-portable "Extension" to allow all Pings recieved by a device to not be echoed.  This feature is controlled by the '''''allecho''''' sysctl.  Setting this sysctl to 0 will prevent any "ping" to the device from being echoed.  As this extension is specific to RTEMS, code that uses it will not function as expected on other systems, use with caution if portability is desired.
    1313
    14 '''''allecho''''' set to 0 - prevents all echo's.[[BR]]
     14'''''allecho''''' set to 0 - prevents all echos.[[BR]]
    1515'''''allecho''''' set to 1, '''''bmcastecho''''' set to 0 - only prevents all broadcast/multcast echo's.[[BR]]
    1616'''''allecho''''' set to 1, '''''bmcastecho''''' set to 1 - allows all echo's (default state).