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)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2006-03-29 19:40 UTC by Peter
Modified: 2022-10-17 12:38 UTC (History)
0 users

See Also:


Attachments
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 1.2.3.4 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
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:38:26 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>