search for: ip_nonlocal_bind

Displaying 13 results from an estimated 13 matches for "ip_nonlocal_bind".

2002 Nov 27
5
transparent PAT
...e same LAN segment. I''ve already tried also some userspace solutions, which didn''t work, like redir, tircproxy, transproxy, etc. but they didn''t work either, complaining abount not able to bind to non-local port. And yes (mr. Brown), I know about the /proc/sys/net/ipv4/ip_nonlocal_bind switch, listed in plorf.net/linux-ip/. Any suggestions (or help) are very much welcome. 10q for your time, Nickola
2013 May 20
1
peer probe fails (107)
...e cryptic 107 error, (I guess this means gluster can't see a peer)... gluster peer probe vm-2 peer probe: failed: Probe returned with unknown errno 107 When I can effectively ssh and ping a given server. I've seen other threads regarding this, some of them to deal with the "net.ipv4.ip_nonlocal_bind" parameter, and also a bug https://bugzilla.redhat.com/show_bug.cgi?id=890587 ... But I'm still not sure what the nature of this error is - any thoughts? -- Jay Vyas http://jayunit100.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http:...
2017 Jan 16
2
disable/mask NetworkManager leads to unit startup fails
Hello! For me it was best practice to disable "NetworkManager" on headless installations. Now suddenly I ran into an problem with several programs not starting correctly upon boot anymore. The problem seems to be that their unit files contain "After=network.target" but network.target wont wait till network is up and working, just waits for some low level network stuff.
2017 Jan 16
0
disable/mask NetworkManager leads to unit startup fails
...;t be complete until at least one IP is on any interface. If it's your own application and you can set the flags on the actual bind then you can use so_freebind on the socket opened, some applications may have this as a compile time or configurable option. Another option is to enable net.ipv4.ip_nonlocal_bind and net.ipv6.ip_nonlocal_bind which allows the kernel to bind a socket on an IP it doesn't have (do note the caveat it may break some things). https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt If it's a systemd socket being used by the service then you can enable the freeb...
2017 Jan 17
1
disable/mask NetworkManager leads to unit startup fails
...;t be complete until at least one IP is on any interface. If it's your own application and you can set the flags on the actual bind then you can use so_freebind on the socket opened, some applications may have this as a compile time or configurable option. Another option is to enable net.ipv4.ip_nonlocal_bind and net.ipv6.ip_nonlocal_bind which allows the kernel to bind a socket on an IP it doesn't have (do note the caveat it may break some things). https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt If it's a systemd socket being used by the service then you can enable the freeb...
2013 Jun 10
2
Wait for interface to become available instead of dying?
At the moment, if one of the interfaces specified with "listen=" in dovecot.conf is not up when Dovecot is started, then Dovecot just refuses to start. Is there an option to make Dovecot start anyway, and just use the interface when it becomes available? It is inconvenient to have Dovecot refuse to start during boot because some interface is temporarily not available. Then again,
2014 May 06
0
poor write performance or locking issues with ocfs2
...Apache 2 Webserver with PHP on 2 nodes, NGINX and FTP on the other nodes (nginx will only read data, FTP and PHP will write also). I guess the read-rate is about 80%. - The filesystem was online extended 2 times after initial setup. - sysctl.conf parameters are set (for the webserver): -- net.ipv4.ip_nonlocal_bind=1 net.ipv4.tcp_fin_timeout=10 net.ipv4.ip_local_port_range=1024 65535 vm.swappiness=10 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1 -- Now, the problem: The cluster runs well, but some times a day the systemload grows up from ~0-1 to 40, 500, 2000! CPU is fine,...
2008 Feb 27
1
remote/reverse port forward, ssh client setting source IPs to what ssh server reports
...onnect_to" function in channels.c is what I think creates the connection on the ssh client to the destination in a remote forward. It uses Berkeley Sockets. Perhaps there should be a option to use raw sockets and spoof the source IP to what the ssh server passed to the ssh client, or set "ip_nonlocal_bind" with sysctl on linux or do whatever it takes to have a arbitrary IP address bind with a particular OS (not portable, I know), and then do a bind with the source IP from the ssh server on the socket before doing the connect to the server app on OpenSSH client. Then OpenSSH client will be repo...
2015 Dec 17
0
Network services start before network is up since migrating to 7.2
...'t present until the network adaptor is up and configured. So how to solve this... 1) Have the services bind on :: (or 0.0.0.0) rather than a specific IP like the default configuration so that they are not dependent on the network being up with a specific IP on the interface 2) Set the sysctl ip_nonlocal_bind so that the services can bind to IPs not yet on the system (if it's using a systemd socket you can override with FreeBind for that socket rather than set this globally) 3) Provide overrides for each service to order it after network-online.target (which is effectively when the non-local IP addr...
2015 Dec 08
8
[Bug 2512] New: Use IP_FREEBIND if available for sshd listening socket
...useful. # Solution This can be solved by setting listening socket option IP_FREEBIND, which allows bind to even non-existing or non-local addresses and as described in [1]. This feature is available in Linux since 2.4 There is still available workaround with system-wide boolean /proc/sys/net/ipv4/ip_nonlocal_bind, but having this set up fine grained per-socket seems like more reasonable. # Downside Only downside I can think of is that users will not see the configuration errors, if they mistype IP address in configuration file. This can be solved by allowing this only based on some other option or environm...
2015 Dec 08
8
[Bug 2512] New: Use IP_FREEBIND if available for sshd listening socket
...useful. # Solution This can be solved by setting listening socket option IP_FREEBIND, which allows bind to even non-existing or non-local addresses and as described in [1]. This feature is available in Linux since 2.4 There is still available workaround with system-wide boolean /proc/sys/net/ipv4/ip_nonlocal_bind, but having this set up fine grained per-socket seems like more reasonable. # Downside Only downside I can think of is that users will not see the configuration errors, if they mistype IP address in configuration file. This can be solved by allowing this only based on some other option or environm...
2015 Dec 17
2
Network services start before network is up since migrating to 7.2
Hello all, I updated two of my servers to CentOS 7.2 (1511) two days ago, and since, on one of them, the network services are started (and fail to start) before the network interfaces are online. Parts of "journalctl" after the last reboot : d?c. 17 10:21:44 myserver kernel: NET: Registered protocol family 40 d?c. 17 10:21:45 myserver sshd[700]: error: Bind to port 22 on
2003 Feb 03
4
[Bug 40] system hangs, Availability problems, maybe conntrack bug, possible reason here.
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=40 laforge@netfilter.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From laforge@netfilter.org 2003-02-03 16:49 ------- We haven't seen this