sidestep icon indicating copy to clipboard operation
sidestep copied to clipboard

Ignoring /etc/hosts file

Open cbetta opened this issue 13 years ago • 10 comments

Not sure if this is inherent to how proxies work, but when I connect it seems to ignore any records in my /etc/hosts file. As a developer I kind of need those and it's now a choice between hosts file and secure proxy :/

cbetta avatar Oct 26 '11 21:10 cbetta

Take a look at the pull request at https://github.com/chetan51/sidestep/pull/30

I use a custom TLD for my local development (currently .lallafa). If you look at /Applications/Sidestep.app/Contents/Resources/TurnProxyOn.sh you can add the TLD (or whatever you're calling your hostname if it's not 'localhost') to the list near the bottom of the file. So in my case, just before *.local I added *.lallafa.

sillygwailo avatar Mar 12 '12 19:03 sillygwailo

I see #30 - but unfortunately it's still redirecting localhost, 127.0.0.1 and a custom *.dev network that I added.

I restarted the program and turned the proxy on and off, but no change, it's still acting like my 'localhost' is the localhost of the machine I'm proxied on to!

AaronHolbrook avatar Feb 09 '13 18:02 AaronHolbrook

Bump. This is a pretty big problem for me. I'm not really sure how this happens. I'm happy to help in any way I can (not an OSX dev though).

honza avatar Mar 18 '13 11:03 honza

@AaronHolbrook @honza I was having the same problem and worked around it by editing the system proxy settings (Network -> select device -> Advanced -> Proxies -> Bypass proxy settings)

unbracketed avatar Apr 18 '13 20:04 unbracketed

@unbracketed's solution seems to have worked for me. Thanks!

dcalhoun avatar May 02 '13 15:05 dcalhoun

@unbracketed yup - that also works for me! Thanks @unbracketed!

AaronHolbrook avatar Jul 29 '13 03:07 AaronHolbrook

@unbracketed Yes, that works for me, too. Thanks

honza avatar Jul 30 '13 12:07 honza

@unbracketed Thanks for the tip, worked well for me on 10.9.2 and saved me quite a bit of hassle.

jkintscher avatar Mar 23 '14 23:03 jkintscher

@unbracketed years later.... thank you :)

dbishoponline avatar Jun 25 '16 22:06 dbishoponline

@unbracketed even more years later - thank you :)

allendav avatar Apr 05 '17 16:04 allendav