mirage / qubes-mirage-firewall

A Mirage firewall VM for QubesOS
BSD 2-Clause "Simplified" License
211 stars 28 forks source link

support Mirage 3.7 and mirage-nat 2.0.0 #89

Closed hannesm closed 4 years ago

hannesm commented 4 years ago

The main improvement is fragmentation and reassembly support in mirage-nat 2.0.0, which fixes #73 //cc @xaki23.

Other changes include:

Fragmentation and reassembly: each network interface now has a reassembly cache, a LRU, its size is hardcoded to 256 * 1024 bytes. I am not sure whether this should instead (a) be user-configurable (b) default to a smaller size. Maybe the individual client networks (Client_net) should have a smaller cache, and the Uplink a slightly larger?

xaki23 commented 4 years ago

this is very confusing. i just built this...

... and it just seems to work.

this is actualy so smooth i am not sure i am looking at the right thing. could we get some versions in the during-startup debugprints or so? (yes, no timestamps because reprobuilds, but versions should be ok for that)

will deploy it to some more roles tomorrow and watch it for a few days. i dont have strong active testing for this, but things tend to blow up quickly for me during use.

talex5 commented 4 years ago

@hannesm : looks great - thanks! @xaki23 : the mirage tool now does a "quiet" build by default (https://github.com/mirage/mirage/pull/999)