Monday, March 29, 2010

The Enlightenment


Stephen Castaneda
HS240H First night assignment

According to Perry, the philosophes were the “combative intellectuals and pundits” who were “the leaders of the enlightenment.” These individuals of diverse backgrounds, though not entirely of the same mind on all issues, shared a few general beliefs that were inspired by the new science. Among their most cherished ideals were carefully ordered freedom, tolerance, and, according to Encyclopedia Britannica, a “conviction of the supremacy and efficacy of human reason.” In my assessment, the 17th century belonged to a small handful of geniuses, including Copernicus, Galileo, Descartes, Spinoza, Leibniz, and Newton, whereas the 18th century philosophes represented a great democratization of science and thought that caused massive historical changes including the American Revolution.
Before discussing some of these great enlightenment leaders, let's define the enlightenment properly. According to the chronology presented by Perry, the enlightenment began in 1685 with the revocation of the Edict of Nantes – which justified the persecution of Protestants in France and caused mass exodus of its intellectuals – and ended in 1789 with the beginning of the French Revolution. As late as 1784, in his essay, “What is Enlightenment?,” Kant denied that his was a fully enlightened age, but rather was still an “age of enlightenment,” and he expresses great optimism for the future. As was typical of enlightenment thought, Kant rejected the traditional view of humans as mostly detestable, and argued that intellectual “laziness and cowardice” were the major factors holding humankind back, not lack of intelligence. He even attacks those of means who would outsource the “tedious job” of thinking to others. Clearly, enlightenment thinkers hoped that all people would take it upon themselves to pursue education and to question previously unquestionable institutions, such as political tyranny and the domination of the church.
Voltaire (1694–1778) was a Parisian poet, who traveled to the Dutch Republic and then to London, where he enjoyed enormous freedom of thought and “witnessed social and religious tolerance.”(Perry) He came to identify with the anger of exiled French Protestants toward the French church. In his writings, Voltaire condemns superstition, specifically the sentencing to death of “over a hundred thousand accused witches,” including one in Würzburg as late as 1749. He calls for complete tolerance of ideas, arguing that each citizen “be permitted to believe and think that which his reason rightly or wrongly dictates,” so long as those beliefs did not “disturb the public order.” This was in stark contrast to the strictness of the church in his time, which excommunicated or killed those who did not subscribe to the church's dogmas, no matter how “inaccessible to human intellect” they might be.
In order to understand Rousseau, we must first understand Hobbes, from whom Rousseau borrowed the idea that the governors served according to a social contract with the governed. Where Hobbes believed this to be a one-time contract creating a hereditary monarchy, Rousseau called for the contract to be continually renewed. According to Perry, Rousseau's political ideal was the city-state of ancient Greece, where all citizens participated in important decisions, and could be trusted to make decisions that were in the best interests of the state. This was in opposition to what he saw in his time as a corrupt system where the rich and powerful misused their positions to fortify their status and wealth, while oppressing the less fortunate. Interestingly, Perry tells us that Rousseau did not identify with the philosophes, who he accused of being “corrupted by easy living” and salon culture.
John Locke was a seventeenth century English political philosopher to whom we owe much of our modern ideas about the roles and responsibilities of government. According to Perry, he believed the right to govern was “derived from the consent of the governed and was a form of contract.” He believed in certain natural rights, such as life, liberty, and property and that if a government ruled arbitrarily and denied any of these rights, the people had the right to overthrow that government. From Locke's Essay Concerning Human Understanding (1690), we see one of the great leaps forward in the history of epistemology in the concept of the tabula rasa, or blank slate, that represented each individual's mind at birth. He argues against religious revelation, asserting that all ideas must come from either “sensible qualities” such as things we taste, smell, see, or otherwise experience through our senses, or else from the “internal operations of our minds” – that which we are able to deduce logically from what we have observed.
To historians, enlightened despotism refers specifically to the High Enlightenment (second half of the eighteenth century) rulers “Frederick the Great in Prussia; Catherine the Great in Russia; Charles III in Spain; Maria Theresa and ...her son Joseph II in Austria; and Louis XV in France.” (Perry) To the philosophes, the phrase, probably coined by Diderot, referred to an ideal ruler who was strong and authoritative, but who allowed for freedom of exchange, both commercial and intellectual. In reality, Perry paints a less favorable picture of the enlightened despots, for whom enlightenment ideals were to be exploited for political expediency. For instance, Joseph II quickly reimposed censorship after French Revolution pamphlets began circulating under the liberalized publishing laws he enacted in the 1780's.
Finally we come to Adam Smith, who many have called the father of modern economics. Locke had already argued that the role of government was to promote the best interests of its citizens, and the new economic theory, personified in Adam Smith, asserted that the best economic interest was to allow business and trade to its own best interests. Smith saw the value of a good or service as the sum of the labor costs associated with its production. Labor was a commodity like any other, whose value is determined by the laws of supply and demand. In modern times, Smith and his laissez faire free-market ideas have been criticized for selling the public interest to the highest bidder. Another weakness in his theories lies in its reliance on self-interest governing the market, while it has been observed time and again that people and organizations often make erroneous decisions that are not in their own best interests, let alone in the interests of society.

