similar to: Issue with running tftpd-hpa in inetd mode?

Displaying 20 results from an estimated 7000 matches similar to: "Issue with running tftpd-hpa in inetd mode?"

2014 Jan 30
0
Issue with running tftpd-hpa in inetd mode?
On Thu, 2014-01-30 at 11:25 -0500, Dan Swartzendruber wrote: > Hopefully I'm not out to lunch here. I ported tftp-hpa to our proprietary > OS, VOS (at stratus.com). We've always runs the old legacy tftpd from > inetd, so I wanted to continue doing so with tftp-hpa. It seems to work > okay, but I noticed that the code in tftpd.c has a 'while (1)' loop that > has
2014 Jan 30
2
Issue with running tftpd-hpa in inetd mode?
> Correct. Like most UDP-based inetd services, tftpd is intended to be run in 'wait' mode. When the first request arrives, inetd starts the service but does not read the incoming packet (it can't, because it has no way to pass it along to the server). After that, inetd ignores that socket until the server exits. This isn't critical for tftp, but it does help to keep down the
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):
2014 Jan 30
1
Issue with running tftpd-hpa in inetd mode?
On 01/30/2014 10:25 AM, Jeffrey Hutzelman wrote: > > Correct. Like most UDP-based inetd services, tftpd is intended to be > run in 'wait' mode. When the first request arrives, inetd starts the > service but does not read the incoming packet (it can't, because it has > no way to pass it along to the server). After that, inetd ignores that > socket until the server
2014 Jan 30
0
Issue with running tftpd-hpa in inetd mode?
On 01/30/2014 11:09 AM, Dan Swartzendruber wrote: > > Yeah, I get this part. I think I misunderstood what xinetd was doing - I > thought it was waiting for tftpd parent to exit and not processing > anything else. So xinetd is ignoring tftp port during this sequence, and > any new requests come in and are serviced by the parent tftpd which spawns > new tftpd children to do the
2009 Jul 19
3
[PATCH] tftpd.c: write a pid file in standalone mode
The default path is /var/run/tftpd-hpa.pid, which can be overridden by the newly introduced -P option. On normal termination (SIGTERM or SIGINT) the pid file is automatically removed. Moved setting the umask later, right before entering the select loop, so that it does not affect the permissions of the pid file. Signed-off-by: Ferenc Wagner <wferi at niif.hu> --- tftpd/tftpd.c | 38
2005 Feb 06
4
Can't get hpa-tftpd working on Slackware 9.1
Hi, I have a question on tftpd on Slackware - I know this is an embedded Linux forum, but I think it still must be the appropriate place to ask. I have hpa-tftpd V0.40 on Slackware 9.1. No matter what I do, I can't get files transferred to the tftp server. I just get timeouts - no messages in /var/log/messages or in /var/log/syslog - just dealthly silence. This is the configuration line
2009 Jul 04
2
[PATCH] Create /var/run/tftpd-hpa.pid in standalone mode
This is more a question than a serious proposal. The name of the pid file should probably be configurable, and it should be unlinked on normal termination, but no such thing exists in standalone mode. SIGTERM and SIGINT should be catched and considered normal, I guess. Signed-off-by: Ferenc Wagner <wferi at niif.hu> --- tftpd/tftpd.c | 7 +++++++ 1 files changed, 7 insertions(+), 0
2014 Jun 03
0
tftpd-hpa privileges checks under inetd
Hello, I've looked at some bugs reports for tftpd-hpa and it seems that it explicitly wants to be executed with root privileges and fails if it's not. Could tftpd-hpa check for root privileges before trying to call initgroups(setgroups), setuid/setreuid and chroot() ? (and probably complain when -s is called and UID is not 0). Or do you find it useless and need for root privileges so
2002 Sep 25
1
tftpd-hpa does not fork
hi, i try to get this tsize capable tftpd running, but it doesn't fork. (as read the strace output and the process table) strace: 9122 execve("/usr/sbin/in.tftpd", ["/usr/sbin/in.tftpd", "-u", "nobody", "-s", "/var/tftpboot/"], [/* 35 vars */]) = 0 9122 uname({sys="Linux", node="saturn", ...}) = 0 9122
2002 Sep 24
1
tftpd-hpa
Hello, I need help in setting up tftpd-hpa to send a kernel to a client, on a debian woody installation. I did manage the feat when using tftpd to send a kernel to a client which had a separate network interface card, but I would like to do it with integrated LAN. Trials with tftpd failed with error messages starting with 'PXE', and later I learned that tftpd-hpa is needed for the PXE
2017 Jan 29
2
[PATCH tftpd-hpa] tftpd: don't use AI_CANONNAME and AI_ADDRCONFIG to resolve addresses for bind
AI_CANONNAME is only relevant when the resulting official name is used, which is not the case in tftpd for the address to bind to. Also AI_ADDRCONFIG isn't helpful. This flag is good for sockets used to connect(2) somewhere. But for listening sockets it makes tftpd fail to start when -a 0.0.0.0:69 is passed and no network device is up yet. This addresses Debian bug
2002 Jul 12
4
tftp-hpa 0.28, 0.29 interoperability problem
Hi, I have a tftp client which loads quite happily from a tftpd built from netkit-tftp-0.16 but which fails to load from from a tftpd built from tftp-hpa 0.29. In both cases, tftpd was built from pristine sources and run from xinetd under Redhat 7.3. [netkit-tftp-0.16 is the ancestor of tftp-hpa, predating HPA's maintenance of same] [the tftp client also.. .. fails with the prebuilt tftpd
2014 Jun 28
1
tftp-hpa 5.2
Hello everyone, I am having difficulties in setting up a tftp server on a Fedora 3.14.8-200.fc20.x86_64. Running tftp client to test the server functionality, a simple get from the terminal prompts 'Transfer timed out.' back. The version is tftp-hpa 5.2, with remap, with tcpwrappers, unfortunately I am not able to find any log in the system journal.? The server and related services appear
2008 Jul 08
1
tftpd: read: Connection refused
Hello, we have two diskless machines in a routed network. Both get their IP adresse and tftp configuration via dhcp. When we start one machine all works well, when the second machine tries to download the kernel via tftp we get this error: Jul 8 09:49:52 voyager2 in.tftpd[8374]: RRQ from 10.63.5.122 filename /andreas/pxelinux.0 Jul 8 09:49:53 voyager2 in.tftpd[8374]: tftpd: read: Connection
2009 Jan 07
2
OpenBSD TFTPD remap rules
Hi! I am using OpenBSD 4.4 with the build-in TFTP-Daemon for PXE. Distributing OpenBSD works fine. Now I want to distribute OpenBSD and WinPE. I've installed PXELinux 3.72 and configured it. Works also fine for PXELinux and distributing OpenBSD. To distribute WinPE I need a remap rule (\ -> /) for the TFTP-Daemon. I've created a file /etc/tftpd.remap with the following rule: rgG \\ /
2010 Mar 04
1
Making tftpd (hpa) firewall frienldy
Hello all, Tested on linux 2.6.18 (Centos5) and FreeBSD 7.0. You would execute it like below (which basically makes tftp reply back with same port is listening on ) tftpd --port-range 69:69 -4 -s /tftpboot/ --- tftp-hpa-0.49/tftpd/tftpd.c 2008-10-21 01:08:31.000000000 +0300 +++ tftp-hpa-0.49-tftpd-reuseport.c 2010-03-03 15:19:26.000000000 +0200 @@ -524,6 +524,11 @@ #ifndef __CYGWIN__
1997 Mar 22
2
"Secure" tftpd source for Linux?
I''ve been poking around my system, and realized that having a tftp server would be handy. (I''m working with cisco routers, which have the capability to up and download configuration images via tftp.) However, I''m not content with the usual tftpd that comes with Linux. The whole "specify each directory you want" scheme is cock-eyed to me. I''d prefer
2010 Jul 09
2
atftpd versus tftpd-hpa
It seems that tftpd-hpa is more suitable at serving arbitrarily large files (greater than 65535 blocks long; with pxelinux.0 using a default block size of 1408 this is 92,273,280 bytes) as atftpd will complain in the log stating "Requested file to big, increase BLKSIZE". I saw that a while back HPA mentioned that atftpd was probably more scalable (number of clients) while tftpd-hpa is