Commit Graph

676 Commits

Author SHA1 Message Date
wiz
c9ac698957 IPv4, not IPV4. 2003-03-15 19:26:42 +00:00
wiz
46ebb6111a Correct spelling of "overridden". Found in follow-up to PR 20718. 2003-03-15 19:24:02 +00:00
christos
c804fc2f30 be specific about what we are matching against. 2003-03-10 00:03:21 +00:00
christos
537fd1d1b4 fix merge botch 2003-03-10 00:02:40 +00:00
christos
049833df37 our ufs name is ffs 2003-03-10 00:01:52 +00:00
christos
1a6788bb65 resolve conflicts. 2003-03-09 01:38:38 +00:00
christos
e1af53e09a Import am-utils 6.1b2 2003-03-09 01:12:05 +00:00
wiz
65eac0ca35 Sort help here (just like in the man page). 2003-03-03 07:36:05 +00:00
wiz
b7fe070de4 Bump date for "t", and sort. 2003-03-03 07:35:45 +00:00
wiz
bf95548fc6 Sort sections. 2003-03-03 07:32:29 +00:00
thorpej
3640957b38 If the NetBSD version note looks reasonable, parse it and display the
info.
2003-02-28 18:24:58 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jdolecek
02229c5641 print also the description of error if mount(2) fails 2003-02-24 09:13:08 +00:00
pooka
5046c98de1 adapt for glorious dist/file strategy 2003-02-23 23:46:55 +00:00
pooka
8e43248793 play "minor nit" games 2003-02-23 23:43:52 +00:00
pooka
2e90e27c3b merge local changes 2003-02-23 23:42:50 +00:00
pooka
c650965ed3 merge local changes 2003-02-23 23:34:21 +00:00
pooka
4fc6504c14 file 3.40 2003-02-23 23:08:21 +00:00
jdolecek
f31ba31b00 change smbfs_args:
* g/c unused members 'mount_point', 'root_path', which only take space
* rename 'dev' to 'dev_fd' to more closely match what it is
* add 'export' member to avoid changing this again if ever smbfs would
  be made exportable

