Hi All, I have a custom TC configuration where I''m building the tc hierarchy manually with the tcstart script. I also need to add custom iptables rules in the mangle table to classify the packets. Currently I''m using started to insert the iptables commands, but that''s way too late in the process. I tried putting them into the initdone file, but it''s trying to parse that and doesn''t like. Should I be bundling these iptables entries into the tcstart script then? Thanks for any advice -- lee (shorewall dump not attached as it''s (embarrassingly) too big for the mailing list) (attached tcstart and started) ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
On 9/7/2013 5:08 PM, Lee Brown wrote:> Hi All, > > I have a custom TC configuration where I''m building the tc hierarchy > manually with the tcstart script. I also need to add custom iptables > rules in the mangle table to classify the packets. > Currently I''m using started to insert the iptables commands, but > that''s way too late in the process. > I tried putting them into the initdone file, but it''s trying to parse > that and doesn''t like. > > Should I be bundling these iptables entries into the tcstart script then? > > Thanks for any advice -- lee > > (shorewall dump not attached as it''s (embarrassingly) too big for the > mailing list) > (attached tcstart and started)Why don''t you just put them in the tcrules file (use INLINE if you need to)? -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
On Sat, Sep 7, 2013 at 5:33 PM, Tom Eastep <teastep@shorewall.net> wrote:> On 9/7/2013 5:08 PM, Lee Brown wrote: >> Hi All, >> >> I have a custom TC configuration where I''m building the tc hierarchy >> manually with the tcstart script. I also need to add custom iptables >> rules in the mangle table to classify the packets. >> Currently I''m using started to insert the iptables commands, but >> that''s way too late in the process. >> I tried putting them into the initdone file, but it''s trying to parse >> that and doesn''t like. >> >> Should I be bundling these iptables entries into the tcstart script then? >> >> Thanks for any advice -- lee >> >> (shorewall dump not attached as it''s (embarrassingly) too big for the >> mailing list) >> (attached tcstart and started) > > Why don''t you just put them in the tcrules file (use INLINE if you need to)?Ah, my bad. I was on 4.4, was not able to enter some of my rules. Upgraded from 4.4 to 4.5 and didn''t read the release notes. Sorry for the noise. Thanks Tom ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk