Showing posts with label Proxy server. Show all posts
Showing posts with label Proxy server. Show all posts

Thursday, June 4, 2009

What is eBox and Why Should You Care?

eBox is either:
  1. a set of packages to create a robust set of file, mail, DNS, IM, primary domain controller (PDC), LDAP, VPN, and firewall servers on top of an existing Ubuntu installation; or
  2. a stand-alone distribution CD to do the same.
eBox sat at version .9x for a long time, but recently hit 1.0 and is on the second alpha release for 1.2. It is interesting technology. Let's take a look.


eBox prides itself in its simplicity and the automation of common enterprise system administrative tasks. It differs from a similar project, Webmin -- probably the most popular administration UI in Linux -- in that eBox hides many of the dirty details and creates a system with reasonable defaults. We can get an idea of the philosophical difference by looking at screenshots of the two projects.

  
Setting up a DHCP server in eBox

 
Setting up a DHCP server in Webmin

You can see the fundamental difference between the two. Experienced admins will either prefer Webmin or just use SSH, but eBox offers a safe way for former Windows admins to adjust to a Unix/Linux world.

Networking is object oriented, and this allows eBox to work well as a firewall with traffic shaping or caching proxy (even transparent). It can handle DHCP requests or operate as a local DNS (cache or full) or NTP (time) server. Teh VPN functionality lets "road warriors" have access to the business intranet while away from the office, and can even connect two offices permanently so they appear to be on the same network.

By default, eBox uses LDAP to store user information, meaning that it is probably the easiest way to get an LDAP server up and running. There are numerous horror stories and multi-page howtos for the would-be OpenLDAP users. All the services are tied into LDAP, so you can run a Windows PDC and an LDAP server side by side without having to sync users. DHCP even supports booting diskless thin clients.

Printers are handled using the CUPS printing server, but eBox uses its own integrated configuration UI instead of CUPS'. Printers are shared equally well to Windows, Linux, or OS X machines.

File sharing uses Samba, unsurprisingly. Simple file serving is offered as well as PDC capability. Quotas and roaming profiles are available with the check of a box. In addition to user shares, group shares for teams are also available.

Not only is mail handled, with POP3 and IMAP, but it is possible to use virtual domains for the mail and mail aliases are supported. If your business uses internal IM in addition to mail, the Jabber server is simple to set up.

Think all this functionality is too much for a single server? You're right. eBox knows this and offers a SOAP interface so that multiple boxes -- even geographically diverse ones -- can be controlled from a single interface.

Certified courses for administrators have begun to pop up, and the future looks bright for such a young project. Version 1.2 promises more options like PBX (Asterisk), filters for the web proxy, IM proxies, and intrusion decetion system (IDS) integration via Snort.

Download the eBox live CD and take a look. Installation disks and packages are also available.

Reblog this post [with Zemanta]

Wednesday, April 15, 2009

4 Ways to Help Out Your Local Mirror

If you worry about your local repository mirror and how to save some of its bandwidth, there are many ways to go.

Proxy Options


If you have several machines on the same version and architecture, using a local cache can not only save your mirror bandwidth, but also keep your usage down. One machine downloads and keeps copies of all the updated and newly-installed packages, and the other computers look to the first one.
  • approx: You need to give an alias to each repository used on your network in /etc/approx.conf, like so:
debian http://ftp.debian.org/debian
security http://security.debian.org
Then you need to divert apt to use the approx proxy, which uses port 9999 by default. Edit the /etc/apt/sources.list file, like so:
deb http://apt:9999/debian testing main
deb http://apt:9999/security testing/updates main
deb-src http://apt:9999/debian unstable main
where "apt" is the hostname of your machine which runs approx. Make sure the hostname is in the /etc/hosts file of each machine. There are two good pages about approx.

P2P Options


If you're not worried about your own bandwidth or have only one computer with a given version and architecture, you can use peer to peer protocols like Bittorrent to ease the burden on your mirror. Your bandwidth will probably go up using these methods.

Zeroconf


If you have several computers but don't want the bother of setting up a cache, you can try using the Zeroconf/Avahi method, automatically finding the required package on other computers in your network. Think of this as a hybrid cache/P2P solution. It is, of course, zeroconf, so there's no configuration necessary.
apt-zeroconf

Hybrid


The possible combinations are numerous. There is a cool HowTo on setting up Approx and using the cache server to fetch via DebTorrent. It's in Spanish, but Google is your friend.

Reblog this post [with Zemanta]

Other I' Been to Ubuntu Stories

Related Posts with Thumbnails