Benny Dacks | Blog

TAG | Open Source

Oct/09

2

Linux Birds

birdsworth

, , , , , , Hide

Mar/09

15

How to open a beer with a pen

I usually use a lighter, but this explains the basic physics behind it.

Reblog this post [with Zemanta]

, , , , , , , , , , , Hide

Earlier this week the FFmpeg project reached version 0.5, which was quite significant considering no new FFmpeg release was made available in years. This release contained a plethora of new encoders and decoders, support for VDPAU, a variety of bug-fixes, and many other improvements. What is next for FFmpeg? When will we see proper Blu-ray support? Will there be a 1.0 release in the foreseeable future? To answer these questions plus others, I spoke with three of the main FFmpeg developers about this very popular — and important — open-source multimedia project.

The three developers that shared their thoughts were Diego Biurrun, Baptiste Coudurier, and Robert Swain. Diego is a developer that originally started working on MPlayer, but now with FFmpeg he is responsible for some of the code’s maintenance, handling some of the legal affairs, and other organizational tasks. In particular, Diego was the one that stepped up to the plate and took over the release manager position for version 0.5. Baptiste discovered FFmpeg three years ago and after realizing it was “the Swiss knife of multimedia on Linux,” he began fixing random bugs, quickly became the maintainer of the QuickTime handling code, and is regarded by the other developers as being the savior of MOV/MP4 support in FFmpeg. Robert originally began his FOSS multimedia development adventures through updating the Xvid and x264 interfaces in MPlayer and then in FFmpeg. Robert remained with the FFmpeg project thereafter, with a particular interest in making it easier to use. Robert is also FFmpeg’s AAC decoder maintainer and previously worked on the project as part of Google’s Summer of Code. [Phoronix]

Reblog this post [with Zemanta]

, , , , , , , , , , , , , , Hide

After being banned from Google Adsense a few times while learning the ropes of SEO (and slipping through a few) I decided I wanted to learn more about 3 things.

  1. Why was I banned?
  2. What detected the violation?
  3. What can I do to get around this?

So I began learning about CPM, CTR and ROI, investigating other PPC programs like Adbrite, and researching the path a popular piece of original content took on its way to “viral” status. I’ve developed a few theories on the subject however these are not what this article is about. This is about starting your own PPC ad network and taking Google out of the equation.

So here are the steps on how to create a mini-Google Adsense with Open Source Software and $100.00 in overhead.

What you’ll need:

  • Dedicated Server: 3 months ($89.00) Server Pronto
  • Domain Name 1 year (9.99) Godaddy
  • OpenX
  • Linux, Apache, PHP5, MYSQL (free) Gentoo Linux

Steps

  1. Buy your server. I wouldn’t recommend buying more than 3 months to begin with unless you can really afford it. Its easy to extend your contract and if you’ve got backups of your site you can ditch your company for a cheaper one anytime you want. The great thing about Linux based hosts is that you have total control over your system, security, and backups. Moving to a new host is as easy as dumping the database and SCP’ing the files. Server Pronto has a great deal for 3 months with a price tag of $89.00. They also support Linux.
  2. Head over to your favorite domain registrar and grab a catchy name. GoDaddy always has specials for 9-14 dollars for the first year. Try and get something that will appeal to your audience of advertisers. A silly Web 2.0 name like SpanDingle.com is not going to work. I didn’t Google that so SpanDingle.com might be available…but anyways…
  3. Get OpenX AdServer. This is the real meat and potatoes of the tutorial. OpenX is an ad server that allows you to specify campaign profiles and assign them to your different sales managers and agents. Your stats are fully tracked and emailed to the right person on a weekly basis. You can set your own cost per impression and determine a fair CPM/CPC rate for your advertisers. Pair the stats with a Google Analytics account and you’ll have everything you need to invoice your clients at the end of the month.
  4. OpenX is designed to run in an LAMP environment. There is no overhead for this open source software. The only overhead is the learning curve, which varies from distribution to distribution. I use Gentoo for all of my servers for its security, tight documentation and active developer base. Linux, if configured correctly, will get you much more life out of your server’s hardware, and cut costs on monthly overhead.
