Red Hat Bugzilla – Bug 1279974
Improve or replace netstat example
Last modified: 2017-05-24 11:51:23 EDT
Output listing spans more than a single page is difficult to read. Suggest editing the output to only relevant lines that illustrate the concept. A better example may be to pass the LISTEN directive to netstat by passing the -l option: For example: netstat -tlnw. Additionally, the ss utility (part of iproute) may be a better tool overall for this task.
Hello, can you please check the chapter 4.4.2  - I am not sure if three (short) examples are the best way to go. I have already checked some connected bugzillas and it seems we are still waiting for the functionality in the ss utility (SCTP) or kernel to be precise. There is a plenty of commented code in XML and I am (again) not sure if this is right. Thank you.
Thanks Mirek. The suggested changes are OK. I fixed some minor language mistakes that were already there and improved the formatting of the command outputs.
This bug needs to stay open because the functionality has not been ported to RHEL yet. When the problems of the utilities are resolved, the section will need to be reviewed again (and the commented content will be used).
I suggest you add yourself to BZ#1063913, so that you can keep track of the development.
I've reworked the whole Which Ports Are Listening section . I'm going to leave the SCTP ports scanning separated at least for some time (to emphasize that this functionality is now properly working). It seems like the netstat utility is not deprecated (and it's installed by default) even in RHEL 7.4 (I've tried it in the Alpha compose) and therefore I think it would be better to mention both (netstat and ss).
Looks good to me. r+
The update has been published on the Customer Portal