References
Perry, Marvin. (2009). Western civilization. Boston, MA: 2009.
Perry, Marvin, Joseph Peden, and Theodore Laue. Sources of the Western Tradition Volume II. 7th ed. II. Boston, MA: Houghton Mifflin College Div, 2007.
philosophe. (2010). In Encyclopædia Britannica. Retrieved March 29, 2010, from Encyclopædia Britannica Online: http://www.britannica.com/EBchecked/topic/456709/philosophe



The more the Christian religion is divine, the less it pertains to man to require it; if God made it, God will sustain it without you.
--Voltaire

Saturday, March 27, 2010

Another first night assignment I never turned in.


As a computer scientist who is relatively well versed in the physical sciences, I like precise definitions. If the goal is to calculate the ratio π to n decimal places, one must first explain to the machine, in no uncertain terms, one or several of the handful of ways that mathematicians have worked out for calculating π. Religion is somewhat different, in that where its definition may once have been extremely limited, in the modern era, one may define religion in nearly any terms. Furthermore, as long as one's belief system is sincere, it is usually shown nothing but respect in most modern cultural settings. In that spirit, I intend to begin this paper with my my own, fairly unique, take on religion – the sort of definition in which I would not be able to indulge myself in most of my other classes. Then, time and space permitting, I'll discuss how much my definition of religion was changed by taking the sister course to this one, which is to say, not much.
I was raised in a hallelujah church. Among the many precepts a young person growing up in one of these churches must accept without question, is that of monotheism. Err, wait. There's that whole thing about the three parts of God, which are all quite distinct and unified at the same time. But still, they were all the same God, which is the only real God, and whose name is called Yahweh. Err, wait. Yahweh is His Hebrew name, and there's that little issue where most people who could recognize Hebrew if they heard it definitely don't believe in all three of the gods that make up the one. So how could there be just one?
Such was the confusion in which a reflective, well read, young man found himself while discovering pot in high school and just after. During this highly inquisitive time in my life, I explored many ideas, perhaps the most important of which was Hinduism. I have the International Society for Krishna Consciousness (ISKCON) to thank for this.

Monday, March 22, 2010

Modern meaning of mythology


Stephen Castaneda
First night assignment: The modern meaning of mythology

