Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 24, 2013
  1. Cleanup.

    ldx authored
  2. Experimental fix for aliased matches.

    ldx authored
  3. Start 0.3.0-dev.

    ldx authored
  4. Fix #45.

    ldx authored
  5. Refactor IPTCModule._save().

    ldx authored
Commits on Nov 17, 2013
  1. Update URL.

    ldx authored
  2. Update README.

    ldx authored
Commits on Nov 16, 2013
  1. Fix stdout closing/reopening around save().

    ldx authored
    The save() callback prints rules to stdout in the extension. Make sure
    we close and then reopen not just the low-level fd, but the Python file
    as well around it.
Commits on Nov 10, 2013
  1. Update classifiers in setup.py.

    ldx authored
  2. Release v0.2.0.

    ldx authored
  3. Generate README.md from RST docs.

    ldx authored
  4. Update documentation.

    ldx authored
  5. Reset autocommit flag after test.

    ldx authored
Commits on Nov 6, 2013
  1. @saurabh-hirani
Commits on Oct 29, 2013
  1. Use dict as Table cache.

    ldx authored
    For both IPv4 and IPv6, use a dict instead of a weakref cache. This
    makes the cache a permanent one, and avoids the overhead of
    creating/freeing tables too often.
Commits on Sep 19, 2013
Commits on Sep 8, 2013
  1. Release matches after use.

    ldx authored
    Matches are allocated dynamically for the same type except the first
    instance. Free them via _Buffer when the python object is
    gced.
  2. Fix memory leak in Target.

    ldx authored
    Move freeing of Target._target_buf to another class, thus getting rid of
    __del__() in Target. This enables Python to garbage collect Target
    objects - before this gcing Target was not possible because of the
    circular reference between Rule and Target.
Commits on Sep 7, 2013
  1. Use consistent parameter names.

    ldx authored
Commits on Aug 31, 2013
  1. Merge pull request #35 from ericvsmith/master

    authored
    See ldx/python-iptables issue #33
Commits on Aug 28, 2013
  1. @ericvsmith

    Set _xtables._xtables_pending_matches and ._xtables_pending_targets

    ericvsmith authored
    to None if they are not found in libxtables.
Commits on Aug 25, 2013
  1. Merge pull request #34 from neonknight/patch-2

    authored
    Update examples.rst
  2. @neonknight

    Update examples.rst

    neonknight authored
    Fixed TABLE_*
Commits on Jul 28, 2013
  1. Refactor Target.__init__().

    ldx authored
  2. Refactor Rule6.set_{src,dst}().

    ldx authored
  3. Fix inline docs.

    ldx authored
  4. Refactor util.find_library().

    ldx authored
  5. Refactor a few test cases.

    ldx authored
Commits on Jul 22, 2013
  1. Update .gitignore.

    ldx authored
  2. Add DNAT test case.

    ldx authored
  3. Allocate target backing buffer via libc.

    ldx authored
    Since a few target extensions (currently SNAT and DNAT) think it's a
    good idea to manage the memory allocated to xt_entry_target themselves,
    we can't rely on ctypes buffers for backing it. Use malloc()/free() the
    C way instead, so extensions doing a realloc() will keep working.
    
    This fixes #31.
  4. Remove unnecessary abstraction.

    ldx authored
Commits on May 11, 2013
  1. Retrieve errno directly from libc.

    ldx authored
    Don't rely on ctypes.get_errno(), as it always seems to return 0. Use
    errno directly from libc.
  2. Fix parsing of the buffer from save().

    ldx authored
    Output from extension->save() can contain quoted strings. This should
    fix #27.
  3. Refactor final_check_{match,target}().

    ldx authored
Something went wrong with that request. Please try again.