Commit Graph

3315 Commits

Author SHA1 Message Date
jdc
6ed8472046 Fix include.
Add prototypes.
1999-12-20 09:51:53 +00:00
jdc
9e109631e6 Manual page to sparc subdirectory. 1999-12-20 09:51:07 +00:00
jdc
9a26c043d2 Added tadpolectl 1999-12-20 09:50:20 +00:00
itojun
184c111af0 fix possible infinite loop in tcp relay (avoid possible DoS).
PR: 8640
From: Feico Dillema
1999-12-20 05:41:35 +00:00
hubertf
78254bd723 Put back former -s switch to pkg_create as -L now.
Fixes PR 8982 by Eric Schnoebelen <eric@cirr.com>
1999-12-20 03:25:57 +00:00
tsutsui
e4e5afee28 mdconfig /dev/md0c rather than /dev/md0a in EXAMPLES. 1999-12-18 03:14:15 +00:00
abs
65b09cecfc Remove obsolete reference to mkpasswd(8) 1999-12-17 13:11:22 +00:00
garbled
b8bee8a542 Typo in makefile. 1999-12-17 05:32:38 +00:00
garbled
606c3a8481 Add new binary tadpolectl for use with Tadpole SparcBook machines.
Presents a sysctl(8)-like interface for the user to read and modify
tadpole specific values and hardware states. (for things like changing the
bell frequency/volume, tft brightness, mouse variables, etc)
1999-12-17 05:30:02 +00:00
garbled
be3f0561fc Fix some minor typos and word usage nits. 1999-12-17 05:01:26 +00:00
bouyer
7616130d51 Explicitely cast to (u_quad_t) calls to btodb() and dbtob() to avoid
int overflow. It's now possible to add/display quotas of more than
4G.
XXX I'm sure there is a PR open on this but I couln't find it with the
usual search engines. If someone knows it's number ...
1999-12-16 17:29:52 +00:00
itojun
a650ffbfaf write out dump file into /var/run, not /var/tmp.
(sync with KAME, for possible security reasons)
1999-12-16 05:55:52 +00:00
garbled
37b2f44641 Enable build on sparc, and move manpage out of i386 specific directory 1999-12-15 20:34:03 +00:00
itojun
644cf51b1e add -I and -l. cleanup on screen formatting.
(sync with latest KAME)
1999-12-13 15:30:25 +00:00
itojun
2faf5d6a6d s/.Os KAME/.Os/ 1999-12-13 04:38:22 +00:00
itojun
e9dcae109b use getaddrinfo() for getting address parameter.
clarify command line parser.  add -I option.

(sync with recent KAME)
1999-12-13 04:30:53 +00:00
itojun
af2a74fdec use sizeof(foo) instead of hardcoded value, to help synchronizing
variable def and function parameter.
1999-12-13 04:25:08 +00:00
hubertf
93331a6d49 Remove code to make this compile on 1.4.1, as requested by Luke and
Frank. We'll need to move this to pkgsrc to get it for 1.4.1.
1999-12-13 00:26:26 +00:00
veego
9c9aae0fda Use the new IP Filter dist layout for.
We are now at version 3.3.5.
1999-12-12 11:29:55 +00:00
thorpej
9e4b4a03d7 Need <string.h> for memset prototype. 1999-12-11 18:20:27 +00:00
thorpej
bc322cb5f0 Fix printf formats; cast pointer diffs to long, and use %ld. 1999-12-11 18:19:20 +00:00
mrg
2a987cd998 - use symbolic names for mode bits
- use _exit() where we should
- fix spelling mistake
- use vasprintf() in pstatus()
all from freebsd.
1999-12-11 02:01:18 +00:00
mrg
585454b2f2 xref setsockopt (from freebsd) and hosts.equiv. 1999-12-11 01:59:43 +00:00
mrg
2e2dfe5c71 tsk. tsk. document new features i added. 1999-12-10 23:49:03 +00:00
itojun
e6d250552f s/.Os kAME/.Os/ 1999-12-10 11:05:10 +00:00
itojun
4adaf7b678 oops, forgot to add the file. sorry. 1999-12-10 11:04:08 +00:00
itojun
e8d8a9dd7f sync with more recent KAME.
- more debugging messages
- corect inet_pton() error code check
- don't mix-up "gif10" and "gif0" (due to strncmp mistake)
1999-12-10 06:13:31 +00:00
itojun
192f4042b9 sync with recent KAME. tiny wording fix. 1999-12-10 05:48:51 +00:00
itojun
7201a8f4cd sync with recent KAME. give a better debugging information. 1999-12-10 05:47:51 +00:00
itojun
6baefd92e4 sync with recent KAME.
- more length overflow check for ip6 related parsing
- protocol decode fixes
- add dhcp6 parser

