mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-19 09:41:29 +00:00
qca-nss-ecm: avoid a memcpy overflow in ecm_db Reference: https://github.com/robimarko/nss-packages/pull/10/files qca-nss-ecm: fix nf_ct_net null pointer reference Fixed by xsm1997, massive thanks! It fixes a null pointer access which is introduced in previous qca-nss-ecm patches. Reference: https://github.com/bitthief/openwrt/issues/9
12 lines
418 B
Bash
12 lines
418 B
Bash
#!/bin/sh
|
|
if [ ! -r /sbin/fw4 ]; then
|
|
iptables-save|grep physdev-is-bridged|while read a; do
|
|
iptables -D FORWARD -m physdev --physdev-is-bridged -j ACCEPT
|
|
done
|
|
iptables -I FORWARD 1 -m physdev --physdev-is-bridged -j ACCEPT
|
|
ip6tables-save|grep physdev-is-bridged|while read a; do
|
|
ip6tables -D FORWARD -m physdev --physdev-is-bridged -j ACCEPT
|
|
done
|
|
ip6tables -I FORWARD 1 -m physdev --physdev-is-bridged -j ACCEPT
|
|
fi
|