Now for the hard part: Selling the ads. You’re going to need to do 2 things. First, you need places to show your ads. Contact medium-traffic websites within your market and ask them if they’d like free advertising on the web. Tell them you’re starting a “Ads by Google” system (people will recognize this more than ‘Adsense’) and you’re GIVING away impressions to anyone who wishes to show a few text links on their own site. You can assure them that their direct competition will not be advertising on their site by sectioning your campaigns into inter-market niches. For example: if you’re targeting the Gardening industry, sell your soil and mulch campaigns to the hardware stores, and the hardware stores to the materials suppliers, and so on. Every advertiser is a potential publisher and vice versa.
Well, thats all for now. Has anyone else tried this before? Am I crazy?
Edit:
At request, here are some OpenX Screenshots.
openx3
openx2
Reblog this post [with Zemanta]

, , , , , , , , Hide

Jan/09

22

Open Source Games

Just because something is expensive, doesnt make it better. Also, some of the best things in life are FREE! Enter: Open Source Gaming. You might be saying to yourself “YEAH YEAH I’VE PLAYED TUXRACER IT BLOWS”… but lets suspend what most of us currently know about Open Source Games and have a look at the cream of the crop.

Open Arena

OpenArena is an free and open source first-person shooter computer game based heavily on the Quake III Arena style deathmatch. The OpenArena project was first started on August 19, 2005, the day after the id Tech 3 GPL source code release.

OpenArena is an free and open source first-person shooter computer game based heavily on the Quake III Arena style deathmatch. The OpenArena project was first started on August 19, 2005, the day after the id Tech 3 GPL source code release. - Wikipedia

This game is a Quake III Arena rewrite from the GPL’d source code. Its fast, fun, and looks quite modern compared to other FOSS FPS titles. Being a Quake junkie since 96′ I couldn’t leave this out of the list. The games familiar weapon set and high resolution textures make this game definately worth checking out. According to Wikipedia, scholars have used this engine as a platform for demonstrating and researching streaming graphics to and from a server, as well as communicating large data sets over a given network. Cool shit.

AssaultCube

AssaultCube

AssaultCube

AssaultCube (formerly known as ActionCube) is a first-person shooter based upon the Cube engine. Although its main focus is online play, a single player mode exists which consists of computer-controlled bots. - Wikipedia

Available for all platforms (Windows, Mac, Linux) and playable on almost any graphics card, this game is a pure adrenaline. One of the great parts of this game are its many game modes. Borrowing a page or 2 from the Unreal series, they present the following modes:

  • Deathmatch and Team Deathmatch
  • One Shot One Kill and Team One Shot One Kill (Sniper rifle only)
  • Last Swiss Standing (Knives and grenades only)
  • Survivor and Team Survivor (Teams fight until opposing team is eliminated)
  • Pistol Frenzy (Pistols, knives, and grenades only)
  • Capture The Flag
  • Keep The Flag and Team Keep The Flag
  • Hunt The Flag

FlightGear

I’ve always been down with the flight simulation games, all the way back to F/A-18 Hornet and Janes Air Combat. This free sim allows you to pilot anything from a single engine cessna all the way up to a Boeing 747. I’ve been following this project for a while now, and can honestly say its one of the best open source projects I’ve ever seen. The level of realism in reference to each planes controls, physics, and characteristics is uncanny. I’m no pilot, but this game is the shit. Check it out: Wikipedia

Urban Terror

Urban Terror

Urban Terror

Urban Terror, commonly abbreviated as UrT or UT is a total conversion mod of id Software’s first-person shooter Quake III Arena by Silicon Ice Development (now known as FrozenSand). It introduces many elements of the tactical shooter genre—team-driven gaming in more realistic environments. Wikipedia

I’ve watched this game grow from an unpopular Quake III Arena mod, into a full blown stand-alone Counter-Strike-Killer. This game is so much fun I cant even describe it. I’ve burned DAYS playing this game recently and have just re-discovered this classic reborn. Do yourself a favor and check this bad boy out. Its available for Mac, Linux and Windows as a stand-alone game. No Quake III Arena needed!

, , , , Hide

Found a great list of keyboard shortcuts for linux. These apply for any distribution. Check out UnixGuide for more from Stan and Peter Klimas.

<Ctrl><Alt><F1>
Switch to the first text terminal. Under Linux you can have several (6 in standard setup) terminals opened at the same time.

<Ctrl><Alt><Fn> (n=1..6)
Switch to the nth text terminal.

tty
Print the name of the terminal in which you are typing this command.

<Ctrl><Alt><F7>
Switch to the first GUI terminal (if X-windows is running on this terminal).

<Ctrl><Alt><Fn> (n=7..12)
Switch to the nth GUI terminal (if a GUI terminal is running on screen n-1). On default, nothing is running on terminals
8 to 12, but you can run another server there.

<Tab>
(In a text terminal) Autocomplete the command  if there is only one option, or else show all the available options.
THIS SHORTCUT IS GREAT! It even works at LILO prompt!

<ArrowUp>
Scroll and edit the command history. Press <Enter> to execute.

<Shift><PgUp>
Scroll terminal output up. Work also at the login prompt, so you can scroll through your bootup messages.

<Shift><PgDown>
Scroll terminal output down.

<Ctrl><Alt><+>
(in X-windows) Change to the next X-server resolution (if you set up the X-server to more than one resolution). For multiple resolutions on my standard SVGA card/monitor, I have the following line in the file /etc/X11/XF86Config (the first resolution starts on default, the largest determines the size of the “virtual screen”):
Modes “1024×768″ “800×600″ “640×480″ “512×384″ “480×300″ “400×300″ “1152×864″

<Ctrl><Alt><->
(in X-windows) Change to the previous X-server resolution.

<Ctrl><Alt><BkSpc>
(in X-windows) Kill the current X-windows server. Use if the X-windows server crushes and cannot be exited normally.

<Ctrl><Alt><Del>
Shut down the system and reboot. This is the normal shutdown command for a user at the text-mode console. Don’t just press the “reset” button for shutdown!

<Ctrl>c
Kill the current process (mostly in the text mode for small applications).

<Ctrl>d
Log out from the current terminal.  See also the next command.

<Ctrl>d
Send [End-of-File] to the current process. Don’t press it twice else you also log out (see the previous command).

<Ctrl>s
Stop the transfer to the terminal.

<Ctrl>q
Resume the transfer to the terminal. Try if your terminal mysteriously stops responding.

<Ctrl>z
Send the current process to the background.

exit
Logout. I can also use logout for the same effect.  (If you have started a second shell, e.g., using bash the second shell will be exited and you will be back in the first shell, not logged out.)

reset
Restore a screwed-up terminal (a terminal showing funny characters) to default setting. Use if you tried to “cat” a binary file. You may not be able to see the command as you type it.

, , , , , Hide

Jan/09

20

10 Useful Security Tools

http://sectools.org/ hosts a list of the top 100 security tools. Its a great list, but I think I can narrow the list down to a Top 10. Check out http://sectools.org/ for the full list.

10. Nmap (”Network Mapper”) is a free and open source (license) utility for network exploration or security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. It was designed to rapidly scan large networks, but works fine against single hosts. Nmap runs on all major computer operating systems, and both console and graphical versions are available.

9. TrueCrypt is a software system for establishing and maintaining an on-the-fly-encrypted volume (data storage device). On-the-fly encryption means that data are automatically encrypted or decrypted right before they are loaded or saved, without any user intervention. No data stored on an encrypted volume can be read (decrypted) without using the correct password/keyfile(s) or correct encryption keys. Entire file system is encrypted (e.g., file names, folder names, contents of every file, free space, meta data, etc).

Files can be copied to and from a mounted TrueCrypt volume just like they are copied to/from any normal disk (for example, by simple drag-and-drop operations). Files are automatically being decrypted on-the-fly (in memory/RAM) while they are being read or copied from an encrypted TrueCrypt volume. Similarly, files that are being written or copied to the TrueCrypt volume are automatically being encrypted on-the-fly (right before they are written to the disk) in RAM. Note that this does not mean that the whole file that is to be encrypted/decrypted must be stored in RAM before it can be encrypted/decrypted. There are no extra memory (RAM) requirements for TrueCrypt. For an illustration of how this is accomplished, see the following paragraph.v

8. The Bastille Hardening program “locks down” an operating system, proactively configuring the system for increased security and decreasing its susceptibility to compromise. Bastille can also assess a system’s current state of hardening, granularly reporting on each of the security settings with which it works. Bastille currently supports the Red Hat (Fedora Core, Enterprise, and Numbered/Classic), SUSE, Debian, Gentoo, and Mandrake distributions, along with HP-UX. Full Mac OS X is ready for download today. Bastille’s focuses on letting the system’s user/administrator choose exactly how to harden the operating system. In its default hardening mode, it interactively asks the user questions, explains the topics of those questions, and builds a policy based on the user’s answers. It then applies the policy to the system. In its assessment mode, it builds a report intended to teach the user about available security settings as well as inform the user as to which settings have been tightened.

7. Tor is a software project that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security. Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location. Tor works with many of your existing applications, including web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol.

6. DataRescue developed and published the IDA Pro Multi-Processor disassembler from late 1995 to Jan 2008. It has been a fascinating experience and has allowed us to meet the best minds of the IT Security world. Thanks to those of you who supported the adventure. IDA Pro has now moved to Hex-Rays, where Ilfak Guilfanov, IDA Pro’s main architect and author continues the adventure.

5. BackTrack is the most top rated linux live distribution focused on penetration testing. With no installation whatsoever, the analysis platform is started directly from the CD-Rom and is fully accessible within minutes. It’s evolved from the merge of the two wide spread distributions -Whax and Auditor Security Collection. By joining forces and replacing these distributions, BackTrack has gained massive popularity and was voted in 2006 as the #1 Security Live Distribution by insecure.org. Security professionals as well as new-comers are using BackTrack as their favorite toolset all over the globe.

4. Ettercap is a suite for man in the middle attacks on LAN. It features sniffing of live connections, content filtering on the fly and many other interesting tricks. It supports active and passive dissection of many protocols (even ciphered ones) and includes many feature for network and host analysis. 

3. John the Ripper is a fast password cracker, currently available for many flavors of Unix (11 are officially supported, not counting different architectures), Windows, DOS, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix passwords. Besides several crypt(3) password hash types most commonly found on various Unix flavors, supported out of the box are Kerberos AFS and Windows NT/2000/XP/2003 LM hashes, plus several more with contributed patches.John the Ripper is free and Open Source software, distributed primarily in source code form. If you would rather use a commercial product tailored for your specific operating system, please consider John the Ripper Pro, which is distributed primarily in the form of “native” packages for the target operating systems and in general is meant to be easier to install and use while delivering optimal performance.

2. Kismet is an 802.11 layer2 wireless network detector, sniffer, and intrusion detection system. Kismet will work with any wireless card which supports raw monitoring (rfmon) mode, and can sniff 802.11b, 802.11a, and 802.11g traffic. Kismet identifies networks by passively collecting packets and detecting standard named networks, detecting (and given time, decloaking) hidden networks, and infering the presence of nonbeaconing networks via data traffic. 

1. Metasploit provides useful information to people who perform penetration testing, IDS signature development, and exploit research. This project was created to provide information on exploit techniques and to create a useful resource for exploit developers and security professionals. The tools and information on this site are provided for legal security research and testing purposes only. Metasploit is a community project managed by Metasploit LLC.

