Tue Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
authorMark McLoughlin <markmc@redhat.com>
Wed, 14 Feb 2007 16:26:42 +0000 (16:26 +0000)
committerMark McLoughlin <markmc@redhat.com>
Wed, 14 Feb 2007 16:26:42 +0000 (16:26 +0000)
commit3ea88b568d7f5550ac399f310d2a4488bc31618d
tree7a610a77032c66df8188a3bd01d5b707d8ec7adf
parente89a1c33f57495fb4195726e0cd6804c72723853
Tue Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>

        * qemud/iptables.[ch]: add code for managing iptables
        rules.

        * qemud/Makefile.am: add iptables.[ch].

        * qemud/qemud.c: add and remove iptables rules as
        appropriate.

        * qemud/conf.c: when starting a guess, add a rule
        allowing it to forward packets across the networks
        bridge.

        * qemud/internal.h: add iptables context ptr

        * configure.in: add --with-iptables-dir and
        --with-iptables-prefix to allow us to put our rules
        in a chain with the given prefix and save the rules
        in files in the given dir so as to integrate with
        the proposed "service iptables restart" solution
        in:

           https://bugzilla.redhat.com/227011
ChangeLog
configure.in
qemud/Makefile.am
qemud/conf.c
qemud/internal.h
qemud/iptables.c [new file with mode: 0644]
qemud/iptables.h [new file with mode: 0644]
qemud/qemud.c