Comment 3 for bug 1323024

Revision history for this message
Jay R. Wren (evarlast) wrote :

Notice: it is not a crash.

$ sudo urlsnarf
urlsnarf: listening on eth0 [tcp port 80 or port 8080 or port 3128]
$ echo $?
0

I looked at the source. The pcap timeout of zero once represented "no timeout" but in newer libpcap the pcap_set_timeout man page says:

       The behavior, if the timeout isn't specified, is undefined. We recommend always setting
       the timeout to a non-zero value.

The patch in the package 23_urlsnarf_timestamp.patch looks to be the culprit.