Nmap a Host

Now, I am sure that everyone read my previous post about culling live hosts from a given IP block, now what are you going to do with this list of live hosts? Obviously we want to investigate them a little more. What we want to do with them after we know a little more about them is up to us; if we are looking for unpatched Debian installs, we would proceed a little differently than if we were looking for unprotected SAMBA shares. Your first steps will probably be very similar, though, because all we really know about these hosts is that they are up. You will probably want to check these systems out a little bit more. I call this tickling the system. Here is my basic tickle command: Read more

Netstat to Troubleshoot

Sometimes we need to see if a computer is making the connections that we think it should be making. For those situations, netstat is there for us. There are any number of reasons why we would want to diagnose a connection. To ensure that a client is talking to a server, that is one big reason that I can see. In another case, if I have access, I like looking at a machine that I am scanning with nmap or some other tool when I am scanning it, it can be informative to see those connections pop open. If I was using netstat on a Linux machine then my command would probably look something like this:

sudo netstat -na -c | grep "192.168.0.2"

You would run this example on the computer that you were scanning. The IP address is the address of the host that you are scanning from, or the client that you want to make sure is connecting to the server. So what have you done here? First, you ran netstat, with a few options that provide detailed output, and tell it to run in a loop, checking for connections continuously. Read more

ChromeOS and the iPad

Google’s ChromeOS and Apple’s iPad are two products with the same goal in mind, the abstraction away of many cherished computing concepts. File systems and hierarchies, locations all these will be gone. However, they tackle this problem with two different approaches. Where they collide is going to be interesting, and, although neither product is officially released yet, the trends that they are setting and the ideas that they represent are indicative of the way computer consumables are going. Now, although these products are not officially released, I still have some thoughts about the approaches that they are taking. As I have used ChromiumOS (the dev community builds of ChromeOS) and I have an iPhone (to all intents and purposes a mini iPad), these speculations are not without at least some foundation.

Read more

How-To: Nmap an IP Block

Nmap is one of my favorite tools. Ostensibly, it is only a simple port scanner, but it can be used as one of the best discovery tools there is. It does require some command line proficiency. One thing that comes up often is this case. I am looking at an IP block, and I want to know which hosts are up and running. Knowing which machines are running can significantly lower your scan space, thus saving you time. Scanning an IP block with default settings is certainly doable, but pretty wasteful. Here is the command you could use to do that:

nmap 192.168.0.0/24

Read more

The Lovely Blogs

Well, I have been throughly enjoying getting my blog going here. Now I want to start some posts on how to make your blog easy to maintain, update, and everything. This is not really about plugins to install (although I may mention a few) but more about the things you need to do on your server (your Ubuntu LAMP server) to get everything humming along blissfully. As I discover interesting tools or techniques, I will share and help with how-to’s. First tip for blogging, make a regular schedule for updates. This could be once a week or once a day, or once and hour, whatever you think will be best. Since I maintain this blog in my admittedly low spare time, I am going to say that I will post once a week or so. This is the minimum required to make it into my RSS feeds, and I guess that I should follow my own rules. Anyway, once a week, look here for new content, mostly technical.

Read more

How-To: OpenBSD Firewall

I love network security, firewalls in particular. I have done some pretty extensive fire-walling with OpenBSD and I learned a ton along the way. I tried to write down what I learned, and have gone back to reference the resulting document multiple times when doing installs or upgrades. So I wanted to post up on my blog some of that in a how-to format. This guide will take you through the installation and initial configuration of an OpenBSD firewall, which, depending on the hardware, could be suitable for home or office use.

Read more

How-To: Permalink with Ubuntu LAMP

WordPress Permalinks with Ubuntu LAMP

Enabling permalinks in Wordpress is not to difficult, if your server configuration is precisely correct. If it was like mine, however, you may be in for a frustrating few hours. There are permissions to be hacked on, conf files to change, and apache mods to be enabled. This is a quick and dirty guide to enabling those search engine friendly permalinks on a typical Ubuntu LAMP installation.

Read more

iPhone Blogging

One of the things I like about Wordpress is it’s ultra simple methods of updating blogs. This little post was tapped out without to much trouble on my iPhone, which, when you think about it, is an amazing accomplishment. It is trivially simple to set this up, especially after setting up the rest of the blogs server. If I didn’t actually do the work to setup my own server, I cannot imagine how simple it would be to get up and going with a blog. Truly, the barriers to successful blogging have been effectively reduced to one, having something worthwhile to say. Now to decide what I really want to say.

Exhaustive Mac Twitter Clients

It happened one day when I was casually checking my twitter feed. The feed on my iPhone looked pretty different than the feed I was looking at in my Twitter client of choice for the past while, Twitterific. I looked a little more carefully to verify. Yep, what was missing was the new Retweet functionality. When people that I follow had used the new Twitter implemented Retweets, they didn’t appear in my timeline at all. Apparently, everyone also got the signal that the new retweets were fine to use on the same day, because all of a sudden, lots of people that I follow started using them (missed that memo). Well, this would not do, I needed to be able to see when someone I followed retweeted something interesting. Thus began my quest to find a new twitter client that would perform the functions that I needed. My current client, Twitterific, had been lacking in many ways for quite some time and, at this point, I only used it to read my stream, rather than actually compose my tweets, or anything else you can do with twitter (searches, lists, etc). So I made a list of things that I wanted my Twitter client to do, and began downloading. And tweeting. Thanks to all my friends that put up with my annoying ‘Now tweeting from ***. Interesting!’ posts.

Hello world!

I have once again changed my homepage in my never ending quest to realize some unknown quantity. I have switched my CMS yet again, mostly because I have no need for the power of Drupal, and for the most part I do not have the expertise needed to make Drupal what I wanted. Fantastic CMS, though, if I wanted a framework, I know where I would look, but since I prefer to have something with more meat attached, I have switched to WordPress, for its simplicity and wonderful free plugins, etc. Regardless, I am building towards perfection, so expect more changes.