Displaying 2 results from an estimated 2 matches for "ex_ioerr".
2010 Mar 04
1
Making tftpd (hpa) firewall frienldy
...OL_SOCKET, SO_REUSEPORT , &x, sizeof
(x)); }
+#endif
+
memset(&bindaddr4, 0, sizeof bindaddr4);
bindaddr4.sin_family = AF_INET;
bindaddr4.sin_addr.s_addr = INADDR_ANY;
@@ -900,6 +905,14 @@
syslog(LOG_ERR, "socket: %m");
exit(EX_IOERR);
}
+ { int x = 1; setsockopt (peer, SOL_SOCKET, SO_REUSEADDR, &x, sizeof
(x)); }
+#ifdef SO_REUSEPORT
+ { int x = 1; setsockopt (peer, SOL_SOCKET, SO_REUSEPORT , &x, sizeof
(x)); }
+#endif
+ if (pick_port_bind(peer, &myaddr, portrange_from, portrange_to) < 0) {
+...
2004 Jan 13
1
tftpd-hpa suggestions
Hello, Peter and others!
there are some issues regarding the tftp-hpa server:
1. Running as Windows service seems to require that the application does
not detach (otherwise "net start" says smth. like "could not start,
the service didn't report any errors").
The attached patch adds the option "-n", which can be used to have
tftpd run in foreground.