Guillaume J. Charmes
|
22893429ed
Go fmt
|
12 years ago |
Solomon Hykes
|
1601366cb6
Make it more clear when Docker fails to allocate a free IP range for its bridge
|
12 years ago |
Solomon Hykes
|
8cf30395a1
Changed default bridge interface do 'docker0'
|
12 years ago |
Solomon Hykes
|
793c1ad990
Merge remote-tracking branch 'origin/219-default-bridge-2'
|
12 years ago |
Solomon Hykes
|
febaeebfb8
Add tests of tcp port allocator
|
12 years ago |
Solomon Hykes
|
d32f184696
Fix a race condition when running the port allocator
|
12 years ago |
Solomon Hykes
|
2aad4a3478
Choose which TCP frontend port to allocate with '-p :PORT'
|
12 years ago |
Solomon Hykes
|
a5fb1d6c01
Refactored PortAllocator to allow for same-frontend constraint
|
12 years ago |
Solomon Hykes
|
f344212b93
Renamed PortAllocator.populate() to run()
|
12 years ago |
Solomon Hykes
|
0424998f38
Print a less confusing error message when lxcbr0 doesn't exist
|
12 years ago |
Solomon Hykes
|
586a79cca0
Merge remote-tracking branch 'dominikh/minor-code-touchups'
|
12 years ago |
Solomon Hykes
|
ebc837957f
Continue cleaning up iptables rules from previous version, to avoid crashing after an upgrade
|
12 years ago |
unclejack
|
32f5811476
stop looping remote:port from host to containers
|
12 years ago |
Guillaume J. Charmes
|
1b370f9d8d
Move the default bridge name to a constant
|
12 years ago |
Guillaume J. Charmes
|
aa4bf4284b
If bridge does not exists, try to create it
|
12 years ago |
Guillaume J. Charmes
|
90a6e310fe
Add an helper function to check if two network overlaps. Also add unit tests for this function
|
12 years ago |
Guillaume J. Charmes
|
f39af7e05d
Put the bridge interface name in the command line
|
12 years ago |
unclejack
|
3b65be9127
Fix NAT problem with ports looping back to containers
|
12 years ago |
Dominik Honnef
|
22f1cc955d
replace unreachable returns with panics
|
12 years ago |
Dominik Honnef
|
6f9a67a7c7
Make IP allocator lazy
|
12 years ago |
Shawn Siefkas
|
523803d633
Handling iptables() errors more usefully during portmapper setup
|
12 years ago |
Shawn Siefkas
|
c66d2b6a53
Return error when iptables is not found
|
12 years ago |
Shawn Siefkas
|
dfc3904f77
Looking for iptables in PATH
|
12 years ago |
Guillaume J. Charmes
|
51455b1ee0
Merge pull request #138 from srid/handle-port-mapper-error
|
12 years ago |
Sridhar Ratnakumar
|
371225520f
handle errors during the creation of port mapper
|
12 years ago |
Solomon Hykes
|
301a8afff5
Properly cleanup iptables rules inserted in OUTPUT (introduced in 3c6b8bb8882fcd2083d1c489df3cc40062b4896c)
|
12 years ago |
Shawn Siefkas
|
3c6b8bb888
Fixing Issue #98: Adding DOCKER to output chain during iptables setup
|
12 years ago |
shin-
|
3aefed2dc2
When lxcbr0 has several associated IPs, default to first one found
|
12 years ago |
creack
|
ab99e9252d
Complete pull request #121, init TCPAddr with named field
|
12 years ago |
ezbercih
|
fac32cda5a
Fix issue #120, initialize TCPAddr w/ field names
|
12 years ago |