W3vina.COM Free Wordpress Themes Joomla Templates Best Wordpress Themes Premium Wordpress Themes Top Best Wordpress Themes 2012

Hacked By MuhmadEmad

<br /> HaCkeD by MuhmadEmad<br />

HaCkeD By MuhmadEmad

Long Live to peshmarga

KurDish HaCk3rS WaS Here

kurdlinux007@gmail.com
FUCK ISIS !

Read More

Mejorar Seguridad en Centrales IP con Fail2ban

Luego de Instalar Fail2ban en nuestro servidor, ¿podemos mejorar la seguridad?, por supuesto, a continuación expongo algunas mejoras a fail2ban y fail2sql.

primero editamos el archivo /etc/fail2ban/jail.conf

#\>vim  /etc/fail2ban/jail.conf

primero revisamos la linea ignoreip y agregamos nuestra ip, nuestra red y el servidor de este modo

ignoreip = 127.0.0.1 192.168.0.0/24

revisamos la acción de lo que estemos protegiendo, por ejemplo en ssh [ssh-iptables]

 

action = iptables[name=SSH, port=ssh, protocol=tcp]

ahora vamos a agregar reglas persistentes en la configuración de la accion iptables de fail2ban, de este modo

vim /etc/fail2ban/action.d/iptables.conf

en la sección [Definition], agregamos las siguientes lineas, despues de actionstart

# Persistent banning of IPs
mkdir /etc/fail2ban/blacklist.d
touch /etc/fail2ban/blacklist.d/ip.blacklist-<name>
while read IP; do iptables -I fail2ban-<name> 1 -s $IP -j DROP; done < /etc/fail2ban/blacklist.d/ip.blacklist-<name>

con esto vamos a leer el archivo /etc/fail2ban/blacklist.d/ip.blacklist-<name>, que contiene una lista con las ip’s bloqueadas, y que iremos llenando a medida que las vamos bloqueando.

despues de la linea actionban, agregamos la suguiente linea

echo ‘<ip>’ >> /etc/fail2ban/blacklist.d/ip.blacklist-<name>

con esta linea vamos llenando el archivo mensionado anteriormente con las ip’s que nos han atacado.

por ultimo anulamos la linea actionunban, de la siguiente manera :

#actionunban = iptables -D fail2ban-<name> -s <ip> -j DROP
actionunban = echo “no”

y listo, con esto vamos a mantener un histórico de ip’s bloqueadas y que no caducaran en el tiempo, ya podemos reiniciar el servidor, el servicio fail2ban y continuaremos protegidos de las ip’s que han intentado vulnerar nuestra segurridad.

les propongo, sin el afán de atacar a nadie (si alguien piensa que alguna ip expueta esta mal informada por favor haganmelo saber), de crear un registro único y compartido de ip’s que han intentado atacarnos, les dejo una lista con las ip’s que he detectado intentando atacar mis sistemas:

