[pkg-netfilter-team] Bug#1043351: ebtables: unescaped hyphens in manpage
Jeremy Sowden
azazel at debian.org
Wed Feb 18 21:11:04 GMT 2026
Control: affects -1 iptables
On 2023-08-09, at 13:27:53 +0200, Linus Lüssing wrote:
> Package: ebtables
> Version: 2.0.11-5
> Severity: normal
> X-Debbugs-Cc: linus.luessing at c0d3.blue
>
> Dear Maintainer,
>
> I tried running the following ebtables command, but got an error:
>
> ```
> $ sudo ebtables -I INPUT -i veth1 -j mark ‐‐mark-set 0x42
> ebtables v1.8.9 (nf_tables): Bad argument : '‐‐mark-set'
> ```
>
> On #netfilter IRC people with eagle-eyes and apparently a different
> font than me pointed out that I was trying to use Unicode instead of
> ASCII hyphens. Changing the command to use "--mark-set", with ASCII
> hyphens, instead helped.
>
> It seems I copied the Unicode version from the ebtables manpage. I
> believe it's a similar issue to this one:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043309
>
> That is un-escaped hyphens in the manpage source code are rendered to
> Unicode hyphens.
>
> To fix this the hyphens should be escaped in the manpage source code.
>
> Regards, Linus
>
> (Kudos to @aiyion at infosec.exchange on Mastodon who pointed me to the
> curl Debian bug report and by that to the origin of my issue.)
This problem also affects iptables, since the ebtables-nft man-page is
almost identical.
J.
> *** Reporter, please consider answering these questions, where appropriate ***
>
> * What led up to the situation?
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> * What was the outcome of this action?
> * What outcome did you expect instead?
>
> *** End of the template - remove these template lines ***
>
>
> -- System Information:
> Debian Release: trixie/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386, arm64
>
> Kernel: Linux 6.4.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_WARN
> Locale: LANG=C.UTF-8, LC_CTYPE=C.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 ebtables depends on:
> ii libc6 2.37-6
> ii netbase 6.4
>
> Versions of packages ebtables recommends:
> ii iptables 1.8.9-2
> ii kmod 30+20230519-1
>
> ebtables suggests no packages.
>
> -- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-netfilter-team/attachments/20260218/e67437f6/attachment.sig>
More information about the pkg-netfilter-team
mailing list