<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: netprofile 0.20: the empire strikes back</title>
	<atom:link href="http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/feed/" rel="self" type="application/rss+xml" />
	<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/</link>
	<description>One blog to rule them all. Kinda.</description>
	<lastBuildDate>Wed, 07 Jul 2010 06:34:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: eugeni</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-17122</link>
		<dc:creator>eugeni</dc:creator>
		<pubDate>Wed, 09 Dec 2009 12:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-17122</guid>
		<description>&lt;p&gt;Basically, all the documentation is in the /usr/share/doc/netprofile/README file.&lt;/p&gt;

&lt;p&gt;The best way to see how it works is by taking a look into a /etc/netprofile/modules/ files. The FILES variable specifies file patterns that should be saved when switching profile; SERVICES specify the services that must be restarted. The &#039;restore&#039; function is called after a new profile is activated, and the &#039;save&#039; function is called before a profile contents is saved.&lt;/p&gt;

&lt;p&gt;In other word, if you define all those functions and variables, that&#039;s what will happen when you switch from profile &#039;a&#039; to profile &#039;b&#039;: the &#039;save&#039; function will be called for all modules, then all the files matching FILES variable will be saved into /etc/netprofile/profiles/a/&lt;module_name&gt;, then all service matching SERVICES pattern will be restarted. After that, the profile &#039;b&#039; will be activated: again, for each module, the files matching FILES variable will be removed from the system (if the module was activated before) and the ones stored inside /etc/netprofile/profiles/b/&lt;module_name&gt;/ will be placed instead, the services will be restarted, and then the &#039;restore&#039; function will be called.&lt;/p&gt;

&lt;p&gt;I&#039;ll clarify this in the README file for the next release, but if you have any questions, do not hesitate to ask!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Basically, all the documentation is in the /usr/share/doc/netprofile/README file.</p>

<p>The best way to see how it works is by taking a look into a /etc/netprofile/modules/ files. The FILES variable specifies file patterns that should be saved when switching profile; SERVICES specify the services that must be restarted. The &#8216;restore&#8217; function is called after a new profile is activated, and the &#8216;save&#8217; function is called before a profile contents is saved.</p>

<p>In other word, if you define all those functions and variables, that&#8217;s what will happen when you switch from profile &#8216;a&#8217; to profile &#8216;b&#8217;: the &#8216;save&#8217; function will be called for all modules, then all the files matching FILES variable will be saved into /etc/netprofile/profiles/a/<module_name>, then all service matching SERVICES pattern will be restarted. After that, the profile &#8216;b&#8217; will be activated: again, for each module, the files matching FILES variable will be removed from the system (if the module was activated before) and the ones stored inside /etc/netprofile/profiles/b/</module_name><module_name>/ will be placed instead, the services will be restarted, and then the &#8216;restore&#8217; function will be called.</module_name></p>

<p>I&#8217;ll clarify this in the README file for the next release, but if you have any questions, do not hesitate to ask!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Moi</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-17121</link>
		<dc:creator>Moi</dc:creator>
		<pubDate>Wed, 09 Dec 2009 12:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-17121</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Is there any documentation about modules (files) format?&lt;/p&gt;

&lt;p&gt;Found FILES, SERVICES and function restore (are these function called on switch netprofil)&lt;/p&gt;

&lt;p&gt;THX Regards&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>Is there any documentation about modules (files) format?</p>

<p>Found FILES, SERVICES and function restore (are these function called on switch netprofil)</p>

<p>THX Regards</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ORsi</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-17065</link>
		<dc:creator>ORsi</dc:creator>
		<pubDate>Mon, 12 Oct 2009 06:46:24 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-17065</guid>
		<description>&lt;p&gt;I&#039;m really looking forward to see effects of your work.&lt;/p&gt;

&lt;p&gt;Great idea! Great work!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m really looking forward to see effects of your work.</p>

