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
manu
22376d8b65
Fixed a small bug in -u option parsing (it only worked if you supplied a
...
user *and* a group)
2001-11-08 20:06:22 +00:00
itojun
50c48d717f
SIGALRM code around gethostbyaddr() can leak memory.
...
sync with tcpdump.org, found by openbsd guys
2001-11-05 02:12:47 +00:00
itojun
b912944434
copyright clarification, from tcpdump.org
2001-10-22 06:59:26 +00:00
itojun
eed0c2daad
copyright clarification, from tcpdump.org
2001-10-22 04:29:06 +00:00
itojun
6180d3187e
copyright clarification. sync with tcpdump.org
2001-10-22 04:24:24 +00:00
wiz
b8625f9b65
extensions-path-name -> extensions-path (misc/14147).
2001-10-04 12:26:25 +00:00
kleink
d170b4b2fc
Sync with tcpdump.org print-vrrp.c revs. 1.4-1.5:
...
Clean up internals somewhat (tok2str etc.), improve output, avoid
control characters in auth-simple output.
2001-09-27 12:33:26 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
itojun
1a9410a9f1
new copyright boilerplates. from tcpdump.org repository
2001-09-19 03:37:58 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
manu
53e4611607
Added code to run ntpd as a non root user and in a chroot jail. This should
...
be used with the new clockctl device which enable clock setting by non root
users on behalf of the /dev/clockctl write rights.
This code have not been commited yet to the main ntp tree.
2001-09-16 07:51:54 +00:00
thorpej
7d63653e94
s/int/size_t/ in one obvious place.
2001-09-16 00:01:15 +00:00
wiz
e3f8252b49
Xref ipf(8) instead of non-existing ipf(1).
2001-09-09 17:22:59 +00:00
wiz
1288f79bbd
Xref curses(3) instead of ncurses(3).
2001-09-09 17:22:39 +00:00
wiz
23fec241fa
Change Xref to ipfilter(4) from [not installed] ipfilter(5).
2001-09-03 01:19:05 +00:00
eeh
c994f996ff
Fix LP64 bug.
2001-08-24 15:28:47 +00:00
mrg
0a8258e16a
back out previous; it is handled by etc/rc.d/named.
2001-08-24 13:25:57 +00:00
mrg
d7003aa4a3
reapply (relevant parts of) lost patch:
...
revision 1.3
date: 1999/02/22 02:37:27; author: mrg; state: Exp; lines: +19 -1
if we are chrooting, write a symlink for the pid file so that ndc, etc,
continue to work as normal. this allows named to run in a chroot jail
with zero loss of functionality.
2001-08-24 08:37:33 +00:00
gmcgarry
7e63b1b939
Remove references to non-existent traffic(1C) and nit(4P) pages.
2001-08-22 00:06:50 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
drochner
6c1ac34eb0
remove .cvsignore files which got imported inadvertently, as pointet
...
out by Ben Harris
2001-08-07 08:31:16 +00:00
wiz
2b4b375b7e
Remove unneeded files. okay'd by drochner.
2001-08-03 15:35:09 +00:00
wiz
a27c467882
Typo fix.
2001-08-03 13:50:07 +00:00
wiz
0624fa6b95
Replace remaining occurances of DBDIR and RUNDIR with corresponding
...
NetBSD paths.
2001-08-03 13:47:17 +00:00
drochner
f71d61482d
pull in a patch from usr.sbin/dhcp: const-ification
2001-08-03 13:39:05 +00:00
drochner
fce24bb552
pull in manpage adaptions / corrections from usr.sbin/dhcp
2001-08-03 13:34:08 +00:00
drochner
e0c9112eff
pull in code patches from usr.sbin/dhcp
2001-08-03 13:07:03 +00:00
drochner
bd5592e542
import of ISC dhcp-3.0rc10
2001-08-03 11:35:28 +00:00
mrg
efcf0f3154
"Bah, remove the declaration!!" --thorpej
...
delete sys_nerr declarations...
2001-07-14 06:01:22 +00:00
mrg
e31dfc4d0e
if we're going to declare it, at least make sure sys_nerr is `const'.
2001-07-14 04:49:57 +00:00
itojun
be5fa8128f
repair signed/unsiged mistake in length computation.
...
(could raise security issue - should contact fenner@freebsd on details).
sync with tcpdump.org
2001-07-09 09:27:18 +00:00
itojun
0025e818e5
do not not deref NULL pointer. PR13407. sync with tcpdump.org
2001-07-08 08:17:57 +00:00
itojun
e676bfdeb6
recover from endian mistake. sync with tcpdump.org
2001-06-27 21:08:41 +00:00
simonb
2de3233da6
Fixes to compile on alpha. Reported by Caffeinate The World on
...
current-users.
2001-06-27 02:46:25 +00:00
itojun
8e68d78e9d
ex script to change rcsid portion
2001-06-25 20:09:58 +00:00
itojun
6a5ada5fef
__RCSID()
2001-06-25 19:59:56 +00:00
itojun
454a080909
typo
2001-06-25 19:36:47 +00:00
itojun
08019da86a
disable SMB decoder, there seem to be a lot of memory boundary issues
2001-06-25 19:36:38 +00:00
itojun
80e83a75d5
import script
2001-06-25 19:36:03 +00:00