Displaying 2 results from an estimated 2 matches for "magic_packet".
2020 May 18
1
ether-wake
...C wrote:
> what port does ether-wake use?? (I believe it is port 9? but not sure).
The 'ether-wake' command in net-tools doesn't use a port at all. It's
just a raw packet of EtherType 0x0842 as the so-called "Magic Packet"
<https://en.wikipedia.org/wiki/Wake-on-LAN#Magic_packet>
For example, if you were to run:
(assuming interface name 'eth0')
# tcpdump -i eth0 ether proto 0x0842
You'd see the ether-wake command's packet. If you strace the process,
you'll see the socket is created as
socket(AF_PACKET, SOCK_RAW, htons(0)).
--
Jonathan Billings...
2020 May 09
4
Transparent Squid and FirewallD : fine-tuning question
Hi,
I just setup a very basic HTTP proxy with Squid on a router running CentOS 7.
Up until early 2020 I've been using a bone-headed shell script with iptables to
configure my firewall. But I decided to follow advice from a few gurus on this
list, and I've since moved my configurations to FirewallD, which works nicely.
There's one configuration left to tackle, that's port