Displaying 4 results from an estimated 4 matches for "tp_opcod".
Did you mean:
tp_opcode
2004 Mar 12
0
tftpd error message (File not found)
...NAK (1, File not found) to
10.1.5.121
here my client has asked for a file, and tftpd has said that it does not exist
in its path (or cannot access it).
looking in the tftpd.c (from 0.36) i see that on line 779 this error can be
caused.
<snip>
ecode = (*pf->f_validate)(filename, tp_opcode, pf, &errmsgptr);
if (ecode) {
nak(ecode, errmsgptr);
exit(0);
}
<snip>
i run the tftpd server from xinetd as root, so it cannot be a permissions
problem (i believe ?).
(/etc/xinetd.d/tftp)
service tftp
{
socket_type = dgram
protocol...
2009 Jul 19
3
[PATCH] tftpd.c: write a pid file in standalone mode
...ic const char short_options[] = "46cspvVlLa:B:u:U:r:t:T:R:m:P:";
int main(int argc, char **argv)
{
@@ -352,6 +360,7 @@ int main(int argc, char **argv)
#ifdef WITH_REGEX
char *rewrite_file = NULL;
#endif
+ const char *pidfile = "/var/run/tftpd-hpa.pid";
u_short tp_opcode;
/* basename() is way too much of a pain from a portability standpoint */
@@ -475,6 +484,9 @@ int main(int argc, char **argv)
printf("%s\n", TFTPD_CONFIG_STR);
exit(0);
break;
+ case 'P':
+ pidfile = optarg;
+...
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.
2009 Sep 05
5
[tftpd PATCH 0/5] pidfile option and syslog fix
Hi,
This is my current patch queue. The patches are independent, AFAIK,
so feel free to cherry-pick or reject them independently.
The bottom one was needed for a successful build here; the top one
contains all the modifications you requested on IRC, and more.
Meanwhile I hit one of the four stray TABs in tftpd.c, and decided to
get rid of them.
Comments welcome.
---
Ferenc Wagner (5):