, , Hide

Jan/09

16

Open Source Resources

hello.

here are some toolz. not our tools, but we use them every day.

oh yeah, they’re free. open source software rules.

thank us at the bottom. 

 Firefox
firefox.jpg
Mozilla Firefox is a free, open source, cross-platform, graphical web browser developed by the Mozilla Corporation and hundreds of volunteers. Firefox includes an integrated pop-up blocker, tabbed browsing, live bookmarks, support for open standards, and an extension mechanism for adding functionality. Although other browsers have some of these features, Firefox became the first such browser to include them all and achieve wide adoption. PCWorld reviewed Firefox as the best product of 2005. [ from: theblogjoint ]

http://www.eclipse.org/

Eclipse is an open source community whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle. (We started with the best Java IDE ever and we’ve grown from there.)

http://www.wampserver.com/en/

WampServer is a Windows web development environment. It allows you to create web applications with Apache, PHP and the MySQL database. It also comes with PHPMyAdmin and SQLiteManager to easily manage your databases. 

WampServer installs automatically (installer), and its usage is very intuitive. You will be able to tune your server without even touching the setting files.

WampServer is the only packaged solution that will allow you to reproduce your production server. Once WampServer is installed, you have the possibility to add as many Apache, MySQL and PHP releases as you want.

WampServer also has a trayicon to manage your server and its settings.

 

http://wordpress.org/

WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time.

More simply, WordPress is what you use when you want to work with your blogging software, not fight it.

New to blogging? Learn more about WordPress, then follow the three easy steps below to start blogging in minutes. Or, for the ultimate in ease of use, get a free blog on WordPress.com.

, , , , , , , Hide

 

Red Hat president and CEO Jim Whitehurst expects the enterprise open source software business to emerge from the economic crisis stronger than the proprietary market.

In August Red Hat posted second quarter revenue 29 percent higher than the same quarter a year ago, while its subscription revenue also enjoyed double-digit growth to beat analysts’ estimates. Whitehurst said that while predictions of a recession will likely mean fewer new projects, the economic benefits of going open source are already encouraging proprietary customers to switch.

“I’ve had a couple of conversations with CIOs who said ‘we’re a Microsoft shop and we don’t use any open source whatsoever, but we’re already getting pressure to reduce our operating costs and we need you to help put together a plan for us to help us use open source to reduce our costs’.

“And we’ve had other customers literally looking at ripping and replacing WebLogic or WebSphere for JBoss, so I do think that we will pick up quite a bit of new business where companies are looking to save money from what they are doing…I think we’ll know in about six to nine months but there is no question that open source will come out of this in relatively better shape than our proprietary competitors,” he told Computerworld.

Whitehurst, who visited Australia last week to promote the Open Source Collaborative Innovation program, said telecommunications is his company’s largest represented sector at around 12 percent, followed by government and the financial services sectors each about 10 percent of Red Hat’s business.

Since arriving at Red Hat at the beginning of the year, Whitehurst said it became clear that his company’s offerings are most popular among high-tech companies that use IT for a competitive advantage - something he is working to change.

“We’ve been working to build a commercial ecosystem that almost mirrors our technical ecosystem…We make open source consumable for the enterprise by the testing we do, by the certifications, the performance testing, the Service Level Agreements, the documentation, the localisation and ultimately the support. The obvious next step for our business model is to do an even better job at making that software easier to consume for less sophisticated customers.”

What Red Hat offers that other enterprise Linux distributions don’t, Whitehurst says, is an insistence that any changes to its OS make it upstream into the Linux kernel.

“There have been times frankly when we’ve had customers that are frustrated and say ‘we want this change just put it in’ and we’ll say no, because if we can’t get it upstream the next time there is an update of Linux you are going to be non-standard and it’s going to be a separate thing that you’re going to have to support. 

 

, , , , , , , , Hide