Commit graph

21 commits

Author SHA1 Message Date
Lucas Kanashiro
2e20f96fec Support the new redir 3.x command line interface
Since redir 2.x upstream is not evolving it, Joachim Nilsson adopted it
and have started to work on it and publish a new command line interface
(check out https://github.com/troglobit/redir). The redir 3.1 is already
available in Debian and Ubuntu in their stable releases.
2018-03-12 13:09:06 -03:00
Antonio Terceiro
81f2c13541 forward_ports: bind to localhost only by default
This has been raised as security concern on vagrant itself, and fixed
there some time ago.
2015-07-19 12:29:27 -03:00
Fabio Rehm
84bdb5cb22 Fix code indentation 2014-05-03 23:28:04 -03:00
guerremdq
697d8bde08 only use sudo with redir when port number is lower than 1024 2014-03-23 13:39:42 -03:00
guerremdq
fd948f8552 Add sudo for redir 2014-03-20 17:01:45 -03:00
Fabio Rehm
bf6e4b5c89 Respect Vagrantfile options to disable forwarded port
Closes GH-149
2013-11-06 21:01:21 -02:00
Fabio Rehm
c61ade8ef4 Nicely handle nil values for :host_ip when specifying forwarded ports
Fix GH-170
2013-11-06 20:25:46 -02:00
Fabio Rehm
0385a64d31 Replace ugly driver builder with a more intelligent approach
References #118
2013-07-29 12:08:24 -03:00
Fabio Rehm
7f58f7a26e Add support for logging redir output by setting REDIR_LOG env var
Closes #51
2013-07-28 02:30:17 -03:00
Fabio Rehm
98f1df47a1 Do not attach forwarded ports to host's 127.0.0.1 by default
This is enough for us to bump to 0.5.0 and to close #76
2013-07-28 01:31:50 -03:00
Fabio Rehm
2dbfd23915 No need to use sudo to check if redir is installed 2013-07-27 20:44:36 -03:00
Fabio Rehm
e68e4f8f05 Support for specifying host interface/ip for binding redir
Closes #76
2013-07-21 22:45:07 -03:00
Darrell Hamilton
041f185395 Check for redir before booting the machine 2013-07-15 10:49:02 -07:00
Darrell Hamilton
a2a9cb99d1 repair whitespace 2013-07-14 22:50:14 -07:00
Darrell Hamilton
ad41c445a4 Check for redir before forwarding ports
Make a system call out to `which` to see if redir exists on the PATH
before trying to forward ports.  Raises a VagrantError if it does not.
2013-07-14 22:42:49 -07:00
Fabio Rehm
8c884a2e8c fork + exec = spawn 2013-04-23 08:03:29 -03:00
Fabio Rehm
5679158ea1 Do not display port forwarding message in case no forwarded ports where set 2013-04-18 23:02:07 -03:00
Fabio Rehm
2e14c974d7 Redirect redir stderr to /dev/null
Closes #51
2013-04-10 02:22:19 -03:00
Fabio Rehm
514736bdd6 Rename old container references to driver 2013-04-05 22:10:48 -03:00
Fabio Rehm
d0f662a8c4 Skip Vagrant's built in ssh redirect 2013-03-29 03:04:53 -03:00
Fabio Rehm
dd99c56cda First stab at port forwarding with redir 2013-03-26 22:14:31 -03:00