LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what_is_daemon? (https://www.linuxquestions.org/questions/linux-newbie-8/what_is_daemon-509507/)

cristianpaul 12-11-2006 04:52 PM

what_is_daemon?
 
Hi, What is a daemon? especially I don't understand what
rc.bind, rc.ipf_orward and rc.dnsmasq do? do I need of them?

Thanks a lot by CristianPaul.

bigrigdriver 12-11-2006 05:34 PM

1. Introduction: What is a Daemon?

A daemon (or service) is a background process that is designed to run autonomously,with little or not user intervention. The Apache web server http daemon (httpd) is one such example of a daemon. It waits in the background listening on specific ports, and serves up pages or processes scripts, based on the type of request.

Creating a daemon in Linux uses a specific set of rules in a given order. Knowing how they work will help you understand how daemons operate in userland Linux, but can operate with calls to the kernel also. In fact, a few daemons interface with kernel modules that work with hardware devices, such as external controller boards, printers,and PDAs. They are one of the fundamental building blocks in Linux that give it incredible flexibility and power.

Throughout this HOWTO, a very simple daemon will be built in C. As we go along, more code will be added, showing the proper order of execution required to get a daemon up and running.

http://www.linuxprofilm.com/articles...-howto.html#s1

matthewg42 12-11-2006 05:53 PM

A Daemon is a: http://en.wikipedia.org/wiki/Daemon_(computer_software)

bind is a DNS server. The rc.bind script is the startup script which executes it. rc.ipf_orward and rc.dnsmasq are for setting up your low level networking stuff - firewall and IP masquerading.


All times are GMT -5. The time now is 08:35 AM.