<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/htbinit/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/htbinit/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 20 Mar 2018 16:53:13 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/htbinit/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#6 htb.init wrong exit status</title><link>https://sourceforge.net/p/htbinit/bugs/6/?limit=25#7522</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Please see &lt;a href="https://github.com/lbulej/htb.init" rel="nofollow"&gt;https://github.com/lbulej/htb.init&lt;/a&gt; for a fixed version.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lubomir Bulej</dc:creator><pubDate>Tue, 20 Mar 2018 16:53:13 -0000</pubDate><guid>https://sourceforge.net06f7663b9b50df6049ef1d062ab1fef13e3437a8</guid></item><item><title>htb.init wrong exit status</title><link>https://sourceforge.net/p/htbinit/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
getting error on Debian 8 when running htb.init as a service.&lt;/p&gt;
&lt;p&gt;htb.init even when running success has exit code = 1.&lt;br/&gt;
as result getting following error:&lt;/p&gt;
&lt;p&gt;systemd&lt;span&gt;[1]&lt;/span&gt;: htb.init.service: control process exited, code exited status=1 &lt;br/&gt;
systemd&lt;span&gt;[1]&lt;/span&gt;: Failed to start SYSV: script to setup HTB traffic control&lt;/p&gt;
&lt;p&gt;After some researc found a line at the end of start/compile case:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[ "$1"  =  "compile" ]&lt;/span&gt; &amp;amp;&amp;amp; echo&lt;br/&gt;
As understood this required only for output  formatting when we have compile option provided.&lt;br/&gt;
If option is "start" it produces exit code = 1&lt;/p&gt;
&lt;p&gt;As a workaround for myself I had just commented out problem line.&lt;br/&gt;
Please ceck script and fix the issue if possible  :-)&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vasili Shtyk</dc:creator><pubDate>Thu, 16 Nov 2017 17:09:59 -0000</pubDate><guid>https://sourceforge.netc459687aa8b39e8143c32abb890b6ade5c3dbca1</guid></item><item><title>Broken timecheck when TIME specified over midnight</title><link>https://sourceforge.net/p/htbinit/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Problem occurs when at least one class contains TIME &lt;br /&gt;
parameters ranging over midnight.&lt;br /&gt;
A "midnight wrap fixup" changes TIME_ABS and uses &lt;br /&gt;
"fixed" value as current time when processing next TIME &lt;br /&gt;
rule.&lt;/p&gt;
&lt;p&gt;FAST FIX:&lt;br /&gt;
move line&lt;br /&gt;
TIME_ABS=`htb_time2abs $TIME_NOW`&lt;br /&gt;
inside loop for timerule, i.e. after line&lt;br /&gt;
END_ABS=`htb_time2abs $END_TIME`&lt;/p&gt;
&lt;p&gt;~Vitek&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 15 Jul 2006 03:11:56 -0000</pubDate><guid>https://sourceforge.net1c5b207ce5127b5fcc9bd67c4fdf214159aac0cc</guid></item><item><title>pceil and prate doesn't work in TIME section</title><link>https://sourceforge.net/p/htbinit/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I noticed that it is not possible to use pceil and&lt;br /&gt;
prate in TIME section for example the following doesn't&lt;br /&gt;
work :&lt;/p&gt;
&lt;p&gt;TIME=08:00-23:59;64Kbit/10Kb,128Kbit&lt;br /&gt;
TIME=00:00-07:59;128Kbit/15Kb,pceil&lt;/p&gt;
&lt;p&gt;I managed to fix this issue by modifying timecheck&lt;br /&gt;
function to look like this :&lt;/p&gt;
&lt;p&gt;if [ $TIME_ABS -ge $BEG_ABS -a $TIME_ABS -lt $END_ABS&lt;br /&gt;
]; then&lt;br /&gt;
RATESPEC=${PARAMS%%,*}; CEILSPEC=${PARAMS##*,}&lt;/p&gt;
&lt;p&gt;RNAME=""; CNAME=""&lt;br /&gt;
[ "$RATESPEC" = "prate" ] &amp;amp;&amp;amp; RNAME=RATE_$PARENT&lt;br /&gt;
[ "$RATESPEC" = "pceil" ] &amp;amp;&amp;amp; RNAME=CEIL_$PARENT&lt;br /&gt;
if [ -n "$RNAME" ]; then&lt;br /&gt;
RATESPEC=${!RNAME}&lt;br /&gt;
fi&lt;br /&gt;
[ "$CEILSPEC" = "prate" ] &amp;amp;&amp;amp; CNAME=RATE_$PARENT&lt;br /&gt;
[ "$CEILSPEC" = "pceil" ] &amp;amp;&amp;amp; CNAME=CEIL_$PARENT&lt;br /&gt;
if [ -n "$CNAME" ]; then&lt;br /&gt;
CEILSPEC=${!CNAME}&lt;br /&gt;
fi&lt;/p&gt;
&lt;p&gt;[ "$RATESPEC" = "$CEILSPEC" ] &amp;amp;&amp;amp; CEILSPEC=""&lt;/p&gt;
&lt;p&gt;NEW_RATE=${RATESPEC%%/*}; NEW_BURST=${RATESPEC##*/}&lt;br /&gt;
[ "$NEW_RATE" = "$NEW_BURST" ] &amp;amp;&amp;amp; NEW_BURST=""&lt;/p&gt;
&lt;p&gt;NEW_CEIL=${CEILSPEC%%/*}; NEW_CBURST=${CEILSPEC##*/}&lt;br /&gt;
[ "$NEW_CEIL" = "$NEW_CBURST" ] &amp;amp;&amp;amp; NEW_CBURST=""&lt;/p&gt;
&lt;p&gt;MATCH=1&lt;br /&gt;
fi&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 05 Apr 2005 12:19:34 -0000</pubDate><guid>https://sourceforge.net1248dc0206dfcfb36b55b2988a13c03f783e9df7</guid></item><item><title>bug with PRIO_RULE support in v 0.8.5</title><link>https://sourceforge.net/p/htbinit/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In v 0.8.5 support for PRIO_RULE was added. But when&lt;br /&gt;
insert this parameter in class file it does'nt effect.&lt;br /&gt;
That's because of mistake in function s&lt;br /&gt;
htb_filter_file: regular expression that match  string&lt;br /&gt;
before "=" in class file is " ^[a-zA-Z0-9]+". But&lt;br /&gt;
PRIO_RULE doesn't match it because of "_" sign. Change&lt;br /&gt;
part of regexp to "^[a-zA-Z0-9_]+" (add _ in brackets)&lt;br /&gt;
and everything works fine.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleksandr Darchuk</dc:creator><pubDate>Wed, 04 Aug 2004 11:20:47 -0000</pubDate><guid>https://sourceforge.netbe94804c9c941051d29a8fa5766dada114c6fc47</guid></item><item><title>Another timecheck Problem</title><link>https://sourceforge.net/p/htbinit/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;How to create the problem :&lt;/p&gt;
&lt;p&gt;1.) Have a class which is parent acting as parent to &lt;br /&gt;
some other classes also.&lt;/p&gt;
&lt;p&gt;2.) Add the time to the parent class.&lt;/p&gt;
&lt;p&gt;3.) run htb.init timecheck (when it changes the &lt;br /&gt;
values .i.e run this command at the time specfied in &lt;br /&gt;
time frame of the class)&lt;/p&gt;
&lt;p&gt;4.) run tc qdisc show&lt;/p&gt;
&lt;p&gt;This should hangs your system or atleast your network &lt;br /&gt;
Interface should get hanged.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Deepak Singhal&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deepak Singhal</dc:creator><pubDate>Sat, 17 May 2003 08:02:15 -0000</pubDate><guid>https://sourceforge.netda66f56171cc0888e2ed043c9d4a398a1525e643</guid></item><item><title>Timecheck Problem</title><link>https://sourceforge.net/p/htbinit/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Htb.init timecheck feature has a problem.&lt;/p&gt;
&lt;p&gt;If you a time in a policy which starts from gt to less than &lt;br /&gt;
ie. for e.g. 20:00-08:00 and then time frames in the &lt;br /&gt;
policies which starts from less to gt -- for eg.  08:00-&lt;br /&gt;
14:00 are ignored .&lt;/p&gt;
&lt;p&gt;Actually after running ## midnight wrap fix within &lt;br /&gt;
timecheck TimeAbs value is permanently changed to &lt;br /&gt;
+24*60&lt;/p&gt;
&lt;p&gt;I have made a small change in the script and it is &lt;br /&gt;
attached alongwith which solves the problem&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deepak Singhal</dc:creator><pubDate>Sat, 17 May 2003 07:54:36 -0000</pubDate><guid>https://sourceforge.net853cca3b40f7ed64a8ce55bbad40861af74ded70</guid></item></channel></rss>