Bug 95082 - [patch] ping(8) won't handle large preload patterns
Summary: [patch] ping(8) won't handle large preload patterns
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2006-03-29 19:40 UTC by Peter
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:

file.diff (1.23 KB, patch)
2006-03-29 19:40 UTC, Peter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2006-03-29 19:40:16 UTC
With this patch one can use ping to wake up Wake-on-lan clients. Commands like this becomes possible:
ping -c 1 -s 204 -p FFFFFFFFFFFFFFFFFFFFFFFF112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566112233445566 Broadcast_IP

Mac address from unpowered machines can be fixed with (if you want to avoid broadcast):
arp -S 11:22:33:44:55:66

diff -c patch against 6.0-FreeBSD-RELEASE i386 sources.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:34 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped