Skip to content

Ebtables fails immediately  #4

Open

Description

@hheennrryy21

Hi, I am trying to get ebtables to work and I have encountered a strange bug.


import ebtables
ebtables.filter("-L")

EbtablesException: ebt_get_kernel_table() failed Bad table name 'filter'

python-ebtables: latest from master
ebtables: v2.0.10-4
python: 2.7.14
Kernel: 4.13.0-39-generic

Activity

  1. ldx commented on Mar 2, 2019

    @ldx
    Owner

    Works for me:

    
    Bridge chain: INPUT, entries: 0, policy: ACCEPT
    
    Bridge chain: FORWARD, entries: 0, policy: ACCEPT
    
    Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
    

    Python 2.7.13
    ebtables v2.0.10-4 (December 2011)
    Linux x1 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

    1. Are you running via sudo?
    2. Are the necessary kernel modules loaded?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions