wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wget-dev] wget2 | Add --bind-interface (#430)


From: Tim Rühsen
Subject: [Wget-dev] wget2 | Add --bind-interface (#430)
Date: Tue, 16 Apr 2019 10:34:21 +0000


New Issue was created.

Issue 430: https://gitlab.com/gnuwget/wget2/issues/430
Author:    Tim Rühsen
Assignee:  

This allows certain tests, e.g. it sets the correct MAC for virtual interfaces.

if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, "eth0.88", 7) == -1)
        error_printf(_("Failed to set socket option BINDTODEVICE\n"));

BUT it needs privileges / capabilities, e.g. root / sudo or
  sudo setcap cap_net_raw+ep <path to wget|wget2>

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/issues/430
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]