<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5428&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5428</link>
		<description><![CDATA[The most recent posts in [SOLVED] ufw and gufw appeared to have uninstalled.]]></description>
		<lastBuildDate>Wed, 28 Dec 2022 21:24:36 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39654#p39654</link>
			<description><![CDATA[<p>Cool. OK, thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 21:24:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39654#p39654</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39652#p39652</link>
			<description><![CDATA[<p>I don&#039;t have IPv6 at the moment but I leave the firewall functionality intact just in case my ISP adds it without telling me.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 28 Dec 2022 21:10:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39652#p39652</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39651#p39651</link>
			<description><![CDATA[<p>OK, done, with no errors.</p><p>Just one outstanding question then I probably should close this as Solved ...</p><p>As I understand it, our ISP <a href="https://bulloch.solutions/home/" rel="nofollow">https://bulloch.solutions/home/</a> doesn&#039;t support ip6v - should those references be commented-out or deleted or is there no harm in leaving them there?</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 21:03:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39651#p39651</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39650#p39650</link>
			<description><![CDATA[<p>I think nftables should be the default backend for any &quot;iptables&quot; implementations.</p><p>See <a href="https://wiki.debian.org/nftables" rel="nofollow">https://wiki.debian.org/nftables</a> and run</p><div class="codebox"><pre><code>for i in {ip{,6},arp,eb}tables ; do sudo update-alternatives --config $i ; done</code></pre></div><p>All of the alternatives should be pointing to <span class="bbc">*tables-nft</span>, change them if they don&#039;t.</p><p>Check for any extant <span class="bbc">iptables</span> configuration with</p><div class="codebox"><pre><code># iptables-save</code></pre></div><p>I&#039;m pretty sure that should be blank.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 28 Dec 2022 20:39:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39650#p39650</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39648#p39648</link>
			<description><![CDATA[<p>Should I disable iptables? <a href="https://linux-audit.com/nftables-beginners-guide-to-traffic-filtering/" rel="nofollow">https://linux-audit.com/nftables-beginn … filtering/</a></p><p>&quot;It is possible to mix iptables and nftables. However, this increases complexity and also the chance to introduce errors. So keep it simple and flush out all iptables rules, and make sure it is not loaded.&quot;</p><div class="codebox"><pre><code>    iptables -F
Do the same for IPv6:
    ip6tables -F</code></pre></div><p>&quot;Ensure that during system reboots the iptables configuration or modules are no longer loaded.&quot; (I&#039;m not sure how to do this.)</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 20:10:22 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39648#p39648</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39647#p39647</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>It is my understanding that ICMP echo requests should be allowed but I&#039;m no expert.</p><p>Reference: <a href="http://shouldiblockicmp.com/" rel="nofollow">http://shouldiblockicmp.com/</a></p></div></blockquote></div><p>OK, I&#039;ll leave it be.</p><p>I believe that the ASUS router I&#039;m using has some firewall controls - I could look at preventing a ping flood there first.</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 20:08:07 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39647#p39647</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39646#p39646</link>
			<description><![CDATA[<p>It is my understanding that ICMP echo requests should be allowed but I&#039;m no expert.</p><p>Reference: <a href="http://shouldiblockicmp.com/" rel="nofollow">http://shouldiblockicmp.com/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 28 Dec 2022 20:03:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39646#p39646</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39645#p39645</link>
			<description><![CDATA[<p>If that&#039;s as it should be - should I make a mod re. the potential for &quot;ping flood&quot; as mentioned?</p><p>Also, as I understand it, our ISP https://bulloch.solutions/home/ doesn&#039;t support ip6v - should those references be commented-out or deleted or is there no harm in leaving them there?</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 19:50:22 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39645#p39645</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39644#p39644</link>
			<description><![CDATA[<div class="codebox"><pre><code>root@devuan1:/etc# nft list ruleset
table inet firewall {
	chain inbound_ipv4 {
	}

	chain inbound_ipv6 {
		icmpv6 type { nd-router-advert, nd-neighbor-solicit, nd-neighbor-advert } accept
	}

	chain inbound {
		type filter hook input priority filter; policy drop;
		ct state vmap { invalid : drop, established : accept, related : accept }
		iifname &quot;lo&quot; accept
		meta protocol vmap { ip : jump inbound_ipv4, ip6 : jump inbound_ipv6 }
		tcp dport { 22, 80, 443 } accept
	}

	chain forward {
		type filter hook forward priority filter; policy drop;
	}
}
root@devuan1:/etc# </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 19:48:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39644#p39644</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39643#p39643</link>
			<description><![CDATA[<p>/etc/init.d/nftables calls <span class="bbc">/usr/bin/nft -f /etc/nftables.conf</span> so the file doesn&#039;t actually need a shebang.</p><p>EDIT: use this to check after the service starts:</p><div class="codebox"><pre><code># nft list ruleset</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 28 Dec 2022 19:34:52 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39643#p39643</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39642#p39642</link>
			<description><![CDATA[<p>In nftables.conf - when I copy in from <a href="https://wiki.nftables.org/wiki-nftables/index.php/Simple_ruleset_for_a_server" rel="nofollow">https://wiki.nftables.org/wiki-nftables … r_a_server</a> do I replace all but the &#039;shebang&#039; line at the top?</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 19:21:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39642#p39642</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39641#p39641</link>
			<description><![CDATA[<p>Cool.</p><p>Aptitude isn&#039;t installed - is it worth adding?</p><p>I returned to Synaptic and selected Status then Uninstalled then gufw and ufw to completely remove.</p><p>It left those two folders in place and deleted all but applications.p from ufw and left gufw.cfg, Home.profile, Office.profile, and Public.profile behind in gufw (it only deleted app.profile).</p><p>I&#039;ll remove the rest manually.</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 19:09:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39641#p39641</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39638#p39638</link>
			<description><![CDATA[<p><a href="https://raphaelhertzog.com/2011/01/31/debian-cleanup-tip-1-get-rid-of-useless-configuration-files/" rel="nofollow">https://raphaelhertzog.com/2011/01/31/d … ion-files/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 28 Dec 2022 17:54:14 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39638#p39638</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39636#p39636</link>
			<description><![CDATA[<p>OK. I&#039;m going to go minimalist, one step at a time.</p><p>I&#039;ve uninstalled grav.</p><p>I used Synaptic to uninstall ufw and gufw - but whereis finds ufw still in /etc/ufw (multiple .rules, .init, .conf and one .init file in there)</p><p>/etc/gufw still contains app.profiles, gufw.cfg, Home.profile, Office.profile, and Public.profile.</p><p>I can just delete these directories/folders and files but do you know why Synaptic uninstall left these behind?</p>]]></description>
			<author><![CDATA[dummy@example.com (dcolburn)]]></author>
			<pubDate>Wed, 28 Dec 2022 17:40:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39636#p39636</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] ufw and gufw appeared to have uninstalled]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39622#p39622</link>
			<description><![CDATA[<p>Not really.</p><p>It&#039;s as simple as</p><div class="codebox"><pre><code># apt install nftables orphan-sysvinit-scripts {g,}ufw-
# cp /usr/share/orphan-sysvinit-scripts/nftables /etc/init.d
# update-rc.d nftables defaults
# editor /etc/nftables.conf # copy in example file from my link
# /etc/init.d/nftables start</code></pre></div><p>Then check with</p><div class="codebox"><pre><code># nft list ruleset</code></pre></div><p>It would be even simpler had Debian bothered to supply an init script for nftables but unfortunately the developer doesn&#039;t give a crap about alternative init systems. For shame!</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 27 Dec 2022 19:53:06 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39622#p39622</guid>
		</item>
	</channel>
</rss>
