Re:Spoilerwall: Respond to port scanning requests with movie...
by adrianN on Tuesday June 27, 2017 @03:21AM
(#14643146)
Surely some enterprising hacker can optimize Nyancat so that a normal server can saturate a gigabit connection without killing the CPU.
[ Parent
| on HN ]
Re:Spoilerwall: Respond to port scanning requests with movie...
by dsl on Tuesday June 27, 2017 @01:40PM
(#14647487)
I can't seem to edit my post anymore, but the machine in question was a tiny little VM used as an SSH jump host. The specs were minimal. It was the only machine that wasn't firewalled to hell and back, which is why I did the Nyancat there.
I'm working on deploying an enterprise grade NaaS solution across a large cluster of servers, stay tuned!
Re:Spoilerwall: Respond to port scanning requests with movie...
by swiley on Tuesday June 27, 2017 @09:38AM
(#14645240)
"Line Rate Nyan via Direct Networking"
Re:Spoilerwall: Respond to port scanning requests with movie...
by jwilk on Tuesday June 27, 2017 @12:44PM
(#14646954)
ncfd = open("/dev/nyancat", O_RDONLY);
while (...) {
sendfile(sockfd, ncfd, ...);
}
Re:Spoilerwall: Respond to port scanning requests with movie...
by nobodyorother on Tuesday June 27, 2017 @05:25PM
(#14649601)
No way you can open the nyancat device as read-only. Clearly, it only opens as O_ORLY.