Created attachment 437403 [details]
Wherever nc accepts a range of ports, it should also support one or more individual ports or port ranges separated by commas.
As it happens, this is very easy to implement with minor changes to a single function. I've attached a patch.
I can't figure out how to submit an upstream bug about this (the URL in the RPM appears to refer to a repository directory, not to a maintainer's web page), so I'm submitting the patch here. If you'd prefer for me to upstream it, just tell me how ;-).
The patch is a lot less ominous than it looks because I had to indent a big block of code which wasn't actually modified other than the indenting.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I've patched the man page as well. I won't submit those to the upstream developers for now since we currently have a really old version in Fedora. I plan to update to the latest snapshots and port our patches in the near future.
nc-1.84-23.fc13 has been submitted as an update for Fedora 13.
nc-1.84-23.fc14 has been submitted as an update for Fedora 14.
nc-1.84-23.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update nc'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/nc-1.84-23.fc13
nc-1.84-23.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
nc-1.84-23.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.