Mythology is a nearly mystical word almost begging not to have a definition pinned upon it. Of course we, as scholars, are somewhat loathe to discuss a topic without first putting forth our best effort to agree on a definition of all the terms we use. According to The New Student's Reference Work, the word mythology has two meanings. The more academic and etymologically correct definition is simply the study of various myths, in the same way that biology is the study of biological systems. This definition, like most self-referential definitions, is not very satisfying. The second definition, the one the authors claim is more common, is “a collection or system of myths held by a certain people.” They go on to define myth as a “sham history,” which, while patently false, is held by a certain people to be both true and extremely important. This definition was written nearly a century ago, and I would argue that it shows its age somewhat.
In his introduction to The Power of Myth, Bill Moyers discusses the relationship Joseph Campbell developed with the filmmaker, George Lucas. Clearly, Lucas and his colleague, Stephen Spielberg, are two of the great myth makers of my time. Moyers discusses Lucas's nod to Campbell in Star Wars, and there has been scholarly work on Spielberg's E.T. The Extraterrestrial as a Jesus myth (Tomasulo, 2001). I recall my father taking me to see Star Wars when I was just five, and can personally attest to the power the myth had over me. It had everything – a reluctant young hero, mystical powers some chose to use for good, others for evil, Ultimate triumph of the spirited guerrilla over an imposing and impersonal domineering power. All these things I experienced without either the benefits or biases that an older, more educated person would have brought to the theater, and I certainly was too young to catch the triumph of human over technology theme alluded to by Moyers. But I felt the “power of myth” rooting for Skywalker and friends. Thus, I think a more modern definition of mythology would not include the bit about it being held by some to be true. Certainly not even the most gullible and still-believing-in-Santa of my young friends ever believed Luke and Darth Vader really went head to head, not even a long time ago or far, far away. But the myth had much more power over my young mind than did, for instance, the myth of Robin Hood, which actually had some possible basis in history.
Which brings us to another flaw in the New Student's Reference's definition. Mythology need not necessarily be false. Moyers alludes to the myth of John F. Kennedy, and indeed, there exists a cultural mythology associated with the entire Kennedy family. An even more modern example is the myth of Barack Obama, whose rise to the most important office in the U.S. has great meaning for a great many peoples. For instance, to African Americans, he represents progress on the equality front. This feeling also extends to many other minority groups for whom the possibility of their sons or daughters someday rising to that kind of position is now a distinct reality. It even extends to many non-ethnic minorities. And then there is the manufactured, though no less real, myth of hope and change. I think it's safe to say that a large majority of those approximately 53% who voted for Obama believe (or at least believed) in the hope and change message. The point is that even though it can be argued that the hope & change mythology was entirely manufactured by political spin doctors, it is no less real to those who believe it, and to some extent, I think the entire nation uses it as the basis of the expectations we have of this president and his administration.
So clearly, our definition of the word mythology has changed somewhat in the last century, though we still share some rather powerful myths. When I took “mythology” in high school as recently as the late 1980's, the course definitely should have been named “Greek mythology,” as the rich diversity of world mythology was not to be found. Soon after high school, I forced my way through a second-hand copy of Campbell's The masks of God: creative mythology, though now I barely remember it beyond the vague recollection at being amazed by the parallels found in myths from peoples who geographically could not possibly share a cultural heritage. Looking at some of the reading assignments for this course, I look forward to experiencing that amazement again, this time through adult eyes.
References

Bierlein, J. F. (1994). Parallel myths. New York, NY: Random House, Inc..
Campbell, Joseph, Moyers, Bill, & Flowers, Betty. (1991). The Power of myth. New York, NY: Anchor.
The New Student's Reference Work/Mythology. (2007, November 29). In Wikisource, The Free Library. Retrieved 18:29, March 22, 2010, from http://en.wikisource.org/w/index.php?title=The_New_Student%27s_Reference_Work/Mythology&oldid=510619
Tomasulo, F. P. (2001). The gospel according to Spielberg in E.T.: The extra-terrestrial. Quarterly Review of Film and Video, 18(3), 273-282. doi:10.1080/10509200109361529

Spying on my cofee shop-mates with WireShark