bump SMBFS_VERMIN - ABI/API change; mount_smbfs needs to be recompiled
to work again
2003-02-23 22:31:17 +00:00
jdolecek
a2e6fb66e5 do not initialize/use member 'mount_point' of struct smbfs_args
allocate mount_point[] on stack
2003-02-23 22:14:09 +00:00
martin
58a4ff2fef Avoid lots of stupid alignement problems.
You can now actually use this on sparc64 systems. Unfortunately the
kernel part contains lots more of this ****** code.
2003-02-20 14:07:12 +00:00
martin
d47d521c0f Since size_t is unsigned, better use (unsigned long) and %lu to print
a size_t. Spotted by kleink.
2003-02-19 19:15:28 +00:00
martin
93f473507c Replace some int's with size_t. Use %ld and cast to long when printing
size_t's.
2003-02-19 16:53:26 +00:00
scw
beccdcb402 Make this at least compile on BE platforms.
XXX: Needs testing by someone with a suitable SMB server.
2003-02-19 11:58:58 +00:00
jdolecek
5bfb055309 add TNF copyright and $NetBSD$ RCS Id
add SEE ALSO, HISTORY
adjust BUGS to stress this is experimental and to use send-pr
adjust AUTHORS to include people who did NetBSD port (Matt Debergalis and me)
2003-02-18 20:31:19 +00:00
drochner
b6ae80da0f merge dhcp-3.0.1rc11 2003-02-18 17:08:38 +00:00
drochner
49c6e76122 import of ISC dhcp-3.0.1rc11 2003-02-18 16:37:52 +00:00
soren
98bd894cee Add command to change partition types directly.
From Alexander Guy via OpenBSD.
2003-02-18 16:20:37 +00:00
jdolecek
488fc89a73 use Xo/Xc to work-around our current tmac macro limitation of nine
arguments
2003-02-18 09:55:09 +00:00
jdolecek
0f48fcb071 g/c code not used by NetBSD
constify mopts[]
2003-02-18 09:53:55 +00:00
jdolecek
74563995a5 make compile on NetBSD - <sys/endian.h> instead of <sys/mchain.h>, use
explicit width macros, disable some not-yet supported functionality
(conversion map upload, smb_dumptree())
2003-02-18 09:52:03 +00:00
jdolecek
648f05609d no need for iconv.h include here
no \n on end of warn() format
include <sys/param.h> for some contants
iconv_loaded--, not iconv_loaded++ when the dlopen() fails
2003-02-18 09:47:48 +00:00
jdolecek
add8c3ba9a constify some structs 2003-02-18 09:45:58 +00:00
jdolecek
8fec3ea9ce Import once more, this time stripping $'s from RCS Ids, so that they
are kept intact.
2003-02-16 09:19:10 +00:00
jdolecek
ccd9e5eeff g/c, use version from sbin/mount/ directly 2003-02-16 09:14:33 +00:00
jdolecek
42cf4439c1 Import the userland part of FreeBSD smbfs (mount_smbfs, smutil, libsmb) 2003-02-16 08:15:07 +00:00
jdolecek
28f3685337 use correct group id if group was specified for -u; previously, it would
mistakely use user's primary group instead
problem reported and fix supplied in PR bin/20232 by KAMADA Ken'ichi
2003-02-08 11:45:54 +00:00
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
wiz
7bd6fd354d unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
matt
78d38420f5 When printing out the FDDI header on NetBSD, skip the 3 preamble bytes
used to align the header.
2003-01-17 02:44:33 +00:00
groo
9361711536 Be careful about destination buffer having positive size. 2003-01-15 00:29:13 +00:00
wiz
1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz
c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00
wiz
688d6608cc Fix some typos reported by Igor Sobrado in PR 19653. 2003-01-04 01:18:01 +00:00
wiz
bf37d79146 Fix some typos, noted in PR 19651. 2003-01-04 00:37:17 +00:00
tron
8fcc2bc94f The file "src/dist/dhcp/minires/res_mkupdate.c,v" is corrupted on
"anoncvs.netbsd.org" and hence in many checked out source trees. Add
a dummy revision to fix that problem.
2003-01-02 10:04:32 +00:00
wiz
fe6e776886 Misc typo fixes from Adrian Mrva. 2002-12-21 13:28:25 +00:00
wiz
3c9f6b6387 hexadecimal, not hexidecimal. From Adrian Mrva. 2002-12-21 13:15:11 +00:00
wiz
7ae57bfafd arbitrary with all three rs, from Adrian Mrva. 2002-12-21 13:14:38 +00:00
wiz
dd5bd120af Various misspellings, from Adrian Mrva. 2002-12-21 12:37:49 +00:00
wiz
34574e798b outgoing with a final g, not t; from Adrian Mrva. 2002-12-21 12:32:24 +00:00
wiz
bc4d201af4 finished with two is, from Adrian Mrva. 2002-12-21 12:28:59 +00:00
wiz
0e4ac4f3e5 incorporated with two os, from Adrian Mrva. 2002-12-21 12:28:14 +00:00
wiz
6373769a7d Fix indentation of -a. From Juha Hyttinen in PR 19399. 2002-12-16 10:35:04 +00:00
thorpej
e733469648 Avoid strict alias warnings. 2002-12-06 15:12:56 +00:00
thorpej
47355062e5 Avoid strict alias warning. 2002-12-06 15:09:38 +00:00
thorpej
b7c1b899f2 Avoid strict alias warning. 2002-12-06 04:43:53 +00:00
thorpej
eb4df29507 Avoid strict alias warnings. 2002-12-06 04:09:30 +00:00
thorpej
452f3dd1ad Avoid strict-alias warnings. 2002-12-06 04:06:13 +00:00
thorpej
6086842609 Avoid strict alias warnings. 2002-12-06 04:02:49 +00:00
thorpej
eebbb33967 Avoid strict alias warnings. 2002-12-06 03:57:44 +00:00
thorpej
64011e3d60 Fix an LP64 bug-- "timeval" and "nfstime" are NOT equivalent on
NetBSD!
2002-12-06 03:57:24 +00:00
thorpej
2f1985f790 Avoid conflict with reserved identifier "log". 2002-12-06 03:50:35 +00:00
thorpej
92896efa64 Avoid strict alias warnings. 2002-12-06 02:20:43 +00:00
mycroft
c8f942f907 And one more. 2002-12-04 18:10:20 +00:00
mycroft
5e81ec6f59 Fix more space glitchies. 2002-12-04 18:07:47 +00:00
mycroft
c164d77700 nodeid -> fileid, and fix some space glitchies. 2002-12-04 18:06:36 +00:00
mycroft
db3d827d99 Make print_int64() more sane. 2002-12-04 17:59:52 +00:00
mycroft
49e18465d9 Display the correct fsid and fileid for v3 attributes. 2002-12-04 17:54:39 +00:00
christos
0142b8b302 this is gone 2002-11-29 23:25:48 +00:00
christos
76ecdbe8ac prototype fully. 2002-11-29 23:18:25 +00:00
christos
af6faffab0 add full prototypes 2002-11-29 23:14:04 +00:00
christos
d2f6d7c61e kill double-free 2002-11-29 23:11:26 +00:00
christos
56e4ffe15e enable the other half of initializing amq, otherwise we core-dump. 2002-11-29 23:10:40 +00:00
christos
5894be8371 make functions static and add prototypes. 2002-11-29 23:08:32 +00:00
christos
14b02a1cfc resolve conflicts. 2002-11-29 23:06:22 +00:00
christos
866a560342 import latest am-utils. 2002-11-29 22:57:11 +00:00
itojun
729df1257b sync with bind 8.3.4. 2002-11-17 14:09:52 +00:00
itojun
90a2edbc75 apply http://www.isc.org/products/BIND/patches/bind833.diff to fix recent
vulnerabilities:

* BIND: Remote Execution of Code (BIND 4 & 8)
* BIND: Multiple Denial of Service (BIND 8 only)
2002-11-14 02:04:27 +00:00
fvdl
d4f83aa2bb Use a non-blocking SVC for TCP connections. 2002-11-08 00:14:50 +00:00
wiz
0b48b4c927 Fix typos. Found by Adrian Mrva. 2002-10-29 16:22:33 +00:00
wiz
77e9b5999f Fix typo. Found by Adrian Mrva. 2002-10-29 16:21:18 +00:00
wiz
bcae355603 Fix typo. Found by Adrian Mrva. 2002-10-29 16:16:14 +00:00
wiz
756bcd1182 Fix typo. Found by Adrian Mrva. 2002-10-29 16:08:59 +00:00
itojun
c025861aba correct LBL_ALIGN behavior, sync with tcpdump.org.
enable LBL_ALIGN codepath to use byte-by-byte fetch in extract.h.
should correct PR 18688/18398.
2002-10-18 23:13:57 +00:00
onoe
367ebffa84 Mark basic rate with '*' in PRINT_RATES(). 2002-09-30 13:31:57 +00:00
martti
9e0869ba07 * <sys/poll.h> -> <poll.h>
* define "struct pollfd set[]" for USE_POLL
2002-09-29 08:19:16 +00:00
martti
9b50522649 <sys/poll.h> -> <poll.h> 2002-09-29 08:14:32 +00:00
martti
bd0971158d This file is now in regress/sys/kern/ipf/ 2002-09-27 09:13:23 +00:00
martti
b6a507dfee Fix syntax rule (PR#16499). 2002-09-25 12:49:40 +00:00
martti
15e6ca78da Fix ipmon problems on 64-bit platforms (PR#17403 and PR#17404). 2002-09-25 06:43:17 +00:00
thorpej
c00254d517 * Add -D datalinktype to set the data link type to use when
capturing packets.
* Add -L to list the known data link types and exit.

From David Young <dyoung@ojctech.com>, with some minor changes by me.
2002-09-22 16:59:16 +00:00
mycroft
ace9bd9c2e select() -> poll(), nanosleep() 2002-09-20 15:00:06 +00:00
uwe
fd3534dbc5 Nit-pick: use || instead of | in the test. Ok by simonb. 2002-09-20 14:09:45 +00:00
martti
38041d0ad0 Print newline after pid (reapply revision 1.10). 2002-09-19 09:03:09 +00:00
martti
3a5ea42f37 We don't need this file 2002-09-19 08:21:53 +00:00
martti
5b3c5dc17f Make this compile 2002-09-19 08:11:38 +00:00
martti
7bfcc4bc66 Resync with official IPF 2002-09-19 08:11:13 +00:00
martti
1c7ea364cc Add __attribute__((__unused__)) to SCCS and RCS IDs 2002-09-19 08:10:38 +00:00
martti
87f18f024e Upgraded IPFilter to 3.4.29 2002-09-19 08:08:14 +00:00
martti
1b37ad3011 Import IPFilter 3.4.29 2002-09-19 07:56:23 +00:00
dbj
80437c10e3 add a HISTORY section, mentioning MkLinux 2002-09-17 08:14:22 +00:00
dbj
0270296979 when creating a partition, set bzb bits appropriate for netbsd root 2002-09-17 07:42:55 +00:00
jdolecek
d89a42dbe9 document couple ipnat flags, which were not mentioned previously 2002-09-12 06:58:13 +00:00
itojun
12bcaf9dda decode mdns/llmnr packet (port 5353). sync w/ tcpdump.org 2002-09-10 01:47:31 +00:00
dbj
1efa014b91 use %ld instead of %d to print long value 2002-09-09 13:19:28 +00:00
dbj
a587e4b1e8 remove menu and command line options to list all devices since they
only work on linux.  Update documentation to match.
2002-09-09 13:07:36 +00:00
dbj
538e2d34af use device instead of name to describe the --list argument. 2002-09-09 11:43:27 +00:00
wiz
9235156b82 Sort options. Some mdoc improvements. 2002-09-09 11:33:31 +00:00
dbj
72af4e4c96 fix typo in --list argument name 2002-09-09 11:29:56 +00:00
dbj
1436ee17e3 attempt to update pdisk man page to more correctly reflect program operation
. added long options
. noted that pdisk cannot yet create netbsd partitions
. renamed -p to -f and documented
. changed description of -L to note that it is off by default
2002-09-09 11:26:29 +00:00
dbj
a46307b17e default fflag (read HFS volume name ) option is now off
remove the non-functional -p/--pname argument, replace it with -f/--fname
add -a (use abbreviations) and -L (use logical offsets) to getopt parse list
thanks to wiz for noticing inconsistencies
2002-09-09 10:46:59 +00:00
dbj
8d3827bfb7 tweak error reporting when looking for hfs volume name 2002-09-09 10:38:55 +00:00
dbj
f89c2d2361 fix defines that set up lseek usage for reading media
to correctly handle large filesystems
re-enable some error reporting on media reads
2002-09-09 10:35:03 +00:00
dbj
28d41a2531 use getopt_long on netbsd as well as linux 2002-09-08 23:49:29 +00:00
dbj
47b77fc755 improved wording on explanation for disabling linux max partition warning. 2002-09-08 23:25:43 +00:00
dbj
b3ad08828d disable warnings about linux only handling 15 entries.
This check was found to not exist in the linux fdisk-0.1
sources, which are under current linuxppc use.  Also,
NetBSD users probably care less about warnings for bugs
in old versions of linux.
2002-09-08 23:18:11 +00:00
dbj
5038245b63 use sbBlkSize when calculating sbBlkCount 2002-09-08 16:17:45 +00:00
itojun
73c2dd3286 fix dig -x ip6addr. PR 18193. 2002-09-06 04:50:02 +00:00
wiz
b19f6de011 ispell. 2002-09-04 00:09:23 +00:00
dbj
f72f04ea8e comment out force of logical block is no larger than physical block. 2002-08-23 00:59:36 +00:00
dbj
676f520cb1 add include of errno.h 2002-08-22 22:37:10 +00:00
dbj
a93a935dc2 re-enable printing of A/UX fields used by NetBSD 2002-08-22 22:36:09 +00:00
dbj
6ee55a329c on exit, check map pointer before accessing it.
this prevents core dump when map wasn't found on disk
2002-08-22 22:35:22 +00:00
wiz
44bfc91fab mdocify. Adapt contents to NetBSD. Requested by mrg. 2002-08-18 23:41:38 +00:00
itojun
59c47fdbd5 resolver(5) -> resolv.conf(5). PR 17691 2002-07-23 22:43:08 +00:00
itojun
5350bc28c2 fix safeputchar(). sync w/ tcpdump.org 2002-07-16 04:17:46 +00:00
wiz
7b9b4ac6f7 'environment', not 'enviroment' 2002-07-11 10:53:19 +00:00
wiz
4b20971f01 Spell acquire with a 'c'. 2002-07-10 23:16:32 +00:00
jdolecek
580acd6b37 Fix bug introduced in previous rev 1.5 - the for() body in decode_bitstring()
needs to be wrapped with curly braces.
Pointed out by Greg A. Woods in bin/17525.
2002-07-10 19:30:14 +00:00
wiz
4a2012a1cc Comment out $Log$, and remove one entry added during the import. 2002-07-09 14:08:38 +00:00
dbj
a1246c73e0 import pdisk utility from Eryk Vershen:
http://cantaforda.com/cfcl/eryk/linux/pdisk/index.html
this is the utility provided by mklinux and osX to manipulate
the Apple Partition map.
2002-07-09 05:49:02 +00:00
itojun
44f496c00a sync with audit result from kame.
- sprintf() can return negative value on error, so p += sprintf(p, blah)
  is unsafe
- signed/unsigned mixup
- wrong assumption: sizeof(time_t) <= sizeof(int)
- need to init errno to 0 before strtoul()
2002-07-04 23:30:39 +00:00
itojun
b5c8e03553 no need to care about crypto portion on import - license is
not compatible with netbsd.
2002-07-04 22:46:04 +00:00
christos
66d91e6892 Fix ipmon problems on sparc64 [Tomi Nylund]
1. localtime() expects a time_t, not a pointer to unsigned long.
	2. adapt to the kernel use of struct timeval.
2002-07-01 13:56:53 +00:00
itojun
7b2c9d8551 be consistent with libc getaddr/nameinfo. 2002-06-28 06:40:51 +00:00
itojun
9421d2b57a patch from pkgsrc - initialize *res to NULL 2002-06-28 06:21:29 +00:00
itojun
2adbce1610 kill one more use of tandem variable. 2002-06-28 06:20:55 +00:00
itojun
2200386ee7 sync with 8.3.3. 2002-06-28 06:11:47 +00:00
itojun
e2ab8bb835 BIND 8.3.3. fixes buffer overrun in resolver code. 2002-06-28 05:59:12 +00:00
jdolecek
e46100bcfd correctly handle 'printf "%c", 0' - previously, it accessed random
memory and segv'd under some circumstances (e.g. when running
sys/arch/walnut/compile/mkimg.sh rev. 1.2 script)
2002-06-27 08:52:27 +00:00
tron
db385ae9af Synchronize last change with what is in the official amd sources now as
suggested by Erez Zadok in private e-mail.
2002-06-23 08:37:36 +00:00
itojun
70cb50a3c5 typo (unneeded whitespace) 2002-06-20 12:14:08 +00:00
itojun
65ef1d4426 correct conflicts.
sync document with reality (dig/host/nslookup now does IPv6 transport!)
2002-06-20 12:01:49 +00:00
itojun
ce924b0f55 sync with 8.3.2. 99% of conflicts were due to $NetBSD$ tag. 2002-06-20 11:42:53 +00:00
itojun
123de7c9ca ISC BIND 8.3.2. various IPv6 fixes and correctins. 2002-06-20 10:29:14 +00:00
drochner
ee19f13ab5 add a "ddns-updata-style" line; dhcpd won't start without one
(PR bin/12702 by Patrick Welche)
2002-06-19 15:49:02 +00:00
wiz
a518254934 Add a missing semicolon. Reported by Ian Dall in bin/17311. 2002-06-19 08:51:38 +00:00
wiz
ccb24c64f4 Consistency patch by John Franklin from bin/17281; additional grammar fix
by me.
2002-06-16 14:43:46 +00:00
itojun
fca469f097 whitespace 2002-06-15 02:55:43 +00:00
itojun
b9b9745309 have NetBSD RCSID(). 2002-06-15 02:54:51 +00:00
matt
c8b2ed9e31 Change some " ??)" strings to " ?)" to avoid trigraph warnings. 2002-06-15 01:34:34 +00:00
matt
e2f0fa9ea0 #if out an [unreferenced] rcsid. 2002-06-15 01:33:44 +00:00
matt
1a1ebdfac1 If rcsid away since gcc3 doesn't like unreferenced static vars. Also we
do that for other stuff like tcpdump.
2002-06-15 01:32:13 +00:00
tron
6db3449490 Add new option "xlatecookie" to amd(8) to support NFS v3 mounts with cookie
translation. The changes were provided by Mark Davies in PR bin/17245.
2002-06-14 15:16:53 +00:00
wiz
67e1c672d0 'comparison', not 'comparision' (hi Matthias!) 2002-06-11 15:22:57 +00:00
drochner
15dd275fb1 some more:
add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)
2002-06-11 15:16:28 +00:00
drochner
0cfebeeb7a add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)
2002-06-11 14:50:30 +00:00
drochner
d6101bf1eb get closer to the original in a whitespace matter 2002-06-11 14:27:21 +00:00
drochner
e13d261ece Coordinated Universal Time, damnit! 2002-06-11 14:24:54 +00:00
drochner
70e620efb1 remove a wrong fix: UTC is really "Coordinated Universal Time" 2002-06-11 14:22:18 +00:00
drochner
01ce8ad711 printf format fix 2002-06-11 14:17:27 +00:00
drochner
7020df4066 make it compile with -Wall again 2002-06-11 14:12:58 +00:00
drochner
c12aee07f2 merge dhcp-3.0.1rc9 2002-06-11 13:59:59 +00:00
drochner
0fbf47fd83 import of ISC dhcp-3.0.1rc9 2002-06-11 12:24:31 +00:00
itojun
5b43820fcf WARNS=1 clean. patch submitted to dhcp-bugs@isc.org. 2002-06-10 00:30:33 +00:00
itojun
93c82f7945 correct thirdparty RCS tag 2002-06-02 15:50:40 +00:00
itojun
5ecb76484a missing initialization of sockaddr. from deraadt 2002-06-02 15:17:17 +00:00
itojun
3142ca61e3 avoid overrun in NFS decoding. 2002-06-01 14:38:59 +00:00
itojun
83d7d548f9 sync with 3.7.1 (2002/5/31) 2002-05-31 09:45:44 +00:00
itojun
79b978bc0d tcpdump 3.7.1 (current) as of 2002/5/31.
major changes: -xX improvements, IPX improvements, and so forth
2002-05-31 09:27:46 +00:00
thorpej
938d959959 Add __attribute__((__unused__)) to SCCS and RCS IDs. 2002-05-30 18:10:25 +00:00
itojun
2cc8b1799d detect endianness correctly by using BYTE_ORDER. 2002-05-30 14:48:44 +00:00
wiz
111e203639 Comment out token after #endif. 2002-05-16 19:53:37 +00:00
wiz
79deb5d12d Comment out token after #endif. 2002-05-16 19:40:53 +00:00
wiz
da0b574ae0 Comment out token after #endif. 2002-05-16 19:30:41 +00:00
wiz
98d39977a3 Remove token after #endif. 2002-05-16 19:30:17 +00:00
kleink
f7d2af261c Sync with libc implementation (change size argument from size_t to
socklen_t); pointed out by Chris Gilbert.
2002-05-15 20:58:19 +00:00
martti
67c70b98e1 ipf regression tests are in regress/sys/kern/ipf 2002-05-13 06:35:47 +00:00
martti
1286035f0a Import regression tests into basesrc/regress/sys/kern/ipf 2002-05-13 06:23:30 +00:00
wiz
d30d25dc1a Spelling fixes, from Sergey Svishchev in kern/16650. 2002-05-12 15:48:36 +00:00
simonb
1706b9a6ec There's no use assigning the output of strtoul() to a 32-bit variable
then checking that against ULONG_MAX.  Instead use a "unsigned long"
as the temporary variable.  Then check against UINT32_MAX before
assigning back to the original variable.
2002-05-09 03:14:14 +00:00
simonb
707fc2ec62 Use INADDR_NONE instead of "(u_long) - 1". 2002-05-09 02:09:52 +00:00
martti
0486c7bccc Show active rules correctly if "portmap auto" is used (PR#16615 by Sergey
Svishchev)
2002-05-03 08:27:10 +00:00
jdolecek
fb5ea935fe remove stuff not relevant for NetBSD 2002-05-02 21:45:06 +00:00
martti
dc57912eac This is in /sys/netinet 2002-05-02 17:27:25 +00:00
martti
e74092de02 Upgraded IPFilter to 3.4.27 2002-05-02 17:11:37 +00:00
martti
0071d2a114 Import IPFilter 3.4.27 2002-05-02 16:51:52 +00:00
martti
d02c43db4c Import IPFilter 3.4.27 2002-05-02 16:48:42 +00:00
martti
48e5349fdc Import IPFilter 3.4.27 2002-05-02 16:47:12 +00:00
drochner
1fba973e56 make it build without REFCLOCK but with -Wall 2002-04-19 20:45:54 +00:00
christos
590eabc9c6 Set the stack limit to something smaller than the default, like it is
done in the aix case so that we don't end up mlockall() unused memory.
From: witek@wnuk.eu.org (Witold J. Wnuk)
2002-04-18 23:18:42 +00:00
kleink
ac4fd59f8c `Normalize' the pid file contents to "<pid><newline>", just like
pidfile(3) does; patch sent to Darren a while ago.
2002-04-17 12:06:23 +00:00
wiz
7cb50ab7ee Spelling fixes and grammar improvements. 2002-04-14 14:35:05 +00:00
martin
a3f3f844dc Document the mssclamp option. 2002-04-14 07:53:46 +00:00
thorpej
a5e83730f6 Use __RCSID(). 2002-04-09 02:53:20 +00:00
thorpej
64b4b1c3c3 Don't use static const u_char ... for register bits. Use #define. 2002-04-09 02:42:50 +00:00
thorpej
082e0b796d Add the __unused__ attribute to rcsid[]/sccsid[]. Need to talk
to Darren about this more, but this gets it to compile with gcc 3.2.
2002-04-09 02:32:51 +00:00
bjh21
c701db92ac Remove .cvsignore file.
<URL:http://www.netbsd.org/developers/cvs-repos/notes.html#cvsignore>
2002-04-04 17:08:24 +00:00
martti
3c53e00e43 Don't remove ip_h323_pxy.c 2002-04-03 09:32:06 +00:00
christos
abf0491189 fix the error message to print the correct value. Pointed out by Richard Rauch 2002-04-03 03:32:50 +00:00
jdolecek
1414ac04e0 remove stuff not related to NetBSD 2002-04-01 15:58:08 +00:00
jdolecek
aa2f829ddf remove the 'mv ipnat.1 ipnat.8', the distribution comes with ipnat.8 nowadays
add back ip_h323_pxy.c - upon closer examination, the licence seems to be okay
2002-04-01 15:56:51 +00:00
jdolecek
04b7839d81 g/c, these are not used on NetBSD 2002-04-01 09:10:38 +00:00
bjh21
913037a61e When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:26:50 +00:00
bjh21
ad4b72abb9 Check isc_result_t values with != ISC_R_SUCCESS, rather than < 0.
Suggested by Ted Lemon, but not yet in an ISC DHCP release.
This is necessary to avoid warning with -fshort-enums.
2002-03-18 20:25:58 +00:00
bjh21
76b77c2c35 When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:16:49 +00:00
bjh21
6047cf765e Another change from 3.0.1rc7:
- Fix a bug in ns_parserr(), where it was returning the wrong sort
  of result code in some cases.

This is required to allow some -fshort-enums warnings to be fixed.
2002-03-18 20:13:53 +00:00
bjh21
a4f14f6e11 Pull down change from 3.0.1rc7:
- Fix a bug in is_identifier(), where it was checking against EOF
  instead of the END_OF_FILE token.

This is required to eliminate a warning with -fshort-enums.
2002-03-18 19:54:11 +00:00
hannken
5a142891ab Make it compile on sparc (size_t != int). 2002-03-15 08:54:40 +00:00
mjl
8a74697e3d Make it compile w/ our standard warning level by adding prototypes. 2002-03-15 01:54:19 +00:00
mjl
3cc43a5f0b Resolve conflict 2002-03-15 01:44:24 +00:00
mjl
3849fd5579 Import bzip2 1.0.2 2002-03-15 01:35:17 +00:00
martin
58d564bc8c Add MSS clamping to the IP Filter NAT subsystem.
Configured by a new option "mssclamp" in NAT rules, like:

 map pppoe0 192.168.1.0/24 -> 0/32 mssclamp 1452

This is based on work by Xiaodan Tang <xtang@qnx.com>.
2002-03-14 21:46:54 +00:00
martti
83b3487b70 Upgraded IPFilter to 3.4.25 2002-03-14 12:32:36 +00:00
martti
a79df224af Import IPFilter 3.4.25 2002-03-14 12:30:07 +00:00
martti
27df1070c7 Don't import ip_h323_pxy.c (license issues) 2002-03-14 08:07:06 +00:00
simonb
6b078ef993 Fix gcc 3.x "operation on `foo' may be undefined" warnings when using
constructs like "tptr+=*tptr++;".

