Commit graph

23 commits

Author SHA1 Message Date
H. Peter Anvin
ab382980ae Fix man page formatting 2009-09-14 14:44:54 -07:00
Ferenc Wagner
c86f82532e Implement the --pidfile option
Setting the umask moved 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@niif.hu>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-09-14 14:41:13 -07:00
H. Peter Anvin
338648870e tftpd.8: we're no longer limited to IPv4 2009-02-24 16:27:27 -08:00
H. Peter Anvin
932277c9a5 tftpd: implement the "rollover" option
Implement the "rollover" option, to set the rollover block number to
anything other than zero.  Apparently some idiots have gotten the idea
that block numbers should roll over to one, rather than zero.
2009-02-02 15:14:27 -08:00
H. Peter Anvin
e4d3083006 tftpd: switch to getopt_long()
Switch to using getopt_long(); include a version in case the platform
lacks it.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-07-30 17:16:00 -07:00
Karsten Keil
cfb85d4dec Fix numeric IPv6 address handling
This patch fix a issue with numeric IPv6 addresses in the
tftpd -a address[:port] option.

Since IPv6 addresses use colon ':' in differnt counts itself, we cannot detect,
if the last colon is a seperator, so it is needed to put the IPv6 address into
square brackets, e.g. [2001:db8::1], so a optional port assignment is
unambiguous.
The patch also allows to specify numeric IPv6 addresses in other places enclosed
in [], but in these cases it accept these also without [].

Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-07-30 15:20:31 -07:00
H. Peter Anvin
c3a5c712e2 Allow the -4 option even in an IPv4-only configuration
Allow the -4 option even if IPv6 isn't compiled in.
2008-07-23 14:36:18 -04:00
Karsten Keil
28f22b6591 Add support for IPv6 in the server and client.
Add support for IPv6 in the server and client.
You can force the use of IPv4 or IPv6 only with new
-4 and -6 commandline options, if IPv6 support was compiled in.

Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-07-23 14:29:41 -04:00
H. Peter Anvin
57ca281980 Remove more obsolete $Id$ tags
Additional $Id$ tags from the CVS era...
2008-07-22 15:07:24 -04:00
H. Peter Anvin
d9938a7d83 Add -L option to not daemonize process 2007-01-15 01:12:52 -08:00
H. Peter Anvin
8890d206f4 Document changes since 0.41 2006-02-16 08:30:46 -08:00
hpa
17b5188b65 - Fix bug in the handling of timeouts.
- Add support for \U..\E and \L..\E.
- Add support for inverse rules.
2004-09-14 22:38:46 +00:00
hpa
454370c052 Stray crap edit 2003-08-23 00:33:15 +00:00
hpa
530706aebe #include <sys/socket.h> if it exists;
Add option to control the max blksize negotiated.
2003-08-23 00:31:20 +00:00
hpa
82eae1bcd6 Fix some timeout-related bugs; allow the user to set the default timeout. 2002-10-23 21:21:46 +00:00
hpa
a121c6d903 Grammar fix (-p option.) 2001-11-19 21:30:59 +00:00
hpa
431b2d7015 Notes on the interaction between -c, -p and -U 2001-11-19 21:29:08 +00:00
hpa
1f9c54ba2f More notes on security. 2001-11-19 21:25:51 +00:00
hpa
8f396ac2aa Grammar fix. 2001-11-19 21:23:52 +00:00
hpa
b9210ee9da Fix formatting bug; delete obsolete file 2001-11-17 01:58:21 +00:00
hpa
78fd7348ea Add the -p option for using regular Unix permissions. 2001-11-17 01:55:08 +00:00
hpa
93e86de7a2 Double-double-backslash for double backslash... 2001-11-17 00:20:40 +00:00
hpa
4f739767f2 Make the version number automatically included in the man page footer 2001-11-17 00:16:53 +00:00