特定の国からのアクセスを遮断する IP フィルタ. iptables 環境専用
- うざい国からのアクセスを全て遮断 から, ページ上部の *NIXシステム用 をダウンロード.
| /* | |
| * amx_practice_plus | |
| * - infinite money | |
| * - infinite ammo | |
| * - infinite health | |
| * - damage display | |
| * - checkpoint ( I referred kz plugin ) | |
| * | |
| * todo | |
| * - buyzone edit ( I'll refer the nice plugin "buyzone_range" ) |
| /********************************** | |
| * | |
| * hlrcon | |
| * HLDS rcon client | |
| * usage: | |
| * hlrcon <addr> <port> <pass> <cmd> | |
| * | |
| * | |
| * Thanks to: | |
| * Ryozi |
| /********************************* | |
| * | |
| * readstats | |
| * Convert csstats.dat to CSV format | |
| * | |
| * usage: | |
| * ./readstats ./path/to/csstats.dat | |
| * | |
| *********************************/ | |
| #!/usr/bin/ruby - | |
| def main | |
| url = 'http://dyn.value-domain.com/cgi-bin/dyn.fcg?' | |
| dm, hs, pw = 'example.com', 'www', 'xxxx' | |
| ip = `wget -q -O - #{url}ip` | |
| require 'optparse' | |
| ARGV.options {|opt| | |
| opt.on('-d', '--domain=DOMAIN', 'domain (example.com)' ){|v| dm = v} |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| void | |
| die (const char msg[]) | |
| { | |
| fprintf (stderr, "Error: %s\n", msg); | |
| exit (1); | |
| } |
| #!/bin/sh - | |
| ############################################ | |
| # | |
| # build_ffmpeg.sh | |
| # | |
| # functions for install & upgrading ffmpeg. | |
| # | |
| # requires: | |
| # sudo, aptitude, git-core, checkinstall |
| #!/bin/sh - | |
| ############################################ | |
| # | |
| # build_daapd.sh | |
| # | |
| # functions for install & upgrading forked_daapd. | |
| # | |
| # requires: | |
| # sudo, aptitude |
| # .zshrc: users generic .zshrc file for zsh(1) | |
| # | |
| # This file is sourced only for interactive shells. It | |
| # should contain commands to set up aliases, functions, | |
| # options, key bindings, etc. | |
| # | |
| # Global Order: zshenv, zprofile, zshrc, zlogin | |
| ## General | |
| # |
特定の国からのアクセスを遮断する IP フィルタ. iptables 環境専用