Itojun will forward these changes to tcpdump.org.
2002-03-11 10:43:33 +00:00
bjh21
dca4ae94d6 When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-09 13:22:52 +00:00
wiz
53036766b1 Drop trailing spaces after section names. 2002-03-06 14:20:34 +00:00
sommerfeld
3e18fc136f More ipip references 2002-03-04 15:15:39 +00:00
mason
be7a76e49f document -i and -u in the man page 2002-02-21 17:10:14 +00:00
itojun
d52aa152c7 sync with 3.7.1 2002-02-18 09:37:05 +00:00
itojun
1ad208fce4 tcpdump 3.7.1 from tcpdump.org 2002-02-18 09:06:51 +00:00
martin
3a47d27d5d Fix two LP64/be bugs, patch from ura@hiru.aoba.yokohama.jp in PR 15641. 2002-02-17 20:18:52 +00:00
ross
8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
martti
c6a4a9d33a Fixed Darren's original IPv6 icmp-type patch (rev 1.8) to display
better error messages if the user tries to use symbolic names such
as "echo" and "echorep" in "ipv6-icmp ... icmp-type ..." rules.

Consider the following rules:

  # cat /etc/ipf6.conf
  pass in quick proto ipv6-icmp from any to any icmp-type 128
  pass in quick proto ipv6-icmp from any to any icmp-type echo

