[conntrackd][plugin] add conntrack info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Low
|
Hemanth Nakkina | ||
Bionic |
Fix Released
|
Low
|
Mauricio Faria de Oliveira | ||
Focal |
Fix Released
|
Low
|
Mauricio Faria de Oliveira | ||
Groovy |
Fix Released
|
Low
|
Mauricio Faria de Oliveira | ||
Hirsute |
Fix Released
|
Low
|
Hemanth Nakkina |
Bug Description
[Impact]
* The plugin conntrackd is renamed to conntrack.
(enabled automatically per installed packages.)
* Added the following conntrack commands to the plugin,
which run on default and other network namespaces:
conntrack -L -o extended
conntrack -S
[Test Case]
* Install sosreport
* sosreport -a will exercise 'conntrack' plugin if one of the following packages installation is met: ('conntrack-tools', 'conntrack', 'conntrackd'),
* Alternative way to exercise the plugin :
** 'sosreport -o conntrack'
** 'sos report -o conntrack'
* Then a sosreport tarball will be generated under /tmp
* Extract that said tarball, and look under /path_to_
And one should see 2 new files, one for each new commands added by this command, for the default and other network namespaces.
[Regression Potential]
* The plugin is renamed from 'conntrackd' to 'conntrack'.
If one has a plugin_options in /etc/sos/sos.conf specific to former name 'conntrackd' (e.g skip the plugin, enable the plugin, ...) well it won't be effective anymore, and one would need to update their config file to reflect new reality of the plugin name change. But it's very uncommon to see users using such plugin options. Very unlikely to happen.
* conntrack -L -o extended
Show the connection tracking table in /proc/net/
* conntrack -S
-S, --stats
Show the in-kernel connection tracking system statistics.
The new commands addition are harmless, and if a problem arise it will be isolated to the 'conntrack' plugin and won't affect other plugins nor sosreport core functionalities.
[Other Info]
Closes: https:/
Origin: https:/
Resolves: https:/
tags: | added: seg sts |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Focal): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Bionic): | |
assignee: | Eric Desrochers (slashd) → Hemanth Nakkina (hemanth-n) |
Changed in sosreport (Ubuntu Groovy): | |
assignee: | Hemanth Nakkina (hemanth-n) → Mauricio Faria de Oliveira (mfo) |
Changed in sosreport (Ubuntu Focal): | |
assignee: | Hemanth Nakkina (hemanth-n) → Mauricio Faria de Oliveira (mfo) |
Changed in sosreport (Ubuntu Bionic): | |
assignee: | Hemanth Nakkina (hemanth-n) → Mauricio Faria de Oliveira (mfo) |
description: | updated |
@hemanth @hillpd
Could you work at producing a debdiff for g/f/b when your time permit ?
I'll be happy to sponsor the patch.
Regards,
Eric