search for: tftpsub

Displaying 11 results from an estimated 11 matches for "tftpsub".

Did you mean: tftpsubs
2017 Jan 29
2
[PATCH tftpd-hpa] tftpd: don't use AI_CANONNAME and AI_ADDRCONFIG to resolve addresses for bind
...ss 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 https://bugs.debian.org/771441 --- common/tftpsubs.c | 4 ++-- common/tftpsubs.h | 2 +- tftp/main.c | 9 ++++++--- tftpd/tftpd.c | 6 ++++-- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/common/tftpsubs.c b/common/tftpsubs.c index 8c999f66eed8..344c74b3d78c 100644 --- a/common/tftpsubs.c +++ b/common/tftpsubs.c @@ -300...
2017 Feb 02
0
Bug#771441: [PATCH tftpd-hpa] tftpd: don't use AI_CANONNAME and AI_ADDRCONFIG to resolve addresses for bind
...FIG 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 https://bugs.debian.org/771441 > --- > common/tftpsubs.c | 4 ++-- > common/tftpsubs.h | 2 +- > tftp/main.c | 9 ++++++--- > tftpd/tftpd.c | 6 ++++-- > 4 files changed, 13 insertions(+), 8 deletions(-) > > diff --git a/common/tftpsubs.c b/common/tftpsubs.c > index 8c999f66eed8..344c74b3d78c 100644 > --- a/common/tf...
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 \\ /
2013 Sep 03
1
[PATCH v2] tftp-hpa: add error check for disk filled up
...g.li at windriver.com> Add error check when write file, the caller can detect if the disk filled up (or had an i/o error) and return a NOSAPCE nak to the other side. Signed-off-by: Ming Liu <ming.liu at windriver.com> Signed-off-by: Roy.Li <rongqing.li at windriver.com> --- common/tftpsubs.c | 4 +++- tftpd/tftpd.c | 12 ++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/common/tftpsubs.c b/common/tftpsubs.c index 8c999f6..172776c 100644 --- a/common/tftpsubs.c +++ b/common/tftpsubs.c @@ -215,7 +215,9 @@ int write_behind(FILE * file, int convert)...
2013 Aug 22
2
[PATCH] tftp-hpa: add error check for disk filled up
...check when the write-buffer is finally flushed to the file, the caller can detect if the disk filled up (or had an i/o error) and return a NOSAPCE nak to the other side. Signed-off-by: Ming Liu <ming.liu at windriver.com> Signed-off-by: Roy.Li <rongqing.li at windriver.com> --- common/tftpsubs.c | 8 +++++--- tftpd/tftpd.c | 12 ++++++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/common/tftpsubs.c b/common/tftpsubs.c index 8c999f6..b4d4ffe 100644 --- a/common/tftpsubs.c +++ b/common/tftpsubs.c @@ -206,20 +206,22 @@ int write_behind(FILE * file, int conv...
2017 Feb 02
2
Bug#771441: [PATCH tftpd-hpa] tftpd: don't use AI_CANONNAME and AI_ADDRCONFIG to resolve addresses for bind
...ag 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 https://bugs.debian.org/771441 > > --- > > common/tftpsubs.c | 4 ++-- > > common/tftpsubs.h | 2 +- > > tftp/main.c | 9 ++++++--- > > tftpd/tftpd.c | 6 ++++-- > > 4 files changed, 13 insertions(+), 8 deletions(-) > > > > diff --git a/common/tftpsubs.c b/common/tftpsubs.c > > index 8c999f66eed8..344c7...
2002 Feb 17
1
failure when trying to build on OpenBSD 2.8
...OSF_SOURCE -D_XOPEN_SOURCE_EXTENDED -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -I.. -c tftp.c In file included from ../config.h:95, from tftpsubs.h:48, from tftp.c:39: /usr/include/sys/socket.h:164: syntax error before `u_char' /usr/include/sys/socket.h:166: syntax error before `u_char' /usr/include/sys/socket.h:174: syntax error before `u_short' /usr/include/sys/socket.h:319: syntax error before `u_int' /us...
2005 Sep 26
0
Trouble compiling tftp hpa under Solaris 10
...-D_ISO9X_SOURCE -D_OSF_SOURCE -D_XOPEN_SOURCE_EXTENDED -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/data/downloads/tftp-hpa-0.40 -c tftpsubs.c gcc tftp.o main.o tftpsubs.o -liberty -lresolv -lnsl -lsocket /data/downloads/tftp-hpa-0.40/lib/libxtra.a -o tftp gcc: /data/downloads/tftp-hpa-0.40/lib/libxtra.a: No such file or directory make[1]: *** [tftp] Error 1 make[1]: Leaving directory `/data/downloads/tftp-hpa-0.40/tftp' make:...
2005 May 30
0
compiling tftp-hpa-040 under Solaris 8
...URCE -D_ISO9X_SOURCE -D_OSF_SOURCE - D_XOPEN_SOURCE_EXTENDED -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno- strict-aliasing -I/usr/src/tftp-hpa-0.40 -c tftpsubs.c gcc tftp.o main.o tftpsubs.o -liberty -lresolv -lnsl -lsocket /usr/src/tftp-hpa-0.40/lib/libxtra.a -o tftp gcc: /usr/src/tftp-hpa-0.40/lib/libxtra.a: No such file or directory make[1]: *** [tftp] Error 1 make[1]: Leaving directory `/usr/share/src/tftp-hpa-0.40/tftp' make: *** [tftp.bu...
2003 May 19
0
[PATCH] getpwnam() implementation in tftpd.c
...m quite a bit larger... If you leave this on, +# tftpd will directly use the /etc/password, /etc/group files (and your +# system will be smaller as well). +USE_PRIVATE_PWD_GRP = false + +ifeq ($(strip $(USE_PRIVATE_PWD_GRP)),true) + CFLAGS += -DUSE_PRIVATE_PWD_GRP +endif + + OBJS = tftpd.$(O) tftpsubs.$(O) recvfrom.$(O) misc.$(O) $(TFTPDOBJS) all: tftpd$(X) tftpd.8 diff -urN tftp-hpa-0.34.orig/tftpd/tftpd.c tftp-hpa-0.34/tftpd/tftpd.c --- tftp-hpa-0.34.orig/tftpd/tftpd.c 2003-04-12 08:54:58.000000000 +0200 +++ tftp-hpa-0.34/tftpd/tftpd.c 2003-05-17 21:17:41.000000000 +0200 @@ -35,6 +35,25 @@...
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