#43 cygwin nc crashes after long udp

open
nobody
5
2008-03-31
2008-03-31
Anonymous
No

I teach a class in network security and I'm creating my own compromised image for my students to analyze. So I decide to make a cron job to send a copy of the shadow password file to a listening udp socket. The crontab looks like:

0,10,20,30,40,50 * * * * cat /etc/shadow |nc -u ipadd 53

This much seems to work OK; looking at wireshark, the desired data is sent. I don't know whether it's significant at this point, but the file is broken into two pieces.

However my receiving script locks up after the first transmission (well, the two split parts are both received, but after that--nothing) I'm running Vista (an unfortunate accident, but let's not go into that) and cygwin.

I'll figure out a workaround. But I wanted to alert someone about a possible problem.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks