Category Archives: Uncategorized

Trying out Windows Subsystem for Linux on Windows 10.

It is on… Trying out the … scary co-inhabitant partnership that currently is undergoing a beta period.
installingubuntu

Point here is (according to a terrible video by MS) is that it is “brand new”. They seem to have forgotten their old subsystem for UNIX, that was.. horrid – and not even close to something that at least today should be able to touch production machines.

However.. They did stress quite a lot that it is still beta, and only a small subset of actual syscalls via the “adapter” works against the NT Kernel.
No suprises there at all. We will see how many they might be able to cover, and if it might even be proven to gain any kind of trust.

For the real world – the primary claim is that it will work perfectly for developers etc.. I would say it would prolly work as at best a better approach than pulling out resources for a virtual machine.

They seem to take pride in that it will share the current network stack – that we all know is fracked from the beginning. Windows can barely handle anything in this sense, and workload, no – this is only for simple tasks, and a easier way on a local machine to get you hopefully at least the normal GNU toolset to work out of the box.

bashrunning

At least – getting it to run is easy.

To get this horrid beta on your machine – first you need to grab a beer. Then some coffee, then I would say either a bottle of whiskey or a energy drink.

Step by step …

1 – Jump onto your windows 10 box, login, grab the first beer.
2 – register for Windows Insider Previews
3 – dig into the updates and advanced settings, input your account details for the preview
4 – guessing a reboot, and a new beer.
5 – now, go back to the insider preview part in updates – adjust the slider to the outer dangerous position. Grab coffee or whiskey..
6 – reboot – refill drink
7 – Reboot a couple of more times
8 – Apply all the patches, reboot
9 – Do all the logins, verify that your screen is now filled in the lower right corner with at least build number 14332
10 – grab the turn windows features on and off – locate the magical new windows subsystem for linux (beta)
11 – reboot
12 – login again, grab a new drink
13 – punch in bash and accept the canonical licence if you dare, create a local account
14 – grab hopefully that last drink
15 – wait for it to download the ubuntu data, from the microsoft market…
16 – wait for it..
17 – WE HAVE ARRIVED.
topinbash

(PS – Seems like they fixed top, kinda – DS.)

Toy around. Enjoy – destroy – and remember – even if this leaves beta – we rely on the NT Kernel, The underlying windows features – Windows networkstack – and the permission of Microsoft to use our software…

The year is 2016….

And all is not well.

But, re-discovered pfSense. It’s grown into a nifty little perimeter protector.
Reverting over to FreeNas – because even at home de-duplication and compression is… useful.
Found myself a small little windows tablet – quite interesting.

The year is 2015 – and people still click without thought.

The year of 2015 – the year one would think that after so many spam emails one would start thinking on what comes into the mailbox.

But no.

It’s tax time in Sweden. Several have gotten spam with attachments, from what claims to be the tax office. It’s not.

First of – they don’t have your email. I don’t care how well thought out and graphically correct it may look.

Second – if you are doing your tax on the internet, there’s several steps to take to just log in – to see your data.
Why on earth would they send anything to your email, with the information ATTACHED?

Thirdly- if you’re getting the spams from DHL – DID YOU ORDER ANYTHING FROM DHL TO BEGIN WITH?

No? SO WHY THE HELL DID YOU CLICK IT?!

The same way your normal mail works – you open it, athenticate it, and then authorize it. The authorize action along with the authentication can always be verified by contating the vendor in question.

So… Why are you STILL NOT DOING IT FOR EMAILS?

Here’s the tax office WARING

Did you just hover over that link before you clicked it? I hope so.

That’s all for now.

STOP CLICKING ALL THE THINGS!

Baking a dedicated maltrieve VM.

Ingrediens;
1 Serving of a appropriate VM
1 Iso of Debian 7.x (32bit flavor is sufficient)

Start with installing the VM where it is supposed to live, use the ISO for flavoring.
Setup everything else you wish to have running – shield the machine off.

Now, to the easy part;

apt-get install git python-dev python-pip

Get that git to your fresh user, in that freshly created space – whereever it might be;).

git clone https://github.com/technoskald/maltrieve.git

Good and getting there! Jump to your freshly cloned dir, and go;

pip install -e .

