con iptables se puede, hay que bloquear todo el segmento de facebook.
Despues con un whois a las ip's de facebook obtienes el CIRD del segmentoCódigo:dig facebook.com ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> facebook.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42807 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 5, ADDITIONAL: 5 ;; QUESTION SECTION: ;facebook.com. IN A ;; ANSWER SECTION: facebook.com. 2014 IN A 69.63.189.11 facebook.com. 2014 IN A 69.63.189.16 facebook.com. 2014 IN A 69.63.181.12 ;; AUTHORITY SECTION: facebook.com. 40239 IN NS ns1.facebook.com. facebook.com. 40239 IN NS ns2.facebook.com. facebook.com. 40239 IN NS ns5.facebook.com. facebook.com. 40239 IN NS ns3.facebook.com. facebook.com. 40239 IN NS ns4.facebook.com. ;; ADDITIONAL SECTION: ns1.facebook.com. 1634 IN A 204.74.66.132 ns2.facebook.com. 2056 IN A 204.74.67.132 ns3.facebook.com. 933 IN A 69.63.178.21 ns4.facebook.com. 412 IN A 69.63.186.49 ns5.facebook.com. 567 IN A 69.63.176.200 ;; Query time: 25 msec ;; SERVER: 200.27.2.2#53(200.27.2.2) ;; WHEN: Tue Sep 28 08:46:37 2010 ;; MSG SIZE rcvd: 248
y con iptables bloqueas todo el segmento...Código:MacBook-Pro-de-Pablo-Prouvay:~ paabloop$ whois 204.74.66.132 # # Query terms are ambiguous. The query is assumed to be: # "n 204.74.66.132" # # Use "?" to get help. # # # The following results may also be obtained via: # http://whois.arin.net/rest/nets;q=204.74.66.132?showDetails=true&showARIN=false # NetRange: 204.74.64.0 - 204.74.127.255 CIDR: 204.74.64.0/18 OriginAS: NetName: IMN NetHandle: NET-204-74-64-0-1 Parent: NET-204-0-0-0-0 NetType: Direct Allocation NameServer: UDNS2.ULTRADNS.NET NameServer: UDNS1.ULTRADNS.NET RegDate: 1994-10-26 Updated: 2000-09-19 Ref: http://whois.arin.net/rest/net/NET-204-74-64-0-1 OrgName: Internet Media Network OrgId: IMN Address: 420 S Smith Road City: Tempe StateProv: AZ PostalCode: 85281 Country: US RegDate: 1994-10-26 Updated: 2000-09-19 Ref: http://whois.arin.net/rest/org/IMN RTechHandle: RJ48-ARIN RTechName: Joffe, Rodney RTechPhone: +1-480-858-9000 RTechEmail: rjoffe@centergate.com RTechRef: http://whois.arin.net/rest/poc/RJ48-ARIN # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/whois_tou.html #
es lo unico que me resulto.
Saludos


LinkBack URL
About LinkBacks
Citar












zippyte
