Commit graph

237 commits

Author SHA1 Message Date
H. Peter Anvin
cd22c6ea31 Formatting cleanup
Clean up line break
2008-07-08 17:24:11 -04:00
H. Peter Anvin
22accddda0 Reformat the source code
The source code was a mix of different styles; normalize on NASM
style; basically K&R style with 4 space indentation.
2008-07-08 17:14:44 -04:00
H. Peter Anvin
62533e7441 AC_USE_SYSTEM_EXTENSIONS is a 2.61 feature, not 2.59 2007-12-10 17:37:52 -08:00
H. Peter Anvin
bbb17208a9 Use autoconf features to deal with feature-test macros. 2007-10-03 17:41:38 -07:00
H. Peter Anvin
80f86e5a04 Get rid of $Id$ tags and update copyright dates 2007-01-30 16:01:24 -08:00
H. Peter Anvin
1f57b0edd5 Update version for release 2007-01-30 15:51:04 -08:00
H. Peter Anvin
0eacf8823f Document fixing -l -s. 2007-01-30 15:51:00 -08:00
H. Peter Anvin
c7ecc59f86 When running in secure mode (-s), we must not chdir while daemonizing
When running in secure mode (-s), we must not chdir while daemonizing.
Thanks to Adrian Urquhart for spotting this bug.
2007-01-30 15:38:04 -08:00
H. Peter Anvin
077eac1fd6 Update version for release 2007-01-27 11:11:27 -08:00
H. Peter Anvin
ecf79bc97f Document user-visible changes 2007-01-27 11:11:22 -08:00
H. Peter Anvin
d15a61abe6 Prototype cleanup; use "config.h" where appropriate 2007-01-15 01:20:41 -08:00
H. Peter Anvin
d9938a7d83 Add -L option to not daemonize process 2007-01-15 01:12:52 -08:00
H. Peter Anvin
059de7ce20 Use replacement library functions to daemonize, rather than #ifdef hell 2007-01-15 01:11:26 -08:00
Mike Frysinger
6124dcbe2d [patch] fix parallel building of tftp-hpa
if you try to build tftp-hpa in parallel, it may fail as the tftp and tftpd
subdirs may try to link before the libcommon.a has a chance to be generated
in the common subdir

trivial patch attached to address this
-mike
2007-01-13 10:24:27 -08:00
H. Peter Anvin
0db17eedd3 Update version for release 2007-01-08 16:54:29 -08:00
H. Peter Anvin
625002c097 Document changes 2007-01-08 16:54:17 -08:00
H. Peter Anvin
2b36598746 When specifying includes, need to specify ALL includes
It seems that overriding the default includes overrides ALL includes;
so we need to specify them all.  Sigh.
2007-01-08 16:53:19 -08:00
H. Peter Anvin
4d02d827fb Make sure we include <sys/socket.h> when checking for socklen_t
socklen_t is often only defined when <sys/socket.h> is included, but this
is not autoconf default; make sure we include it first.
2007-01-08 16:48:46 -08:00
H. Peter Anvin
982c1f2697 printf() and htonl() type matching issue
On older systems, htonl() returns unsigned long, on newer systems it
returns uint32_t.  Cast to unsigned long and use %08lX for the format,
that seems to be the easiest solution.
2007-01-08 16:30:10 -08:00
H. Peter Anvin
ab12c128ff Update version for release 2006-12-12 14:38:27 -08:00
H. Peter Anvin
df877df452 Documentation updates. 2006-12-12 14:37:27 -08:00
Craig Johnston
899b7d500b Add option to TFTP client to ignore ':' in file name
I have encountered a situation where I would like to use tftp-hpa to
retrieve a file that resides within an absolute path containing a ':'
character.  Ala, "tftp foobar -c get C:2/tftpdir/myfile".  Since the
tftp client automatically converts the host:file syntax, I get an
error "tftp: C: Unknown host".

I made a chage to the tftp client code to add a literal mode (-l),
that prevents the special treatment of the ':' character.  I've
attached a patch set for main.c and tftp.1.in for your consideration.
I'm not sure how many folks run into this, but it may be somewhat
common for VxWorks and perhaps MSDOS users.

