Modify

Opened 7 years ago

Last modified 4 years ago

#9084 new defect

qos script referencing to missing l7pkt option

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Backfire 10.03.1 RC4
Keywords: qos layer7 Cc:

Description

If layer7 packet filtering is used qos-start fails to start properly:

root@OpenWrt:/usr/lib/iptables# qos-start
iptables v1.4.6: unknown option `--l7pkt'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.6: unknown option `--l7pkt'
Try `iptables -h' or 'iptables --help' for more information.

The /usr/lib/qos/generate.sh is referencing to l7pkt option

*:layer7)
                            add_insmod ipt_layer7
                            add_insmod xt_layer7
                            append "$var" "-m layer7 --l7proto $value${pkt:+ --l7pkt}"

but

  1. there is no ipt_layer7 module (i think it is obsolate now any only xt_layer7 exists)
  2. in xt_layer7 there is no l7pkt option at all
    root@OpenWrt:/usr/lib/iptables# grep l7 libxt_layer7.so
     LAYER7 match: You must specify `--l7proto'
    --l7proto %s%s
    l7proto
    /etc/l7-protocols
        --l7dir <directory> : Look for patterns here instead of /etc/l7-protocols/
                              (--l7dir must be specified before --l7proto if used)
    [!] --l7proto <name>: Match named protocol using /etc/l7-protocols/.../name.pat
    l7proto
    l7dir
    

Using:

root@OpenWrt:/etc# cat openwrt_release
DISTRIB_ID="OpenWrt
DISTRIB_RELEASE="10.03"
DISTRIB_CODENAME="backfire"
DISTRIB_DESCRIPTION="OpenWrt Backfire 10.03.1-rc4"
DISTRIB_TARGET="ar71xx"
DISTRIB_REVISION="r24045"
DISTRIB_OFFICIAL="1"

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.