formatting-cleanup #6

Merged
label merged 3 commits from :formatting-cleanup into devel 2022-11-22 03:11:15 +00:00
Contributor

Some formatting clean up but also several minor fixes. See commit messages for slightly more detail on the fixes per file.

Some formatting clean up but also several minor fixes. See commit messages for slightly more detail on the fixes per file.
stack added 2 commits 2022-11-21 21:25:51 +00:00
Owner

The single -d is not valid for the nc command at all when using nmap-ncat. It seems like you have EPEL enabled when trying these tests and thus pulled in netcat and not nmap-ncat.

$ cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"
$ rpm -qf /usr/bin/nc
nmap-ncat-7.70-8.el8.x86_64
$ nc -d
nc: option requires an argument -- 'd'
[label@firemonitor ~]$ cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.1 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.1 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.1"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.1"
[label@firemonitor ~]$ rpm -qf /usr/bin/nc
nmap-ncat-7.91-10.el9.x86_64
[label@firemonitor ~]$ nc -d
nc: option requires an argument -- 'd'
Ncat: Try `--help' or man(1) ncat for more information, usage options and help. QUITTING.
The single `-d` is not valid for the `nc` command at all when using `nmap-ncat`. It seems like you have EPEL enabled when trying these tests and thus pulled in `netcat` and not `nmap-ncat`. ``` $ cat /etc/os-release NAME="Rocky Linux" VERSION="8.6 (Green Obsidian)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="8.6" PLATFORM_ID="platform:el8" PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:rocky:rocky:8:GA" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" ROCKY_SUPPORT_PRODUCT="Rocky Linux" ROCKY_SUPPORT_PRODUCT_VERSION="8" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8" $ rpm -qf /usr/bin/nc nmap-ncat-7.70-8.el8.x86_64 $ nc -d nc: option requires an argument -- 'd' ``` ``` [label@firemonitor ~]$ cat /etc/os-release NAME="Rocky Linux" VERSION="9.1 (Blue Onyx)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="9.1" PLATFORM_ID="platform:el9" PRETTY_NAME="Rocky Linux 9.1 (Blue Onyx)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:9::baseos" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9" ROCKY_SUPPORT_PRODUCT_VERSION="9.1" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="9.1" [label@firemonitor ~]$ rpm -qf /usr/bin/nc nmap-ncat-7.91-10.el9.x86_64 [label@firemonitor ~]$ nc -d nc: option requires an argument -- 'd' Ncat: Try `--help' or man(1) ncat for more information, usage options and help. QUITTING. ```
label requested changes 2022-11-21 22:39:26 +00:00
label left a comment
Owner

Undo the nc change and rebase on latest devel commit. EPEL should not be enabled. Only packages from the base should be used.

Undo the `nc` change and rebase on latest `devel` commit. EPEL should not be enabled. Only packages from the base should be used.
stack force-pushed formatting-cleanup from 0e7e7e3c96 to 29659918d4 2022-11-22 01:44:48 +00:00 Compare
Author
Contributor

Thanks @label ! Good catch. Confirmed that was the issue. I rebased to remove that erronious commit and added a note in the FAQ.

Thanks @label ! Good catch. Confirmed that was the issue. I rebased to remove that erronious commit and added a note in the FAQ.
stack requested review from label 2022-11-22 03:00:28 +00:00
label merged commit 29ca509d40 into devel 2022-11-22 03:11:15 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sig_core/toolkit#6
No description provided.