1.202.140.70
1.202.148.22
1.202.254.38
1.226.82.242
1.234.51.243
1.85.9.18
100.42.226.68
101.44.1.134
101.44.1.135
101.44.1.136
101.79.68.141
101.99.15.13
103.7.251.171
106.187.36.143
106.187.55.113
106.187.98.69
106.187.99.202
106.3.43.240
106.3.80.36
107.0.30.244
107.23.218.222
108.15.99.40
108.163.159.72
108.168.229.242
108.170.107.203
108.171.196.47
108.228.72.155
108.27.35.18
108.59.249.229
109.123.105.153
109.165.60.70
109.169.37.105
109.230.195.69
109.230.240.3
109.235.50.250
109.238.40.27
109.70.69.118
109.86.223.200
110.142.237.108
110.4.107.222
110.4.29.254
110.45.244.195
110.5.100.178
110.74.169.246
110.74.204.99
110.75.188.205
110.75.188.229
110.75.188.230
110.75.188.34
110.75.189.7
111.171.223.127
111.207.209.58
111.228.254.201
111.67.210.19
111.74.82.33
111.8.3.220
112.175.176.204
112.196.18.110
112.198.111.43
112.216.108.22
112.216.140.51
112.216.239.45
112.217.204.43
112.218.71.196
112.220.98.51
112.5.183.241
112.64.16.28
112.65.134.17
112.65.228.140
112.65.239.227
112.78.115.120
112.78.183.12
112.78.199.221
112.78.3.150
112.78.3.240
112.78.4.86
112.78.7.228
112.90.144.2
112.95.252.106
113.105.249.4
113.106.165.154
113.106.86.67
113.106.97.251
113.107.160.34
113.107.160.43
113.107.47.41
113.108.237.66
113.140.75.222
113.140.94.198
113.200.73.4
113.247.232.117
113.247.251.5
113.28.55.81
113.30.102.124
113.31.19.101
113.31.19.111
113.5.32.68
113.53.233.228
113.57.252.72
113.59.119.71
113.59.34.27
113.6.253.186
113.98.255.73
114.112.56.178
114.112.62.126
114.112.69.51
114.112.69.58
114.113.226.68
114.118.1.153
114.135.15.242
114.143.101.212
114.200.198.152
114.203.87.123
114.203.87.211
114.205.1.149
114.242.194.129
114.242.87.141
114.251.139.9
114.255.20.157
114.34.32.237
114.80.116.124
114.80.116.75
114.80.200.208
114.80.202.199
114.80.207.223
114.80.94.51
115.115.137.166
115.115.140.35
115.118.133.20
115.119.229.36
115.119.33.133
115.119.95.3
115.133.200.200
115.146.120.139
115.168.33.138
115.236.16.116
115.236.23.145
115.236.99.195
115.238.128.134
115.238.176.98
115.238.177.2
115.238.228.102
115.238.60.2
115.238.73.204
115.238.97.148
115.239.129.90
115.248.13.141
115.248.130.20
115.47.25.154
115.89.157.10
115.89.157.3
115.93.146.75
115.95.166.247
116.125.127.119
116.126.115.84
116.205.243.134
116.213.94.19
116.228.49.124
116.253.189.130
116.53.130.210
116.55.245.45
117.103.198.130
117.103.198.164
117.103.198.167
117.21.127.90
117.211.123.226
117.239.105.115
117.239.84.178
117.239.99.67
117.243.250.249
117.34.88.152
117.35.117.114
117.40.91.30
117.79.80.242
117.79.91.204
118.103.109.28
118.107.66.29
118.122.114.207
118.122.33.160
118.129.139.72
118.129.139.74
118.129.139.75
118.129.166.59
118.131.70.247
118.139.161.67
118.145.25.72
118.174.23.124
118.192.1.227
118.194.133.90
118.194.238.18
118.244.129.118
118.244.224.35
118.26.185.92
118.33.110.52
118.69.192.235
118.69.70.252
118.97.205.98
119.1.159.54
119.1.193.198
119.10.114.242
119.10.114.26
119.10.114.50
119.145.254.34
119.148.10.87
119.161.222.25
119.167.247.118
119.188.3.56
119.188.7.138
119.188.7.179
119.188.7.185
119.188.7.200
119.188.7.201
119.196.231.193
119.224.30.166
119.226.173.244
119.226.254.89
119.226.84.210
119.235.248.106
119.254.67.206
119.254.88.100
119.47.92.2
119.57.16.95
119.68.246.2
119.8.186.102
119.82.99.130
119.92.122.125
119.97.245.250
120.126.192.155
120.132.152.134
120.196.134.22
120.197.83.65
120.199.49.50
120.209.152.178
120.35.30.2
120.35.30.3
120.65.9.138
120.65.9.139
120.72.38.100
120.86.115.119
121.10.107.6
121.10.140.214
121.10.140.215
121.10.243.230
121.11.153.242
121.125.70.58
121.125.79.196
121.127.231.246
121.137.94.37
121.14.17.225
121.14.198.27
121.14.31.2
121.14.46.119
121.14.58.140
121.15.171.70
121.15.6.198
121.189.232.193
121.196.143.222
121.240.166.123
121.30.228.243
121.30.228.244
121.31.56.62
121.32.133.226
121.34.252.18
121.35.244.187
121.37.60.246
121.52.159.168
121.52.212.70
121.67.41.143
121.8.126.220
121.8.154.28
121.8.154.39
121.8.166.36
121.88.249.45
121.88.249.94
121.9.205.79
121.9.240.240
121.9.64.78
122.112.34.156
122.115.34.149
122.139.60.134
122.141.244.72
122.147.4.67
122.155.18.140
122.192.35.240
122.193.13.165
122.194.200.3
122.224.249.165
122.224.32.190
122.225.107.98
122.225.206.211
122.225.96.117
122.226.111.155
122.226.211.6
122.226.69.189
122.227.244.170
122.228.197.134
122.228.213.154
122.48.159.245
122.49.37.149
122.70.128.5
122.70.130.11
122.72.9.20
123.127.160.102
123.127.175.30
123.131.165.229
123.138.26.53
123.138.28.153
123.147.247.96
123.157.216.178
123.157.79.16
123.164.66.219
123.176.80.33
123.183.211.106
123.183.211.226
123.183.211.82
123.192.181.250
123.196.113.11
123.196.121.207
123.204.52.14
123.215.30.134
123.237.242.167
123.240.213.215
123.242.173.129
123.30.127.253
123.30.170.226
123.30.178.201
123.30.188.234
123.30.49.8
123.49.34.10
123.63.0.35
124.115.16.231
124.115.173.229
124.115.173.240
124.115.21.48
124.122.209.220
124.127.125.2
124.127.242.11
124.128.244.227
124.133.48.92
124.160.194.27
124.202.129.123
124.202.129.124
124.205.190.102
124.207.228.62
124.224.178.154
124.234.110.241
124.238.214.90
124.248.32.246
124.31.204.98
124.31.204.99
124.47.56.204
124.9.48.18
124.95.155.237
124.95.160.148
125.138.98.240
125.147.27.247
125.152.148.10
125.162.123.121
125.206.227.78
125.21.246.58
125.210.241.20
125.210.252.132
125.210.252.136
125.211.196.248
125.211.221.117
125.46.26.111
125.46.26.52
125.64.43.102
125.64.43.154
125.7.120.43
125.71.201.10
125.71.208.210
125.76.226.195
125.77.106.221
125.78.240.66
125.88.98.23
128.134.114.241
128.140.216.55
128.164.182.166
128.204.212.99
128.205.40.111
128.8.140.82
129.74.64.18
132.248.120.119
133.11.33.119
133.208.21.1
136.206.1.42
137.28.8.203
14.139.1.155
14.139.221.201
14.160.38.182
14.198.69.230
14.37.193.16
14.44.92.35
14.54.140.114
14.63.252.205
14.63.253.14
140.123.115.150
140.135.113.226
141.101.26.56
141.85.252.230
147.32.129.80
148.223.132.122
148.244.187.34
150.188.18.178
150.96.0.30
151.237.189.113
151.45.26.100
151.9.198.4
151.97.160.1
152.46.19.153
152.66.73.69
153.128.24.163
155.230.118.67
160.80.34.123
161.200.80.27
163.13.200.164
164.138.217.168
164.77.112.34
164.77.246.11
168.62.9.14
168.93.190.152
171.34.34.49
173.11.74.41
173.12.84.41
173.16.92.2
173.192.67.74
173.192.70.82
173.193.38.194
173.198.228.19
173.203.195.45
173.203.242.73
173.203.59.247
173.203.82.186
173.203.84.44
173.203.85.142
173.203.99.245
173.204.75.226
173.208.15.115
173.208.226.165
173.219.96.11
173.221.133.195
173.224.216.135
173.230.132.177
173.230.156.161
173.236.33.91
173.242.116.65
173.242.122.169
173.247.163.181
173.254.212.121
173.254.212.137
173.31.82.86
173.45.104.226
173.45.108.154
174.142.90.103
174.143.144.134
174.143.168.246
174.143.170.200
174.143.209.190
174.36.38.10
175.103.49.66
175.112.63.47
175.115.53.50
175.199.226.130
176.227.198.201
176.56.224.203
176.56.225.151
176.67.160.96
176.9.220.1
177.101.0.10
177.19.198.83
177.36.152.131
177.43.210.194
177.43.84.52
177.69.225.209
177.8.168.41
178.162.227.21
178.162.236.66
178.18.17.62
178.18.17.73
178.18.19.106
178.20.244.70
178.210.32.14
178.63.20.87
180.153.148.20
180.153.178.10
180.211.172.201
180.211.79.27
180.213.13.251
180.68.206.93
180.69.254.233
180.96.7.18
181.52.250.167
182.140.141.66
182.140.241.81
182.16.140.112
182.18.174.60
182.236.164.11
182.252.138.32
182.71.10.78
182.71.113.50
182.71.209.201
182.72.180.90
182.72.213.6
182.87.196.131
183.129.160.242
183.129.172.66
183.136.128.217
183.136.130.194
183.59.9.150
183.60.143.25
183.60.175.44
183.60.177.142
183.60.177.246
183.60.20.36
183.61.134.232
183.61.135.233
183.61.240.84
183.62.138.3
183.62.173.113
183.62.225.92
183.62.232.92
183.82.51.75
184.106.205.54
184.106.220.217
184.106.220.5
184.107.179.242
184.107.192.140
184.154.199.138
184.154.6.72
184.168.114.170
184.170.244.44
184.171.166.186
184.82.148.218
184.82.87.210
186.113.19.35
186.115.4.27
186.124.120.193
186.179.96.111
186.19.156.206
186.200.12.5
186.202.64.60
186.202.67.113
186.202.70.91
186.215.123.195
186.3.71.250
186.42.174.229
186.66.14.190
186.67.6.190
187.111.192.11
187.130.159.221
187.130.28.113
187.138.229.40
187.16.247.187
187.17.119.80
187.18.108.73
187.2.195.96
187.33.30.2
187.4.226.48
187.4.25.90
187.50.184.26
187.50.184.82
187.51.167.34
187.52.105.188
187.55.217.146
187.63.74.8
187.8.0.54
188.12.55.246
188.121.113.205
188.132.206.233
188.132.208.250
188.132.216.35
188.138.16.216
188.138.40.166
188.72.202.172
189.1.162.182
189.108.88.146
189.111.255.60
189.112.236.116
189.112.52.52
189.120.8.112
189.16.156.242
189.203.26.4
189.22.182.194
189.23.118.184
189.23.132.178
189.26.122.202
189.26.255.11
189.3.50.135
189.72.172.172
190.115.3.4
190.120.232.189
190.120.237.22
190.143.88.194
190.144.42.98
190.145.17.187
190.145.3.91
190.151.119.44
190.151.89.82
190.152.217.250
190.152.69.33
190.157.8.14
190.181.132.70
190.196.161.110
190.196.32.91
190.2.58.87
190.208.47.36
190.218.94.205
190.236.117.25
190.24.241.182
190.247.109.41
190.248.10.146
190.248.11.210
190.248.133.126
190.248.48.35
190.254.152.115
190.254.21.229
190.255.36.84
190.5.138.210
190.7.201.170
190.81.114.222
190.81.81.210
190.82.94.12
190.85.116.122
190.85.122.98
190.85.146.222
190.85.249.79
190.85.78.218
190.9.68.75
190.90.112.209
190.90.220.10
190.95.224.170
190.98.209.151
190.98.255.154
192.241.15.2
192.34.62.253
193.104.68.200
193.174.205.210
193.252.45.125
193.254.251.5
193.34.211.173
193.34.81.39
194.0.129.136
194.116.91.90
194.150.114.136
194.186.111.26
195.128.28.167
195.140.128.196
195.151.207.139
195.154.152.117
195.159.128.10
195.189.209.66
195.191.144.104
195.2.195.9
195.208.185.58
195.211.102.164
195.211.111.110
195.22.102.118
195.228.152.201
195.23.114.194
195.246.60.242
195.250.156.229
195.62.0.174
196.12.157.22
196.15.134.12
196.20.54.59
196.200.177.131
196.21.60.69
196.219.66.195
196.45.144.9
196.46.122.86
197.248.2.162
198.12.67.246
198.144.178.204
198.154.61.195
198.23.147.27
198.7.63.79
199.115.229.100
199.19.106.216
199.19.144.37
199.19.212.103
199.19.95.141
199.193.249.118
199.21.115.108
199.241.188.101
199.244.112.223
199.30.53.220
199.96.132.246
200.1.108.195
200.101.70.162
200.101.83.195
200.105.116.198
200.105.251.226
200.107.28.190
200.107.9.25
200.108.139.242
200.11.149.33
200.11.174.166
200.110.87.122
200.111.168.10
200.113.158.148
200.113.185.227
200.12.41.211
200.12.47.188
200.124.229.66
200.124.240.62
200.129.202.138
200.13.117.42
200.13.161.27
200.131.25.85
200.14.42.206
200.141.165.227
200.143.132.20
200.143.188.130
200.146.78.169
200.149.77.153
200.16.241.16
200.160.238.26
200.162.13.53
200.162.133.174
200.162.65.4
200.174.176.34
200.178.253.210
200.178.254.196
200.180.24.96
200.183.152.133
200.187.175.100
200.196.45.69
200.196.48.121
200.201.128.57
200.201.193.162
200.204.169.239
200.206.107.59
200.208.19.7
200.21.184.250
200.21.87.165
200.212.156.14
200.222.91.18
200.23.84.90
200.232.61.35
200.238.69.202
200.24.102.34
200.25.188.68
200.27.107.14
200.29.110.104
200.29.111.110
200.29.132.82
200.29.147.75
200.30.71.43
200.31.29.60
200.32.178.228
200.37.117.162
200.37.206.197
200.37.211.40
200.38.75.72
200.4.218.146
200.44.58.226
200.47.206.27
200.48.18.245
200.48.39.45
200.49.100.102
200.50.230.105
200.51.228.199
200.51.85.115
200.51.90.192
200.54.113.234
200.54.162.107
200.54.80.21
200.55.192.123
200.58.203.85
200.6.121.149
200.60.71.115
200.61.171.253
200.62.228.6
200.68.119.57
200.68.69.101
200.69.212.237
200.69.246.81
200.72.11.132
200.72.65.185
200.73.83.66
200.74.216.42
200.75.4.57
200.76.187.130
200.87.120.107
200.91.131.32
200.93.165.28
200.97.135.26
200.97.93.130
200.98.138.45
200.98.149.92
200.98.200.62
200.98.201.13
201.0.173.70
201.11.195.57
201.117.190.121
201.120.163.252
201.144.246.115
201.15.183.232
201.213.116.99
201.213.124.82
201.216.227.113
201.217.54.46
201.218.202.132
201.218.218.168
201.218.252.140
201.219.62.122
201.232.109.63
201.232.127.133
201.234.200.186
201.236.65.148
201.236.80.4
201.238.204.67
201.238.239.201
201.24.175.206
201.245.192.254
201.247.176.2
201.248.67.254
201.36.151.82
201.41.214.170
201.47.89.228
201.56.254.145
201.62.83.200
201.63.29.197
201.65.30.9
201.73.47.210
201.86.139.217
201.89.169.211
201.96.126.213
201.96.126.221
202.10.67.204
202.101.172.219
202.102.4.130
202.102.89.81
202.103.190.122
202.103.191.65
202.103.25.21
202.103.30.24
202.103.36.43
202.108.59.119
202.117.1.174
202.117.3.104
202.117.56.115
202.120.40.162
202.121.166.203
202.124.151.20
202.129.197.10
202.129.48.193
202.131.124.10
202.136.127.238
202.137.26.84
202.143.132.180
202.143.153.118
202.143.162.50
202.144.209.177
202.148.12.186
202.154.232.138
202.155.207.138
202.155.33.134
202.158.16.60
202.160.122.153
202.160.167.126
202.162.220.8
202.162.77.42
202.164.46.29
202.165.185.203
202.166.161.148
202.170.127.57
202.170.64.47
202.193.80.182
202.201.1.170
202.21.111.140
202.231.86.17
202.28.202.12
202.28.248.34
202.29.238.83
202.29.64.78
202.43.156.108
202.46.14.104
202.46.9.140
202.53.13.150
202.59.173.117
202.65.158.181
202.67.235.160
202.70.136.23
202.71.152.91
202.85.132.227
202.85.222.169
202.89.36.219
202.9.100.187
202.90.103.21
202.92.200.62
202.95.238.207
202.96.199.150
202.97.194.171
203.110.175.107
203.112.218.88
203.114.116.124
203.126.56.138
203.133.10.72
203.144.95.105
203.147.34.3
203.150.231.168
203.153.109.167
203.156.197.108
203.156.198.103
203.156.205.231
203.158.191.60
203.158.223.68
203.158.29.205
203.162.141.8
203.162.71.16
203.169.242.74
203.171.232.173
203.171.31.227
203.172.205.42
203.196.190.153
203.197.126.117
203.199.204.42
203.200.166.34
203.200.97.53
203.201.37.253
203.212.6.29
203.217.144.17
203.217.3.39
203.231.233.29
203.238.181.2
203.240.193.80
203.249.225.52
203.34.37.62
203.39.11.10
203.41.77.155
203.45.162.165
203.45.176.220
203.69.23.245
203.80.17.14
203.81.207.85
203.81.21.73
203.86.2.66
203.90.136.76
203.92.72.92
203.95.6.193
204.133.178.217
204.14.210.149
204.145.65.94
204.145.76.251
204.145.81.138
204.168.69.60
204.232.207.192
204.232.210.218
204.45.90.91
204.97.80.7
205.209.121.130
206.126.94.251
206.183.111.103
206.19.211.96
206.212.242.98
206.221.217.250
206.251.227.18
207.150.200.170
207.182.143.52
207.20.47.62
208.115.200.37
208.115.226.200
208.254.58.144
208.44.220.236
208.68.19.132
209.114.137.40
209.114.33.236
209.139.209.1
209.16.197.20
209.165.131.61
209.172.33.20
209.172.51.39
209.173.141.23
209.190.4.202
209.239.114.13
210.1.224.84
210.109.12.70
210.117.155.167
210.120.87.113
210.123.1.169
210.123.254.206
210.125.114.165
210.125.29.194
210.14.131.3
210.14.68.199
210.14.70.33
210.14.71.201
210.149.168.164
210.16.202.1
210.184.112.37
210.187.94.59
210.193.52.113
210.211.100.172
210.211.101.112
210.211.108.137
210.211.109.112
210.212.141.194
210.212.172.242
210.245.122.119
210.245.88.20
210.245.92.34
210.31.177.197
210.37.41.163
210.42.159.29
210.47.0.48
210.51.10.158
210.51.174.189
210.51.20.51
210.51.37.189
210.51.38.219
210.51.44.58
210.51.48.94
210.51.52.80
210.56.24.183
210.61.198.68
210.68.174.131
210.7.79.232
210.71.211.85
210.75.208.241
210.75.6.55
210.82.111.140
210.83.86.139
210.86.145.16
210.91.102.7
210.91.32.162
211.100.49.165
211.100.52.158
211.100.55.116
211.100.96.105
211.103.155.229
211.111.174.165
211.116.156.118
211.129.154.235
211.137.2.66
211.138.85.206
211.140.199.185
211.142.29.155
211.142.95.149
211.144.36.7
211.144.68.163
211.144.85.184
211.147.3.19
211.147.81.135
211.148.195.65
211.150.70.153
211.151.185.54
211.151.72.197
211.154.91.246
211.155.131.2
211.155.229.103
211.155.25.126
211.157.110.226
211.161.45.136
211.162.76.20
211.162.77.20
211.166.18.87
211.167.101.135
211.167.102.226
211.180.195.33
211.188.105.39
211.191.168.25
211.20.51.167
211.210.124.201
211.218.218.208
211.232.114.100
211.232.57.36
211.233.38.131
211.245.106.22
211.49.171.149
211.5.95.57
211.51.30.234
211.54.84.123
211.56.123.137
211.59.220.239
211.60.219.161
211.66.184.87
211.75.163.42
211.94.188.61
211.95.73.50
212.0.140.27
212.117.164.245
212.155.198.19
212.156.126.210
212.162.148.211
212.178.113.26
212.227.137.45
212.26.27.249
212.26.27.86
212.27.202.140
212.55.8.177
212.71.32.28
212.78.85.46
212.91.189.136
213.111.0.196
213.136.179.170
213.139.174.242
213.142.146.98
213.165.165.130
213.165.83.21
213.201.49.36
213.213.86.234
213.229.93.218
213.30.172.9
213.5.179.101
213.77.119.30
213.79.94.122
216.106.50.126
216.12.220.83
216.127.72.80
216.157.13.48
216.172.110.83
216.186.224.214
216.205.98.76
216.224.175.103
216.24.240.138
216.240.145.212
216.245.203.21
216.53.213.120
216.73.107.97
216.93.184.124
216.98.136.23
217.133.190.156
217.168.167.234
217.17.132.6
217.172.165.30
217.195.176.251
217.79.190.90
218.1.71.116
218.103.125.26
218.104.145.16
218.107.208.147
218.108.224.81
218.108.234.199
218.108.85.240
218.108.85.243
218.12.159.34
218.13.181.58
218.145.128.151
218.146.253.72
218.158.0.65
218.16.120.200
218.16.63.132
218.16.63.145
218.17.160.113
218.17.160.126
218.188.152.99
218.19.140.4
218.196.56.41
218.20.224.17
218.200.140.133
218.200.96.130
218.201.78.41
218.202.3.68
218.203.215.210
218.209.166.132
218.22.84.206
218.23.105.25
218.23.239.8
218.232.104.201
218.234.33.33
218.241.225.114
218.248.30.161
218.248.80.70
218.249.32.163
218.25.249.9
218.26.117.113
218.26.121.228
218.26.89.179
218.28.79.228
218.29.90.202
218.3.163.67
218.30.99.78
218.4.19.205
218.50.2.114
218.57.136.62
218.57.22.51
218.57.224.69
218.57.8.23
218.60.59.18
218.66.30.77
218.69.248.24
218.75.128.43
218.75.21.26
218.76.138.156
218.77.120.141
218.77.120.142
218.77.79.24
218.77.85.130
218.78.187.14
218.80.254.142
218.83.243.78
218.84.247.6
218.85.135.112
218.94.106.238
218.94.149.84
218.94.157.186
218.94.82.36
218.95.143.62
219.136.252.92
219.139.108.134
219.140.165.85
219.140.69.136
219.141.222.104
219.144.245.34
219.145.135.150
219.146.225.147
219.147.134.25
219.148.205.174
219.148.34.95
219.153.1.229
219.232.239.19
219.237.242.34
219.64.12.43
219.78.125.165
219.87.138.199
219.87.191.206
219.94.154.235
219.95.13.182
220.128.57.142
220.128.78.134
220.135.2.220
220.164.144.135
220.165.13.131
220.165.5.10
220.165.5.7
220.167.144.182
220.170.79.77
220.172.191.31
220.174.209.46
220.178.119.58
220.178.78.138
220.182.50.83
220.191.135.70
220.225.146.41
220.226.210.80
220.227.1.254
220.227.255.248
220.231.128.153
220.233.149.13
220.247.227.154
220.250.22.164
220.66.89.80
220.76.205.97
220.90.213.72
220.95.238.180
221.1.82.251
221.12.162.169
221.128.105.69
221.13.104.162
221.130.11.205
221.132.33.125
221.132.34.107
221.134.144.147
221.182.2.16
221.192.153.13
221.195.83.181
221.199.150.110
221.2.163.252
221.202.118.49
221.204.244.106
221.214.20.19
221.226.175.142
221.226.215.117
221.230.133.67
221.233.134.15
221.239.34.171
221.239.8.178
221.7.5.168
221.8.19.71
222.105.36.15
222.124.3.248
222.126.152.2
222.128.117.35
222.133.244.98
222.168.102.78
222.169.224.226
222.170.77.161
222.171.135.140
222.173.194.34
222.173.30.139
222.173.87.6
222.174.35.3
222.179.151.11
222.184.230.118
222.185.254.18
222.186.26.113
222.186.29.69
222.187.96.70
222.195.186.99
222.20.94.27
222.20.95.27
222.221.2.210
222.231.33.164
222.236.46.213
222.237.78.142
222.238.156.164
222.238.230.220
222.240.161.179
222.247.53.36
222.255.72.15
222.3.203.2
222.31.218.118
222.35.137.52
222.35.39.138
222.37.135.2
222.39.47.88
222.41.213.238
222.47.61.226
222.58.151.68
222.58.151.69
222.58.3.24
222.66.202.245
222.68.193.150
222.73.17.41
222.73.176.11
222.73.208.67
222.76.153.23
222.76.217.117
222.76.218.232
222.80.184.30
222.80.184.46
222.80.184.54
222.85.150.8
222.85.90.245
222.87.204.14
222.89.142.222
223.194.70.140
223.202.19.164
223.223.128.26
223.4.134.138
223.4.147.217
223.4.148.150
223.4.148.222
223.4.182.75
223.4.211.111
223.4.92.31
223.5.23.12
223.5.23.21
223.5.26.112
24.47.143.208
24.96.31.206
24.97.119.229
27.100.11.154
27.105.83.189
27.131.7.78
27.251.101.178
27.254.10.188
27.50.86.204
31.171.245.1
31.210.110.205
31.210.114.254
31.210.115.242
31.210.120.23
31.210.120.28
31.211.142.118
31.216.132.77
31.3.218.87
31.3.236.26
31.7.61.250
32.64.114.169
32.64.136.41
37.123.96.242
38.104.168.158
41.139.65.58
41.181.79.209
41.189.228.150
41.191.231.118
41.191.240.6
41.215.145.9
41.235.86.79
41.250.251.245
41.33.146.1
41.75.201.141
41.79.188.8
41.86.112.61
41.89.160.5
42.117.2.37
42.117.2.53
42.120.10.204
42.120.41.115
42.51.133.49
42.62.18.199
42.96.143.110
46.182.123.53
46.19.141.130
46.21.161.45
46.21.99.120
46.218.85.112
46.232.207.253
46.28.64.213
46.29.17.227
46.4.0.226
46.4.85.231
46.45.173.230
49.212.187.231
49.212.60.183
5.152.205.233
5.152.216.114
5.175.130.116
5.175.160.245
5.199.133.226
5.39.54.242
5.9.199.155
5.9.78.29
50.22.173.78
50.56.111.206
50.56.125.156
50.56.92.129
50.56.93.147
50.56.96.202
50.57.101.26
50.57.129.162
50.57.221.50
50.57.69.123
50.59.209.20
50.59.22.174
50.73.11.52
58.100.230.11
58.103.240.231
58.137.18.109
58.16.18.194
58.162.96.250
58.18.172.102
58.196.19.145
58.210.71.93
58.211.105.37
58.211.81.150
58.214.14.58
58.215.170.219
58.215.184.93
58.215.56.110
58.215.82.148
58.22.107.47
58.221.206.240
58.221.252.194
58.221.61.159
58.223.81.1
58.225.75.228
58.23.3.114
58.242.248.20
58.247.119.110
58.248.249.58
58.248.25.231
58.248.62.48
58.254.250.42
58.255.76.97
58.26.117.235
58.26.151.248
58.30.224.25
58.30.239.182
58.46.64.45
58.51.91.54
58.54.254.115
58.65.177.218
58.68.229.18
58.68.82.237
58.83.216.141
59.12.214.200
59.125.155.70
59.125.208.141
59.125.208.244
59.144.41.28
59.151.60.84
59.173.18.100
59.173.18.101
59.175.218.166
59.175.231.210
59.33.250.84
59.34.148.44
59.34.148.71
59.36.100.97
59.37.173.69
59.39.183.76
59.39.57.37
59.40.79.85
59.42.254.81
59.44.157.74
59.46.172.67
59.53.85.202
59.53.94.9
59.54.54.176
59.60.7.111
59.77.16.74
59.80.1.5
59.90.168.226
59.99.229.248
60.12.109.3
60.12.149.161
60.12.174.99
60.12.251.5
60.12.50.238
60.13.74.144
60.161.124.10
60.161.13.181
60.164.174.34
60.166.46.102
60.169.22.118
60.172.42.55
60.174.109.133
60.174.198.14
60.174.65.242
60.190.202.215
60.190.243.250
60.190.27.132
60.190.41.74
60.191.1.68
60.191.125.194
60.191.141.193
60.191.162.130
60.191.36.89
60.2.159.221
60.211.241.131
60.213.232.42
60.214.223.82
60.217.234.142
60.217.235.5
60.220.213.115
60.244.113.231
60.248.2.52
60.249.90.218
60.250.38.36
60.28.27.14
60.29.0.22
60.29.185.22
60.8.63.104
61.130.156.146
61.130.254.91
61.132.241.203
61.132.241.204
61.132.4.85
61.135.88.173
61.135.88.32
61.136.171.198
61.138.131.186
61.138.37.112
61.142.106.34
61.142.83.98
61.143.248.178
61.145.116.154
61.145.118.190
61.145.160.50
61.146.115.88
61.147.70.121
61.148.75.130
61.152.238.196
61.153.98.18
61.154.12.136
61.155.137.195
61.155.152.242
61.155.9.239
61.158.164.59
61.16.157.50
61.16.170.117
61.160.245.219
61.163.78.130
61.164.125.252
61.164.7.35
61.167.199.239
61.167.33.222
61.174.63.20
61.178.107.21
61.178.162.93
61.180.240.114
61.183.52.45
61.183.9.151
61.184.101.43
61.185.11.160
61.185.242.100
61.185.71.34
61.186.90.103
61.189.240.244
61.19.244.118
61.19.41.234
61.19.50.183
61.190.172.2
61.191.24.227
61.191.39.18
61.191.39.19
61.191.41.6
61.219.153.223
61.220.173.154
61.220.86.222
61.233.30.216
61.233.30.217
61.233.76.137
61.234.145.74
61.235.147.19
61.235.91.145
61.236.64.56
61.251.236.115
61.253.249.157
61.34.101.16
61.36.160.10
61.36.219.69
61.4.189.152
61.43.139.77
61.43.190.165
61.47.35.40
61.50.249.151
61.54.105.38
61.66.42.66
61.7.231.146
61.78.59.59
62.1.110.247
62.108.185.204
62.110.122.20
62.112.109.18
62.173.39.252
62.182.27.46
62.210.126.68
62.212.230.35
62.233.194.98
62.254.168.201
62.254.181.43
62.27.42.80
62.75.171.15
62.76.188.137
62.77.65.13
63.137.151.25
63.143.32.89
64.114.44.117
64.13.142.50
64.15.147.86
64.15.152.116
64.15.152.15
64.16.194.70
64.185.226.120
64.22.65.3
64.22.99.58
64.241.102.195
64.251.14.166
64.27.0.36
64.34.162.96
64.34.173.120
64.38.217.210
64.79.91.218
65.111.166.27
65.111.174.19
65.111.174.36
65.164.153.141
65.60.14.186
66.111.52.113
66.128.50.211
66.133.188.86
66.160.134.231
66.165.138.2
66.173.110.140
66.195.77.86
66.221.70.64
66.240.238.69
66.35.17.190
66.41.217.241
66.50.181.58
66.82.15.8
67.142.149.79
67.18.184.162
67.202.4.118
67.204.34.198
67.205.67.147
67.212.81.7
67.228.92.46
67.55.16.138
67.55.80.108
68.105.43.15
68.185.2.149
68.233.249.181
68.34.74.190
69.10.143.101
69.10.53.222
69.115.176.100
69.164.219.47
69.194.193.104
69.197.144.186
69.25.137.101
69.58.115.232
69.60.115.120
69.60.116.73
69.60.127.207
69.64.49.250
69.73.147.156
69.73.208.17
69.77.186.168
69.85.88.218
70.167.213.211
70.182.141.42
70.36.103.91
70.38.32.147
70.87.117.36
71.180.163.186
72.172.183.98
72.35.70.35
72.46.159.205
72.52.67.10
72.52.67.20
72.55.140.90
72.55.153.172
72.55.164.79
72.55.168.144
72.55.174.7
72.55.179.114
72.64.137.43
72.95.84.61
74.112.4.43
74.124.206.30
74.14.227.145
74.207.251.98
74.208.11.60
74.222.1.68
74.3.165.7
74.50.127.20
74.50.57.163
74.63.209.43
74.63.223.58
74.63.237.41
74.94.112.37
75.127.208.52
75.74.7.15
75.98.10.130
76.100.138.145
76.67.149.190
76.73.108.71
77.111.89.124
77.221.156.210
77.76.109.119
77.93.216.28
78.111.96.38
78.129.222.237
78.175.213.69
78.188.30.7
78.189.152.102
78.193.32.14
78.46.220.175
78.47.92.216
78.60.76.73
78.87.123.114
79.108.204.83
79.142.115.105
79.142.66.19
79.142.72.107
79.142.79.251
79.172.14.99
79.45.209.184
8.19.192.208
8.24.70.14
8.30.161.25
80.120.195.194
80.232.193.140
80.241.251.85
80.242.44.235
80.253.20.173
80.39.99.123
80.79.23.90
80.80.165.146
80.80.173.61
80.82.209.34
80.82.62.5
80.84.113.141
80.84.224.237
80.86.82.249
80.91.181.43
80.91.80.160
81.102.179.100
81.17.141.135
81.176.236.15
81.177.144.166
81.177.22.56
81.20.141.132
81.218.9.216
81.24.84.202
81.31.183.137
81.88.23.11
81.90.165.217
81.92.157.210
82.117.238.233
82.151.217.247
82.165.136.92
82.165.140.93
82.165.157.93
82.165.197.92
82.194.76.61
83.13.165.10
83.138.48.130
83.149.70.55
83.15.128.4
83.167.250.132
83.212.104.49
83.222.230.44
83.3.149.178
83.68.102.47
84.204.149.194
84.234.67.36
84.246.128.125
84.25.240.149
84.45.38.216
84.47.183.94
84.88.154.203
85.122.16.6
85.126.166.83
85.152.33.23
85.157.253.79
85.159.48.29
85.17.121.208
85.17.168.157
85.17.185.50
85.17.188.70
85.185.161.4
85.214.138.222
85.214.222.253
85.214.37.13
85.214.37.202
85.214.53.116
85.214.75.55
85.25.153.99
85.25.239.98
85.25.95.51
85.30.199.148
85.44.146.11
85.48.242.135
85.95.227.169
86.31.126.2
86.60.245.189
87.103.113.156
87.106.227.132
87.215.133.109
87.216.215.173
87.227.156.238
87.229.112.18
88.1.46.211
88.173.68.239
88.190.25.212
88.191.118.121
88.191.118.182
88.191.129.245
88.191.234.106
88.191.65.192
88.191.76.12
88.198.1.56
88.198.13.61
88.222.222.155
88.255.89.122
89.114.24.59
89.145.120.150
89.16.144.45
89.165.180.210
89.202.172.146
89.207.132.121
91.118.18.130
91.150.169.3
91.153.19.214
91.153.213.127
91.186.10.4
91.190.224.196
91.205.187.28
91.205.189.15
91.211.117.63
91.214.35.186
91.222.136.13
91.227.4.173
91.228.198.67
91.243.115.229
91.83.165.45
91.93.189.4
92.27.222.36
92.46.53.223
92.86.17.190
93.105.158.244
93.115.8.206
93.175.192.91
93.189.6.4
93.62.48.179
93.63.144.196
93.63.92.83
94.101.83.242
94.102.213.133
94.126.47.80
94.136.59.175
94.140.231.74
94.185.80.194
94.24.240.170
94.25.124.162
94.46.0.44
94.51.125.233
94.76.229.11
94.79.5.124
95.0.235.78
95.0.29.21
95.110.201.185
95.138.176.188
95.141.35.157
95.154.203.150
95.163.15.212
95.163.76.42
95.167.19.86
95.170.211.250
95.173.171.45
95.211.129.72
95.215.148.166
95.60.153.217
95.77.28.5
96.20.14.227
96.232.169.96
96.53.80.26
96.56.154.34
96.8.127.116
98.129.238.188
98.158.189.58
99.106.189.10
99.90.214.195