Might take a while, some parts will have to be compiled. Grab coffee.
Wait for the following line;


Successfully installed beautifulsoup4 feedparser gevent greenlet grequests python-magic requests pre-commit pytest pytest-cov coveralls LinkChecker maltrieve aspy.yaml cached-property jsonschema nodeenv ordereddict pyyaml simplejson virtualenv py coverage cov-core docopt
Cleaning up...

Done.

Now, sit back, and kick off (if you’re happy with the settings for maltrieve ).


#./maltrieve.py
Processing source URLs
Completed source processing
Downloading samples, check log for details
[lots of lots of lines.. ;) ]

You could always take a peek at https://insecureinsecurity.wordpress.com/tag/maltrieve/ , if you don’t like my writing.

VLAN’s. because I always forget…


modprobe 8021q
apt-get install vlan


vconfig add eth0 222 # 222 is vlan number
ifconfig eth0.222 up
ifconfig eth0.222 mtu 1496 #optional if your network card doesn't support MTU 1504B
ifconfig eth0.222 10.10.10.1 netmask 255.255.255.0


auto eth0.222
iface eth0.222 inet static
address 10.10.10.1
netmask 255.255.255.0
vlan-raw-device eth0

Sheatsheet:
https://wiki.debian.org/NetworkConfiguration#Howto_use_vlan_.28dot1q.2C_802.1q.2C_trunk.29_.28Etch.2C_Lenny.29

Presenting – The PiWall.

Having a dreaded man-cold, not really being able to be awake more than a few hours before everything started to hurt last week, I decided to start with a old project.

I grabbed one of my old Raspberry Pi Model B’s, glued a USB Ethernet adapter to it, attached an old Wifi USB dongle, and started having fun.

IMAG1398

Now, this is related to the loss of the NSLU2, and also some new ideas with a “PiES” concept (I’ll get into more detail later on about that).

The main functions to be targeted with this little bundle of fun will be the following:

* Firewall with the standard NATting, DHCP / DNS features
* Bridged LAN interfaces (Ethernet and WLAN (with hostapd))
* IPSEC enabled (becoming a cheap extender of the Mesh IPSEC network)
* SQUID-proxy (since the throughput needs all the help it can get)

Sadly, I started compiling the latest Squid, and of course it broke within a function – I’ll drill down to a less new version, but I refuse to run the old and dirty one in the repos for Rasbian (yes, it runs Rasbian, that’s been put on a diet).

It’s not built to perform fast – or even that well. It’s purpose built to be CHEAP. However, with all the additionals, of course it will become somewhat not that cheap if I am to create more of these small bundles of joy.

But, imagine getting your hands on a Raspberry Pi 2 Model B as well.. Aaaaw.. More fun stuff!

Either way – I’ll get this concept working first in full, and extend the functionality.
Might have to move on to the “C&C” for the PiES soon tho, so I can control my Pi-army in a nice way :).

More to come!

Red Alert Nostalgia, CNCnet version of the game!

Had a slight slip down the slope of nostalgia. Wanted badly to play Command & Conquer Red Alert 1 again!

So, got the search engine up, and hmm… what? It’s freeware now? But, EA don’t provide the ISO/media anymore (all links are borked..) ?

so.. There’s a small little sphere of people that maintains cncnet.org, and redalert1.com. They have created installers that enables you from scratch to simply (for windows, mind you) download and run an installer, automagically join in to IRC – and kill off a random opponent online. Or LAN. Or Scirmish.

But, it has proven quite hard to get it working with the outline of using PlayOnLinux (since .Net 2 is needed, and that installer is borked..). Just running native wine, and/or winetricks and adding .net to that, works fine.

But there’s more… They are working hard on Red Alert 2 ;).

Death of the NSLU2

It’s a sad day in the local network. A great foundation has finally fallen. Do not know if it is the powersource, or the NSLU2 itself, but it’s stone cold dead.
10872746_10152736692993283_608632349005582130_o

It’s had a hard but fair life.

It’s been running Debian since the first day I bought it second hand.. Debian 4, a stable and trustworthy friend.

It’s been my Router, firewall, NAT device, Dyndns-updater, DHCP and internal DNS.

My dear friend. Much have died this year. But you, you bastard almost killed my network by signing off.