]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilters: support for TCP flags evaluation
authorStefan Berger <stefanb@us.ibm.com>
Fri, 8 Apr 2011 00:13:38 +0000 (20:13 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 8 Apr 2011 00:13:38 +0000 (20:13 -0400)
commit6ab24feb44a0cb3a7de5ad89619c14cfd4be44ce
tree868a528708c588bd43afa70cf2d5dd55d4cc3d6b
parent80427f1d87211fb4d9de8ff519676b4893f5a9a2
nwfilters: support for TCP flags evaluation

This patch adds support for the evaluation of TCP flags in nwfilters.

It adds documentation to the web page and extends the tests as well.
Also, the nwfilter schema is extended.

The following are some example for rules using the tcp flags:

<rule action='accept' direction='in'>
    <tcp state='NONE' flags='SYN/ALL' dsptportstart='80'/>
</rule>
<rule action='drop' direction='in'>
    <tcp state='NONE' flags='SYN/ALL'/>
</rule>
docs/formatnwfilter.html.in
docs/schemas/nwfilter.rng
src/conf/nwfilter_conf.c
src/conf/nwfilter_conf.h
src/libvirt_private.syms
src/nwfilter/nwfilter_ebiptables_driver.c
tests/nwfilterxml2xmlin/tcp-test.xml
tests/nwfilterxml2xmlout/tcp-test.xml