yo los tengo en mi archivo /etc/fail2ban/blacklist.d/ip.blacklist-SSH

 

Saludos
Cristian Torres

 

 

Read More

Script para Linux | Cambio de Hora en Chile 2013

Señores encontré un script corrige el cambio de hora en chile, para sistemas operativos linux, como saber si lo necesito??

#/>zdump -v America/Santiago|grep 2013

con este comando sabremos cuando va a cambiar la hora de nuestro sistema y en que hora va a quedar, si les dice que su sistema va a cambiar de hora este sabado 9 de Marzo del 2013, corran el siguiente script:

 

#!/bin/bash
export TZ=America/Santiago
zdump -v America/Santiago|grep 2013 > /tmp/zh
#
echo “El siguiente script actulizara la informacion de la zona horaria del equipo”
sleep 1
echo “Configuracion actual zona horaria:”
cat /tmp/zh | \
while read CMD; do
echo $CMD
done
read -p “Presione [Enter] para continuar…”
echo “Creando directorio y descargando archivo de actualizacion….”
mkdir  /tmp/tzdata2013a
cd /tmp/tzdata2013a
wget -q ftp://ftp.iana.org/tz/releases/tzdata2013a.tar.gz
tar xzf ./tzdata2013a.tar.gz
echo “Obtencion de actualizacion completa, aplicando cambios”
zic southamerica
zic backward
cp /usr/share/zoneinfo/America/Santiago /etc/localtime
echo “Verificando actualizacion…”
zdump -v America/Santiago|grep 2013 > /tmp/zh
comprueba=$(cat /tmp/zh | grep “Sat Mar  9” | wc -l)
if [ $comprueba = “0” ]; then
echo “##################### Actualizacion realizada con exito! ##################### ”
rm -f /tmp/zh
rm -rf /tmp/tzdata2013a
echo “Sincronizando con ntp.shoa.cl”
ntpdate ntp.shoa.cl
echo “#####################  Proceso completado!!! ##################### ”
else
echo “##################### Actualizacion FALLIDA.  ##################### ”
fi
echo “Verificando cambios”
zdump -v /etc/localtime | grep 2013
zdump -v Chile/Continental | grep 2013

