TransWikia.com

How to scan for minecraft lan games via terminal

Arqade Asked by Pudgy Poppins on January 1, 2021

I’m trying to figure out how to scan for Minecraft lan games on a local network. When I open up the game itself, the scan happens very quickly and almost immediately returns a list of local ip’s and their respective ports. However, I don’t want to keep the game open in the background just to check for active ports, I’d like to do it with a script.

I tried to use nmap to scan for specific ports, but as far as I can tell, Minecraft games on lan have no set port range. It’s too slow to scan every ip on the network on the tens of thousands ports that Minecraft can use.

The closest thing I’ve found to an answer is on this question, although I’m not sure how applicable it is based on the time period (4 years ago, and since then the game has gone over significant development) and the fact that I do not have to worry about multiple switches.

Also on my quest for research, I looked at something about broadcast packets. However, I’m not sure where to begin with this, or if this can even be used to work for my goals.

So my overall goal is to use (Linux) terminal to search for Minecraft games on my local network (lan). Really, any pointers on how to achieve this would be great, or if someone could just point me in the right direction. At least I now know that it is infeasible to use nmap.

Thanks! Let me know if I need to edit this question.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP