Changes between Version 2 and Version 3 of TBR/UserManual/Controlling_ICMP_ECHO_(PING)_requests
- Timestamp:
- 11/13/18 13:16:18 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TBR/UserManual/Controlling_ICMP_ECHO_(PING)_requests
v2 v3 10 10 The 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. 11 11 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 notechoed. 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.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 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. 13 13 14 '''''allecho''''' set to 0 - prevents all echo 's.[[BR]]14 '''''allecho''''' set to 0 - prevents all echos.[[BR]] 15 15 '''''allecho''''' set to 1, '''''bmcastecho''''' set to 0 - only prevents all broadcast/multcast echo's.[[BR]] 16 16 '''''allecho''''' set to 1, '''''bmcastecho''''' set to 1 - allows all echo's (default state).