6 comments

[ 3.3 ms ] story [ 15.6 ms ] thread
Hey HN, liwasc, a project I've been working on for about half a year, is finally ready! It is a fast network scanner, port scanner and WoL server with a gRPC API and a PWA frontend.

I'd love to get your feedback :)

This is pretty neat. Your login splash page is pretty.

Out of curiosity, what is your use case for WoL? I have literally never used it and can't imagine many scenarios where it might be useful. (Sorry for the slightly off-topic question, but I figure if you built this it must be scratching an itch that you have.)

Thanks! I have some servers/RPIs at offsite locations (read: I travel between my student dorm and my parent's, one of them has slow DSL and the other one synchronous gigabit) to which I don't have personal access to most of the time (my development server running pojde[1] for example). Using liwasc I can remotely turn them on in case I accidentally or intentionally turn them off (happened more than once) and check if the services on them are running properly using the periodic background scans. So the "lights off"-datacenter, basically - I just put liwasc on a RPI in the LAN, expose it to the net et voilà :)

[1] https://github.com/pojntfx/pojde

Glad to see more open source options (I develop and maintain Scantron https://github.com/rackerlabs/scantron/) when it comes to network scanning! Appreciate your contribution to the community.

So you're not using nmap under the hood?

What's the largest IP space you've tested it on so far?

Scantron looks pretty awesome! liwasc isn't using nmap internally, the entire network scanner part (https://github.com/pojntfx/liwasc/blob/main/pkg/scanners/nod...) is <150 SLOC and the port scanner is <250 SLOC. Go has some really nice low-level networking APIs, especially when combined with `gopacket`.

I haven't really tested it on anything larger than /28 - it should probably work on larger ones as well though (it limits the maximum concurrent port & network scans so that ulimit etc. aren't an issue) :)

Nice...looking forward to seeing this evolve!