ã¡ã¢: ELBã®IPv6対å¿ã¾ããã¨X-Forwarded-For
IPv6ã¢ãã¬ã¹å¯¾å¿ãèãã¤ã¤ãAWSã§ã·ã¹ãã æ§ç¯ããã«ã¯ãä½ãèæ ®ãã¹ãã§ããããã
ãã®ããããã¾ã ãã©ãã¼ã§ãã¦ãªããã¨ãæ°ã«ãªã£ã¦ãæ å ±ãéãã¯ããã¾ããã
ELBå ¬å¼ããã¥ã¡ã³ãã«æ¦è¦ãããã¾ãã
- Using IPv6 with Elastic Load Balancing http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/DeveloperGuide/using-elb-ipv6.html
å³ã«ããã¨ãããªæãã«ãªãã¨æãã¾ãã
IPv4ã¨IPv6ã®ã¢ãã¬ã¹ä¸¡æ¹ãè¿ããã¨ãã§ããdualstackãã®ååã«å¯¾ãã¦ãã¢ã¯ã»ã¹ãããããã«ããã°ããããã§ãã
CNAMEã§ç»é²ãã¦ããå ´åããRoute53ã§ã¬ã³ã¼ãã追å ãã¦ããå ´åããçµ±ä¸ãããããæ¹ã§IPv6対å¿ãã§ããã¨æ¸ããã¦ãã¾ãã
X-Forwarded-For
X-Forwarded-Forã¯ãHTTPã®ããããã£ã¼ã«ãã®1ã¤ã§ãããããã·ãä»ããã¢ã¯ã»ã¹ãããéã«ãã¯ã©ã¤ã¢ã³ãã®IPã¢ãã¬ã¹ãèå¥ããããã«ä½¿ããã¾ããååãXã§å§ã¾ã£ã¦ãããã¨ããåããã¨ãããRFCã§è¦å®ããããããã§ã¯ããã¾ãããããããå¤ãã®LBã対å¿ãã¦ãã¾ãã
- X-Forwarded-For http://ja.wikipedia.org/wiki/X-Forwarded-For
ELBå ¬å¼ããã¥ã¡ã³ãã§ã¯ã次ã®ãã¼ã¸ã«ãã©ã¼ãããã®è§£èª¬ãããã¾ãã
- X-Forwarded-For Support http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/DeveloperGuide/SvcIntro.html#X-Forwarded-For
ã¾ããã¹ãºã©ãããã®ã¨ããã®æ å ±ãåèã«ãªãã¾ãã
- ELBã®ã¢ã¯ã»ã¹å¶é http://blog.suz-lab.com/2011/06/elb.html
- ãã§ã«"X-Forwarded-For"ãããã®ã¤ããHTTPãªã¯ã¨ã¹ããELBãçµç±ãã㨠http://blog.suz-lab.com/2011/06/x-forwarded-forhttpelb.html
- ELBã¨ã¢ã¯ã»ã¹å¶é(Apache)ã¨ãã«ã¹ãã§ã㯠http://blog.suz-lab.com/2011/06/elbapache.html
調ã¹ã¦ããã¨ãOè°·å çã®tweetã«åºä¼ã£ããããã¾ãã
X-Forwarded-Forã§ã«ã³ãåºåãã§ãã£ã¦ãã¨ã©ããã®Webãµã¼ãæ»ãã æ°ããã
http://twitter.com/shot6/status/75869622062161920
ãµã¼ã製åã«ãã£ã¦ããµãã¼ãããã¦ããX-Forwarded-Forã®ãã©ã¼ãããã¯ç°ãªãã¾ãã
å©ç¨ããWebãµã¼ãã®ããã¥ã¢ã«ãèªããã¨ã大äºã¨ãããã¨ã§ãããã
XFFã¯ãæå³ã®ããéç¨ãããã«ã¯ã³ããããããã§ããããããã·ã«å¯¾ãã¦æ§å説ã«ç«ã£ãæè¡ãªã®ã§ãä¿¡é ¼æ§ã®ä½ãé¨åãã«ãã¼ããã¨ãã課é¡ã¨ãéç¨ä¸ã®æ±ºãã®åé¡ãããã¨æãã¾ãã
ã¨ããããã§ãåå¼·ï¼èª¿æ»ä¸ã§ãã