Hannes Mehnert
28bda78d20
fix deprecation warnings (Mirage_clock_lwt -> Mirage_clock)
2020-01-11 15:46:02 +01:00
Hannes Mehnert
3fc418e80c
qualify all return with Lwt, use Lwt.return_unit where possible
2020-01-11 15:44:30 +01:00
Hannes Mehnert
0f476c4d7b
mirage-nat 2.0.0 and mirage-qubes 0.8.0 compatibility
2020-01-11 15:36:02 +01:00
Hannes Mehnert
3553a7aa93
use Ethernet_wire.sizeof_ethernet instead of a magic '14'
2019-03-24 14:29:21 +01:00
Mindy
0852aa0f43
use tcpip 3.7, ethernet, arp, mirage-nat 1.1.0
2019-03-22 14:27:40 -05:00
Thomas Leonard
e070044fef
Add extra logging
2017-03-06 14:30:41 +00:00
Thomas Leonard
b4079ac861
Update to new mirage-nat API
2017-03-05 17:04:05 +00:00
Thomas Leonard
bb78a726e4
Mirage 3 support
2017-03-04 17:22:58 +00:00
Thomas Leonard
0230cfaf1e
Updates for mirage 2.9.0
...
- Unpin bootvar and use register ~argv:no_argv` instead.
- Use new name for uplink device ("0", not "tap0").
- Don't configure logging - mirage does that for us now.
2016-05-14 10:44:57 +01:00
Thomas Leonard
3409a19792
Keep track of transmit queue lengths
...
Log if we have to wait to send a frame.
2016-01-17 11:42:40 +00:00
Thomas Leonard
2002126b8b
Rationalised firewall rules syntax
...
Added explicit NAT target, allowing NAT even within client net and
making it clear that NAT is used externally.
Changed Redirect_to_netvm to NAT_to, and allow specifying any target
host.
2016-01-01 11:32:57 +00:00
Thomas Leonard
4032a5d776
Simplify code slightly
2016-01-01 10:56:37 +00:00
Thomas Leonard
cd69ce5a86
Move NAT code to router and add DNS redirects
2015-12-30 19:34:04 +00:00
Thomas Leonard
5a2f6f7ce8
Minor cleanups
2015-12-30 14:32:59 +00:00
Thomas Leonard
11e18c0b83
Moved uplink code to its own module
2015-12-30 14:22:46 +00:00