Import upstream 2.3.14
[packages/xinetd.git] / contrib / xinetd.d / ftp-sensor
1 # This is an example sensor running on the ftp port. Xinetd sensors are
2 # a form of intrusion detection aimed at locating hosts that are trying
3 # to access an unadvertised service. Once tripped, they are denied 
4 # access to everything until the deny_time expires.
5
6 service ftp
7 {
8 # This is for quick on or off of the service
9         disable         = yes
10
11 # The next attributes are mandatory for all services
12         id              = ftp-sensor
13         type            = INTERNAL
14         wait            = no
15         socket_type     = stream
16 #       protocol        =  socket type is usually enough
17
18 # External services must fill out the following
19 #       user            =
20 #       group           =
21 #       server          =
22 #       server_args     =
23
24 # External services not listed in /etc/services must fill out the next one
25 #       port            =
26
27 # RPC based services must fill out these
28 #       rpc_version     =
29 #       rpc_number      =
30
31 # Logging options
32 #       log_type        =
33 #       log_on_success  =
34 #       log_on_failure  =
35
36 # Networking options
37         flags           = SENSOR
38 #       bind            =
39 #       redirect        =
40 #       v6only          = 
41
42 # Access restrictions
43 #       only_from       =
44 #       no_access       =
45 #       access_times    =
46 #       cps             = 50 10
47 #       instances       = UNLIMITED
48 #       per_source      = UNLIMITED
49 #       max_load        = 0
50         deny_time       = 120
51 #       mdns            = yes 
52
53 # Environmental options
54 #       env             =
55 #       passenv         =
56 #       nice            = 0
57 #       umask           = 022
58 #       groups          = yes
59 #       rlimit_as       =
60 #       rlimit_cpu      =
61 #       rlimit_data     =
62 #       rlimit_rss      =
63 #       rlimit_stack    =
64
65 # Banner options. (Banners aren't normally used)
66 #       banner          =
67 #       banner_success  =
68 #       banner_fail     =
69 }
70