(have mercy on me networking nerds, I’m still learning)
flashbacks to when I had to figure out PXE boot
Submitted 6 days ago by heythatsprettygood@feddit.uk to [deleted]
https://feddit.uk/pictrs/image/cd5a8569-8916-46ae-9bd3-34d555e9be74.webp
(have mercy on me networking nerds, I’m still learning)
flashbacks to when I had to figure out PXE boot
Flashbacks to this week learning about it and its nice big vulnerability.
Fun fact, ipv6 was designed to fix this. Everything is multicast and, in theory, a switch could snoop MLD and create a nice map so that “where is the router?” Would send only to routers, and “whose got this up address?” Would send to a small group, usually with only the correct target in it.
However, it’s almost always just blasted out to everyone, and every network I’ve seen that has the mld snooping actually trying to do something just breaks ipv6 in various ways.
neigh? ra!
Eli5?
When your computer connects to the network, it asks for it’s address on the network. As it does not know where to ask, it sends a broadcast message to all computers on the same network (address 255.255.255.255). The service it wants to read is the DHCP service located on the servers’ port 67, therefore the :67 after the address.
The address it gets in return is always only temporary. The server admin can define how long such lease lasts, and when a computer calls the DHCP again later (before the lease runs out) it gets the same address, and the lease timer starts again.
Some networks with high turnover (guest networks in a cafe, or similar) have rather fast lease expiries, therefor leading to regular requests.
rockSlayer@lemmy.blahaj.zone 6 days ago
No place like 127.0.0.1
BigBrownBeaver@lemmy.world 6 days ago
Oh hi neighbor. Mine is 127.0.0.2
oha@lemmy.pobierz.net 5 days ago
what about ::1?
MonkderVierte@lemmy.zip 5 days ago
Btw, you should replace 127.0.1.1 with a permanent address.