2024-10-01から1ヶ月間の記事一覧

Raion APC互換バッテリー

https://www.raiongroup.comhttps://www.raiongroup.com/rbc-models/rbc24/

Cloudflare DNS

https://developers.cloudflare.com/dns/manage-dns-records/how-to/import-and-export/BIND zone file をインポート、エクスポートできるTTL Auto は 300(秒) TTL Auto はエクスポートすると1 ※2024/10 時点https://community.cloudflare.com/t/details-of-…

Apache 2.2 mod_remoteip backport

https://github.com/ttkzw/mod_remoteip-httpd22Apache2.2系にmod_remoteipを組み込む - DENET 技術ブログ 2017

Cloudflare キャッシュ デフォルトのキャッシュ動作

デフォルトのキャッシュ動作 → Cache Rules がない場合の動作https://developers.cloudflare.com/cache/concepts/default-cache-behavior/ よくあるのがデフォルトで .html はキャッシュされない点に注意。 また、image/png のような MIME タイプには関係…

Cloudflare セキュリティ

Cloudflare、ワンクリックでAIボット、AIクローラーをブロックする設定を追加 | gihyo.jp 2024 スーパーボットファイトモード Cloudflareが提供する高精度のボット対策ー機能や設定方法をご紹介 - アクセリア株式会社 2022 Cloudflare のProプランには スー…

nginx csp add_header Content-Security-Policy

add_header Content-Security-Policy をみやすく nginx set https://serverfault.com/questions/780075/how-to-split-the-nginx-config-across-multiple-lineshttps://stackoverflow.com/questions/50018881/is-it-ok-to-put-line-breaks-in-add-header-in-n…

iframe sandbox youtube Google Map 埋め込み

【HTML】iframeのsandbox属性について #初心者 - Qiita HTMLのsandbox属性でGoogleマップやYouTubeをセキュリティ制限をかけて埋め込む方法 | BLACKFLAG 2023 sandbox="" 埋め込み動画表示されない sandbox="allow-scripts allow-same-origin" 動画再生ok s…

Cloudflare

Cloudflare DNS - external storage 1Cloudflare キャッシュ デフォルトのキャッシュ動作 - external storage 1Cloudflare セキュリティ - external storage 1 Cloudflareは誰でも使えるBot対策を一つの特徴としています。それこそクレジットカード不要でC…

CSP デフォルトセキュリティポリシー data:

デフォルトセキュリティポリシー Webアプリケーションにおいて最も有名なセキュリティ問題でありながら、10 年以上も抜本的な対策が導入されてこなかった、クロスサイトスクリプティングを解決することがCSP最大の目的です。 そのためCS…

nginx return 444

# 1 block all # 2 block only /search # map $http_user_agent $bad_bot { default 0; # "~*Bytespider" 1; # "~*MJ12bot" 2; } # 1 block all # geo $bad_ip { default 0; # 47.80.0.0/13 1; } server { if ($bad_bot = '1') { return 444; } if ($bad_ip)…

sma maillog 解析

sudo pkg install sma cat /var/log/maillog | sma -A -F -q cat /var/log/maillog | sma -O clogsma.conf conf.h /* * This is a default configuration file. */ #define DEFAULT_CONF "./sma.conf"実行ディレクトリの sma.conf clog = Custom Log format …

CSP amazon pay

https://github.com/amzn/amazon-payments-magento-2-plugin/issues/1242#issuecomment-2165338441

CSP instagram twitter

ICSP rules for: Instagram widget Content-Security-Policy: frame-src https://www.instagram.com; img-src data:; script-src https://platform.instagram.com https://www.instagram.com; style-src 'unsafe-inline';https://csplite.com/csp/svc103/ ht…

CSP evaluator

https://csp-evaluator.withgoogle.com/https://csper.io/evaluatorWebセキュリティ研修 / GMOペパボ新卒研修2020 - Speaker Deck

Content Security Policy (CSP) Google CSP Level 2

厳格なCSP = CSP Level 3 許可リストのCSP = CSP Level 2 Google タグマネージャー GA4 シグナル Google シグナルを使用している Google アナリティクス 4(Google アナリティクス)デプロイメントにおいては、CSP に次のディレクティブを含める必要がありま…

FreeBSD snmpwalk

pkg install net-snmphttp://www.sakura-soy.com/Support/FreeBSD/net-snmp.html で、ipfwの設定で以下の設定を追加する。 ipfw add pass udp from ${iip} to any 161 keep-stateMRTGの設定覚書 – 備忘録 for myself in the future 2005

munin snmp rtx1200

snmp host 192.168.1.26 snmp community read-only local_communityssnmpwalk -c local_community -v1 192.168.1.1 .1.3.6.1.4.1 > taco.txtUJP - RTX1200のSNMP情報を取得できるようにする 2020 プライベートMIB Descr MIB (YAMAHA-RT-HARDWARE) OID CPU使…

apache CSP

とりあえずレポートだけ見たい場合の例。 Header set Content-Security-Policy-Report-Only \ "default-src 'none';\ script-src 'self';\ object-src 'none';\ img-src 'self';\ media-src 'none';\ frame-src 'none';\ font-src 'none';\ connect-src 'non…