Short:        Quick fix for MiamiDX-beta 0.8l Config bug
Author:       ben@bmatthew.demon.co.uk (Ben Matthew)
Uploader:     ben bmatthew demon co uk (Ben Matthew)
Type:         comm/tcp
Architecture: m68k-amigaos

Miami Deluxe beta 0.8l (1.11.98) config file fixer
==================================================

1. MiamiDX Blurb
----------------

Having been impressed with seeing Miami-DX in action on a friend's
amiga I decided enough was enough and I registered my copy of 
MiamiDX with the Nordic Global website.  (http://www.nordicglobal.com)
I'm in the process of setting up my old A1200 as a internet gateway 
/ fax-server, etc, which involves some reasonably complex IP stuff.

To cut a long story short I have been enormously impressed with
the power and ease of use of Miami and I would recommend everyone
who does anything other than dialup to get the Deluxe version.
I played around with socks, for example, for ages until I got
an "almost" working setup with AmiTCP - Miami does it in a few clicks
of the mouse.

With support for Muliple-interfaces (finally!) - it's not just an
"idiot's" IP stack (in terms of ease of use) but also a grown-up
one as well that doesn't just match AmiTCP in power but surpasses
it.

</plug>

2. Intro to hack
----------------

Anyway on with this little hack....

The beta version I used had a broken IP-filter which meant as a
network gateway it posed a huge security risk - anyone could use
me as a socks annoymity server, for example.  Plus I couldn't see
logs of external access...

The problem is trivial.  The GUI part of miami uses the format 
*;*|*|*|*|* to parse the IP-filter, but the Miami engine uses
*|*|*|*|*|*.  What's a semi-colon between friends?!

3. How to use Fix-Config
------------------------

All you need to do is set up your IP-filters, quit Miami, then
run Fix-Config from a shell.

If your config file is something other than "Miami:MiamiDX.default"
then you can shove in an argument with the actual path, i.e.:
"Fix-Config miami:my_special_config_file"

Unfortunately this means you cannot alter the "fixed" version in
The GUI so I made the fix reversable.  If you need  to make changes
simply, quit miami, run fix-config again, restart miami, make your
changes (it'll now look ok), save, quit, run the fix again and
off you go.

If you are running a later beta (or indeed the release candidate) then
you probably don't want to use this - I'm sure Holgar will have fixed
this by now.

Until then, I hope this is of some use to folk....


comments to: ben@bmatthew.demon.co.uk


Ben Matthew
(18-11-98)