-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathipset_list.conf
142 lines (115 loc) · 4.1 KB
/
ipset_list.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#!/usr/bin/env bash
# -----------------------------------------------------------------
# ipset_list configuration
# -----------------------------------------------------------------
# all variables are by default undefined.
# modify them to your needs to adjust the defaults.
# modify your PATH variable
# by default the path is only set if the PATH variable is not already set in the environment
# PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#: ${PATH:=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin}
# path to ipset.
# if unset, ipset_list first tries to find ipset in path.
# on failure it next tries the default `/sbin/ipset'.
# variable can be either:
# - empty (automatic retrieval if in PATH)
# - ipset (name of the executable)
# - the full path to ipset
#ipset="/sbin/ipset"
#ipset=ipset
# find in path if not declared in parent environment
#: ${ipset:=$(command -v ipset)}
# default delimiter character for set members (elements).
# defaults to whitespace if unset.
# use delim=$'\n' to use the ipset default newline as delimiter.
#delim=" "
# default read timeout (for reading sets - esp. with the -r switch).
# the command line option -To overrides this.
#set_tmout=30
# directory to save the query results into
#cachedir=/var/cache/ipset_list
# -----------------------------------------------------------------
# color settings
# -----------------------------------------------------------------
# colorize the output (bool 0/1). default 0.
#colorize=0
# path to cl (to colorize the output).
# http://sourceforge.net/projects/colorize-shell/ or
# https://github.com/AllKind/cl
# variable can be either:
# - empty (automatic retrieval if in PATH)
# - cl (name of the executable)
# - the full path to cl
#cl="cl"
#cl="/usr/local/bin/cl"
# find in path if not declared in parent environment
#: ${cl:=$(command -v cl)}
# define colors
# run `cl --list' to retrieve the valid color names
#
# default foreground color
# can be left empty (unconfigured)
#col_fg="white"
# default background color
# can be left empty (unconfigured)
#col_bg="black"
# color for headers
# defaults to: cyan
#col_headers="cyan"
# color for members
# defaults to: yellow
#col_members="yellow"
# color for matches
# defaults to: red
#col_match="red"
# color for displaying of memsize
# defaults to: green
#col_memsize="green"
# color for counting of matched sets
# defaults to: magenta
#col_set_count="magenta"
# color for counting of traversed sets
# defaults to: blue
#col_set_total="blue"
# general higlighting color
# defaults to: white
#col_highlight="white"
# -----------------------------------------------------------------
# settings for interactive mdoe
# -----------------------------------------------------------------
# a dialog program is required for interactive mode
# either dialog (default), or whiptail are supported
# dialog version 1.2 or greater is required
# variable can be either:
# - empty (automatic retrieval if in PATH)
# - dialog or whiptail (name of the executable)
# - the full path to one of them
#dialog_prog="dialog"
#dialog_prog="/usr/bin/dialog"
# find in path if not declared in parent environment
#: ${dialog_prog:=$(command -v dialog)}
#: ${dialog_prog:=$(command -v whiptail)}
# tput binary - optional for interactive mode
# variable can be either:
# - empty (automatic retrieval if in PATH)
# - tput (name of the executable)
# - the full path to tput
#tput=tput
#tput="/usr/bin/tput"
# find in path if not declared in parent environment
: ${tput:=$(command -v tput)}
# applies to the three window measure variables below:
# if `0' and the `tput' program is available adjustment is done autmatically.
# if tput is not present, a value of `0' should give good results.
# otherwise set it to your desired value (integer),
# with the downside of fixed size.
# window height for interactive mode
#w_height=0
# window with for interactive mode
#w_with=0
# list height for interactive mode
#l_height=0
# the timeout of the result screen in interactive mode, before
# returning to the main dialog window (integer). default 9999999999.
#active_tmout=
# -----------------------------------------------------------------