<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=2628&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / safe networking with only one tool]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2628</link>
		<description><![CDATA[The most recent posts in safe networking with only one tool.]]></description>
		<lastBuildDate>Sun, 23 Jun 2019 09:35:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: safe networking with only one tool]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16645#p16645</link>
			<description><![CDATA[<div class="quotebox"><cite>nogeek wrote:</cite><blockquote><div><p>I am not sure about that firewall in the router you have talked about, I can not find anything like that in the router preferences.</p></div></blockquote></div><p>I think Dutch_Master is referring to the <a href="https://en.wikipedia.org/wiki/Network_address_translation" rel="nofollow">NAT</a> provided by your router, this is known as a <em>hardware firewall</em> and prevents your local IP addresses from being accessed from the interweb.</p><p>If you plug your ethernet connection in directly without using a router then you will lose the protections afforded by NAT, this is not advisable.</p><div class="quotebox"><cite>nogeek wrote:</cite><blockquote><div><p>Thank you for the advice of a professional!</p></div></blockquote></div><p>I don&#039;t have any formal training in IT and I work as a professional motorcyclist <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 23 Jun 2019 09:35:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16645#p16645</guid>
		</item>
		<item>
			<title><![CDATA[Re: safe networking with only one tool]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16641#p16641</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="quotebox"><cite>nogeek wrote:</cite><blockquote><div><p>It do not work for me.</p></div></blockquote></div><p>You need to post exactly what you tried so that we can see where you went wrong.</p><p>Have you populated /etc/resolv.conf with valid nameservers?</p></div></blockquote></div><p>Hey Head_on_a_Stick.<br />It is some time ago I have done this, so I mostly forgot what I have done...<br />But yes I have had populated /etc/resolv.conf with valid nameservers.</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="quotebox"><cite>nogeek wrote:</cite><blockquote><div><div class="codebox"><pre><code>ip addr add 192.168.0.254/27 brd + dev eth0</code></pre></div><p>followed by</p><div class="codebox"><pre><code>ip link set eth0 up</code></pre></div></div></blockquote></div><p>That address looks wrong — are you sure you need a /27 subnet mask? Most networks will use /24 instead.</p><p>And you don&#039;t need the <span class="bbc">brd +</span> bit at all.</p><p>To determine the correct address range enable DHCP, use that to connect and then run</p><div class="codebox"><pre><code>ip a
ip r</code></pre></div><p>The addresses can then be copied for your custom commands.</p><p>I use the plain <span class="bbc">ip</span> command &amp; <span class="bbc">wpa_supplicant</span> to connect via wireless on my laptop, it works well.</p></div></blockquote></div><p>Thank you for the advice of a professional! ;-)<br />I hope I will soon find some time to try this out, and I will reporting it here if it works for me or not <strong>with</strong> a precise description what I have done (like in my first post).</p>]]></description>
			<author><![CDATA[dummy@example.com (nogeek)]]></author>
			<pubDate>Sun, 23 Jun 2019 03:37:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16641#p16641</guid>
		</item>
		<item>
			<title><![CDATA[Re: safe networking with only one tool]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16640#p16640</link>
			<description><![CDATA[<div class="quotebox"><cite>Dutch_Master wrote:</cite><blockquote><div><p>IMO you&#039;re too paranoid about DHCP.</p></div></blockquote></div><p>Maybe you should read my first post again... and the wikipedia entries too.<br />I figured out that in &quot;Computer-Stuff&quot; forums some people call you paranoid when you just a careful person...<br />I do not understand this and to me it sounds like a slander...<br />But maybe this people just do not known what being paranoid is like?<br /><strong>Paranoid means the fear of something that do not exist</strong>, that&#039;s all!<br />But the security issues about dhcp <strong>do</strong> exist.</p><div class="quotebox"><cite>Dutch_Master wrote:</cite><blockquote><div><p>I&#039;ve noticed you mentioned your setup uses a router, so I assume that&#039;s also your gateway to the web via your ISP.</p></div></blockquote></div><p>Is it possible to setup a network without using a router (and ISP) (maybe that is a hint for mesh networking? yeah... I am a noob in the most things...).</p><div class="quotebox"><cite>Dutch_Master wrote:</cite><blockquote><div><p>That router has a firewall to prevent access from outside to your network.</p></div></blockquote></div><p>I am not sure about that firewall in the router you have talked about, I can not find anything like that in the router preferences.<br />Btw: Soon I will buy a Free-Open-Hardware LAN-Router from ThinkPenguin with LibreCMC pre-installed. ;-)</p><div class="quotebox"><cite>Dutch_Master wrote:</cite><blockquote><div><p>Re-install DHCP, re-enable it on your router so you can spend your time on other things. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></div></blockquote></div><p>At the moment I am using ifup and ifdown and I will never need or want dhcp again.</p>]]></description>
			<author><![CDATA[dummy@example.com (nogeek)]]></author>
			<pubDate>Sun, 23 Jun 2019 03:28:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16640#p16640</guid>
		</item>
		<item>
			<title><![CDATA[Re: safe networking with only one tool]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16632#p16632</link>
			<description><![CDATA[<div class="quotebox"><cite>nogeek wrote:</cite><blockquote><div><div class="codebox"><pre><code>ip addr add 192.168.0.254/27 brd + dev eth0</code></pre></div><p>followed by</p><div class="codebox"><pre><code>ip link set eth0 up</code></pre></div></div></blockquote></div><p>That address looks wrong — are you sure you need a /27 subnet mask? Most networks will use /24 instead.</p><p>And you don&#039;t need the <span class="bbc">brd +</span> bit at all.</p><p>To determine the correct address range enable DHCP, use that to connect and then run</p><div class="codebox"><pre><code>ip a
ip r</code></pre></div><p>The addresses can then be copied for your custom commands.</p><div class="quotebox"><cite>nogeek wrote:</cite><blockquote><div><p>It do not work for me.</p></div></blockquote></div><p>You need to post exactly what you tried so that we can see where you went wrong.</p><p>Have you populated /etc/resolv.conf with valid nameservers?</p><p>I use the plain <span class="bbc">ip</span> command &amp; <span class="bbc">wpa_supplicant</span> to connect via wireless on my laptop, it works well.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 21 Jun 2019 17:35:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16632#p16632</guid>
		</item>
		<item>
			<title><![CDATA[Re: safe networking with only one tool]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16629#p16629</link>
			<description><![CDATA[<p>IMO you&#039;re too paranoid about DHCP. I&#039;ve noticed you mentioned your setup uses a router, so I assume that&#039;s also your gateway to the web via your ISP. That router has a firewall to prevent access from outside to your network. Therefor, your DHCP stack is protected from attacks. Re-install DHCP, re-enable it on your router so you can spend your time on other things. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Fri, 21 Jun 2019 04:18:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16629#p16629</guid>
		</item>
		<item>
			<title><![CDATA[Re: safe networking with only one tool]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16623#p16623</link>
			<description><![CDATA[<p>I forgot to post here in the past:<br />It do not work for me.</p>]]></description>
			<author><![CDATA[dummy@example.com (nogeek)]]></author>
			<pubDate>Thu, 20 Jun 2019 22:33:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16623#p16623</guid>
		</item>
		<item>
			<title><![CDATA[Re: safe networking with only one tool]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=13916#p13916</link>
			<description><![CDATA[<p><span class="bbc">/etc/resolv.conf</span> is needed for DNS to work, but before that you need to declare the routing paths.</p><p>How about adding a default route? </p><div class="codebox"><pre><code># ip route add default via 192.168.0.1 dev eth0</code></pre></div><p> That&#039;s assuming your router having IP <span class="bbc">192.168.0.1</span>. Use </p><div class="codebox"><pre><code>$ ip route show</code></pre></div><p> to inspect the routing table. There&#039;s plenty more to read about routing, which is what provides networking above the link level packet exchange.</p><p>You don&#039;t need <span class="bbc">/etc/networks</span> or the <span class="bbc">/etc/network</span> tree; these are used by the <span class="bbc">ifupdown</span> networking support, but they are not necessary for networking to work.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Thu, 31 Jan 2019 07:45:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=13916#p13916</guid>
		</item>
		<item>
			<title><![CDATA[safe networking with only one tool]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=13915#p13915</link>
			<description><![CDATA[<p>Hello everybody.<br />=-&gt;</p><p>I am at the beginning of learning how networking works.<br />Long time ago I have removed wicd-gtk and from there on I used only the dhclient command.</p><p>I have read some explanations and manual entries about networking with GNU / Linux and there are still many things I do not understand (seems like an own world to me ^o^), but I figured out, that dhcp has some heavy security issues:<br /><a href="https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#Security" rel="nofollow">https://en.wikipedia.org/wiki/Dynamic_H … l#Security</a><br /><a href="https://en.wikipedia.org/wiki/Rogue_DHCP" rel="nofollow">https://en.wikipedia.org/wiki/Rogue_DHCP</a><br /><a href="https://en.wikipedia.org/wiki/DHCP_snooping" rel="nofollow">https://en.wikipedia.org/wiki/DHCP_snooping</a><br /><a href="https://en.wikipedia.org/wiki/Network_interface_layer_security#Dynamic_Host_Configuration_Protocol_(DHCP)_starvation" rel="nofollow">https://en.wikipedia.org/wiki/Network_i … starvation</a><br />, so I decided not to use it anymore, removed the dhcp packages and disabled it in my router.</p><p>Further I understand that the net-tools seems to be obsolet and that it will be totally replaced by iproute2 in the future (correct me if I am wrong), and that they are only in the repos (and the basic install) because some scripts or programs are still use them.<br />I have removed net-tools from my system, cause I do not have any packages installed wich depend on it:</p><div class="codebox"><pre><code>apt-cache rdepends net-tools</code></pre></div><p>At the moment I am using ifupdown to get my network working after I logged in.</p><p>But I think I have understand that ifupdown is only a tool to using iproute2 with, so I wanted to know if it is possible to use only iproute2 to get my network working.<br />I have removed ifupdown, /etc/network (it was created by iproute2 but contains only ifupdown stuff), reboot the system and runned</p><div class="codebox"><pre><code>ip addr add 192.168.0.254/27 brd + dev eth0</code></pre></div><p>followed by</p><div class="codebox"><pre><code>ip link set eth0 up</code></pre></div><p>and dmesg said that the link becomes ready but I can not get a connection...<br />What is missing?</p><p>Also after a few playing with ifupdown (after installed it again from a local repo) I have figured out that the files /etc/networks and /etc/resolv.conf seems to be necessary to get a connection...<br />(resolv.conf was configured by the dhclient comand I used in the past I think...)</p><p>At least: is netbase a necessary package for networking?</p><div class="codebox"><pre><code>apt show -a netbase | tail -n 2
Description: Basic TCP/IP networking system</code></pre></div><p>ifconfig has it as a depedencie but iproute2 not, also not its dependencies or sub dependencies...</p>]]></description>
			<author><![CDATA[dummy@example.com (nogeek)]]></author>
			<pubDate>Thu, 31 Jan 2019 05:06:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=13915#p13915</guid>
		</item>
	</channel>
</rss>
