Archive for the ‘General’ Category

bug in my original global_deny.conf script.

Tuesday, January 6th, 2009

I just wanted to send a quick note to say that my previous post detailing how to create a global IP deny list for Apache had an incorrect specification of the “Order Allow,Deny” line.  I’ve corrected the original post, but I’ll repeat it here for redundancy:

If you want to deny access to your Apache instance from a list of IP addresses, you can create a file in your conf.d called “global_deny.conf” that looks like this:

<DirectoryMatch .*>
Order allow,deny
allow from all
deny from [...]
deny from [...]
<DirectoryMatch>

Note the “order allow,deny” and the initial “allow from all” lines. Those are very important. :)

Here is the list of bad IP addresses thus far:

deny from 113.30.66.5
deny from 114.108.128.56
deny from 114.141.2.7
deny from 116.126.143.88
deny from 118.220.196.44
deny from 118.45.190.166
deny from 118.82.127.125
deny from 119.235.18.7
deny from 12.192.82.221
deny from 12.205.232.175
deny from 12.68.139.38
deny from 121.125.68.104
deny from 121.126.12.7
deny from 121.135.147.72
deny from 121.149.134.114
deny from 121.162.85.6
deny from 121.170.11.100
deny from 121.219.2.228
deny from 121.254.170.200
deny from 121.78.225.23
deny from 122.116.178.20
deny from 122.167.216.169
deny from 122.201.76.100
deny from 122.203.18.68
deny from 123.214.171.161
deny from 124.0.154.1
deny from 124.0.208.252
deny from 124.0.210.117
deny from 124.0.71.7
deny from 124.81.96.76
deny from 125.214.65.34
deny from 128.121.100.110
deny from 128.121.79.26
deny from 132.203.18.60
deny from 138.100.158.122
deny from 140.130.101.5
deny from 140.130.118.2
deny from 141.85.37.5
deny from 141.89.66.2
deny from 147.202.40.46
deny from 148.206.63.202
deny from 148.223.217.80
deny from 148.245.102.115
deny from 150.101.154.22
deny from 154.5.252.194
deny from 154.5.253.25
deny from 155.226.255.42
deny from 158.43.188.165
deny from 160.99.12.231
deny from 161.58.142.93
deny from 161.58.145.31
deny from 161.58.192.164
deny from 161.58.192.22
deny from 163.26.12.232
deny from 163.30.131.2
deny from 165.138.51.223
deny from 165.98.224.194
deny from 168.188.16.8
deny from 171.64.160.144
deny from 174.133.202.130
deny from 189.1.168.170
deny from 189.19.18.231
deny from 189.20.85.34
deny from 189.32.144.177
deny from 189.42.78.10
deny from 189.54.252.48
deny from 190.128.163.42
deny from 190.196.2.205
deny from 190.24.131.38
deny from 190.3.25.99
deny from 190.54.17.4
deny from 190.95.205.5
deny from 193.110.20.8
deny from 193.178.118.12
deny from 193.207.106.54
deny from 193.230.202.196
deny from 193.25.112.69
deny from 193.253.223.90
deny from 193.53.23.32
deny from 194.0.131.13
deny from 194.177.196.2
deny from 194.185.227.228
deny from 194.187.193.9
deny from 195.11.59.98
deny from 195.110.147.194
deny from 195.114.18.111
deny from 195.12.53.176
deny from 195.12.53.51
deny from 195.128.96.210
deny from 195.137.143.11
deny from 195.137.160.91
deny from 195.14.22.20
deny from 195.145.231.178
deny from 195.149.118.74
deny from 195.184.215.253
deny from 195.207.17.5
deny from 195.209.236.77
deny from 195.225.105.52
deny from 195.242.116.64
deny from 195.56.172.160
deny from 195.85.130.159
deny from 195.94.252.14
deny from 196.12.157.26
deny from 198.170.100.144
deny from 198.65.57.223
deny from 200.105.239.8
deny from 200.108.218.251
deny from 200.109.205.32
deny from 200.11.67.242
deny from 200.113.126.76
deny from 200.129.144.130
deny from 200.14.46.18
deny from 200.145.203.17
deny from 200.155.56.161
deny from 200.160.96.54
deny from 200.199.88.156
deny from 200.201.48.198
deny from 200.206.182.158
deny from 200.21.133.252
deny from 200.212.63.51
deny from 200.215.18.227
deny from 200.215.63.12
deny from 200.251.236.98
deny from 200.27.116.182
deny from 200.31.16.164
deny from 200.35.146.224
deny from 200.40.61.214
deny from 200.54.154.10
deny from 200.61.165.105
deny from 200.68.10.118
deny from 200.68.51.152
deny from 200.82.94.34
deny from 200.85.32.31
deny from 200.93.147.155
deny from 201.127.21.16
deny from 201.13.167.77
deny from 201.21.194.17
deny from 201.219.3.77
deny from 201.232.54.48
deny from 201.234.37.61
deny from 201.24.157.198
deny from 201.26.169.57
deny from 201.28.142.18
deny from 201.30.20.130
deny from 201.41.232.209
deny from 201.94.235.191
deny from 202.107.204.223
deny from 202.123.69.25
deny from 202.125.38.99
deny from 202.125.46.108
deny from 202.144.158.163
deny from 202.164.54.190
deny from 202.181.105.117
deny from 202.214.193.212
deny from 202.39.234.13
deny from 202.39.48.181
deny from 202.39.48.181
deny from 202.64.130.106
deny from 202.71.106.75
deny from 202.95.230.101
deny from 203.114.112.155
deny from 203.116.63.71
deny from 203.130.242.121
deny from 203.146.15.54
deny from 203.151.232.108
deny from 203.162.139.20
deny from 203.204.230.12
deny from 203.22.23.9
deny from 203.228.242.67
deny from 203.231.35.38
deny from 203.246.75.102
deny from 203.249.75.39
deny from 203.255.39.100
deny from 203.69.217.94
deny from 203.86.232.83
deny from 203.86.233.109
deny from 204.11.17.16
deny from 204.11.245.202
deny from 204.174.103.21
deny from 204.2.106.7
deny from 204.209.81.1
deny from 204.214.80.199
deny from 204.244.29.183
deny from 204.8.223.144
deny from 205.189.117.113
deny from 205.234.129.132
deny from 205.234.140.31
deny from 205.234.198.145
deny from 205.234.242.93
deny from 206.123.114.66
deny from 206.130.11.80
deny from 206.221.179.200
deny from 206.221.191.132
deny from 206.225.82.192
deny from 206.225.91.21
deny from 206.225.91.21
deny from 206.71.147.38
deny from 207.126.57.109
deny from 207.139.167.49
deny from 207.150.164.70
deny from 207.154.16.128
deny from 207.182.137.218
deny from 207.210.89.58
deny from 207.218.234.146
deny from 207.226.88.17
deny from 207.235.90.6
deny from 207.250.188.51
deny from 207.44.226.18
deny from 207.44.236.14
deny from 207.44.238.31
deny from 207.44.244.46
deny from 207.58.170.67
deny from 207.58.170.67
deny from 208.109.248.68
deny from 208.113.194.21
deny from 208.113.194.21
deny from 208.113.195.11
deny from 208.113.195.15
deny from 208.116.1.202
deny from 208.122.14.162
deny from 208.53.131.50
deny from 208.64.230.40
deny from 208.64.230.55
deny from 208.66.76.50
deny from 208.68.175.42
deny from 208.68.3.10
deny from 208.69.123.58
deny from 208.69.231.178
deny from 208.83.106.201
deny from 208.97.176.12
deny from 208.98.1.100
deny from 208.98.1.194
deny from 209.17.171.46
deny from 209.172.33.230
deny from 209.172.33.53
deny from 209.172.57.245
deny from 209.200.224.222
deny from 209.208.10.162
deny from 209.216.227.32
deny from 209.217.116.153
deny from 209.23.116.97
deny from 209.248.214.6
deny from 209.25.221.5
deny from 209.250.238.63
deny from 209.250.240.98
deny from 209.250.244.66
deny from 209.35.191.103
deny from 209.50.251.47
deny from 209.51.152.234
deny from 209.51.153.114
deny from 209.51.212.210
deny from 209.51.212.210
deny from 209.52.173.110
deny from 209.62.125.194
deny from 209.80.151.196
deny from 209.85.101.33
deny from 209.85.108.8
deny from 209.90.77.3
deny from 209.90.77.3
deny from 210.0.141.247
deny from 210.116.103.35
deny from 210.116.106.57
deny from 210.127.253.224
deny from 210.205.6.168
deny from 210.205.6.236
deny from 210.205.6.82
deny from 210.86.238.70
deny from 211.115.110.116
deny from 211.115.110.161
deny from 211.115.110.64
deny from 211.115.213.189
deny from 211.160.79.6
deny from 211.171.202.85
deny from 211.174.60.66
deny from 211.174.63.50
deny from 211.202.2.220
deny from 211.202.2.26
deny from 211.202.2.32
deny from 211.206.124.42
deny from 211.233.11.182
deny from 211.233.63.167
deny from 211.234.111.100
deny from 211.236.180.100
deny from 211.236.180.46
deny from 211.245.23.171
deny from 211.247.226.253
deny from 211.255.32.168
deny from 211.43.212.56
deny from 211.43.212.94
deny from 211.58.255.79
deny from 211.76.137.5
deny from 211.78.186.226
deny from 211.79.112.85
deny from 212.103.152.139
deny from 212.108.64.58
deny from 212.159.7.145
deny from 212.159.7.145
deny from 212.188.33.4
deny from 212.227.20.167
deny from 212.227.57.13
deny from 212.227.64.146
deny from 212.241.179.137
deny from 212.48.105.13
deny from 212.51.218.130
deny from 212.6.98.10
deny from 212.63.65.43
deny from 212.69.73.124
deny from 212.95.39.220
deny from 212.97.132.101
deny from 212.99.231.50
deny from 213.147.116.24
deny from 213.156.62.144
deny from 213.160.81.59
deny from 213.165.84.215
deny from 213.165.87.57
deny from 213.165.88.84
deny from 213.168.113.130
deny from 213.173.231.234
deny from 213.193.229.20
deny from 213.194.124.84
deny from 213.198.76.196
deny from 213.207.110.102
deny from 213.247.43.5
deny from 213.250.2.28
deny from 213.92.190.130
deny from 213.92.85.234
deny from 216.117.144.149
deny from 216.117.175.247
deny from 216.120.230.83
deny from 216.120.234.168
deny from 216.120.241.252
deny from 216.127.66.127
deny from 216.131.96.116
deny from 216.139.67.20
deny from 216.14.122.134
deny from 216.142.158.56
deny from 216.142.200.137
deny from 216.142.200.194
deny from 216.145.96.20
deny from 216.146.46.29
deny from 216.17.102.103
deny from 216.17.104.202
deny from 216.180.251.146
deny from 216.239.45.4
deny from 216.239.45.4
deny from 216.246.2.29
deny from 216.246.20.140
deny from 216.246.20.238
deny from 216.246.29.107
deny from 216.246.41.206
deny from 216.246.60.183
deny from 216.252.64.78
deny from 216.252.64.78
deny from 216.29.152.112
deny from 216.45.50.247
deny from 216.55.190.220
deny from 216.75.35.118
deny from 216.9.83.84
deny from 217.11.165.250
deny from 217.111.67.5
deny from 217.13.229.34
deny from 217.147.236.10
deny from 217.148.95.133
deny from 217.172.178.237
deny from 217.26.52.7
deny from 217.72.186.4
deny from 218.106.254.18
deny from 218.145.65.133
deny from 218.219.147.58
deny from 218.232.109.160
deny from 218.234.23.56
deny from 218.237.66.210
deny from 218.239.45.154
deny from 218.239.45.184
deny from 218.38.12.47
deny from 218.38.18.201
deny from 218.38.34.115
deny from 218.84.44.197
deny from 219.106.227.162
deny from 219.117.223.106
deny from 219.117.252.226
deny from 219.166.58.237
deny from 219.85.63.226
deny from 219.94.162.56
deny from 219.94.174.158
deny from 220.100.228.195
deny from 220.132.189.73
deny from 220.133.34.218
deny from 220.134.244.157
deny from 220.156.189.233
deny from 220.80.108.140
deny from 220.80.108.39
deny from 220.80.108.39
deny from 220.90.126.7
deny from 221.139.104.6
deny from 221.139.50.41
deny from 221.229.126.149
deny from 222.233.52.18
deny from 222.236.44.26
deny from 222.237.76.149
deny from 222.237.78.125
deny from 222.35.72.9
deny from 222.73.52.122
deny from 24.132.52.239
deny from 24.143.139.77
deny from 24.154.26.115
deny from 24.66.40.173
deny from 24.67.0.44
deny from 24.8.111.160
deny from 24.91.51.66
deny from 38.98.243.130
deny from 41.208.148.72
deny from 41.250.251.52
deny from 58.1.236.135
deny from 58.120.226.96
deny from 58.141.74.8
deny from 58.177.86.197
deny from 58.181.249.244
deny from 58.181.249.245
deny from 58.227.192.80
deny from 59.106.10.195
deny from 59.106.19.213
deny from 59.125.96.13
deny from 59.136.56.137
deny from 59.25.110.10
deny from 60.172.222.17
deny from 60.48.56.179
deny from 60.50.55.46
deny from 61.109.250.156
deny from 61.152.144.67
deny from 61.175.134.69
deny from 61.19.42.210
deny from 61.220.16.179
deny from 61.250.85.142
deny from 61.80.90.1
deny from 61.80.90.1
deny from 62.101.68.240
deny from 62.109.89.253
deny from 62.141.54.164
deny from 62.146.19.23
deny from 62.149.228.44
deny from 62.193.225.36
deny from 62.210.139.66
deny from 62.48.219.29
deny from 62.75.136.214
deny from 62.75.177.10
deny from 62.75.241.229
deny from 63.245.16.57
deny from 63.247.129.200
deny from 63.247.142.102
deny from 63.247.192.104
deny from 63.247.65.114
deny from 64.106.149.170
deny from 64.113.39.18
deny from 64.118.85.34
deny from 64.124.222.166
deny from 64.128.80.11
deny from 64.128.80.16
deny from 64.13.230.70
deny from 64.13.252.82
deny from 64.136.60.71
deny from 64.148.130.170
deny from 64.15.131.162
deny from 64.15.159.85
deny from 64.18.129.2
deny from 64.18.142.194
deny from 64.182.136.19
deny from 64.182.84.35
deny from 64.185.237.71
deny from 64.202.123.186
deny from 64.22.110.198
deny from 64.22.82.135
deny from 64.22.89.194
deny from 64.235.253.1
deny from 64.246.32.104
deny from 64.246.56.49
deny from 64.251.24.119
deny from 64.34.166.205
deny from 64.34.200.228
deny from 64.38.252.203
deny from 64.41.72.105
deny from 64.72.112.137
deny from 64.72.112.142
deny from 64.79.219.167
deny from 64.8.163.130
deny from 64.83.0.42
deny from 64.90.214.38
deny from 65.17.253.110
deny from 65.18.169.40
deny from 65.18.192.85
deny from 65.182.184.197
deny from 65.254.32.98
deny from 65.254.34.179
deny from 65.254.41.162
deny from 65.254.44.210
deny from 65.254.54.98
deny from 65.254.61.170
deny from 65.36.166.240
deny from 65.38.105.213
deny from 65.98.56.154
deny from 65.98.57.10
deny from 65.98.68.194
deny from 65.98.75.107
deny from 66.103.131.81
deny from 66.11.230.32
deny from 66.11.230.33
deny from 66.118.142.60
deny from 66.128.60.20
deny from 66.135.37.24
deny from 66.135.55.182
deny from 66.147.237.116
deny from 66.147.238.96
deny from 66.147.239.184
deny from 66.160.185.20
deny from 66.172.9.3
deny from 66.179.10.150
deny from 66.179.175.12
deny from 66.197.160.6
deny from 66.225.228.209
deny from 66.225.230.183
deny from 66.235.209.253
deny from 66.242.27.249
deny from 66.244.233.121
deny from 66.244.236.243
deny from 66.34.133.35
deny from 66.40.52.137
deny from 66.40.52.18
deny from 66.40.52.25
deny from 66.40.52.28
deny from 66.40.52.29
deny from 66.40.52.30
deny from 66.40.52.31
deny from 66.40.52.33
deny from 66.7.193.220
deny from 66.7.194.31
deny from 66.7.199.184
deny from 66.7.205.39
deny from 66.7.208.173
deny from 66.7.216.240
deny from 66.71.191.82
deny from 66.90.73.113
deny from 66.93.86.134
deny from 66.96.214.200
deny from 66.98.172.9
deny from 66.98.216.89
deny from 67.127.248.209
deny from 67.15.143.7
deny from 67.15.192.17
deny from 67.15.196.6
deny from 67.15.234.116
deny from 67.15.48.60
deny from 67.15.76.23
deny from 67.15.80.42
deny from 67.150.159.206
deny from 67.18.151.242
deny from 67.19.105.42
deny from 67.19.49.74
deny from 67.192.238.67
deny from 67.192.251.181
deny from 67.192.251.181
deny from 67.212.173.42
deny from 67.220.225.20
deny from 67.225.153.17
deny from 67.32.0.141
deny from 67.61.250.85
deny from 68.109.233.157
deny from 68.178.154.14
deny from 68.191.236.72
deny from 69.20.61.45
deny from 69.22.167.130
deny from 69.41.187.99
deny from 69.42.221.130
deny from 69.5.29.180
deny from 69.50.197.106
deny from 69.50.211.121
deny from 69.50.213.186
deny from 69.57.132.33
deny from 69.61.54.26
deny from 69.64.33.149
deny from 69.64.49.177
deny from 69.64.50.116
deny from 69.64.58.114
deny from 69.64.77.41
deny from 69.64.84.202
deny from 69.65.103.130
deny from 69.65.105.48
deny from 69.65.42.2
deny from 69.72.144.18
deny from 69.73.138.140
deny from 69.73.151.5
deny from 69.73.189.182
deny from 69.89.25.173
deny from 69.89.31.119
deny from 69.93.97.234
deny from 69.94.108.111
deny from 69.94.120.198
deny from 69.94.45.22
deny from 69.94.66.139
deny from 69.94.70.15
deny from 70.38.12.204
deny from 70.38.31.50
deny from 70.38.38.230
deny from 70.38.54.118
deny from 70.84.182.98
deny from 70.84.206.90
deny from 70.84.236.242
deny from 70.84.236.242
deny from 70.85.102.100
deny from 70.85.149.242
deny from 70.85.192.194
deny from 70.85.198.234
deny from 70.85.201.66
deny from 70.85.76.144
deny from 70.86.152.130
deny from 70.86.37.2
deny from 70.91.187.125
deny from 71.245.171.108
deny from 71.6.198.91
deny from 71.9.107.10
deny from 72.15.200.252
deny from 72.167.142.25
deny from 72.22.73.127
deny from 72.232.19.114
deny from 72.232.246.50
deny from 72.248.189.82
deny from 72.249.108.100
deny from 72.249.187.98
deny from 72.29.68.244
deny from 72.29.73.71
deny from 72.29.85.242
deny from 72.29.87.145
deny from 72.3.225.142
deny from 72.3.245.222
deny from 72.32.126.34
deny from 72.34.43.162
deny from 72.35.84.90
deny from 72.5.54.215
deny from 72.52.166.106
deny from 72.52.189.100
deny from 72.52.212.40
deny from 72.55.131.17
deny from 72.55.133.52
deny from 72.55.164.104
deny from 72.55.176.232
deny from 72.55.184.138
deny from 72.9.238.98
deny from 72.9.247.34
deny from 74.200.205.58
deny from 74.208.16.85
deny from 74.213.164.118
deny from 74.220.207.98
deny from 74.222.8.65
deny from 74.50.13.190
deny from 74.52.107.130
deny from 74.52.139.226
deny from 74.52.78.54
deny from 74.53.127.68
deny from 74.53.196.210
deny from 74.55.128.226
deny from 74.55.13.210
deny from 74.55.53.226
deny from 74.55.71.94
deny from 74.7.219.93
deny from 75.101.134.215
deny from 75.125.107.26
deny from 75.125.14.50
deny from 75.125.145.242
deny from 75.125.146.130
deny from 75.125.151.18
deny from 75.125.207.2
deny from 75.126.94.66
deny from 75.127.70.16
deny from 75.69.193.69
deny from 76.12.55.52
deny from 76.164.171.226
deny from 76.164.171.226
deny from 76.74.181.76
deny from 76.9.3.130
deny from 77.120.99.22
deny from 77.221.130.11
deny from 77.221.130.14
deny from 77.221.130.16
deny from 77.221.130.19
deny from 77.221.130.2
deny from 77.221.130.8
deny from 77.222.131.35
deny from 77.222.40.220
deny from 77.222.40.244
deny from 77.222.40.42
deny from 77.232.66.107
deny from 77.232.68.17
deny from 77.232.91.201
deny from 77.234.201.114
deny from 77.240.115.66
deny from 77.79.246.241
deny from 78.110.50.103
deny from 78.111.80.12
deny from 78.129.138.184
deny from 78.159.111.131
deny from 78.31.109.34
deny from 78.40.231.120
deny from 79.143.120.21
deny from 79.174.68.59
deny from 8.19.35.63
deny from 80.19.236.132
deny from 80.190.200.18
deny from 80.197.223.190
deny from 80.238.225.165
deny from 80.247.97.21
deny from 80.67.20.101
deny from 80.67.20.214
deny from 80.67.23.90
deny from 80.67.56.17
deny from 80.72.85.178
deny from 80.85.54.221
deny from 80.88.214.11
deny from 80.91.118.150
deny from 80.93.17.10
deny from 80.93.62.113
deny from 81.169.143.242
deny from 81.176.226.164
deny from 81.176.229.202
deny from 81.208.83.232
deny from 81.21.74.141
deny from 81.229.72.8
deny from 81.24.166.41
deny from 81.248.63.177
deny from 81.85.231.138
deny from 81.93.3.140
deny from 82.138.35.12
deny from 82.148.160.16
deny from 82.165.29.142
deny from 82.194.85.198
deny from 82.207.81.134
deny from 82.48.115.61
deny from 82.61.22.90
deny from 82.70.126.102
deny from 82.75.202.250
deny from 82.78.216.197
deny from 83.168.244.13
deny from 83.17.61.114
deny from 83.2.108.2
deny from 83.220.144.232
deny from 83.220.144.253
deny from 83.222.23.200
deny from 83.223.116.60
deny from 83.231.138.99
deny from 83.234.170.5
deny from 83.244.151.15
deny from 83.64.132.254
deny from 84.21.71.133
deny from 84.227.177.123
deny from 84.232.36.151
deny from 84.40.22.74
deny from 84.45.68.112
deny from 85.113.250.220
deny from 85.114.133.156
deny from 85.119.152.5
deny from 85.17.172.40
deny from 85.17.56.34
deny from 85.186.255.184
deny from 85.190.1.205
deny from 85.214.21.28
deny from 85.214.37.182
deny from 85.214.47.230
deny from 85.230.115.32
deny from 85.236.53.4
deny from 85.25.138.219
deny from 85.43.93.220
deny from 85.93.165.132
deny from 86.10.71.182
deny from 86.109.103.251
deny from 86.58.154.237
deny from 87.106.135.14
deny from 87.106.16.18
deny from 87.106.245.44
deny from 87.106.33.22
deny from 87.106.70.102
deny from 87.117.195.42
deny from 87.118.58.32
deny from 87.118.72.15
deny from 87.118.96.72
deny from 87.119.195.22
deny from 87.229.24.127
deny from 87.229.26.205
deny from 87.230.1.10
deny from 87.233.172.64
deny from 87.237.63.252
deny from 87.237.63.33
deny from 87.248.178.159
deny from 87.252.1.159
deny from 87.253.128.88
deny from 87.253.132.7
deny from 87.3.111.237
deny from 87.94.1.95
deny from 88.191.59.176
deny from 88.198.12.6
deny from 88.198.54.67
deny from 88.198.87.74
deny from 88.2.188.74
deny from 88.26.80.39
deny from 88.63.137.51
deny from 88.79.91.202
deny from 88.80.202.189
deny from 88.84.128.40
deny from 88.84.139.156
deny from 88.84.142.41
deny from 88.84.145.161
deny from 88.84.157.127
deny from 89.108.64.242
deny from 89.108.67.204
deny from 89.111.176.3
deny from 89.111.176.53
deny from 89.111.176.92
deny from 89.111.176.98
deny from 89.111.180.85
deny from 89.186.1.54
deny from 89.218.85.18
deny from 89.234.63.107
deny from 89.248.106.226
deny from 89.248.110.3
deny from 89.252.241.13
deny from 89.35.148.72
deny from 89.36.21.170
deny from 90.157.175.135
deny from 91.121.162.129
deny from 91.121.169.226
deny from 91.121.65.125
deny from 91.121.88.58
deny from 91.125.235.57
deny from 91.184.4.157
deny from 91.192.20.164
deny from 91.192.241.74
deny from 91.194.91.196
deny from 91.195.124.11
deny from 91.198.129.12
deny from 92.104.42.158
deny from 92.43.200.98
deny from 94.101.145.110
deny from 94.102.5.56
deny from 94.23.0.108
deny from 94.23.10.29
deny from 94.23.19.203
deny from 94.23.3.220
deny from 94.37.11.64
deny from 94.75.214.3
# 1/2/2009
deny from 121.78.118.115
deny from 125.246.65.68
# 1/4/2009
deny from 202.181.206.50
# 1/5/2009
deny from 195.246.199.254
# 1/6/2009
deny from 124.0.210.117
deny from 203.230.142.4
deny from 65.98.89.90
deny from 77.221.130.11
deny from 80.122.203.139