Nota: script extraido desde http://pastebin.com/VDX3d1ss.-

probado en centos, ubuntu, fedora, elastix (100% operativo).

 

Read More

monitoreo de Tramas Dahdi

Sres. hace muchísimo tiempo que no escribía en este blog, hoy voy a documentar un script para monitorear nuestras tramas E1.

primero creamos nuestro script

[voip@neo script]#>vim e1-alert.sh

#!/bin/bash
ALERTA=$(cat /proc/dahdi/* |grep Span |grep RED)
echo “$ALERTA”
if [ “$ALERTA” ]; then
echo “Caida de Primario” |mail -s Urgente cristiant@gmail.com
fi

ALERTA=$(cat /proc/dahdi/* |grep Span |grep YELLOW)
echo “$ALERTA”
if [ “$ALERTA” ]; then
echo “Primario Yellow ” |mail -s Advertencia cristiant@gmail.com
fi

Notas:

Caida Primario” = Nuestro Body del mensaje.

Urgente” = Asunto del mensaje.

cristiant@gmail.com = correo del destinatario.

ok, una vez creado nuestro archivo configuramos el cron para correrlo cada x tiempo.

[voip@neo script]#>crontab -e

0,15,30,40 * * * * /script/e1-alert.sh

y listo con esto cada 15 minutos tenemos el chequeo de nuestras tramas..

hasta la proxima.

Read More

monitoreo de Tramas Dahdi

Sres. hace muchísimo tiempo que no escribía en este blog, hoy voy a documentar un script para monitorear nuestras tramas E1.

primero creamos nuestro script

[voip@neo script]#>vim e1-alert.sh

 

#!/bin/bash
ALERTA=$(cat /proc/dahdi/* |grep Span |grep RED)
echo “$ALERTA”
if [ “$ALERTA” ]; then
echo “Caida de Primario” |mail -s Urgente cristiant@gmail.com
fi

ALERTA=$(cat /proc/dahdi/* |grep Span |grep YELLOW)
echo “$ALERTA”
if [ “$ALERTA” ]; then
echo “Primario Yellow ” |mail -s Advertencia cristiant@gmail.com
fi

Notas:

Caida Primario” = Nuestro Body del mensaje.

Urgente” = Asunto del mensaje.

cristiant@gmail.com = correo del destinatario.

ok, una vez creado nuestro archivo configuramos el cron para correrlo cada x tiempo.

[voip@neo script]#>crontab -e

0,15,30,40 * * * * /script/e1-alert.sh

y listo con esto cada 15 minutos tenemos el chequeo de nuestras tramas..

 

hasta la proxima.

 

Read More

Programar reinicio del servidor con CRON

Buenas, hace tiempo que no escribia, me habia dedicado 100% al trabajo diario, pero este nuevo año me propondre publicar a lo menos 2 notas semanales, veamos si podemos, ahora el script.

Muchas veces necesitamos reiniciar nuestra central pero debemos hacerlo cuando no se este utilizando, este mantenimiento necesario es programable desde el CRON, de la siguiente manera.

[ctorres@pbx]#crontab -e
0 4 * * 2 /sbin/shutdown -r now

con esto estamos programando que la central se reinice todos los martes a las 04:00 am.

Datos Utiles

Formato del para las lineas en el cron

#FORMATO
#minute     hour     day-of-month     month day-of-week

#la definicion de las columnas es :

#    minute:       0-59
#    hour:         0-23
#    day-of-month: 0-31
#    month:        0-12 or Jan Feb Mar etc.
#    day-of-week:  0-7  or Sun Mon Tue etc.

#los campos con asterisco (*) indican cualquiera.

Muy feliz 2010 para todos.

Read More