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

conn: use is_local instead of localhost addr tests #2627

Merged
merged 2 commits into from
Apr 3, 2019

Conversation

msimerson
Copy link
Member

Issue

When I run a command like haraka -c /data --qunstick example.com I get back an error telling me I'm not allowed to run INTERNALCMD remotely. Combined with haraka/haraka-net-utils#40, this fixes that by extending the is_local_ip checks to include IPs bound to local interfaces.

Related to haraka/haraka-net-utils#40

Checklist:

  • docs updated
  • tests updated
  • Changes updated

@codecov
Copy link

codecov bot commented Apr 2, 2019

Codecov Report

Merging #2627 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2627   +/-   ##
======================================
  Coverage    59.7%   59.7%           
======================================
  Files          29      29           
  Lines        6386    6386           
  Branches     1587    1587           
======================================
  Hits         3813    3813           
  Misses       2573    2573
Impacted Files Coverage Δ
connection.js 51.07% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bddf0ee...e5ac9f0. Read the comment docs.

@codecov
Copy link

codecov bot commented Apr 2, 2019

Codecov Report

Merging #2627 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2627   +/-   ##
======================================
  Coverage    59.7%   59.7%           
======================================
  Files          29      29           
  Lines        6386    6386           
  Branches     1587    1587           
======================================
  Hits         3813    3813           
  Misses       2573    2573
Impacted Files Coverage Δ
connection.js 51.07% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bddf0ee...9626447. Read the comment docs.

@baudehlo baudehlo merged commit 6913ae3 into haraka:master Apr 3, 2019
@msimerson msimerson deleted the is-local branch April 3, 2019 00:46
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