search for: so_bindtodevice

Displaying 10 results from an estimated 10 matches for "so_bindtodevice".

2015 Nov 23
2
bind-to-interface option
...fore I started working on patches I wanted to get a sense of whether it >> would be accepted. > > What's wrong with the existing BindAddress option? > For my use case the problem is that it is an address, not a device. The VRF implementation with Linux expects tasks to use the SO_BINDTODEVICE option to bind to the VRF-device. That triggers the use of a route table associated with the VRF domain which can encapsulate one or more network interfaces. Addresses are local to a VRF domain (e.g., 2 interfaces in 2 different VRFs can have the same IP address). i.e., to run ssh/scp/sftp/sshd...
2016 Oct 05
3
Dev: new option to mark all tincd socket of a tincd process
I know i'm new to the list but i'd like to propose something for tincd daemon. I'd like to mark all sockets established by a tincd process with a mark passed as an argument in the command line. What could be the purpose of this new option? The goal of this option is to be able to have several tincd process running at the same time using the same port but using different ip. In
2014 Oct 14
1
virsh list hangs / guests not starting automatically
...arting netlink event service with protocol 0 2014-10-14 16:47:11.151+0000: 4657: info : virNetlinkEventServiceStart:517 : starting netlink event service with protocol 15 2014-10-14 16:47:11.154+0000: 4668: info : dnsmasqCapsSetFromBuffer:667 : dnsmasq version is 2.48, --bind-dynamic is NOT present, SO_BINDTODEVICE is NOT in use 2014-10-14 16:47:11.157+0000: 4668: info : networkReloadIptablesRules:1925 : Reloading iptables rules 2014-10-14 16:47:11.157+0000: 4668: info : networkRefreshDaemons:1287 : Refreshing network daemons 2014-10-14 16:47:11.278+0000: 4668: info : networkStartNetwork:2422 : Starting up ne...
2015 Nov 23
3
bind-to-interface option
Hi: The openssh suite of commands have an option to specify address (e.g, ListenAddress for sshd) but I do not see support for bind-to-interface. The motivating use case for me is using openssh commands (sshd, ssh, scp, sftp) with the recent VRF capability added to the Linux kernel. The VRF design relies on the bind-to-interface option to select the correct routing tables. Before I started
2006 Jul 13
1
Binding to a local IP address when mounting smb file system.
...local Network device name. This will be used to also help bind to a specific local interface. This will be passed to setsockopt before the connect() is called. Example code: if (dev_to_bind_to) { // Bind to specific device. #ifndef __WIN32__ if (setsockopt(s, SOL_SOCKET, SO_BINDTODEVICE, dev_to_bind_to, DEV_NAME_LEN + 1)) { VLOG_ERR(VLOG << "ERROR: tcp-connect, setsockopt (BINDTODEVICE): " << LFSTRERROR << " Not fatal in most cases..continuing...\n"); } #endif }//if From looki...
2007 Aug 13
2
Policy routing question
Hi, I have a testing multihome setup, with the default gateway being one of the links and using policy routing to honor requests for a specific link. Everything works as expected when I request a specific IP to bind to. But if I request a specific interface things fall apart in ways that I can not explain: default gw (WORKS) ---------- rabbit@Thesaurus:~$ ping -c 1 yahoo.com PING yahoo.com
2003 Feb 20
0
Netbios name service forwarding.
...zeof (struct iface_struct)); i->name = strdup (name); i->fd = socket (AF_INET, SOCK_DGRAM, 0); if (i->fd < 0) { syslog (LOG_ERR, "Can't open socket: %m"); exit (1); } strcpy (&ifr.ifr_name[0], name); if (setsockopt (i->fd, SOL_SOCKET, SO_BINDTODEVICE, &ifr, sizeof (ifr))) { syslog (LOG_ERR, "Can't bind to interface %s: %m", name); exit (1); } bzero (&ifr, sizeof (ifr)); strcpy (&ifr.ifr_name[0], name); if (ioctl (i->fd, SIOCGIFADDR, &ifr)) { syslog (LOG_ERR, "Can't...
2014 Feb 19
2
Re: Networkfilters in Routed setup
...following error: >>> error: Failed to start network hetzner-subnet-v4 >>> error: unsupported configuration: Publicly routable address 1.2.3.65 is prohibited. >>> The version of dnsmasq on this host (2.59) doesn't support the bind-dynamic option >>> or use SO_BINDTODEVICE on listening sockets, one of which is required for safe >>> operation on a publicly routable subnet (see CVE-2012-3411). You must either upgrade >>> dnsmasq, or use a private/local subnet range for this network (as described in RFC1918/RFC3484/RFC4193). Since no VM was running...
2014 Feb 18
2
Re: Networkfilters in Routed setup
On Di, 2014-02-18 at 12:03 +0200, Laine Stump wrote: > You *really* should upgrade to a newer libvirt. I know that version 0.9.8 is very old. But to be honest i tried to avoid upgrading and compiling a newer version since i don't know if it has any effects on running VMs (but i haven't checked this yet). Its a production server and i did not want to interrupt any services running on
2018 Feb 07
2
Re: libvirt and NAT on a system that already has a DHCP server
On 2/1/2018 9:28 AM, Laine Stump wrote: > On 02/01/2018 09:22 AM, Daniel P. Berrangé wrote: >> On Thu, Feb 01, 2018 at 09:19:11AM -0500, Laine Stump wrote: >>> On 01/30/2018 07:37 PM, john@bluemarble.net wrote: >>>> I'm trying to use virt-manager and qemu/kvm on Arch Linux. The box I'm >>>> using is also the router for my house. It runs a kea DHCP