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

Modifications to PR#149 #260

Merged
merged 4 commits into from Aug 12, 2016
Merged

Modifications to PR#149 #260

merged 4 commits into from Aug 12, 2016

Conversation

guedou
Copy link
Member

@guedou guedou commented Aug 9, 2016

Here are some modifications to PR#149 that aims to survive truncated interface names returned by netstat on OS X. Compared to the original PR, this one adds a regression test to ensure that the patch works correctly.

@hellais & @Osso could you confirm that this PR fixes your issues ? Thanks.

@p-l- could you squash when you will merge ?

hellais and others added 4 commits May 18, 2016 17:10
When interface names are longer than 7 characters netstat will truncate
them to the first 7 chars which leads to looking up an invalid interface
name.
We attempt to guess the name of the interface based on the output of
ifconfig -l. If there is only one candate we consider that otherwise we
ignore it.
@guedou guedou changed the title Modification to PR#149 Modifications to PR#149 Aug 9, 2016
@p-l- p-l- merged commit 02ae08b into secdev:master Aug 12, 2016
@guedou guedou deleted the osx_netstat_truncated branch September 11, 2017 14:02
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.

None yet

3 participants