Re: Trouble with L7 QoS
Posted: Sat May 25, 2013 4:34 pm
Checking the QoS script a little futher it seems the source of the problem is this command:
cat /etc/l7marker.marks 2>/dev/null | grep "shoutcast" | awk '{ print $2 }'
Or better yet, this command:
Gonna add a " | head -n 1 " to see what happens...
UPDATE: thinking again, the lines aren't equal:
Which one is right? Should it really have 2 lines for each L7 protocol?
UPDATE2: Anyone knows who feeds the file: /etc/l7marker.marks ?
cat /etc/l7marker.marks 2>/dev/null | grep "shoutcast" | awk '{ print $2 }'
Code: Select all
cat /etc/l7marker.marks 2>/dev/null | grep "shoutcast" | awk '{ print $2 }'
0x50000
0xD0000
Code: Select all
cat /etc/l7marker.marks
bittorrent 0x10000 0xFF0000
edonkey 0x20000 0xFF0000
gnutella 0x30000 0xFF0000
rtp 0x40000 0xFF0000
shoutcast 0x50000 0xFF0000
skypeout 0x60000 0xFF0000
skypetoskype 0x70000 0xFF0000
ssh 0x80000 0xFF0000
bittorrent 0x90000 0xFF0000
edonkey 0xA0000 0xFF0000
gnutella 0xB0000 0xFF0000
rtp 0xC0000 0xFF0000
shoutcast 0xD0000 0xFF0000
skypeout 0xE0000 0xFF0000
skypetoskype 0xF0000 0xFF0000
ssh 0x100000 0xFF0000
tor 0x110000 0xFF0000
UPDATE: thinking again, the lines aren't equal:
Code: Select all
shoutcast 0x50000 0xFF0000
shoutcast 0xD0000 0xFF0000
UPDATE2: Anyone knows who feeds the file: /etc/l7marker.marks ?