Thanks,
Craig Johnston
2006-12-12 14:31:51 -08:00
H. Peter Anvin
e031e3bc9a Update version for release 2006-12-05 14:39:40 -08:00
H. Peter Anvin
7390c7ceca Update list of changes for 0.44. 2006-12-05 14:39:28 -08:00
Dyks, Axel (XL)
1cb44ce918 tftp-hpa does not reload the remap file when receiving SIGHUP
... because the signal handling code is enclosed in "#ifdef HAVE_REGEX"
instead of "#ifdef WITH_REGEX"

The following patch against head of "network/tftp/tftp-hap.git" on "kernel.org"
fixes this issues (you are using blanks for indention and not tabs. right?).

Cheers
Axel
2006-12-05 14:36:32 -08:00
H. Peter Anvin
ad475989a5 Document changes 2006-11-13 20:54:07 -08:00
Zack Bartel
ec5973ac5f Moved pick_port_bind() to the libcommon common code so both client and server can use it. Client can now specify a range of ephemeral ports (transaction id) 2006-11-13 17:33:29 -08:00
H. Peter Anvin
5f64014add Document 0.43 changes 2006-10-05 14:22:35 -07:00
H. Peter Anvin
14993bc916 Introduce socklen_t; detect non-local (e.g. broadcast) receive addresses 2006-10-04 21:54:04 -07:00
H. Peter Anvin
f3beb3a119 Merge with git+ssh://master.kernel.org/pub/scm/network/tftp/tftp-hpa.git 2006-10-04 10:19:23 -07:00
H. Peter Anvin
40133b212b Move common code to a common/ subdirectory 2006-10-04 10:19:06 -07:00
H. Peter Anvin
a548569a3e Next version is 0.43 2006-10-04 10:18:51 -07:00
H. Peter Anvin
9b969ddd0e Push for version 0.43 2006-09-27 15:55:23 -07:00
H. Peter Anvin
0b821ec893 Fix double-free error in tftp client. 2006-09-27 15:54:41 -07:00
H. Peter Anvin
ebeb6a63f3 Actually allow tests of the release mechanism... 2006-02-16 09:45:12 -08:00
H. Peter Anvin
293301fb2c s/Copyright/License/ 2006-02-16 09:42:48 -08:00
H. Peter Anvin
22e2fe6dc6 Allow testing of the release mechanism 2006-02-16 09:42:30 -08:00
H. Peter Anvin
b3892e801f Correct the logic when to loop for the port range 2006-02-16 09:29:35 -08:00
H. Peter Anvin
8890d206f4 Document changes since 0.41 2006-02-16 08:30:46 -08:00
H. Peter Anvin
30d10d7e22 0.42 is the next version 2006-02-16 08:18:15 -08:00
H. Peter Anvin
5336233982 Spell IP_RECVDSTADDR correctly 2006-02-16 08:17:59 -08:00
Peter Anvin
ccb6289984 Actually do loop... 2005-10-13 15:20:41 -07:00
Peter Anvin
4187af0e6f Cleaner version implementing port range 2005-10-13 11:41:37 -07:00
Peter Anvin
ae1305e2d5 Local port range functionality hack 2005-10-13 11:30:45 -07:00
Peter Anvin
25d63c415a Disable path MTU discovery by default. It's useless for TFTP. 2005-10-13 11:16:40 -07:00
Peter Anvin
7976458c8b Define _GNU_SOURCE 2005-10-13 11:16:23 -07:00
Peter Anvin
4cee9cc9ee Remove version.new if superfluous 2005-10-13 10:48:34 -07:00
Peter Anvin
a3af5d93a3 Only commit version if necessary 2005-10-13 10:48:11 -07:00
Peter Anvin
b52fe85017 Update history 2005-10-13 10:42:12 -07:00
Peter Anvin
8a2f696097 Handle transformations with matches 2005-10-13 10:41:10 -07:00