xinetd-gopher-request-filter.conf - geomyidae - A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log
Files
Refs
README
LICENSE
---
xinetd-gopher-request-filter.conf (837B)
---
     1 # Adopt service to your needs.
     2 #
     3 # 1.) Copy the file to /etc/xinetd.d.
     4 # 2.) Optional: Create some service in /etc/services for the port and
     5 #     add it here instead of »service gopher«.
     6 # 3.) Copy xinetd-gopher-request-filter.sh to for example /usr/sbin and
     7 #     change the pathe herein.
     8 # 4.) Make sure, user and group exist.
     9 #
    10 
    11 service gopher
    12 {
    13         socket_type     = stream
    14         protocol        = tcp
    15         only_from       = 0.0.0.0/0 ::/0
    16         flags           = IPv6
    17 
    18         wait            = no
    19         user            = gopherd
    20         group           = gopherd
    21         groups          = yes
    22         server          = /path/to/xinetd-gopher-request-filter.sh
    23         instances       = 50
    24         nice            = 19
    25 
    26         log_type        = SYSLOG daemon debug
    27         log_on_success  = PID HOST EXIT DURATION
    28         log_on_failure  = HOST
    29 
    30         disable         = no
    31 }
    32