Hi,
I hit this old bug while doing some clearance.
Xenial reached EOSS (End of Standard Support) so I'm afraid it can't be
fixed. It is unfortunate that we were unable to resolve this defect,
however, there appears to be no further action possible at this time
because it's not a security bug.
This seems to be fixed in Focal, where all the tooling is based on
nftables:
root@focal # ebtables-save | tee dump.txt
# Generated by ebtables-save v1.8.4 on Thu Apr 30 19:03:09 2020
*filter
:INPUT ACCEPT
:FORWARD ACCEPT
:OUTPUT ACCEPT
# Completed on Thu Apr 30 19:03:09 2020
root@focal# ebtables
It's been like 2 years, any news on this?
Also affects bionic.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
ebtables-restore error "Bad table name 'filter'"
To manage notifications
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ebtables (Ubuntu Yakkety)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ebtables (Ubuntu Zesty)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ebtables (Ubuntu Xenial)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Some sort of initialization is missing:
96 struct ebt_u_table *ebt_find_table(const char *name)
97 {
98 struct ebt_u_table *t = ebt_tables;
99
100 while (t && strcmp(t->name, name)) {
101 printf("t->name: %s name: %s", t->name, name);
(gdb) n
Some sort of initialization is missing:
96 struct ebt_u_table *ebt_find_table(const char *name)
97 {
98 struct ebt_u_table *t = ebt_tables;
99
100 while (t && strcmp(t->name, name)) {
101 printf("t->name: %s name: %s", t->name, name);
(gdb) n
I don't believe there was an upstream report, however it looks like
ebtables-restore was removed from the upstream repo here:
https://git.netfilter.org/ebtables/commit/?id=826faffa38de8ce55bb32cd1549fb732229fd80f
--
You received this bug notification because you are a member of Ubuntu
Bugs,
@Nish / @Josh - you worked on this before, was there any upstream report
already that might be missing or is this waiting for someone to actually
report it first (also pinging on IRC about it)?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
any news on this
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
ebtables-restore error "Bad table name 'filter'"
To manage notifications about this bug go to:
** Tags added: needs-upstream-report
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
ebtables-restore error "Bad table name 'filter'"
To manage notifications about this bug go to:
# ebtables-restore < txt1.txt
Bad table name 'filter'.
# ebtables -t filter -L
Bridge table: filter
Bridge chain: INPUT, entries: 0, policy: ACCEPT
Bridge chain: FORWARD, entries: 0, policy: ACCEPT
Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
So i think this is a bug, probably upstream?
# ebtables-restore < txt1.txt
Bad table name 'filter'.
# ebtables -t filter -L
Bridge table: filter
Bridge chain: INPUT, entries: 0, policy: ACCEPT
Bridge chain: FORWARD, entries: 0, policy: ACCEPT
Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
So i think this is a bug, probably upstream?
** Also affects: ebtables (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: ebtables (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Also affects: ebtables (Ubuntu Zesty)
Importance: Undecided
Status: New
--
You received this bug
** Also affects: ebtables (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: ebtables (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Also affects: ebtables (Ubuntu Zesty)
Importance: Undecided
Status: New
--
You received this bug
@ktf the only other report of this I could find was someone doing the restore
manually here:
http://knoffhoff.tumblr.com/post/59967875099/how-to-save-and-load-ebtables-rules
Use at your own risk as I have yet to test that.
--
You received this bug notification because you are a member of
** Changed in: ebtables (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
ebtables-restore error "Bad table name 'filter'"
To manage
Is there a workaround or a way to make a file that ebtables-restore does
accept, by hand for example?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
ebtables-restore error "Bad table
** Tags added: yakkety zesty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
ebtables-restore error "Bad table name 'filter'"
To manage notifications about this bug go to:
This appears to exist on Xenial, Yakkety, and Zesty. Brought up a quick
LXD using the ubuntu-daily images and reproduced it in each.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ebtables (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
** Tags added: xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672276
Title:
ebtables-restore error "Bad table name 'filter'"
To manage notifications about this bug go to:
23 matches
Mail list logo