Apple unveils 17-inch MacBehemoth Pro weight lifting equipment

Tuesday, January 6th, 2009

AppleInsider | Apple unveils 17-inch MacBook Pro with 8-hour battery.

Or, more appropriately titled:  Apple flips the bird to the concept of a ‘netbook’.

Apple’s new laptop:

Is 3 times heavier than the average netbook.

Has 3.75 times more pixels onscreen than a netbook.

Has 3.5 times the CPU of a netbook (single 1.6GHz Atom vs. Dual 2.93GHz)

Has a screen that’s almost 2 times larger than an 8.9″ netbook.

Has 4 times as much RAM as a netbook.

Has 2 times as much disk space as a netbook.

Lasts the same amount of time on battery as a 6-cell netbook. (i.e. Acer Aspire One)

Oh, and did I mention that it costs about EIGHT TIMES as much as an average netbook?

Mobile platforms will be the death of Adobe Flash

Monday, January 5th, 2009

I’ve been curiously watching the developments (or lack thereof) surrounding Adobe and the use of Flash on mobile platforms like the iPhone and Android handsets. Here’s my summarization of the situation as it stands today:

  • No browser (mobile or otherwise) has Flash built in.  All browsers require a “plugin” provided by Adobe to play back Flash content.
  • Mobile browsers are behind the times when it comes to plugin support, but even though, Adobe isn’t providing mobile phone manufacturers any sort of mobile flash experience. (FlashLight excepted, but this isn’t on major mobile platforms)
  • Adobe got the short end of the stick when it comes to Flash.  Their playback platform powers the worlds largest sites (youtube.com) but they don’t see a dime of revenue from it’s popularity, because most users consume flash content but don’t produce it, and flash producers are who Adobe has previously marketed their products to.
  • In all likelihood, Adobe wants to be paid for porting Flash to platforms like the iPhone and Android.  I don’t think that either Apple or Google would have any part in paying Adobe for such a “right” to use flash.  As proof of this, I present the YouTube non-flash applications on iPhone and Android, which offer a rich non-flash experience that could easily make it’s way back to the desktop browser.

Assuming that Adobe stands fast, and Flash never becomes an integrated part of the mobile browser platform, and, as the mobile platform base grows, sites that rely on Flash for their user interface will be locking out the mobile browsing platform.  So, these sites will realize that they would reach a larger audience if they offered a non-flash mobile-friendly experience.  Thus, they’ll port their flash user interface to AJAX, which works on both desktop and mobile browsers.   Flash usage will begin to decline.  As Adobe gets more anxious to squeeze the dollars from Flash, then the free mobile-supported alternatives will arise.  Greater use of SVG graphics, more AJAX, and possibly even some open-source flash-like technology that will be free and usable for mobile browser developers.

Did I mention HTML5’s <video> element?

Did I mention ViXimo?  This is just the beginning of mobile-enabled flash alternatives, and proof that the above is coming true already.

Mitigating ongoing attacks to my web server.

Thursday, January 1st, 2009

I’ve been seeing messages like this one in my Logwatch e-mails for quite some time:

A total of 2 sites probed the server
203.246.75.102

A total of 7 possible successful probes were detected (the following URLs
contain strings that match one or more of a listing of strings that
indicate a possible exploit):

/wiki/index.php/Talk:AVR_GCC//index.php?name=PNphpBB2&file=viewtopic&t=8/viewtopic.php?p=15&sid=be4c914eb746ac7c96beea717fdfc692/&highlight=%27.include($_GET[a]),exit.%27&a=../../../../../../../../../../../../../../../../../../../../../../../../proc/self/environ%00 HTTP Response 200

So I decided to take a brief look at it.  I’m fairly certain that this isn’t an exploit in my MediaWiki install — I think they’re looking for an exploit in a package “PNphpBB2″ which I don’t have.  Anyway, I did some grepping of my logs to find the bad IPs and created a simple conf.d file that contains all the IP addresses that are bad.  The greps that I did look like this:

zgrep “w00tw00t” /var/log/httpd/*.gz | perl -p -e “s/^.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)[^0-9].*$/\1/g” | sort | uniq
zgrep “\.\./\.\./\.\./\.\./\.\.” /var/log/httpd/*.gz | perl -p -e “s/^.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)[^0-9].*$/\1/g” | sort | uniq
zgrep “PNphpBB2″ *.gz | perl -p -e “s/^.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)[^0-9].*$/\1/g” | sort | uniq

And then I put those all in a file under /etc/httpd/conf.d called “global_deny.conf” that looks like this:

<DirectoryMatch .*>
Order Allow,Deny
allow from all
deny from [...]
deny from [...]
</DirectoryMatch>

With one IP address on each “deny from” line. Hopefully this should shut out a lot of the people that are trying to find exploits on my site. There were 845 unique IP addresses that had hit such URLs.

Does anyone know of an automated solution for doing stuff like this? What I’d like to be able to is to have a regexp of URLs that if you ever hit them, then you automatically end up in a set of denied IP addresses. Maybe it would show a special “you’re an abuser” webpage for the first few hits after that, and then just begin 404ing.

Slow ubuntu emacs startup

Tuesday, December 30th, 2008

I found that starting emacs (under X11) was quite slow after I changed the default font.  After googling around for a while, I found this great post that says to add:

(modify-frame-parameters nil '((wait-for-wm . nil)))

To your .emacs file. I did it, and it made startup zippy fast. (NB: I added it to my (cond (window-system …)) section.

A great list of netbook tweaks.

Tuesday, December 30th, 2008

Although this page says it’s specifically for the Acer Aspire One, it actually applies to most netbooks, since they all use the exact same chipsets.  Some of the wireless & sound stuff might vary per device, but all the other system tweaks are great ideas, and I’m trying them out now on my Lenovo S10.

Automatic “On This Day” generator

Monday, December 29th, 2008

I had a lot of fun writing the “on this day” post a couple of days ago, so I spent some time collecting the image capture dates of 27,727 images in my collection, and whipped up a very crude PHP script to show the nearest picture to right now that I have in my collection, from years past.  In other words, the same date & time as it is now, but N years ago.

Note that some years with only a few photos might show a pretty bizarre photo, but in general I think the answers are pretty much correct.

Also note that some photos are only available if you’re logged in, so if you see a password box, then you should log in to see the image. (this prevents web crawlers from killing my server)

On This Day In KleinLacy history…

Things that would be fun to add:

- Custom dates (not just “now”)

- On this “week / month / etc.”

- exactly N days ago (i.e. 400 days ago)

365GB @ 50kBps = 88 days

Monday, December 29th, 2008

So, I finally set up a script to back up my entire computer (365GB of content, as we speak) to my remotely hosted machine.

This gives me an offsite backup of important files that I may have here, in case of disaster.

But, there’s a catch.  First, my uplink speed from home is only 768kbps, good for about 75kBps.  And, I don’t want to use 100% of that, because at that rate, it would still take 59 days to rsync everything.

So, I’ve throttled it back to 50kbps, so that I can still listen to music at work (128kbps or so) and still get reasonable performance from web surfing.  But, at that rate, it’ll take 88 days to sync all the content.   Other than walking the drives over to the colo, is there any better way?

By the way, if you’d like the Python script that initiates the rsync, let me know.  It has a bunch of smarts in it to manage multiple backups from multiple days without duplicating the content, etc.  Its an Python adaptation/rewrite of a script that I’ve been using to back up the same files locally to a big USB enclosure.

I know there’s probably a host of remote backup managers, but I mostly wanted something simple and straightforward.  I looked a bit at rdiff-backup, but that seemed too heavyweight, and when I tried to run it, I got weird errors because the versions of it are different on the local & remote machines, and it made me really nervous that it’s all fucked up.  Rsync + ssh has been around for ages, and will continue to work for ages.

Reader: Let me reply!

Monday, December 29th, 2008

Dear Google Reader Team,

Please let me reply to my friend’s shared items. The button should say “Reply with note” instead of “Share with note” when I’m viewing shared items.

KTHXBAI

Netbooks are still an underground phenomenon.

Monday, December 29th, 2008

With all the talk on the interwebs about netbooks, I had assumed that they had already gone “mainstream”, especially since Amazon is saying that their top sellers are LCD TVs, Netbooks, and the Nintendo Wii.

But, I’ve been using my netbook at our local coffee shop for the last few days, and I’ve found that no one has seen one before, and I’ve had two people spontaneously come up to me and ask me about the machine.  When was the last time you had someone ask you about your computer in a public space?

People are really surprised at the size (about 8″ x 10″), weight (2.2 lbs), battery life (2+ hrs), and price ($350) .  I mention that it’s not the fastest thing, but the general response is: “well, at that price and weight, it’s worth it!” which is exactly how I feel.

To me, this means that netbooks really do have a place in the market, and have a long way to go when it comes to marketing and market penetration.   I think if the marketing engine kicks in on these machines, or if there’s enough word of mouth spreading, that they’ll really begin to take off.

It’s as if people have finally had enough of their 3.2GHz multi-core multi-disk super GPU enabled $3000 machines, and the thought of something small, light, and with a reasonable battery at a reasonable price really strikes true.

Score +1 for common sense!