Stephen Castaneda
Week 2 homework, Packet Sniffer
When I first started using Linux, if one wanted to install some software, in this case a packet sniffer, one would usually search the Internet. A Redhat user might Google “packet sniffer” filetype:rpm, go to the project's homepage to find the download and cross your fingers in hope that the software is useful, documented, and not a trojan. Now, all the major distribution families (Debian, Redhat, or Slackware) have software repositories which at least address the issues of software usefulness and trustworthiness. All code that makes it into the repositories is very well screened, but user-level documentation is still notoriously weak with most open-source software.
Possibly the best thing about the repositories is the ease with which one can install any number of softwares at the same time. I simply opened my software manager, named Synaptic, and typed “sniffer” into the search field. It returned 32 different packet sniffers, some with redundant functionality, others rather unique. For instance, darkstat runs as a background process and generates HTML reports served by a lightweight HTTP daemon, prismstumbler is for sniffing 802.11b wireless signals, and snort is a sniffer that matches traffic against known attack signatures to form a comprehensive, yet lightweight intrusion detection system. I installed a few different ones to try out, and ultimately decided on using WireShark for this lab, partly because I've heard of it's parent software, Ethereal, and because it also runs on Windows and Mac platforms.
Again, installation difficulty was zero – I simply checked the boxes next to the sniffers I wanted to install then clicked “Apply.” The software manager downloaded and installed the software then opened a window with a list of the changes from which I could even double-click to start up any of the programs. I clicked to open WireShark, but it opened with user level privileges, meaning I could pretty much only open existing logs. Users don't have the necessary raw access to the system's interfaces. I closed the software and reopened it with root privileges, and was good to go. The welcome screen presents three columns, a list of the machine's interfaces, an open/open recent scan area, and some links to the user guide, the project's web site, and some specific articles, including tips on using the software as securely as possible.
Even before reading the security wiki, I stumbled upon a security concern. When I clicked one of the web links on the welcome page, it opened a browser window as the user who started started the WireShark process, in this case root. I referenced my process list, and confirmed an instance of Firefox running as root. This is undesirable because if I were to browse onto some malware, it would have the run of the place, so to speak. I voluntarily renounced my powers, closed the browser, and re-navigated to the project's home page as a lowly user.
I'm the type who, when I get a new toy, I prefer to learn about it by playing with it, only resorting to the manual when I feel my curiosity has reached it's limits and I need to read some to unlock all the capabilities. Simply clicking an interface from the list begins capturing packets on that interface. This happened much faster than I was expecting. I found myself overloaded with data, and nearly resorted to reading the manual. But the people at WireShark have people like me covered with an enormous page full of sample captures of almost any type imaginable. I downloaded one labeled “a simple HTTP request and response,” and started nosing around.
The interface showed three horizontal windows stacked on top of each other. The top window contained a numbered list of packets ordered by increasing time, starting at t = 0, measured to microsecond precision. The list also included source and destination IP address, protocol, and an “info” field. The next horizontal window showed more detailed information on the specific packet selected from the ordered list. The info was organized in a drop-down menu format with either four or five top-level information fields. More on this in a moment. Finally, the third window showed the selected packet's raw hexadecimal data, along with the application's best effort to translate the data into readable text.
This particular conversation consisted of 43 packets. The first three showed the telltale signs of the TCP three-way handshake. The client sends a SYN packet with a seq value of x, then the server responds with a SYN-ACK with a seq value of y and an ack value (x + 1). Finally, the client responds with an ACK packet, seq = (x + 1), ack = (y + 1). The next packet is an HTTP GET from the client. Now is a good time to discuss the packet info window in depth. A TCP packet has four top-level information drop-downs. The first gives information on the packet in general, or more specifically, the frame. This is info such as arrival time, frame length, all the protocols in the frame (in this case, Ethernet, IP, and TCP), and the rule that the sniffing software used to color-code the packet in the list. In this case, the coloring rule was “HTTP” even though it wasn't technically an HTTP packet, it gets colored green like all HTTP communications. Other colors include blue for DNS packets and black for “bad” TCP packets. The following three informational drop-downs each correspond to a one of the protocols in the packet, and effectively give information on layers two, three, and four of the OSI model. First comes Ethernet info, such as MAC address (the software even attempts to look up the manufacturer). Next is IP info including, address, header length, and encapsulated protocol (TCP). Finally is the TCP data. This includes source and destination port, sequence number, the SYN/ACK/etc. flags, and header length. On HTTP packets, there is another drop-down with info specific to the HTTP communication. The client sends information like browser and operating system IDs, which media types it will accept, which human languages, and which character sets. The server sends info such as the HTTP version and the server, in this case, Apache. Finally, on the packets from the server, there is a sixth info drop-down that contains the actual data intended for the application. The lab instructs us not to look at the data, but since this is just a sample capture from the software project's website, I took a peek. It appears to be the HTML code for the WireShark download page, including all the various mirrors.
So off to intercept some real communications. Once upon a time, I would have had no problem getting on any number of unsecured wireless connections in my neighborhood. I was somewhat pleasantly surprised to find that is no longer the case. I tried moving around my house, and in different areas, I was able to pick up different networks, but none of them were unsecured. A big congratulations to my neighbors on this. So I packed up and went down to my local coffee shop. I settled in with some Joe, powered up my machine, and started capturing on my wlan0 interface.
The data that started pouring in was incredible. I figured I could snoop on someone else's DNS requests without breaching too much trust. Here was someone surfing FaceBook. Here was someone else, presumably a student, on the Colorado State University. A bit more research and I learn that person is logged into their online courses. Finally, I examined a packet that was a network time protocol update to a Macintosh. All in all, this lab was highly educational and really fun to do.

