Bug#706766: Diff for this fix
João Salavisa
joao.salavisa at gmail.com
Tue Mar 7 22:13:02 UTC 2017
Here you go!
diff -b ./arpspoof.c ../orig.dsniff/dsniff-2.4b1+debian/arpspoof.c
49,50d48
< int n_targets;
<
165c163
<
---
> while(target->ip) {
170,175d167
<
< if (!n_targets) {
< arp_send(l, ARPOP_REPLY, (u_int8_t *)&spoof.mac, spoof.ip, brd_ha,
0, src_ha);
< sleep(1);
< } else {
< while(target->ip) {
197d188
< }
202c193
< int
---
> int
210c201
<
---
> int n_targets;
307,312d297
< if (!n_targets) {
< arp_send(l, ARPOP_REPLY, my_ha, spoof.ip, brd_ha, 0, my_ha);
< if (poison_reverse) {
< arp_send(l, ARPOP_REPLY, my_ha, target->ip, (uint8_t
*)&spoof.mac, spoof.ip, my_ha);
< }
< } else {
324d308
< }
On Tue, Feb 28, 2017 at 10:19 PM Marcos Fouces <mfouces at yahoo.es> wrote:
> Hello João
>
> Could you create a patch and post it in this thread?
>
> Thank you very much for the fix!
>
> Greetings,
>
> Marcos
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-security-team/attachments/20170307/8e41d9e0/attachment.html>
More information about the Pkg-security-team
mailing list