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

Invoker not redirecting to port 80 after installing Network Link Conditioner on Mac OS #162

Open
ProGM opened this issue Feb 16, 2016 · 3 comments

Comments

@ProGM
Copy link
Contributor

ProGM commented Feb 16, 2016

I installed Network Link Conditioner from Xcode, to test a slow internet connection on my mac.

http://stackoverflow.com/questions/9659382/installing-apples-network-link-conditioner-tool

After installing it, all my tld requests to port 80 are not working, and I have to address to mydomain.dev:3000, instead of mydomain.dev.
I think that network link conditioner did some mess with my firewall configurations, but I checked /etc/pf.conf, but it seems clean.

Here's my pfctl -s all output:

No ALTQ support in kernel
ALTQ related functions disabled
TRANSLATION RULES:
nat-anchor "com.apple/*" all
rdr-anchor "com.apple/*" all

FILTER RULES:
scrub-anchor "com.apple/*" all fragment reassemble
anchor "com.apple/*" all

DUMMYNET RULES:
dummynet-anchor "com.apple/*" all

INFO:
Status: Enabled for 0 days 07:05:00           Debug: Urgent

State Table                          Total             Rate
  current entries                        0
  searches                         1448250           56.8/s
  inserts                               26            0.0/s
  removals                              26            0.0/s
Counters
  match                            1325690           52.0/s
  bad-offset                             0            0.0/s
  fragment                               0            0.0/s
  short                                  0            0.0/s
  normalize                              0            0.0/s
  memory                                 0            0.0/s
  bad-timestamp                          0            0.0/s
  congestion                             0            0.0/s
  ip-option                            442            0.0/s
  proto-cksum                            0            0.0/s
  state-mismatch                         0            0.0/s
  state-insert                           0            0.0/s
  state-limit                            0            0.0/s
  src-limit                              0            0.0/s
  synproxy                               0            0.0/s
  dummynet                           43681            1.7/s

TIMEOUTS:
tcp.first                   120s
tcp.opening                  30s
tcp.established           86400s
tcp.closing                 900s
tcp.finwait                  45s
tcp.closed                   90s
tcp.tsdiff                   60s
udp.first                    60s
udp.single                   30s
udp.multiple                120s
icmp.first                   20s
icmp.error                   10s
grev1.first                 120s
grev1.initiating             30s
grev1.estblished           1800s
esp.first                   120s
esp.estblished              900s
other.first                  60s
other.single                 30s
other.multiple              120s
frag                         30s
interval                     10s
adaptive.start             6000 states
adaptive.end              12000 states
src.track                     0s

LIMITS:
states        hard limit    10000
app-states    hard limit    10000
src-nodes     hard limit    10000
frags         hard limit     5000
tables        hard limit     1000
table-entries hard limit   200000

OS FINGERPRINTS:
696 fingerprints loaded
@etherbob
Copy link

Running into this same issue after using link conditioner (which was already installed). Noticed that invokers firewall rules were unloaded

launchctl unload -w /Library/LaunchDaemons/com.codemancers.invoker.firewall.plist
/Library/LaunchDaemons/com.codemancers.invoker.firewall.plist: Could not find specified service

but reloading them didn't help

pinging the .dev url works fine, but curl gets refused on port 80

@etherbob
Copy link

Of note rebooting after turning off conditioner (but leaving it installed) seems to restore everything.

@oleg-vinted
Copy link

Might be related: #248

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

No branches or pull requests

3 participants