<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<?xml-stylesheet type="text/css" href="http://blog.ngas.ch/styles/feed.css"?>


<title type="html">Filed under: network | Pas un Geek en tant que tel</title>
<subtitle type="html">No Geek As Such</subtitle>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch"/>
<link rel="self" type="application/atom+xml" href="http://blog.ngas.ch/archives/network/index-atom.xml"/>
<updated>2011-12-12T21:19:44+01:00</updated>
<author>
<name><a href=&quot;https://plus.google.com/114292582268779510325&quot;>Tonnerre Lombard</a></name>
<uri>http://blog.ngas.ch</uri>
</author>
<id>http://blog.ngas.ch/</id>
<generator uri="http://nanoblogger.sourceforge.net" version="3.4.2">
NanoBlogger
</generator>

<entry>
<title type="html">1/3 IPv6 traffic!</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2009/02/03/13_ipv6_traffic/index.html"/>

<id>http://blog.ngas.ch/archives/2009/02/03/13_ipv6_traffic/index.html</id>
<published>2009-02-03T19:30:27+01:00</published>
<updated>2009-02-03T19:30:27+01:00</updated>
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 Checking the netstat counters on our router today, it seems that almost
 a third of our traffic is now IPv6:
</p>
<p>
 3105502 packets received (IPv4)<br/>
 2070329 packets received (IPv6)
</p>
</div>
</content>

</entry>
<entry>
<title type="html">Why Greylisting is harmful (2)</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2008/10/28/why_greylisting_is_harmful_2/index.html"/>

<id>http://blog.ngas.ch/archives/2008/10/28/why_greylisting_is_harmful_2/index.html</id>
<published>2008-10-28T16:08:20+01:00</published>
<updated>2008-10-28T16:08:20+01:00</updated>
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 An ISP has a mail cluster solution which is distributed over a number
 of hosts in a /24 subnet. The SPF record correctly reads:
</p>
<p><code>
 $ host -t TXT isp.com
 isp.com descriptive text "v=spf1 ip4:subnet/24"
 $
</code></p>
<p>
 Since the mail cluster has to deliver a large amount of mails per day, it
 is attached to a SAN and distributes message delivery over the various
 servers. A random server picks up a message and attempts to deliver it.
 Locking works well so no double attempts to deliver it are made, ever.
 This effectively prevents messages with delivery problems from clogging
 up the queue on a specific server.
</p>
<p>
 Here's why the ISP can forget their great mail server: greylisting. A lot
 of implementors don't investigate in any way what they whitelist &mdash;
 there's a variety of options ranging from SPF over the RIPE database to
 server name wildcards (which would be nasty, though) &mdash; but instead
 whitelist one single host. Then, however, the likelyhood of the resend
 attempt being performed by the same server is fairly low, so the next
 server will also hit the greylisting barrier. This can continue for a long
 time until the mail is finally delivered &mdash; or, if things go really
 bad, rejected.
</p>
<p>
 While this is not an argument against greylisting itself, it is one
 against a majority of implementations.
</p>
</div>
</content>

</entry>
<entry>
<title type="html">CVE-2008-1447 is still alive - DNSSEC the only way out</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2008/09/15/cve-2008-1447_is_still_alive_-_dnssec_the_only_way_out/index.html"/>

<id>http://blog.ngas.ch/archives/2008/09/15/cve-2008-1447_is_still_alive_-_dnssec_the_only_way_out/index.html</id>
<published>2008-09-15T00:46:58+01:00</published>
<updated>2008-09-15T00:46:58+01:00</updated>
<category term="security" />
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 With a lot of noise, <a href="http://www.doxpara.com/">Dan Kaminsky</a>
 <a href="http://www.doxpara.com/?p=1185">released the security flaw in the
  DNS protocol</a> now known as
  <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447">CVE-2008-1447</a>.
</p>
<p>
 The vulnerability is basically a lack of entropy in the XIDs which are
 used to differenciate between the different responses and to associate
 them with the corresponding queries. The DNS protocol allows additional
 information to be submitted in a response which was not asked for, for
 example if a CNAME is resolved, the corresponding A record which is
 pointed to may be returned in an additional section. This record is then
 learned by the DNS resolvers and will be returned on the next request,
 instead of querying the servers again.
</p>
<p>
 Since the XIDs are rather short, an attacker can send DNS responses with
 various XIDs in order to poison the DNS cache with arbitrary information.
 Hosts querying the poisoned host names during the TTL will then receive
 the fake record and connect to an entirely wrong server.
