<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>loxley.se &#187; Linux</title>
	<atom:link href="http://loxley.se/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://loxley.se</link>
	<description>use the source luke</description>
	<lastBuildDate>Fri, 17 Sep 2010 19:16:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Ubuntu 9.04  released</title>
		<link>http://loxley.se/2009/04/23/ubuntu-904-released/</link>
		<comments>http://loxley.se/2009/04/23/ubuntu-904-released/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 21:03:00 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=418</guid>
		<description><![CDATA[So, it&#8217;s finally here, Ubuntu 9.04 aka Jaunty Jackalope. Go grab it, it&#8217;s amazing! Tweet]]></description>
			<content:encoded><![CDATA[<p>So, it&#8217;s finally here, <a title="Ubuntu 9.04 aka Jaunty Jackalope" href="http://www.ubuntu.com/news/ubuntu-9.04-desktop" target="_blank">Ubuntu 9.04</a> aka Jaunty Jackalope. Go <a title="Jaunty download" href="http://www.ubuntu.com/getubuntu/download" target="_blank">grab it</a>, it&#8217;s amazing!</p>
<div id="tweetbutton418" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2FbgsDnb&amp;text=RT%20%40linuxsysop%20Ubuntu%209.04%20%20released%20-%20%23wp&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Floxley.se%2F2009%2F04%2F23%2Fubuntu-904-released%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://loxley.se/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/04/23/ubuntu-904-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up VLANs on Debian</title>
		<link>http://loxley.se/2009/03/13/setting-up-vlans-on-debian/</link>
		<comments>http://loxley.se/2009/03/13/setting-up-vlans-on-debian/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 21:54:07 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[vlan]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=278</guid>
		<description><![CDATA[Today I spent the day building a firewall that we will use for our new honeypot. On this firewall I&#8217;ve set up 6 vlans going from 101-106 and they will be going out on one nic as trunk. The reason for having vlans in the first place is that we don&#8217;t want one whole honeypot [...]]]></description>
			<content:encoded><![CDATA[<p>Today I spent the day building a firewall that we will use for our new honeypot. On this firewall I&#8217;ve set up 6 vlans going from 101-106 and they will be going out on one nic as trunk. The reason for having vlans in the first place is that we don&#8217;t want one whole honeypot infected with the same type of zombies, this way they can&#8217;t infect eachother. Setting up vlans on a Debian is really easy as it comes with all the tools needed, like the vlan package and the way it handles interfaces. I&#8217;ll show you how it&#8217;s done here.<br />
<span id="more-278"></span><br />
First we install the vlan package:</p>
<p><code>apt-get install vlan</code></p>
<p>Then we head over to /etc/network/interfaces and start editing that file. I used eth0 for my trunk interface, just replace with whatever floats the boat.</p>
<p><code>auto eth0<br />
iface eth0 inet static<br />
address 10.1.1.1<br />
netmask 255.255.255.0<br />
vlan_raw_device eth0<br />
up echo "Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD" &gt; /proc/net/vlan/config</code></p>
<p>Or if you just want to bring up eth0 without an IP use this instead.</p>
<p><code>auto eth0<br />
iface eth0 inet manual<br />
up ifconfig eth0 0.0.0.0 up<br />
up echo "Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD" &gt; /proc/net/vlan/config<br />
down ifconfig eth0 down</code></p>
<p>The first example sets the native vlan1 but it&#8217;s really not necessary, or recommended. The &#8220;Name-Type&#8221; part sets how the vlan will be displayed and refered to as when you run ifconfig or put rules on it with iptables. Using this naming convention a vlan id of 101 would be refered to as &#8220;vlan101&#8243;. You can run &#8220;vconfig&#8221; to see what name types that are available.</p>
<p><code>iface vlan101 inet static<br />
address 10.1.101.1<br />
netmask 255.255.255.0<br />
broadcast 10.1.101.255<br />
mtu 1500<br />
vlan_raw_device eth0<br />
up echo 1 &gt; /proc/sys/net/ipv4/conf/vlan101/arp_filter<br />
up echo 2 &gt; /proc/sys/net/ipv4/conf/vlan101/arp_ignore<br />
up echo 1 &gt; /proc/sys/net/ipv4/conf/vlan101/rp_filter</code></p>
<p>That&#8217;s all there&#8217;s to it, now go trunking those vlans to your Cisco and access them! <img src='http://loxley.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="tweetbutton278" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2FbQcQSc&amp;text=RT%20%40linuxsysop%20Setting%20up%20VLANs%20on%20Debian%20-%20%23wp&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Floxley.se%2F2009%2F03%2F13%2Fsetting-up-vlans-on-debian%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://loxley.se/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/03/13/setting-up-vlans-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian GNU/Linux 5.0 Lenny ready for release</title>
		<link>http://loxley.se/2009/02/11/debian-50-lenny-ready-for-release/</link>
		<comments>http://loxley.se/2009/02/11/debian-50-lenny-ready-for-release/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 08:44:05 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=180</guid>
		<description><![CDATA[According to the Debian february newsletter Lenny seems to be ready for release on the 14th of February during the weekend. This means that it&#8217;s been frozen and will just accept critical bug fixes until then. The developers would like people to try out the daily builds of it and file any bugs that may [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://loxley.se/wp-content/uploads/2009/02/lenny.jpg"><img class="alignright size-thumbnail wp-image-184" title="lenny" src="http://loxley.se/wp-content/uploads/2009/02/lenny-150x150.jpg" alt="lenny" width="90" height="90" /></a>According to the Debian february <a title="Debian february newsletter" href="http://www.debian.org/News/project/2009/02/" target="_blank">newsletter</a> Lenny seems to be <a title="Lenny ready for release" href="http://lists.debian.org/debian-devel-announce/2009/02/msg00000.html" target="_blank">ready for release</a> on the 14th of February during the weekend. This means that it&#8217;s been frozen and will just accept critical bug fixes until then. The developers would like people to try out the <a title="Debian daily builds" href="http://cdimage.debian.org/cdimage/daily-builds/" target="_blank">daily builds</a> of it and file any bugs that may occur. FYI, Lenny is the character from Toy Story that is a pair of binoculars with feet.</p>
<div id="tweetbutton180" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2FcGzbqZ&amp;text=RT%20%40linuxsysop%20Debian%20GNU%2FLinux%205.0%20Lenny%20ready%20for%20release%20-%20%23wp&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Floxley.se%2F2009%2F02%2F11%2Fdebian-50-lenny-ready-for-release%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://loxley.se/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/02/11/debian-50-lenny-ready-for-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

