Hello, Is there a way to refresh (as in the ''refresh'' command) the TC configuration only ? It should take less time to only re-apply a TC config instead of a complete firewall. The use case is when WAN interfaces disappears from system view for a brief moment then come back in operation. A netlink notification handler would then call shorewall with a specific command to re-apply only the TC configuration. Thanks. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
On 04/30/2012 06:51 AM, Fred Maillou wrote:> Hello, > > Is there a way to refresh (as in the ''refresh'' command) the TC > configuration only ? It should take less time to only re-apply a TC > config instead of a complete firewall. The use case is when WAN > interfaces disappears from system view for a brief moment then come back > in operation. A netlink notification handler would then call shorewall > with a specific command to re-apply only the TC configuration.Make the interface ''optional''. Then you can use: ''shorewall disable <interface>; shorewall enable <interface>''. -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 \________________________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> Make the interface ''optional''. Then you can use: ''shorewall > disable <interface>; shorewall enable <interface>''.Which ''optional'' option would that be ? The ''shorewall enable'' documentation mentions providers. And ''optional'' in (tc)interfaces does not seem to be related. Thanks ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
On 04/30/2012 08:25 AM, Fred Maillou wrote:>> Make the interface ''optional''. Then you can use: ''shorewall >> disable <interface>; shorewall enable <interface>''. > > Which ''optional'' option would that be ? The ''shorewall enable'' > documentation mentions providers. And ''optional'' > in (tc)interfaces does not seem to be related.You have a single provider with ''optional'' specified in the interfaces file. Specify ''balance,track'' for the provider options. -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 \________________________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/