</p>
<h2>All my useless advice</h2>
<p>
 Back in 2003, <a href="http://cr.yp.to/djb.html">Dan Bernstein</a>
 already published <a href="http://cr.yp.to/djbdns/forgery.html">information
  about the vulnerability</a>, only making slightly less noise than Kaminsky.
 According to his assessment, and to
 <a href="http://www.hackszine.com/blog/archive/2008/07/djbdns_dns_exploits_bernstein.html">public
  perception</a>, the port randomization performed by DJBDNS already
 protected against the poisoning attack. Thus, the ISC released a
 new bind version 9.5.0-P2 which also introduced port randomization,
 causing all of the various NAT problems already known from the FTP.
</p>
<p>
 However, shortly thereafter, someone put up to actually calculate the
 odds of the attack with port randomization, and found that the birthday
 paradoxon actually decreased the complexity of the attack significantly.
 Shortly thereafter, an <a href="http://www.milw0rm.com/exploits/6236">exploit
  for port randomized DNS</a> was released, showing that the port
 randomization was
 <a href="http://tservice.net.ru/~s0mbre/blog/2008/08/08/">not a solution
  to the problem</a>. This leaves DJBDNS vulnerable, too.
</p>
<h2>DNSSEC &ndash; the only way out?</h2>
<p>
 Apparently, only one solution is available so far which really solves the
 problem: the <a href="http://www.dnssec.net/">DNS security extension</a>
 <a href="http://www.rfc-archive.org/getrfc.php?rfc=4034">DNSSEC (RFC4034)</a>.
 DNSSEC signs the zone with SHA1 and an RSA key. The complexity of forging
 this signature is significantly higher.
</p>
<p>
 The disadvantage of DNSSEC is that all zones must be re-signed either on
 update (not so problematic) or every 30 days (harder to implement), or
 otherwise their content will be lost until a new signature is generated.
 Once one manages to automate this step, however, DNSSEC is really useful.
</p>
<p>
 The ISC has prepared a
 <a href="http://www.isc.org/sw/bind/docs/DNSSEC_in_6_minutes.pdf">little
  guide</a> to help people implementing DNSSEC in 6 minutes &ndash; and
 that's already all that's required. However, DJB hates DNSSEC due to
 the amout of CPU time used to verify the signature, and thus did not
 implement it. Salvation can probably be achieved by creating a DNSSEC
 signed zone and converting it to a djbdns zone using the zone conversion
 tool.
</p>
<p>
 PowerDNS also supports storage of DNSSEC records, but cannot create them
 or sign zones in any way. The only way to achieve it is again to sign
 a bind zone and to convert it. The same applies to MaraDNS: there are
 simply no DNSSEC tools available.
</p>
<h2>Spreading the FUD</h2>
<p>
 Nevertheless, <a href="http://blogs.zdnet.com/security/?p=1562">various
  sources</a> are still suggesting that DNSSEC does not help to prevent
 the attack, and that only source port randomization yielded salvation.
 Surely, source port randomization does increase the resilience to the
 attack, but the problem remains unresolved.
</p>
<p>
 Only DNSSEC can provide a definitive solution to the spoofing attacks.
 Currently, the lack of a trust infrastructure still reduces this
 protection, since only the host record and the zone signature must be
 spoofed &ndash; which is however already far from feasible.
</p>
<p>
 At the same time, people should stop repeating things which a single
 source told them &ndash; be it Dan Bernstein or Linus Torvalds. No matter
 if these people are idols, their competence is not universal.
</p>
</div>
</content>

</entry>
<entry>
<title type="html">A rant: Security is not war</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2008/07/25/a_rant_security_is_not_war/index.html"/>

<id>http://blog.ngas.ch/archives/2008/07/25/a_rant_security_is_not_war/index.html</id>
<published>2008-07-25T20:45:20+01:00</published>
<updated>2008-07-25T20:45:20+01:00</updated>
<category term="security" />
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 These days we're living in a world which was stuffed with war, attacks and
 extremists of all sorts. In the one corner we have the islamic terror which,
 thanks to series like <i>Sleepers Cell</i>, can now also be enjoyed from
 the living room. People with the turbans carry around bombs and kill
 millions of people every day. The youths are sniffing anthrax and have
 nothing better to do than to segregate themselves from the community
 only in order to get angry about it and to adhere to extremism.
</p>
<p>
 On the other hand, the communist culture of deportation is still alive.
 Women of all the world are deported to Moscow, there is not a family in
 this world who hasn't at least lost one member to them. The deported
 then have to build nuclear weapons which are specially crafted to attack
 the United States, the holy grail, the center of the prosper world.
 For this reason, a protection shield is being established around Poland,
 Czechia &mdash; not Turkey this time, there have been bad experiences
 with the last attempt.
</p>
<p>
 However, the world of computer security is in no way comparable to it.
 After a recent
 <a href="http://bloggingtom.ch/archives/2008/07/23/sql-injection-attacke-gegen-basler-zeitung/">security
  incident of the <i>Baslerzeitung</i></a>, reports said that
 &ldquo;efforts were made to fend off the attacks&rdquo;. On the bloody
 morning after, one tin soldier rides away.
</p>
<p>
 In truth, the issue was very simple. The software used by the newspaper
 was written poorly and allowed to inject additional web site elements
 (&ldquo;Javascript Injection&rdquo;, apparently through SQL). Rather than
 to line up the tin soldier at the server room, armed with guns to fend
 off the attackers, the newspaper simply patched their software. Starting
 from this point, it doesn't matter how many attackers are running against
 the web site &mdash; it is &ldquo;vaccinated&rdquo; and no longer
 vulnerable to the attack.
</p>
<p>
 It is very questionable if the people who write the type of articles
 quoted by BloggingTom can ever be educated on the issue. It should be
 clarified to them that computer programs are more comparable to dogs
 than to countries. Except to the point that there probably are no
 &ldquo;badly coded dogs&rdquo;.
</p>
</div>
</content>

</entry>
<entry>
<title type="html">SwissIX Outage - Rumours</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2008/01/14/swissix_outage_-_rumours/index.html"/>

<id>http://blog.ngas.ch/archives/2008/01/14/swissix_outage_-_rumours/index.html</id>
<published>2008-01-14T19:33:14+01:00</published>
<updated>2008-01-14T19:33:14+01:00</updated>
<category term="news" />
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 Starting from 14:12 on Sunday, the 20th of January, massive packet
 loss started to occurr on all links at SwissIX. Shortly after that,
 all connectivity from many autonomous systems stopped. Swisscom
 GPRS fallback worked well though, apparently since Swisscom had
 enough peerings outside of SwissIX.
</p>
<p>
 Investigating the situation in SwissIX, there were various incarnations
 of always the same packets flooding the network &ndash; it looked
 entirely like a switch loop. In theory, however, all switches used in
 datacenters should do spanning tree in order to avoid this situation,
 so this explanation appears somewhat vague.
 A mail on layerone-customer however also claims that a switch loop
 in InterXion was causing the failure. Maybe an unusual situation
 triggered a bug, causing STP to fail?
</p>
<p>
 Cyberlink restored connectivity pretty quickly, once the interfaces
 at SwissIX were shut down, the traffic ran over Germany and similar
 fallback routes. swissix.ch remained unreachable, also via Swisscom
 GPRS. The SwiNOG coordination network was split into two pieces,
 rendering it ad absurdum.
</p>
<p>
 Solnet took more than 2 hours to recover. Around 15:30, the full packet
 loss after the main Zuchwil router converted to a routing loop with the
 nexthop. Around 16:30, connectivity started to get back to normal.
 Maybe there are too few non-SwissIX peers available for this case?
</p>
<p>
 Unfortunately, the outage falls right between the moving of the NGAS.ch
 network monitoring infrastructure, so there are no concise graphs
 available showing what exactly had happened. This has been corrected
 immediately afterwards.
</p>
</div>
</content>

</entry>
<entry>
<title type="html">German Court illegalizes use of blacklists</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2007/12/09/german_court_illegalizes_use_of_blacklists/index.html"/>

<id>http://blog.ngas.ch/archives/2007/12/09/german_court_illegalizes_use_of_blacklists/index.html</id>
<published>2007-12-09T13:55:24+01:00</published>
<updated>2007-12-09T13:55:24+01:00</updated>
<category term="news" />
<category term="politics" />
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 In case <i>Az. 7 O 80/07</i>, the District Court of L&uuml;neburg has
 ruled that the use of blacklists for mail filtering is an illegal process.
 The court thereby confirmed the view of a known spammer that the fact that
 mails from his servers were deleted by the SPAM filter was an act of
 censorship.
</p>
<p>
 According to the ruling, the fact that a mail server is used to transmit
 soleily SPAM is not sufficient to block mails from it entirely. Blocking
 a single mail address would have been sufficient, according to the court.
 However, even this step would only have been acceptable in order to prevent
 an immanent danger of a virus attack.
</p>
<p>
 From a mail filtering point of view, however, this view is very
 unsatisfactory. Nowadays, most of the SPAM mails are indeed originating
 from hosts which are used soleily for spamming purposes (dedicated SPAM
 servers or hijacked Windows clients in bot networks), but the addresses
 used contain an unique ID most of the time which is used for only one
 mail.
</p>
</div>
</content>

</entry>
<entry>
<title type="html">Germany wants stronger age verifications and bans on foreign providers</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2007/12/09/germany_wants_stronger_age_verifications_and_bans_on_foreign_providers/index.html"/>

<id>http://blog.ngas.ch/archives/2007/12/09/germany_wants_stronger_age_verifications_and_bans_on_foreign_providers/index.html</id>
<published>2007-12-09T13:49:36+01:00</published>
<updated>2007-12-09T13:49:36+01:00</updated>
<category term="news" />
<category term="politics" />
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 The German Federal Court of Justice has decided in case <i>Az. I ZR 102/05</i>
 that even stronger age verification mechanisms are required for providing
 access to adult content on the Internet. According to the Federal Court,
 the current practice of verification of ID card numbers and bank accounts
 are not sufficient, because any minor could gain access to this information
 easily.
</p>
<p>
 The court proposes a verification process which involves the local postal
 delivery services. The deliverer is supposed to verify the age of the
 future web site user in an eye-to-eye process.
</p>
<p>
 For the various providers of adult content which are not subject to German
 law, the Federal Court sees the Internet Service Providers in the
 responsability to block the web sites in question.
</p>
</div>
</content>

</entry>
<entry>
<title type="html">Germany: Data Retention only until the end of the contract</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2007/12/09/germany_data_retention_only_until_the_end_of_the_contract/index.html"/>

<id>http://blog.ngas.ch/archives/2007/12/09/germany_data_retention_only_until_the_end_of_the_contract/index.html</id>
<published>2007-12-09T13:44:21+01:00</published>
<updated>2007-12-09T13:44:21+01:00</updated>
<category term="news" />
<category term="politics" />
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 In case <i>Az. 5 C314/06</i> against the Federal Ministry of Justice, the
 District Court of Berlin Central has decided that all retained data must
 be deleted by the end of the contract with the customer. According to the
 judges, retention of data even beyond the contract period is a violation
 of the right to informational self-determination.
</p>
</div>
</content>

</entry>
<entry>
<title type="html">IP-Plus &laquo;DoS'd&raquo;</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2007/11/22/ip-plus__laquodosd_raquo/index.html"/>

<id>http://blog.ngas.ch/archives/2007/11/22/ip-plus__laquodosd_raquo/index.html</id>
<published>2007-11-22T19:22:48+01:00</published>
<updated>2007-11-22T19:22:48+01:00</updated>
<category term="news" />
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 Starting from yesterday afternoon, the IP-Plus network
 (<a href="http://pauli.sygroup.ch/cgi-bin/smokeping.cgi?target=World.Europe.Switzerland.IPPlus">AS3303</a>)
 has suffered from severe difficulties, and initially even outages.
 Starting from the afternoon, IP-Plus started pushing an enormous
 amount of prefixes out to all peers.
</p>
<p>
 For most routers, pushing an enormous amount of routes causes an emergency
 shutdown of the corresponding peering, and that was what IP-Plus must have
 experienced a lot that evening. (At least it happened on all routers I have
 access to, and I heard
 <a href="http://www.blogg.ch/index.php?/archives/697-Statt-Buffertainment-ein-Backbone-Domino-der-Supergau-im-Swisscom-Backbone.html">reports</a>
 <a href="http://lists.swinog.ch/public/swinog/2007-November/002289.html">from</a>
 <a href="http://lists.swinog.ch/public/swinog/2007-November/002282.html">others</a>
 indicating the same.)
</p>
<p>
 IP-Plus has a
 <a href="http://www.ip-plus.net/network/network_status/index.de.mpl">trouble
  ticket</a> suggesting that a DDoS attack was the direct cause of the
 outages. However, no DDoS attack could ever have caused the effects we
 were seeing, so it appears that IP-Plus is trying to disguise human
 error as a force they are unable to control. This is not appropriate.
</p>
</div>
</content>

</entry>
<entry>
<title type="html">When Worse than Failue fails</title>
<author>
<name>Tonnerre Lombard</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.ngas.ch/archives/2007/10/23/when_worse_than_failue_fails/index.html"/>

<id>http://blog.ngas.ch/archives/2007/10/23/when_worse_than_failue_fails/index.html</id>
<published>2007-10-23T08:52:54+01:00</published>
<updated>2007-10-23T08:52:54+01:00</updated>
<category term="general" />
<category term="network" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
 Instead of the daily Worse Than Failure, a weird message can be read today
 on the home page:
</p>
<div style="border-style: dashed; border-width: 3px; border-color: darkgray; padding: 5px;">
 <h3>An Error Occured</h3>
 <p>
  Not sure what it was, but it was logged. A human will eventually look at
  it. If the problem persists, please Contact Us. If the problem is on the
  contact form, then ... well ... that pretty much sucks. You can email
  instead: alexp-at-WorseThanFailure.com.
 </p>
</div>
<p>
 Seems these people should look for some software which is not based on ASP.
</p>
</div>
</content>

</entry>

</feed>