<p>Great idea! Great work!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HowtoForge Linux Tutorials &#187; Mandriva: Beta von Version 2010.0 verfügbar</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-16960</link>
		<dc:creator>HowtoForge Linux Tutorials &#187; Mandriva: Beta von Version 2010.0 verfügbar</dc:creator>
		<pubDate>Fri, 28 Aug 2009 09:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-16960</guid>
		<description>&lt;p&gt;[...] unterstützt, mit dem sich Bildschirmflackern verhindern lässt. Das völlig überarbeitete Netprofile erleichtert mobilen Nutzern den Aufenthalt in verschiedenen Netzwerken. Mandriva 2010.0 Beta 1 [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] unterstützt, mit dem sich Bildschirmflackern verhindern lässt. Das völlig überarbeitete Netprofile erleichtert mobilen Nutzern den Aufenthalt in verschiedenen Netzwerken. Mandriva 2010.0 Beta 1 [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Linux-OS &#187; Mandriva 2010 Beta</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-16958</link>
		<dc:creator>Linux-OS &#187; Mandriva 2010 Beta</dc:creator>
		<pubDate>Tue, 25 Aug 2009 00:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-16958</guid>
		<description>&lt;p&gt;[...] Plymounth reemplaza a Splashy para manejar el boot splash. * La herramienta Netprofile ha sido completamente reescrita. * La primera interface gráfica para Tomoyo. * Python 3 en el [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Plymounth reemplaza a Splashy para manejar el boot splash. * La herramienta Netprofile ha sido completamente reescrita. * La primera interface gráfica para Tomoyo. * Python 3 en el [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: killer1987</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-16952</link>
		<dc:creator>killer1987</dc:creator>
		<pubDate>Mon, 17 Aug 2009 14:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-16952</guid>
		<description>&lt;p&gt;eugeny for president! : P&lt;/p&gt;

&lt;p&gt;thanks for this great work, i&#039;m looking forward to see your next victim : )&lt;/p&gt;

&lt;p&gt;Bye,
Marcello&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>eugeny for president! : P</p>

<p>thanks for this great work, i&#8217;m looking forward to see your next victim : )</p>

<p>Bye,
Marcello</p>]]></content:encoded>
	</item>
	<item>
		<title>By: eugeni</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-16951</link>
		<dc:creator>eugeni</dc:creator>
		<pubDate>Mon, 17 Aug 2009 13:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-16951</guid>
		<description>&lt;p&gt;My next victim should be drakfirewall+drakgw :). I want to improve drakfirewall for it to support port forwarding, internet connection sharing setup, bandwidth limitation and mac-based authentication in a simple way. But I added drakloop into my todo list. Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>My next victim should be drakfirewall+drakgw <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I want to improve drakfirewall for it to support port forwarding, internet connection sharing setup, bandwidth limitation and mac-based authentication in a simple way. But I added drakloop into my todo list. Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: yoho</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-16950</link>
		<dc:creator>yoho</dc:creator>
		<pubDate>Mon, 17 Aug 2009 08:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-16950</guid>
		<description>&lt;p&gt;Eugeni, it&#039;s awesome to see you taking up those tools (msec and now netprofile) ! Many thanks ! Making them modular is clearly the way to go, so it&#039;s a very good design.&lt;/p&gt;

&lt;p&gt;Maybe your next tool will be drakloop 2.0 ? :) It was a very useful tool to build a cryptoloop-encrypted container. But cryptoloop kernel module is now known to be vulnerable to several attacks and it has been deprecated in the linux kernel, so the userspace tool becomes obsolete too. A new luks-based tool would be very nice.&lt;/p&gt;

&lt;p&gt;Just one more thing about netprofile : it would be nice to also auto-detect the profile to use. It should also be modular in my opinion : you should create a bunch of &quot;detectors&quot; which are nothing more than scripts able to tell if you&#039;re at home, at work, at your friend&#039;s, etc... and netprofile will take the result of those various detectors into account to decide which profile should be applied. For instance, here, at work and at home, the gateway has a different MAC address : it&#039;s probably rather  good &quot;detector&quot;. It has already been suggested in the Mandriva idea box, IIRC.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Eugeni, it&#8217;s awesome to see you taking up those tools (msec and now netprofile) ! Many thanks ! Making them modular is clearly the way to go, so it&#8217;s a very good design.</p>

<p>Maybe your next tool will be drakloop 2.0 ? <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It was a very useful tool to build a cryptoloop-encrypted container. But cryptoloop kernel module is now known to be vulnerable to several attacks and it has been deprecated in the linux kernel, so the userspace tool becomes obsolete too. A new luks-based tool would be very nice.</p>

<p>Just one more thing about netprofile : it would be nice to also auto-detect the profile to use. It should also be modular in my opinion : you should create a bunch of &#8220;detectors&#8221; which are nothing more than scripts able to tell if you&#8217;re at home, at work, at your friend&#8217;s, etc&#8230; and netprofile will take the result of those various detectors into account to decide which profile should be applied. For instance, here, at work and at home, the gateway has a different MAC address : it&#8217;s probably rather  good &#8220;detector&#8221;. It has already been suggested in the Mandriva idea box, IIRC.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Modular Home Information &#187; 归档 &#187; netprofile 0.20: the empire strikes back</title>
		<link>http://dodonov.net/blog/2009/08/14/netprofile-0-20-the-empire-strikes-back/comment-page-1/#comment-16949</link>
		<dc:creator>Modular Home Information &#187; 归档 &#187; netprofile 0.20: the empire strikes back</dc:creator>
		<pubDate>Fri, 14 Aug 2009 20:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://dodonov.net/blog/?p=501#comment-16949</guid>
		<description>&lt;p&gt;[...] See the example place here: netprofile 0.20: the corp strikes back [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] See the example place here: netprofile 0.20: the corp strikes back [...]</p>]]></content:encoded>
	</item>
</channel>
</rss>