XXX how should we maintain usr.sbin/tcpdump for years to come?
relationship with www.tcpdump.org codebase?
1999-12-10 05:45:07 +00:00
itojun
d81f686e11 typo fixes. 1999-12-10 01:09:06 +00:00
itojun
4265f28e51 sync with latest KAME. cleanup on interface type determination. 1999-12-09 15:34:19 +00:00
itojun
119ee78fd0 sync with latest KAME tree. manpage improvements. 1999-12-09 15:30:43 +00:00
itojun
9e8f1055f6 sync with latest KAME. nuke use of ss_{len,family}.
CVsA: ----------------------------------------------------------------------
1999-12-09 15:20:02 +00:00
itojun
d9a742bd0d improve debugging functionality.
(sync with latest KAME)
1999-12-09 15:08:33 +00:00
msaitoh
01dc593408 fix the table of the STATE field of "pstat -t" 1999-12-08 22:01:53 +00:00
lukem
8c1445f5dc * cleanup the usage messages:
- put `usage' at the start of each message
	- put a space between the option and arg in [-x foo]
* fix command parsing for when a two word command is invoked without
  args or with an invalid second arg so that a more appropriate error
  message is printed.
1999-12-08 21:45:54 +00:00
hubertf
73332d1d4c Make MKDIR just be /bin/mkdir, without -p 1999-12-08 18:22:54 +00:00
hubertf
f925a43bdf - Only use strlcpy() on systems that have it, i.e. >=1.4K. This makes
this working again on 1.4 systems.
 - Revert last change to argument passing which broke "user del",
   "user mod", ...
1999-12-08 18:12:16 +00:00
soren
5220b33459 Add user(8). 1999-12-08 09:19:04 +00:00
itojun
6ac6bbb103 sync with more recent KAME. 1999-12-08 04:54:15 +00:00
itojun
92732ebc68 netbsd rcsid fix. 1999-12-08 04:51:04 +00:00
itojun
9f2f48b6ef fix pathname to /etc/rtadvd.conf.
NetBSD PR: 8966
1999-12-08 02:31:26 +00:00
soren
6cc6a03447 Add adduser(8) for compatibility. 1999-12-08 00:01:36 +00:00
soren
e7d9a82c6f 'If it comes from a client that already knows its address and is not
requesting a broadcast response, and we can unicast to a client without
using the ARP protocol, sent it directly to that client.'

Make some ARCS firmware happy.

Many thanks to Ted Lemon for debugging this.
1999-12-07 23:23:16 +00:00
wennmach
914178b225 code.c is no longer used, we use strsvis instead. Removed prototypes
from extern.h
1999-12-07 18:42:06 +00:00
mrg
5b6d0e7e39 - add timeouts to displayq(), rmremote(), sendfile() and response(),
and use these timeout in the lpq, lpd and lprm programs.

these stop hung remote printers that accept tcp connections but do
not process jobs from hanging the whole system and letting the sysadmin
have a clue about what is going on with this rogue printer.

- add a -r flag to lpd to allow `of' filters for remote jobs.

i know there are ways around this, but i just don't care.

- add a -f flag to lpf to add missing carriage returns.

useful when printing UNIX files to an, eg, LaserWriter that wants CR's
as well as LF's in raw text.  stair-stepped text is no fun.

- implement child process accounting: we just have a limit on the number
  of children we can have (settable by the sysadmin), and we sleep when
  this number is reached.  this can reduce malicious not-so-malicious
  attacks on the print server by a rogue remote client..

- use setproctitle() where appropriate so the sysadmin has a clue about
  what each of the lpd's here are doing.

this was useful to help diagnose a problem (that the above child process
accounting change reduces the lossages of) where a rogue client was
attempting "lpq" operations on one stuck queue in rapid succession,
causing the lpd server to be extremely slow, due to the large number
of lpd processes running.


i have been running these changes in production for about a year.
1999-12-07 14:54:44 +00:00
ad
8ad73e9274 RCSID police. 1999-12-07 11:30:27 +00:00
lukem
bbd13d34a8 * don't dump core if run without args
* use strlcpy() instead of homegrown strnncpy()
* sort #includes
1999-12-07 10:42:12 +00:00
lukem
02bc52bd3e remove unused STRNCPY macro 1999-12-07 10:37:57 +00:00