[ previous ] [ next ] [ threads ]
 From:  "Pavel A. Grodek" <m0n0wall at abletools dot com>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  DUMMYNET - additional options added to m0n0wall
 Date:  Thu, 23 Dec 2004 07:26:08 +0300
Hello m0n0wall-dev,

Manuel, thanks a lot for your great product. I'm using it for some
weeks and finally decided to contribute. Well, nothing is perfect in
this world, and I needed additional features in m0n0wall: more options
for DUMMYNET (plr and queue - to help my company debug and improve
multiplayer game code) and multi-WAN setup with session-based outbound
load balancing and failover - to use at home.

I've never worked with BSD or PHP and only had limited experience with
Linux and Perl, but, fortunately, the first modification is so simple
(basically, cut-n-paste in three files and a few sanity checks :-)
that I finished it in a few hours. What's the preferred method to
contribute such minor things into main distribution? Changed files are
awailable at http://abletools.com/m0n0wall-dummynet-opts.zip

By the way, I think I found a pretty convenient way to develop small
things for m0n0wall using CD-ROM distribution (I have no suitable IDE
hard drive on old machines to install IDE-version - I used SCSI only
back in Petium and Pentium 2 times :-).

Basically, add a few lines of <shellcmd> to config that create a small
PHP file that, when loaded from a browser, goes to an HTTP server
under your control (basically, your workstation - even a Windows one
works just fine with any small freeware HTTP server), looks for a file
containing list of files you work on, and downloads them all to your
working m0n0wall, sets permissions, does whatever you need... Then you
could go on and debug whatever you wrote with a single-click uploading
of your modifications to m0n0wall. If it would be helpful to someone,
I could write a micro-HOWTO on this and documentation maintainers
would add it where it belongs...

Also, I'd like to know if someone is already working on implementing
even the simplest possible load-balancing (using prob in ipfw)? If not
- I'm willing to give it a try next. After all, it's, once again,
mostly copy-paste and some minor structure and interface issues to
give access to this already existing ipfw feature... No promises, of
course - I just may be too optimistic.

Best regards,
 Pavel                          mailto:m0n0wall at abletools dot com