Use of symbolic names give now the following error:

  # ipf -Fa -6f /etc/ipf6.conf
  2: Unknown ICMPv6 type (echo) specified (use numeric value instead)

The first rule with numeric value will work as expected:

  # ipfstat -6hi
  0 pass in quick proto ipv6-icmp from any to any icmp-type 128

NOTE: You MUST use numerical values for ICMPv6 types. See
      /sys/netinet/icmp6.h for available codes!
2002-02-04 19:07:47 +00:00
martti
6ffd37ccd1 Back out version 1.8 as it fixes the display BUT breaks the icmp-type rules:
ROOT localhost:~> /etc/rc.d/ipfilter reload
  Reloading ipfilter rules.
  22: Invalid icmp-type (echo) specified

With version 1.7 everything works just fine:

  ROOT localhost:~> /etc/rc.d/ipfilter reload
  Reloading ipfilter rules.
  Set 1 now inactive
2002-02-04 12:00:52 +00:00
martti
bfc0fa18e9 Fixed display of "proto ipv6-icmp ... icmp-type ..." rule. Before
this fix ipfstat reported:

  0 pass in quick proto ipv6-icmp from any to any

while after this fix:

  0 pass in quick proto ipv6-icmp from any to any icmp-type 8

This was just a display bug, the rule worked as expected.
2002-02-01 11:31:56 +00:00
martin
d4e37ff89e Add a missing "else". 2002-01-24 10:40:12 +00:00
martti
5ecddfad8c Fixed return value (I was unable to compile this on sparc64 before
this fix).
2002-01-24 08:30:27 +00:00
martti
7421720886 This file is not needed 2002-01-24 08:25:37 +00:00
martti
e6acaff1c5 This file is in /sys/netinet 2002-01-24 08:25:21 +00:00
martti
a0dddbc807 Manual page fixes regarding IPv6 2002-01-24 08:24:14 +00:00
martti
b9920d0f43 Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
martti
b0499f9062 Import IPFilter 3.4.23 2002-01-24 08:18:28 +00:00
martti
14b3179d7c Added ip_netbios_pxy.c and ip_ipsec_pxy.c 2002-01-23 11:03:19 +00:00
thorpej
7ff92fc079 PTRSIZE_64BIT on x86_64, too. 2002-01-23 02:37:39 +00:00
wiz
78cb877358 Try to remove some more unnecessary whitespace when converting. 2002-01-19 11:43:47 +00:00
martin
114dbddbad Make ntpd use the getifaddrs interface, thus avoiding alignement
problems (see port-sparc64/15112).

