Bug#1068046: /etc/firehol/ifupdown-firehol.sh: 71: [: -o: unexpected operator

2024-03-29 Thread Jan Petykiewicz
Package: firehol
Version: 3.1.7+ds-3
Severity: normal
X-Debbugs-Cc: jspam+...@mpxd.net

Dear Maintainer,

When running ifup / ifdown, I run into error messages along the lines of

/etc/network/if-up.d/firehol: 71: [: -o: unexpected operator
/etc/network/if-pre-up.d/zz-firehol: 71: [: -o: unexpected operator
/etc/network/if-up.d/firehol: 71: [: -o: unexpected operator

I've worked around them locally by modifying /etc/firehol/ifupdown-firehol.sh to
run using /bin/bash rather than /bin/sh, but there may be a better solution.

Thanks,
Jan


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages firehol depends on:
ii  firehol-common   3.1.7+ds-3
ii  init-system-helpers  1.66

Versions of packages firehol recommends:
ii  fireqos  3.1.7+ds-3

Versions of packages firehol suggests:
pn  firehol-doc
pn  firehol-tools  
pn  ulogd2 

-- Configuration Files:
/etc/default/firehol changed [not included]
/etc/firehol/firehol.conf changed [not included]
/etc/firehol/ifupdown-firehol.sh changed [not included]

-- no debconf information



Bug#913986: fireqos silently drops all packets when shaping input traffic on a USB network adapter

2018-11-17 Thread Jan Petykiewicz
Package: fireqos
Version: 3.1.6+ds-7
Severity: normal
Tags: upstream

Dear Maintainer,

Fireqos fails silently when asked to shape input traffic on an interface with a 
16-character name,
and drops all the incoming packets from the interface instead.

The cause appears to be the IFB interface name (nominally something like 
enx78e7d1ea46da-ifb)
being truncated to 16 characters, which results in fireqos attempting to create 
an IFB interface
with the same name as the original adapter.

The bug has been reported to upstream ( 
https://github.com/firehol/firehol/issues/351 )
along with a possible mitigation, but hasn't been addressed for 4 months. 

Thanks,
Jan


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (300, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fireqos depends on:
ii  firehol-common  3.1.6+ds-7
ii  lsb-base9.20170808

Versions of packages fireqos recommends:
ii  firehol  3.1.6+ds-7

Versions of packages fireqos suggests:
ii  firehol-tools  3.1.6+ds-7
pn  fireqos-doc

-- Configuration Files:
/etc/firehol/fireqos.conf changed [not included]

-- no debconf information