search for: myrecvfrom

Displaying 3 results from an estimated 3 matches for "myrecvfrom".

2012 Jun 11
1
tftp-hpa bug on aliased interface and recent kernels.
So as of recent kernels, this change helps: http://git.kernel.org/?p=network/tftp/tftp-hpa.git;a=commitdiff;h=c6d2c36b1a2b1986cab7aebb72d120fa118bdfeb But there is still a flaw. Notably, if tftpd is running with AF_UNSPEC (as it will if ipv6 support is desired), myrecvfrom will fail to setsockopt to get the data back on the first pass. I'd guess the least disruptive change to get to be correct would be: diff --git a/tftpd/recvfrom.c b/tftpd/recvfrom.c index d050b80..fe233da 100644 --- a/tftpd/recvfrom.c +++ b/tftpd/recvfrom.c @@ -149,16 +149,16 @@ myrecvfrom(int...
2006 Feb 15
2
[tftp-hpa] [BUG] Bad src address on replies from aliased interfaces
Hi, we're running tftp-hpa on a machine which will have to accept packets on an aliased IP (for service redundancy and fallback). The server is reachable using the alias, but replies using the primary IP of the interface, which provokes a timeout on the client. The workaround is to run tftp stand-alone and to explicitly specify the alias IP on the command-line -- however this is not very
2002 Jan 21
1
help for tftp-hpa with libc5
...pes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wshadow -pipe -I.. -c recvfrom.c In file included from ../config.h:37, from recvfrom.c:21: /usr/include/stdlib.h:149: warning: no previous prototype for `strtold' recvfrom.c: In function `myrecvfrom': recvfrom.c:64: field `cm' has incomplete type <======== recvfrom.c:69: sizeof applied to an incomplete type <========= recvfrom.c:105: sizeof applied to an incomplete type recvfrom.c:105: warning: unsigned value < 0 is always 0 recvfrom.c:109: sizeof applied to an incompl...