[{"data":1,"prerenderedAt":428},["ShallowReactive",2],{"project-8949953":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":43,"post_text":45,"what":46,"said":49,"maker_in_thread":133,"shape":138,"grid":143,"attempts":388,"same_week":389,"maker_shows":140,"maker_hidden":420,"reader_version":421,"card":422},"8949953","webrtc-ips","Get your local and public IP addresses in JavaScript","title","Show HN: Get your local and public IP addresses in JavaScript","https:\u002F\u002Fgithub.com\u002Fdiafygi\u002Fwebrtc-ips","github.com","diafygi",1422310536,2015,239,89,72,2565,3,"notable","security_privacy","ip address detection","web_app",[24,25,26,27],"webrtc ip leak","javascript ip address","local ip detection","webrtc privacy","curious",-0.318,{"positive":18,"neutral":31,"mixed":32,"critical":33},23,1,17,44,{"idea":36,"privacy":37,"docs":40,"design":41,"execution":42},{"positive":18,"critical":32},{"positive":38,"critical":39},0,13,{"positive":38,"critical":38},{"positive":38,"critical":38},{"positive":38,"critical":18},[44,38,38,18,18,32,18,18,18,32,32,18,18,18,18,18,38,38,32,38,38,32,32,38,38,32,32,18,32,32,18,18,32,18,32,38,32,38,38,18],5,null,{"problem":45,"audience":45,"pricing":45,"motivation":45,"time_to_build":45,"stack":47,"openness":48,"stage":48,"team_size":48},[],"unknown",{"praise":50,"objections":63,"requests":90,"questions":98,"alternatives":106},[51],{"value":52,"source":53,"evidence":54},"Useful for fraud detection by checking IP against request IP","commenter",[55,59],{"id":56,"by":57,"text":58},"8950354","joshmn","I use this exact method for fraud detection. 99% of the time, carders \" \" will simply load up a proxy in Firefox\u002FChrome (usually a socks5) and fire away. They typically don't…",{"id":60,"by":61,"text":62},"8953923","huhtenberg","That's clever, thanks. Implemented. Another useful heuristic is to check if the client is coming in from a public Tor exit. YMMV depending on the nature of goods being sold, but…",[64,82],{"value":65,"source":53,"evidence":66},"WebRTC leaks local and public IPs, a privacy risk",[67,71,75,78],{"id":68,"by":69,"text":70},"8950046","aikah","I hope webrtc isn't authorized by default by browsers.I want to give explicit consent.It should even have been that way for ajax requests.",{"id":72,"by":73,"text":74},"8951074","olalonde","Wow, seems like a big privacy issue. Does this mean that VPNs soon won't be effective for masking your IP?",{"id":76,"by":73,"text":77},"8952458","> Your public IP has always been available to a Javascript developer who knows enough to write a one-line PHP script that prints $_SERVER['REMOTE_ADDR'] (as an example). The demo…",{"id":79,"by":80,"text":81},"8951289","The_Fox","The demo reported 192.168.56.1 as a local IP. Now they know I have VirtualBox installed. I wonder what other IPs can leak information about common apps and network configs.",{"value":83,"source":53,"evidence":84},"Browsers should not enable WebRTC by default without consent",[85,86],{"id":68,"by":69,"text":70},{"id":87,"by":88,"text":89},"8951563","desdiv","Let's have a quick survey: 1. Are you currently using WebRTC in any projects? 2. Are you planning on using WebRTC in the future? 3. Do you think that WebRTC should be enabled by…",[91],{"value":92,"source":53,"evidence":93},"Content Security Policy rule to block WebRTC",[94],{"id":95,"by":96,"text":97},"8956677","Torgo","As much as I'm happy that you're able to detect fraudulent transactions, I am really disappointed that there's not a Content Security Policy rule to prevent WebRTC :-(",[99],{"value":100,"source":53,"evidence":101},"Why does the demo show two public IP addresses?",[102],{"id":103,"by":104,"text":105},"8951986","xyby","Why do I have two public IP addresses?",[107,122],{"value":108,"source":53,"evidence":109},"Disabling WebRTC in Firefox via about:config or addons",[110,114,118],{"id":111,"by":112,"text":113},"8950084","throwaway125","This can be disabled in firefox's about:config page by setting media.peerconnection.enabled to false. The problem with disabling all these features on a case by case basis is…",{"id":115,"by":116,"text":117},"8950298","ChrisAntaki","If you'd like an easier way to toggle this setting. https:\u002F\u002Faddons.mozilla.org\u002Fen-US\u002Ffirefox\u002Faddon\u002Fhappy-bonobo-disable-webrtc\u002F I wish Chrome would provide this setting too.",{"id":119,"by":120,"text":121},"8950344","xfr","You can use WebRTC Block on the chrome store",{"value":123,"source":53,"evidence":124},"Simpler IP services like ip.nfriedly.com and ifconfig.me",[125,129],{"id":126,"by":127,"text":128},"8950992","nfriedly","I set up http:\u002F\u002Fip.nfriedly.com\u002Fjson?callback=foo a while ago - it's available if anyone is interested in a simpler version that also works for older browsers.",{"id":130,"by":131,"text":132},"8951020","madeofpalk","When you're on the command line: ``` curl ifconfig.me ```",{"comments":32,"answered":38,"key":134},[135],{"id":136,"text":137},"8950541","What is in in the about:config for \"media.peerconnection.default_iceservers\"? They could have removed the default STUN server.",{"commenters":139,"max_depth":140,"maker_replies":32,"first_comment_mins":141,"lifespan_hours":142},66,7,9,49,[144,146,150,153,156,159,162,164,167,170,171,174,176,178,180,183,186,189,192,195,197,200,202,205,208,211,212,213,216,220,222,226,228,231,233,237,240,243,245,248,251,254,258,261,265,267,270,273,276,279,282,285,287,289,292,295,299,302,305,308,310,312,315,317,321,325,330,332,335,340,341,344,347,351,355,357,359,360,361,362,364,367,369,372,375,378,381,383,385],[56,38,44,145,57,38],"project\u002Fpositive\u002Fidea",[147,38,18,148,149,38],"8950462","project\u002Fneutral\u002Fidea","vld",[151,38,38,152,57,38],"8950811","commenter\u002Fneutral\u002Fnone",[154,38,38,152,155,38],"8950486","sauere",[157,38,38,152,158,38],"8950490","zobzu",[160,38,38,152,161,38],"8950504","peteretep",[163,38,38,152,57,38],"8950808",[165,38,18,148,166,38],"8950859","adrr",[168,38,32,169,57,38],"8956849","project\u002Fcritical\u002Fidea",[60,38,44,145,61,38],[172,38,38,173,57,38],"8956863","other\u002Fneutral\u002Fnone",[95,38,32,175,96,38],"project\u002Fcritical\u002Fprivacy",[177,38,38,152,57,38],"8956855",[111,32,18,179,112,38],"project\u002Fneutral\u002Fprivacy",[181,32,18,179,182,38],"8950177","13",[184,32,18,179,185,38],"8950454","yourad_io",[187,32,38,152,188,38],"8950580","synunlimited",[190,32,18,179,191,38],"8950844","discostrings",[193,32,38,152,194,38],"8951988","logn",[196,32,38,152,185,38],"8957632",[198,32,18,179,199,38],"8950655","mtmail",[201,32,32,175,194,38],"8951931",[203,32,32,175,204,38],"8950977","userbinator",[206,32,38,152,207,38],"8952802","blueskin_",[209,32,18,179,210,38],"8953590","b6",[115,32,18,179,116,38],[119,32,18,179,120,38],[214,32,38,173,215,38],"8950446","mirimir",[217,32,18,218,219,38],"8950694","maker\u002Fneutral\u002Fnone","blfr",[221,32,18,218,215,38],"8950828",[223,32,18,224,225,38],"8950908","maker\u002Fneutral\u002Fdocs","hellbanner",[227,32,18,224,215,38],"8951014",[229,32,18,218,230,38],"8963163","Estragon",[232,32,18,179,204,38],"8950990",[234,32,38,235,236,38],"8951382","commenter\u002Fneutral\u002Fprivacy","hobs",[238,32,38,152,239,38],"8951816","diminoten",[241,32,38,173,242,38],"8951963","ck2",[244,32,38,173,194,38],"8951973",[246,32,38,152,247,38],"8951977","Kiro",[249,32,38,173,250,38],"8952124","iopq",[252,32,38,253,61,38],"8952703","other\u002Fneutral\u002Fprivacy",[255,256,32,175,257,38],"8950547",2,"trainbeeps",[259,256,38,173,260,38],"8951501","jwise0",[262,18,38,263,264,38],"8950155","other\u002Fneutral\u002Fidea","hbbio",[266,18,38,173,158,38],"8950495",[268,18,38,173,269,38],"8950530","amenghra",[271,272,32,175,199,38],"8950008",4,[274,272,18,179,275,38],"8950361","hackcasual",[277,44,32,175,278,38],"8950310","donatj",[280,44,38,235,281,38],"8950350","doktrin",[283,44,32,175,284,38],"8950497","tonyarkles",[286,44,38,152,161,38],"8950512",[288,44,38,152,281,38],"8951108",[290,44,38,173,291,38],"8954739","bestham",[293,44,38,152,294,38],"8952947","h43z",[296,297,32,175,298,38],"8950338",6,"binwiederhier",[300,297,38,152,301,38],"8950428","wereHamster",[303,297,38,235,304,38],"8950586","geofft",[306,297,32,175,307,38],"8955485","jessaustin",[309,297,38,235,304,38],"8955648",[311,297,38,235,307,38],"8955818",[313,140,18,179,314,38],"8950993","mattaustin",[79,316,32,175,80,38],8,[318,141,18,319,320,38],"8950706","project\u002Fmixed\u002Fdesign","droithomme",[322,323,18,179,324,38],"8950936",10,"benmorris",[326,327,32,328,329,38],"8950171",11,"project\u002Fcritical\u002Fexecution","totony",[136,327,38,331,11,32],"project\u002Fneutral\u002Fexecution",[333,327,18,331,334,38],"8951145","abbeyj",[336,337,18,338,339,38],"8954078",12,"project\u002Fneutral\u002Fnone","snake_plissken",[87,39,38,173,88,38],[342,39,38,253,343,38],"8951635","contingencies",[345,39,38,173,346,38],"8952049","daGrevis",[348,349,32,328,350,38],"8952818",14,"josteink",[352,353,44,145,354,38],"8953021",15,"szimek",[72,356,32,175,73,38],16,[358,356,38,235,80,38],"8951286",[76,356,32,175,73,38],[126,33,38,173,127,38],[130,33,38,173,131,38],[363,33,38,173,127,38],"8951040",[365,366,32,328,207,38],"8952798",18,[68,368,32,175,69,38],19,[370,368,38,253,371,38],"8950170","slang800",[373,368,38,253,374,38],"8950234","slg",[376,368,38,235,377,38],"8950352","eknkc",[379,368,38,253,380,38],"8951293","hrjet",[382,368,38,253,116,38],"8950307",[103,384,18,331,104,38],20,[386,384,18,331,387,38],"8953122","jenscow",[],[390,395,400,405,410,415],{"id":391,"name":392,"points":393,"category":394},"8936701","LibreBoard",243,"productivity",{"id":396,"name":397,"points":398,"category":399},"8945156","Haskell on Heroku",148,"infrastructure",{"id":401,"name":402,"points":403,"category":404},"8954353","Ultra",144,"dev_tools",{"id":406,"name":407,"points":408,"category":409},"8962810","Artpacks.org",111,"languages",{"id":411,"name":412,"points":413,"category":414},"8952817","Pacifica",107,"consumer_social",{"id":416,"name":417,"points":418,"category":419},"8948280","LocalWiki",83,"learning_science",false,"v2",{"id":423,"name":5,"line":6,"ai":420,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":424,"top":18,"kw":425,"maker":11,"domain":10,"tier":19,"attempts":38,"strip":426,"url":9,"mix":427,"praise":52,"objection":65,"sub":21},8949953,-0.32,[24,25,26,27],"5003313331133333001001100113113313101003",[18,31,32,33],1793990919344]