background preloader

Router Alley - Guides

Router Alley - Guides

Top 10 Ways to be Screwed by "C" To get on this list, a bug has to be able to cause at least half a day of futile head scratching, and has to be aggravated by the poor design of the "C" language. In the interests of equal time, and to see how the world has progressed in the 20-odd years since "C" escaped from its spawning ground, see my Top 10 Ways to be Screwed by the Java programming language, and for more general ways to waste a lot of time due to bad software, try my Adventures in Hell page. A better language would allow fallible programmers to be more productive. Infallible programmers, of the type unix' and "C" designers anticipated, need read no further. In fairness, I have to admit that the writers of compilers have improved on the situation in recent years, by detecting and warning about potentially bad code in many cases. Non-terminated comment, "accidentally" terminated by some subsequent comment, with the code in between swallowed. a=b; /* this is a bug c=d; /* c=d will never happen */ Or consider this: or as

What Is OpenWrt And Why Should I Use It For My Router? So, what is OpenWrt? OpenWrt is a Linux distribution for your router. Like other Linux distributions, it offers a built-in package manager that allows you to install packages from a software repository. It can be used for anything that an embedded Linux system can be used for, including functioning as an SSH server, VPN, traffic-shaping system, or even a BitTorrent client. OpenWrt isn’t the ideal solution for everyone’s needs. Most people will be happy with their router’s default firmware, while many power users will want a drop-in replacement firmware like DD-WRT. Like DD-WRT, OpenWrt is Linux-based and may be more stable than the firmwares some routers include, which can struggle when handling large numbers of connections. Uses for OpenWrt If the idea of having a modular Linux distribution available on your router doesn’t excite you with all the possibilities, you may be reading the wrong article. Installing OpenWrt The Terminal & Web Interface Image Credit: webhamster on Flickr

The 43 Things Administrators Should Never Do Administrators have a tough job on their hands to manage, maintain and protect the network they are responsible for. Armed with the latest tools, they do an excellent job; however, at times, often due to pressure, they make mistakes – sometimes easily avoidable. In this post we are going to present the top 43 common mistakes administrators have made, as a reminder of what they shouldn’t do. Networking 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Configuration 11. 12. 13. 14. 15. 16. 17. 18. Security 19. 20. 21. 22. 23. 24. 25. 26. Best practices 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. If you can avoid doing the 43 things in this list, you will save yourself, and others, time and money, avoid headaches, and minimize downtime. Learned any lessons the hard way yourself?

Conway's Game of Life "Conway game" redirects here. For Conway's surreal number game theory, see surreal number. The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.[1] The "game" is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. Rules[edit] The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, alive or dead. Any live cell with fewer than two live neighbours dies, as if caused by under-population.Any live cell with two or three live neighbours lives on to the next generation.Any live cell with more than three live neighbours dies, as if by overcrowding.Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. The initial pattern constitutes the seed of the system. Origins[edit] Examples of patterns[edit] Gosper glider gun Self-replication[edit]

Review: Free DD-WRT network router firmware Most network routers have fairly basic firmware that limits the hardware's full potential. You can change that. In most situations, a network router's normal purpose is to facilitate in connecting computers together to form a network, either for internal use or for granting access to the World Wide Web. I know this first hand, as I picked up an ASUS RT-N12 router from a good friend of mine recently to replace my underwhelming Belkin branded one. Product Information Title: DD-WRT Company: NewMedia-NET GmbH Product URL: Price: Free Eventually, I settled on DD-WRT, which is quite honestly one of the best router firmware packages I've ever used. DD-WRT is filled with numerous tweaks and options For an idea of what DD-WRT can do for you, I will highlight some of my favorite features included with the firmware. An example of some of the available router stats Finally, DD-WRT just seems to improve network performance by a decent margin. Installing takes some research

An Overview of Cryptography As an aside, the AES selection process managed by NIST was very public. A similar project, the New European Schemes for Signatures, Integrity and Encryption (NESSIE), was designed as an independent project meant to augment the work of NIST by putting out an open call for new cryptographic primitives. NESSIE ran from about 2000-2003. While several new algorithms were found during the NESSIE process, no new stream cipher survived cryptanalysis. As a result, the ECRYPT Stream Cipher Project (eSTREAM) was created, which has approved a number of new stream ciphers for both software and hardware implementation. Similar — but different — is the Japanese Government Cryptography Research and Evaluation Committees (CRYPTREC) efforts to evaluate algorithms submitted for government and industry applications. CAST-128/256: CAST-128, described in Request for Comments (RFC) 2144, is a DES-like substitution-permutation crypto algorithm, employing a 128-bit key operating on a 64-bit block. 3.3.

Script Junkie | Building Cross-Platform Apps Using jQuery Mobile jQuery Mobile introduces a cross-platform and cross-device framework for developing mobile applications. It supports a wide variety of mobile browsers and delivers a unified user interface to the devices. It has simplified working with mobile browsers by abstracting away inconsistences between the vendors. Just as jQuery changed the way we wrote JavaScript , jQuery Mobile will change the way we build mobile web applications. I recently used jQuery Mobile to build an application and was stunned at how smoothly the development process went. The framework is straight forward and well documented. As a web developer, jQuery Mobile is instantly rewarding because there isn’t much of a learning curve. Page Structure and Components We are going to build a to-do application. For this application there is only going to be one physical page, index.html. Aside from referencing the latest version of jQuery, we also reference jquery.mobile-1.0a4.1.min.css and jquery.mobile-1.0a4.1.min.js via CDN.

OpenWrt

Related: