Initial checkin
This commit is contained in:
23
etc/apache2/conf-include/akamai.proxy.list
Normal file
23
etc/apache2/conf-include/akamai.proxy.list
Normal file
@@ -0,0 +1,23 @@
|
||||
# https://techdocs.akamai.com/property-mgr/docs/origin-ip-access-control
|
||||
# per: 2022/9/8
|
||||
# Use the site-shield list for WAF setups
|
||||
23.32.0.0/11
|
||||
23.192.0.0/11
|
||||
2.16.0.0/13
|
||||
104.64.0.0/10
|
||||
184.24.0.0/13
|
||||
23.0.0.0/12
|
||||
95.100.0.0/15
|
||||
92.122.0.0/15
|
||||
172.232.0.0/13
|
||||
184.50.0.0/15
|
||||
88.221.0.0/16
|
||||
23.64.0.0/14
|
||||
72.246.0.0/15
|
||||
96.16.0.0/15
|
||||
96.6.0.0/15
|
||||
69.192.0.0/16
|
||||
23.72.0.0/13
|
||||
173.222.0.0/15
|
||||
118.214.0.0/16
|
||||
184.84.0.0/14
|
||||
46
etc/apache2/conf-include/akamai.site-shield.list
Normal file
46
etc/apache2/conf-include/akamai.site-shield.list
Normal file
@@ -0,0 +1,46 @@
|
||||
IP Addresses - Omnicom Site Shield Sites_20221118.csv
|
||||
104.75.169.0/24
|
||||
104.88.195.0/24
|
||||
104.93.21.0/24
|
||||
168.143.242.0/24
|
||||
168.143.243.0/24
|
||||
172.232.11.0/24
|
||||
184.30.31.0/24
|
||||
201.159.159.0/24
|
||||
23.1.96.0/24
|
||||
23.192.164.0/24
|
||||
23.192.44.0/24
|
||||
23.192.45.0/24
|
||||
23.192.46.0/24
|
||||
23.193.170.0/24
|
||||
23.195.73.0/24
|
||||
23.200.54.0/24
|
||||
23.201.57.0/24
|
||||
23.205.108.0/24
|
||||
23.210.215.0/24
|
||||
23.211.14.0/24
|
||||
23.212.54.0/24
|
||||
23.213.54.0/24
|
||||
23.220.165.0/24
|
||||
23.220.247.0/24
|
||||
23.220.96.0/24
|
||||
23.35.71.0/24
|
||||
23.44.170.0/24
|
||||
23.48.209.0/24
|
||||
23.48.94.0/24
|
||||
23.54.124.0/24
|
||||
23.56.168.0/24
|
||||
23.58.158.0/24
|
||||
23.61.250.0/24
|
||||
23.63.251.0/24
|
||||
23.67.73.0/24
|
||||
23.77.203.0/24
|
||||
23.77.218.0/24
|
||||
67.220.142.0/24
|
||||
69.174.30.128/25
|
||||
69.31.74.0/24
|
||||
69.31.75.0/24
|
||||
96.17.111.0/24
|
||||
96.17.149.0/24
|
||||
96.7.218.0/24
|
||||
96.7.74.0/24
|
||||
8
etc/apache2/conf-include/ip-netskope.access.conf
Normal file
8
etc/apache2/conf-include/ip-netskope.access.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
# Tokyo B
|
||||
Require ip 103.219.79.0/24
|
||||
# Tokyo A
|
||||
Require ip 163.116.207.0/24
|
||||
# Tokyo C
|
||||
Require ip 163.116.208.0/24
|
||||
# Osaka
|
||||
Require ip 163.116.197.0/24
|
||||
18
etc/apache2/conf-include/ip.access.conf
Normal file
18
etc/apache2/conf-include/ip.access.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
Require local
|
||||
# Somen Proxy Jump
|
||||
Require ip 35.76.193.119/32
|
||||
# Udon Monitoring
|
||||
Require ip 18.177.200.38/32
|
||||
# [TO BE DEPRECATED] Toranomon Network
|
||||
Require ip 153.143.238.72/29
|
||||
Require ip 153.143.238.208/29
|
||||
# [TO BE DEPRECATED] Yokohama Network
|
||||
Require ip 153.246.36.48/29
|
||||
Require ip 153.246.36.56/29
|
||||
# Netskope/Singapore TAO
|
||||
Require ip 202.2.133.4/32
|
||||
# Netskope/TBWA Japan AWS Publisher
|
||||
Require ip 18.178.205.136/32
|
||||
Require ip 18.182.222.190/32
|
||||
# E-gra AWS DMZ VPC Subnet IPv6
|
||||
Require ip 2406:da14:7:5d00::/64
|
||||
8
etc/apache2/conf-include/login.access.conf
Normal file
8
etc/apache2/conf-include/login.access.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
AuthUserFile /etc/apache2/auth/default.passwd
|
||||
AuthType Basic
|
||||
AuthName "HOST NAME OR INFO"
|
||||
# AuthUserFile /etc/apache2/auth/passfile
|
||||
Require valid-user
|
||||
# Require user <user> <user> ...
|
||||
# AuthGroupFile /etc/apache2/auth/groups
|
||||
# Require group <group> <group>
|
||||
166
etc/gitconfig
Normal file
166
etc/gitconfig
Normal file
@@ -0,0 +1,166 @@
|
||||
[core]
|
||||
# if a user sets his own ignore file, the data in this file will be not used
|
||||
excludesfile = /etc/gitignore
|
||||
editor = /usr/bin/vim
|
||||
pager = less -r
|
||||
[init]
|
||||
defaultBranch = master
|
||||
[advice]
|
||||
# hints in status page (like how to add/etc)
|
||||
statusHints = false
|
||||
[push]
|
||||
default = simple
|
||||
[pull]
|
||||
rebase = false
|
||||
[diff]
|
||||
mnemonicprefix = true
|
||||
algorithm = histogram
|
||||
colorMoved = default
|
||||
colorMovedWS = allow-indentation-change
|
||||
submodule = log
|
||||
[grep]
|
||||
extendRegexp = true
|
||||
lineNumber = true
|
||||
[status]
|
||||
# showUntrackedFiles = all
|
||||
submoduleSummary = true
|
||||
[merge]
|
||||
conflictStyle = zdiff3
|
||||
[rerere]
|
||||
enabled = true
|
||||
[color]
|
||||
ui = true
|
||||
# https://www.kernel.org/pub/software/scm/git/docs/git-config.html
|
||||
# colors: normal, black, red, green, yellow, blue, magenta, cyan, white
|
||||
# valid: bold, dim, ul, blink, reverse, italic, strike
|
||||
[color "diff"]
|
||||
meta = bold yellow
|
||||
frag = bold blue
|
||||
new = green
|
||||
old = red
|
||||
newMoved = green dim
|
||||
oldMoved = red dim
|
||||
commit = magenta
|
||||
whitespace = reverse red dim
|
||||
[color "branch"]
|
||||
# plain
|
||||
meta = reverse blue white
|
||||
local = yellow
|
||||
remote = green
|
||||
upstream = magenta
|
||||
# current = red
|
||||
[color "status"]
|
||||
# unmerged
|
||||
header = white
|
||||
added = yellow
|
||||
changed = red
|
||||
untracked = cyan
|
||||
branch = cyan
|
||||
nobranch = bold yellow
|
||||
[color "grep"]
|
||||
# context, function, linenumber, match, matchContext, matchSelected, selected, separator
|
||||
filename = magenta
|
||||
[alias]
|
||||
co = checkout
|
||||
# add + commit in one step
|
||||
ci = commit -a
|
||||
# same as above with verbose
|
||||
civ = commit -a -v
|
||||
# commit shortcut
|
||||
cm = commit
|
||||
# commit verbose
|
||||
cmv = commit -v
|
||||
# commit with ammend
|
||||
cma = commit --amend
|
||||
# commit +add with ammend
|
||||
cmaa = commit -a --amend
|
||||
# commit with ammend and verbose
|
||||
cmav = commit --amend -v
|
||||
# branch
|
||||
br = branch -vv
|
||||
# branches sort by last commit date
|
||||
brc= branch -vv --sort=committerdate
|
||||
# remote branches
|
||||
brr= branch -vv -r
|
||||
# all branches
|
||||
bra = branch -vv -a
|
||||
# shortcut for status
|
||||
st = status --short --branch
|
||||
# add with verbose
|
||||
ad = add -v
|
||||
# merge
|
||||
mg = merge
|
||||
# update (pull + rebase)
|
||||
up = pull --rebase
|
||||
# last log message
|
||||
last = log --date=iso --decorate --stat -1 HEAD
|
||||
# detailed log (include log size)
|
||||
ll = log --date=iso --decorate --graph --log-size
|
||||
lla = log --date=iso --decorate --graph --log-size --all
|
||||
# same, but with stats
|
||||
lls = log --date=iso --decorate --graph --log-size --stat
|
||||
llsa = log --date=iso --decorate --graph --log-size --stat --all
|
||||
# short log (one line per log entry)
|
||||
ls = log --pretty=format:'%Cred%h%Creset %Cgreen%ad%Creset | %<(80,trunc)%s %Cgreen(%cr)%Creset %C(bold blue)[%an]%Creset%C(yellow)%d%Creset' --graph --date=iso --decorate
|
||||
lsa = log --pretty=format:'%Cred%h%Creset %Cgreen%ad%Creset | %<(80,trunc)%s %Cgreen(%cr)%Creset %C(bold blue)[%an]%Creset%C(yellow)%d%Creset' --graph --date=iso --decorate --all
|
||||
# terse, but with commit file info
|
||||
lsl = log --pretty=format:'%Cred%h%Creset %Cgreen%ad%Creset |%<(60,trunc)%s' --graph --date=iso --decorate --stat
|
||||
lsla = log --pretty=format:'%Cred%h%Creset %Cgreen%ad%Creset |%<(60,trunc)%s' --graph --date=iso --decorate --stat --all
|
||||
# log with changes (patch format)
|
||||
lp = log -p --pretty=fuller --abbrev-commit
|
||||
# revert change before add [take file from commited and overwrite local file]
|
||||
# revert command itself is already used
|
||||
rvt = checkout --
|
||||
# revert add [undo an add file]
|
||||
# reset <file> is the shortcut for reset HEAD <file>
|
||||
rst = reset --
|
||||
unstage = reset HEAD --
|
||||
# diff shortcut
|
||||
df = diff
|
||||
# diff to index (cached)
|
||||
dc = diff --cached
|
||||
# diff with word difference
|
||||
dw = diff --word-diff
|
||||
# diff with stat, shows quick difference (edited to index, before add)
|
||||
ds = diff --stat
|
||||
# diff stat cached: same, but to index (after add)
|
||||
dsc = diff --stat --cached
|
||||
# info -> remote verbose
|
||||
info = remote -v
|
||||
# new log entries since last pull/fetch
|
||||
new = !sh -c 'git log $1@{1}..$1@{0} "$@"'
|
||||
# stash pretty print
|
||||
stashed = stash list --pretty=format:'%gd: %Cred%h%Creset %Cgreen[%ar]%Creset %s'
|
||||
# unpushed commits (long)
|
||||
unpushed = log --branches @{u}..
|
||||
# unpushed short
|
||||
upushed = log --branches --not --remotes --simplify-by-decoration --decorate --oneline
|
||||
# From http://blog.apiaxle.com/post/handy-git-tips-to-stop-you-getting-fired/
|
||||
assume = update-index --assume-unchanged
|
||||
unassume = update-index --no-assume-unchanged
|
||||
# lower case is with -v for unassume, add s for skip work tree
|
||||
assumed = "!git ls-files -v | grep ^[hs] | cut -c 3-"
|
||||
# for skip work tree (S flag in ls-files)
|
||||
skip = update-index --skip-worktree
|
||||
unskip = update-index --no-skip-worktree
|
||||
# small as if unassume set too
|
||||
skipped = "!git ls-files -v | grep ^[Ss] | cut -c 3-"
|
||||
# create a snapshot from the current working tree without removing the changes from the tree
|
||||
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
|
||||
# some helpers for basic
|
||||
# checkout development
|
||||
cod = co development
|
||||
# checkout master
|
||||
com = co master
|
||||
# merge development (down)
|
||||
mgd = merge development
|
||||
# merge master (up)
|
||||
mgm = merge master
|
||||
# push to ALL remotes
|
||||
pushall = !git remote | xargs -L1 git push --all
|
||||
# list tags in proper order or | sort -V
|
||||
tl = !git tag --list --sort=v:refname
|
||||
tlr= !git tag --list --sort=-v:refname
|
||||
# tag sort date
|
||||
tld = tag --sort=taggerdate
|
||||
tldr= tag --sort=-taggerdate
|
||||
6
etc/gitignore
Normal file
6
etc/gitignore
Normal file
@@ -0,0 +1,6 @@
|
||||
*~
|
||||
.DS_Store
|
||||
.svn
|
||||
.svn/*
|
||||
._*
|
||||
.*.swp
|
||||
96
etc/postfix/aliases
Normal file
96
etc/postfix/aliases
Normal file
@@ -0,0 +1,96 @@
|
||||
#
|
||||
# Aliases in this file will NOT be expanded in the header from
|
||||
# Mail, but WILL be visible over networks or from /bin/mail.
|
||||
#
|
||||
# >>>>>>>>>> The program "newaliases" must be run after
|
||||
# >> NOTE >> this file is updated for any changes to
|
||||
# >>>>>>>>>> show through to sendmail.
|
||||
#
|
||||
|
||||
# Basic system aliases -- these MUST be present.
|
||||
mailer-daemon: postmaster
|
||||
postmaster: root
|
||||
|
||||
# General redirections for pseudo accounts.
|
||||
bin: root
|
||||
daemon: root
|
||||
adm: root
|
||||
lp: root
|
||||
sync: root
|
||||
shutdown: root
|
||||
halt: root
|
||||
mail: root
|
||||
news: root
|
||||
uucp: root
|
||||
operator: root
|
||||
games: root
|
||||
gopher: root
|
||||
ftp: root
|
||||
nobody: root
|
||||
radiusd: root
|
||||
nut: root
|
||||
dbus: root
|
||||
vcsa: root
|
||||
canna: root
|
||||
wnn: root
|
||||
rpm: root
|
||||
nscd: root
|
||||
pcap: root
|
||||
apache: root
|
||||
webalizer: root
|
||||
dovecot: root
|
||||
fax: root
|
||||
quagga: root
|
||||
radvd: root
|
||||
pvm: root
|
||||
amanda: root
|
||||
privoxy: root
|
||||
ident: root
|
||||
named: root
|
||||
xfs: root
|
||||
gdm: root
|
||||
mailnull: root
|
||||
postgres: root
|
||||
sshd: root
|
||||
smmsp: root
|
||||
postfix: root
|
||||
netdump: root
|
||||
ldap: root
|
||||
squid: root
|
||||
ntp: root
|
||||
mysql: root
|
||||
desktop: root
|
||||
rpcuser: root
|
||||
rpc: root
|
||||
nfsnobody: root
|
||||
|
||||
ingres: root
|
||||
system: root
|
||||
toor: root
|
||||
manager: root
|
||||
dumper: root
|
||||
abuse: root
|
||||
|
||||
newsadm: news
|
||||
newsadmin: news
|
||||
usenet: news
|
||||
ftpadm: ftp
|
||||
ftpadmin: ftp
|
||||
ftp-adm: ftp
|
||||
ftp-admin: ftp
|
||||
www: webmaster
|
||||
webmaster: root
|
||||
noc: root
|
||||
security: root
|
||||
hostmaster: root
|
||||
info: postmaster
|
||||
marketing: postmaster
|
||||
sales: postmaster
|
||||
support: postmaster
|
||||
|
||||
|
||||
# trap decode to catch security attacks
|
||||
decode: root
|
||||
|
||||
# Person who should get root's mail
|
||||
root: hostmaster@tequila.jp
|
||||
Reference in New Issue
Block a user