Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jul 2009 12:06:58 +0400
From:      Andrey Groshev <greenx@yartv.ru>
To:        freebsd-pf@freebsd.org
Subject:   tftp-proxy don't work
Message-ID:  <4A51B0A2.5060208@yartv.ru>

next in thread | raw e-mail | index | archive | help

Hi,

Today there was a need to have tftp-proxy, but I found that it does not 
work.

It was this way:
Jul 6 10:53:27 vakhtyor tftp-proxy [47783]: pf connection lookup failed 
(no rdr?)
Jul 6 10:53:27 vakhtyor inetd [47778]: / usr / libexec / tftp-proxy 
[47783]: exited, status 1

After that I looked the source code, and found the error:
tftp-proxy trying to find is state connection to him and did not find 
it, because not correctly sets the protocol:

server_lookup4 (struct sockaddr_in * client, struct sockaddr_in * proxy,
     struct sockaddr_in * server)
(
.....
-->         pnl.proto = IPPROTO_TCP;
.....

After that I started looking for where the legs grow and discovered that 
it corrected openbsd (added argument function proto).
It may be to synchronize the source code?

Best regards, Andrey Groshev




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A51B0A2.5060208>