Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added proc_net_tcp parser #421

Merged
merged 2 commits into from
Jul 15, 2023

Conversation

AlvinSolomon
Copy link
Contributor

PR for #420

@kellyjonbrazil
Copy link
Owner

Thanks! Will take a closer look in the next few days.

Copy link
Owner

@kellyjonbrazil kellyjonbrazil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great - just think we should rename a couple fields.

Comment on lines +36 to +45
"tm->when": string,
"retrnsmt": string,
"uid": string,
"timeout": string,
"inode": string,
"sock_ref_count": string,
"sock_mem_loc": string,
"retransmit_timeout": string,
"soft_clock_tick": string,
"(ack.quick<<1)|ack.pingpong": string,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we rename the tm->when and (ack.quick<<1)|ack.pingpong fields. I try to keep field-names to only alphanumerics and underscores.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, should any of these values be converted to ints or floats?

@kellyjonbrazil
Copy link
Owner

I'll go ahead and merge this into dev and clean up a couple things. Thank you for the contribution!

@kellyjonbrazil kellyjonbrazil merged commit 0f41b0b into kellyjonbrazil:dev Jul 15, 2023
kellyjonbrazil added a commit that referenced this pull request Jul 30, 2023
* version bump

* fix regex for crlf line endings

* Completed Ip_route parser (#429)

* tests

* Merge pull request #398 from kellyjonbrazil/dev

Dev v1.23.2

* Merge pull request #398 from kellyjonbrazil/dev

Dev v1.23.2

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
Co-authored-by: Jjack3032 <julian.jackson@parsons.us>

* formatting

* doc update

* use splitlines

* formatting

* formatting

* Parser for `find` linux command (#434)

* Added find parser and tests for Centos 7.7 and Ubuntu 18.04

* Added a test file, changed logic, and included a case for permission denied returned by find.

* Added a few more lines to the tests

* Changed logic for setting values to null and updated test cases.

* doc update

* doc update

* Added proc_net_tcp parser (#421)

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>

* clean up net_tcp parser

* add resolve.conf test files

* doc update

* add resolve.conf parser

* doc update

* add sortlist functionality

* add resolve.conf parser tests

* doc update

---------

Co-authored-by: Julian5555 <58196809+Julian5555@users.noreply.github.com>
Co-authored-by: Jjack3032 <julian.jackson@parsons.us>
Co-authored-by: solomonleang <124934439+solomonleang@users.noreply.github.com>
Co-authored-by: AlvinSolomon <41175627+AlvinSolomon@users.noreply.github.com>
sumezulike pushed a commit to sumezulike/jc that referenced this pull request Sep 21, 2023
* version bump

* fix regex for crlf line endings

* Completed Ip_route parser (kellyjonbrazil#429)

* tests

* Merge pull request kellyjonbrazil#398 from kellyjonbrazil/dev

Dev v1.23.2

* Merge pull request kellyjonbrazil#398 from kellyjonbrazil/dev

Dev v1.23.2

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
Co-authored-by: Jjack3032 <julian.jackson@parsons.us>

* formatting

* doc update

* use splitlines

* formatting

* formatting

* Parser for `find` linux command (kellyjonbrazil#434)

* Added find parser and tests for Centos 7.7 and Ubuntu 18.04

* Added a test file, changed logic, and included a case for permission denied returned by find.

* Added a few more lines to the tests

* Changed logic for setting values to null and updated test cases.

* doc update

* doc update

* Added proc_net_tcp parser (kellyjonbrazil#421)

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>

* clean up net_tcp parser

* add resolve.conf test files

* doc update

* add resolve.conf parser

* doc update

* add sortlist functionality

* add resolve.conf parser tests

* doc update

---------

Co-authored-by: Julian5555 <58196809+Julian5555@users.noreply.github.com>
Co-authored-by: Jjack3032 <julian.jackson@parsons.us>
Co-authored-by: solomonleang <124934439+solomonleang@users.noreply.github.com>
Co-authored-by: AlvinSolomon <41175627+AlvinSolomon@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants