Errata

Security Power Tools

Errata for Security Power Tools

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 156
Example 6-7 A DNS traceroute

The code in the book as below:

res, unans = sr(IP(dst=TARGET, ttl=(1,30)/UDP(sport=RandShort())/DNS(qd=DNSQR(qname="www.test.com"))), timeout=4)
res.make_table(lambda (s,r): (s.dst, s.ttl, r.sprintf("{ICMP:%IP.src%#%ICMP.type%}{UDP:%IP.src% %DNSRR.rname%}"))

and it has two right parenthesis with wrong place.

this should correct as follow:

res, unans = sr(IP(dst=TARGET, ttl=(1,30))/UDP(sport=RandShort())/DNS(qd=DNSQR(qname="www.test.com")), timeout=4)
res.make_table(lambda (s,r): (s.dst, s.ttl, r.sprintf("{ICMP:%IP.src%#%ICMP.type%}{UDP:%IP.src% %DNSRR.rname%}")))

the first stament change the parenthesis after "www.test.com"))) to ttl=(1,30))
the second stament miss one right parenthesis in the end

Anonymous  Oct 07, 2010 
Printed Page 404
Figure 13-1

On the lower right of the "Packet Flow through netfilter" figure the output blocks should read "mangle
POSTROUTING" and "nat POSTROUTING", not "mangle PREROUTING" and "nat PREROUTING".

The blocks on the lower right are correct however.

Anonymous