Wednesday, March 17, 2010

Week 2 post

ME:

Monday, March 15, 2010

Root Kit checker

Don't forget to do this often, or better yet, add to a cron job
sudo rkhunter --update; sudo rkhunter -c
sudo chkrootkit

Sunday, March 14, 2010

From class discussion


Another student:
Install and run an anti-virus program.
At the present I do not run any antivirus protection in the background. I keep my software up-to-date and I do not open e-mail attachments unless I trust the sender and I requested the file or they mentioned it specifically. Any files I download from the internet I scan through virus total. Once every 3 months I boot each machine off a USB key with an antivirus/antispyware.
Perhaps my view on antivirus's will change when my time is worth more or when I have access to only one machine but I strongly doubt they are worth the  computer resources they waste .

If I wanted to use an antivirus at home I would use AVG or Avast most likely. I'm not sure which antivirus currently works better on a networked level or larger networks.

Do not open suspicious emails

I don't recieve unsolisted email much I  use Gmail so I couldn't even recieve many executable files.

Install patches to your operating system and browser.
Checking for secuirty holes is important I check Windows and Firefox daily.



Autoupdater is more convient but sometimes you don't want an update as occasionally updates do reopen old security holes. Understanding an update if possible is nice as well.

Install and run Spyware/Adware software.
I do scans every couple months using Spybot S&D and Malwarebytes.

Install and use a Firewall.
I use security software on my router and on the computer connected directly to it on the network thats that computers entire purpose to sit between my network and the internet.

Me:

Thursday, March 11, 2010

Security class week 1 post.


My home network is a little different. There are three machines behind two routers. My roommate's desktop runs WinXP. My primary machine is an HP Pavilion media laptop that runs Ubuntu Studio. Finally, there is a rack-mount SuperMicro server running Ubuntu Server (no GUI).

  1. Install and run an anti-virus program. The Windows machine runs AVG, and my Linux machines run clamscan -r / on a daily basis as a cron job (overkill).

  2. Do not open suspicious emails. I have 3 email accounts (besides my Regis mail). My Google and Yahoo accounts automatically scan any attachment I open, but I don't open anything from anyone I don't know. I also never click on links or view images in suspicious emails. My 3rd email is on my web host account, and I have the email server set up to scan all attachments, though I don't know what software the ISP uses for that.

  3. Install patches to your operating system and browser. This is such a pain on any Windows machine that I always consider them suspicious. Roommate's Win machine is set up to get MS updates daily, because every once in a while, MS considers a threat to be so great that they release an update NOT on their traditional second-Tueday-of-the-month schedule. But There's almost no way of knowing how often or if at all the multitude of various non-MS softwares are being updated. Just thinking about it gives me that feeling like I just woke from a nightmare! With my Linux machines, ALL software is updated nightly as a single process cron job (apt-get update && apt-get upgrade -- which I guess is two processes) and I actually DO get software patches on most nights.

  4. Install and run Spyware/Adware software. Comodo (which I can't recomend enough, especially if you're a geek like me) runs on the Windows machine. Again, clamscan -r / runs every night for malware on the Linux boxes.
  5. Install and use a Firewall. First line of defense are two routers. I have an ancient Actiontec DSL modem that just dumps all traffic to my Cisco/Linksys wireless router, which filters most everything right there. It is set up to forward HTTP requests to my server, which runs IP tables. IP tables, if I recall correctly, is actually built in to the Linux kernel. My primary machine (laptop) runs both IP tables and Firestarter, a firewall GUI which lets me see traffic as it happens and blocks some stuff that everyone else missed. It's pretty resource-intensive, and I'm not entirely impresssed. Comodo is the firewall on Windows in my opinion.