This change will be submitted to the NTP maintainers as well.
2002-01-05 13:24:40 +00:00
martin
6db2d4b116 Back out previous change - turns out to be a sparc64 toolchain problem
(surprise!)
2002-01-03 11:22:07 +00:00
martin
357b95fa25 Replace a structure copy (dereferencing a pointer received from an ioctl)
by a memcpy, similar to the patch suggested by jarle@uninett.no in PR 15112.
I'm not sure if the ioctl code should be fixed to deliver this pointer
properly aligned, but this change should not cause any problem and it is
safer this way.
2002-01-02 20:47:37 +00:00
wiz
546fc71d49 Pull over fixes from rev. 1.5-1.7 of basesrc/usr.sbin/ntp/ntpd/ntpd.8. 2001-12-26 15:14:59 +00:00
wiz
b444acb911 Sort SEE ALSO sections, and fix xrefs (commenting out some which
point to non-existing man pages). Fixes misc/14970.
2001-12-18 09:31:47 +00:00
wiz
78e040dc00 Check for '-' as first character only after we checked all recognized
options. Problem report and fix by Tero Kivinen in bin/14935.
2001-12-14 15:20:17 +00:00
wiz
a3de79a4f7 Fn argument doesn't need (), add space between macro name and argument. 2001-12-07 19:18:14 +00:00
wiz
6f171e404b Misc formatting fixes. 2001-12-07 19:14:08 +00:00
wiz
b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz
1fd7eeefcd "than" instead of "then". 2001-11-21 19:14:19 +00:00
christos
a9add05994 s/%%m/%m/ 2001-11-12 03:06:44 +00:00