Does it matter what UDP port a WOL signal is sent to?
i have seen many WOL instances use port 7 and many use port 9, does it matter?
Isn't it just looking for a WOL packet at layer 2 or ethernet?
ethernet port wake-on-lan udp
add a comment |
i have seen many WOL instances use port 7 and many use port 9, does it matter?
Isn't it just looking for a WOL packet at layer 2 or ethernet?
ethernet port wake-on-lan udp
add a comment |
i have seen many WOL instances use port 7 and many use port 9, does it matter?
Isn't it just looking for a WOL packet at layer 2 or ethernet?
ethernet port wake-on-lan udp
i have seen many WOL instances use port 7 and many use port 9, does it matter?
Isn't it just looking for a WOL packet at layer 2 or ethernet?
ethernet port wake-on-lan udp
ethernet port wake-on-lan udp
asked Jun 10 '11 at 5:52
rjtrjt
64921016
64921016
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
@Spiff is correct that it doesn't matter as far as the Wake-on-LAN functionality of the intended recipient goes. However, UDP is recommended because it can be generated without raw sockets which come with security restrictions, and port 9 is recommended because it maps to the old well-known discard protocol whereas port 7 maps to the echo protocol.
This means that if there are hosts on your network that support these old simple standard services you will get unnecessary backscatter traffic when using port 7 but none when using port 9. And since Wake-on-LAN is normally broadcasted, you could get backscatter from many hosts.
Further, if you are troubleshooting WoL with a network sniffer such as Wireshark, it will decode WoL packets properly only if they are UDP packets on port 9.
2
Thanks, that was informative! Turned out Intel vPro nics discard and ignore WOL packets completely and of course turns out these were vPro machines I was trying to wake.
– rjt
Jan 23 '16 at 1:14
add a comment |
Nope, it doesn't matter. It doesn't even have to be a UDP or an IP packet at all. The NIC is just looking for the magic pattern (six bytes of 0xff, then its own MAC address 16 times) in all the frames it sees.
"in all the frames it sees" --- so the 6x0xff + 16xMAC can be in a single frame?
– rjt
Jun 13 '11 at 22:42
@rjt Yes, the magic pattern can be in a single frame. In fact, it probably has to be. I doubt it would work if it was split between frames.
– Spiff
Jun 13 '11 at 22:52
1
So this will even work if you egress the WoL-VLAN tagged toward the end user (if not otherwise possible)?
– Marki
Mar 10 '17 at 9:24
add a comment |
When I woke my computer using port 9 it would restart instead of coming out of sleep. For the life of me I couldn't figure out what I did wrong. I tried using port 7 and instead of restarting it woke up normally. It doesn't seem to matter most of the time which you use, but for my hardware I need to use port 7.
3
for the sake of knowing, what hardware was it that behaved this way? sounds like port 9 was being used as a sort of ILO instead of WOL.
– Shaun Wilson
Dec 3 '16 at 20:28
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f295325%2fdoes-it-matter-what-udp-port-a-wol-signal-is-sent-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
@Spiff is correct that it doesn't matter as far as the Wake-on-LAN functionality of the intended recipient goes. However, UDP is recommended because it can be generated without raw sockets which come with security restrictions, and port 9 is recommended because it maps to the old well-known discard protocol whereas port 7 maps to the echo protocol.
This means that if there are hosts on your network that support these old simple standard services you will get unnecessary backscatter traffic when using port 7 but none when using port 9. And since Wake-on-LAN is normally broadcasted, you could get backscatter from many hosts.
Further, if you are troubleshooting WoL with a network sniffer such as Wireshark, it will decode WoL packets properly only if they are UDP packets on port 9.
2
Thanks, that was informative! Turned out Intel vPro nics discard and ignore WOL packets completely and of course turns out these were vPro machines I was trying to wake.
– rjt
Jan 23 '16 at 1:14
add a comment |
@Spiff is correct that it doesn't matter as far as the Wake-on-LAN functionality of the intended recipient goes. However, UDP is recommended because it can be generated without raw sockets which come with security restrictions, and port 9 is recommended because it maps to the old well-known discard protocol whereas port 7 maps to the echo protocol.
This means that if there are hosts on your network that support these old simple standard services you will get unnecessary backscatter traffic when using port 7 but none when using port 9. And since Wake-on-LAN is normally broadcasted, you could get backscatter from many hosts.
Further, if you are troubleshooting WoL with a network sniffer such as Wireshark, it will decode WoL packets properly only if they are UDP packets on port 9.
2
Thanks, that was informative! Turned out Intel vPro nics discard and ignore WOL packets completely and of course turns out these were vPro machines I was trying to wake.
– rjt
Jan 23 '16 at 1:14
add a comment |
@Spiff is correct that it doesn't matter as far as the Wake-on-LAN functionality of the intended recipient goes. However, UDP is recommended because it can be generated without raw sockets which come with security restrictions, and port 9 is recommended because it maps to the old well-known discard protocol whereas port 7 maps to the echo protocol.
This means that if there are hosts on your network that support these old simple standard services you will get unnecessary backscatter traffic when using port 7 but none when using port 9. And since Wake-on-LAN is normally broadcasted, you could get backscatter from many hosts.
Further, if you are troubleshooting WoL with a network sniffer such as Wireshark, it will decode WoL packets properly only if they are UDP packets on port 9.
@Spiff is correct that it doesn't matter as far as the Wake-on-LAN functionality of the intended recipient goes. However, UDP is recommended because it can be generated without raw sockets which come with security restrictions, and port 9 is recommended because it maps to the old well-known discard protocol whereas port 7 maps to the echo protocol.
This means that if there are hosts on your network that support these old simple standard services you will get unnecessary backscatter traffic when using port 7 but none when using port 9. And since Wake-on-LAN is normally broadcasted, you could get backscatter from many hosts.
Further, if you are troubleshooting WoL with a network sniffer such as Wireshark, it will decode WoL packets properly only if they are UDP packets on port 9.
edited Feb 17 '16 at 10:21
answered Jan 22 '16 at 15:06
WinTakeAllWinTakeAll
361310
361310
2
Thanks, that was informative! Turned out Intel vPro nics discard and ignore WOL packets completely and of course turns out these were vPro machines I was trying to wake.
– rjt
Jan 23 '16 at 1:14
add a comment |
2
Thanks, that was informative! Turned out Intel vPro nics discard and ignore WOL packets completely and of course turns out these were vPro machines I was trying to wake.
– rjt
Jan 23 '16 at 1:14
2
2
Thanks, that was informative! Turned out Intel vPro nics discard and ignore WOL packets completely and of course turns out these were vPro machines I was trying to wake.
– rjt
Jan 23 '16 at 1:14
Thanks, that was informative! Turned out Intel vPro nics discard and ignore WOL packets completely and of course turns out these were vPro machines I was trying to wake.
– rjt
Jan 23 '16 at 1:14
add a comment |
Nope, it doesn't matter. It doesn't even have to be a UDP or an IP packet at all. The NIC is just looking for the magic pattern (six bytes of 0xff, then its own MAC address 16 times) in all the frames it sees.
"in all the frames it sees" --- so the 6x0xff + 16xMAC can be in a single frame?
– rjt
Jun 13 '11 at 22:42
@rjt Yes, the magic pattern can be in a single frame. In fact, it probably has to be. I doubt it would work if it was split between frames.
– Spiff
Jun 13 '11 at 22:52
1
So this will even work if you egress the WoL-VLAN tagged toward the end user (if not otherwise possible)?
– Marki
Mar 10 '17 at 9:24
add a comment |
Nope, it doesn't matter. It doesn't even have to be a UDP or an IP packet at all. The NIC is just looking for the magic pattern (six bytes of 0xff, then its own MAC address 16 times) in all the frames it sees.
"in all the frames it sees" --- so the 6x0xff + 16xMAC can be in a single frame?
– rjt
Jun 13 '11 at 22:42
@rjt Yes, the magic pattern can be in a single frame. In fact, it probably has to be. I doubt it would work if it was split between frames.
– Spiff
Jun 13 '11 at 22:52
1
So this will even work if you egress the WoL-VLAN tagged toward the end user (if not otherwise possible)?
– Marki
Mar 10 '17 at 9:24
add a comment |
Nope, it doesn't matter. It doesn't even have to be a UDP or an IP packet at all. The NIC is just looking for the magic pattern (six bytes of 0xff, then its own MAC address 16 times) in all the frames it sees.
Nope, it doesn't matter. It doesn't even have to be a UDP or an IP packet at all. The NIC is just looking for the magic pattern (six bytes of 0xff, then its own MAC address 16 times) in all the frames it sees.
answered Jun 10 '11 at 7:18
SpiffSpiff
77k10117163
77k10117163
"in all the frames it sees" --- so the 6x0xff + 16xMAC can be in a single frame?
– rjt
Jun 13 '11 at 22:42
@rjt Yes, the magic pattern can be in a single frame. In fact, it probably has to be. I doubt it would work if it was split between frames.
– Spiff
Jun 13 '11 at 22:52
1
So this will even work if you egress the WoL-VLAN tagged toward the end user (if not otherwise possible)?
– Marki
Mar 10 '17 at 9:24
add a comment |
"in all the frames it sees" --- so the 6x0xff + 16xMAC can be in a single frame?
– rjt
Jun 13 '11 at 22:42
@rjt Yes, the magic pattern can be in a single frame. In fact, it probably has to be. I doubt it would work if it was split between frames.
– Spiff
Jun 13 '11 at 22:52
1
So this will even work if you egress the WoL-VLAN tagged toward the end user (if not otherwise possible)?
– Marki
Mar 10 '17 at 9:24
"in all the frames it sees" --- so the 6x0xff + 16xMAC can be in a single frame?
– rjt
Jun 13 '11 at 22:42
"in all the frames it sees" --- so the 6x0xff + 16xMAC can be in a single frame?
– rjt
Jun 13 '11 at 22:42
@rjt Yes, the magic pattern can be in a single frame. In fact, it probably has to be. I doubt it would work if it was split between frames.
– Spiff
Jun 13 '11 at 22:52
@rjt Yes, the magic pattern can be in a single frame. In fact, it probably has to be. I doubt it would work if it was split between frames.
– Spiff
Jun 13 '11 at 22:52
1
1
So this will even work if you egress the WoL-VLAN tagged toward the end user (if not otherwise possible)?
– Marki
Mar 10 '17 at 9:24
So this will even work if you egress the WoL-VLAN tagged toward the end user (if not otherwise possible)?
– Marki
Mar 10 '17 at 9:24
add a comment |
When I woke my computer using port 9 it would restart instead of coming out of sleep. For the life of me I couldn't figure out what I did wrong. I tried using port 7 and instead of restarting it woke up normally. It doesn't seem to matter most of the time which you use, but for my hardware I need to use port 7.
3
for the sake of knowing, what hardware was it that behaved this way? sounds like port 9 was being used as a sort of ILO instead of WOL.
– Shaun Wilson
Dec 3 '16 at 20:28
add a comment |
When I woke my computer using port 9 it would restart instead of coming out of sleep. For the life of me I couldn't figure out what I did wrong. I tried using port 7 and instead of restarting it woke up normally. It doesn't seem to matter most of the time which you use, but for my hardware I need to use port 7.
3
for the sake of knowing, what hardware was it that behaved this way? sounds like port 9 was being used as a sort of ILO instead of WOL.
– Shaun Wilson
Dec 3 '16 at 20:28
add a comment |
When I woke my computer using port 9 it would restart instead of coming out of sleep. For the life of me I couldn't figure out what I did wrong. I tried using port 7 and instead of restarting it woke up normally. It doesn't seem to matter most of the time which you use, but for my hardware I need to use port 7.
When I woke my computer using port 9 it would restart instead of coming out of sleep. For the life of me I couldn't figure out what I did wrong. I tried using port 7 and instead of restarting it woke up normally. It doesn't seem to matter most of the time which you use, but for my hardware I need to use port 7.
edited Aug 14 '14 at 13:31
gronostaj
28.2k1369107
28.2k1369107
answered Aug 14 '14 at 13:27
BrandonBrandon
6111
6111
3
for the sake of knowing, what hardware was it that behaved this way? sounds like port 9 was being used as a sort of ILO instead of WOL.
– Shaun Wilson
Dec 3 '16 at 20:28
add a comment |
3
for the sake of knowing, what hardware was it that behaved this way? sounds like port 9 was being used as a sort of ILO instead of WOL.
– Shaun Wilson
Dec 3 '16 at 20:28
3
3
for the sake of knowing, what hardware was it that behaved this way? sounds like port 9 was being used as a sort of ILO instead of WOL.
– Shaun Wilson
Dec 3 '16 at 20:28
for the sake of knowing, what hardware was it that behaved this way? sounds like port 9 was being used as a sort of ILO instead of WOL.
– Shaun Wilson
Dec 3 '16 at 20:28
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f295325%2fdoes-it-matter-what-udp-port-a-wol-signal-is-sent-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown