itojun
e2c411ce3c
use arc4random
2003-09-06 12:42:00 +00:00
itojun
d9be8318c9
avoid FD_SET overrun. from openbsd
2003-08-13 08:51:05 +00:00
itojun
efb986d740
sprintf can return negative
2003-07-12 14:36:07 +00:00
itojun
e97be76fa1
strcat -> strlcat
2003-07-03 03:04:04 +00:00
itojun
16435cdb98
strcpy/sprintf cleanup. from openbsd
2003-04-21 08:54:42 +00:00
itojun
3fbac68bea
use snprintf. there are more...
2003-04-15 08:20:17 +00:00
itojun
64e132e781
array seems too small
2003-04-15 07:37:34 +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
wiz
cb647c5704
Sort sections, new sentences begin on new lines, add a missing line,
...
fix a typo.
2002-12-18 19:20:05 +00:00
thorpej
cd81fc31ea
Avoid strict alias warnings.
2002-12-06 02:18:37 +00:00
agc
19cc8c4892
Fix compilation problems on non-i386.
2002-12-01 08:19:48 +00:00
christos
f93fe60ac0
sync with routed 2.27
2002-11-30 04:04:23 +00:00
wiz
09cbac4e7f
New sentence, new line. From Robert Elz.
2002-10-03 15:41:44 +00:00
itojun
e93a4e6b0f
bitmask operation mistake audit (s/&&/&/). from openbsd
2002-08-08 15:10:51 +00:00
wiz
d30d25dc1a
Spelling fixes, from Sergey Svishchev in kern/16650.
2002-05-12 15:48:36 +00:00
msaitoh
039616e700
don't override LDSTATIC if NOPIC is defined.
2002-04-23 08:19:15 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
wiz
65c4d36952
Use mdoc macros instead of man ones.
2002-01-21 18:23:09 +00:00
wiz
49e6214ed8
Punctuation fix, sort sections, lose a .Pp.
2001-11-16 12:09:19 +00:00
wiz
bb03964e95
Sort SEE ALSO.
2001-11-16 11:31:30 +00:00
lukem
cbbd79f700
fix -Wshadow warnings
2001-11-02 05:30:56 +00:00
kleink
d8ad923577
"kernel switch ipforwarding" -> "sysctl net.inet.ip.forwarding".
2001-10-01 10:31:45 +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
wiz
b2935aaaf6
Drop argument of .Os.
2001-06-05 11:24:51 +00:00
wiz
73f545bb5b
Drop arguments of .Os.
2001-06-05 11:22:41 +00:00
wiz
ccb6f40539
Improve usage of `comprise' according to Webster and misc/10893
...
by Jim Bernard.
2001-05-06 12:29:18 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
wiz
7919f2a9a1
Don't xref gated(8) and htable(8), which we don't have.
2001-04-03 11:16:27 +00:00
christos
4fea751ddc
sync with version 2.24. Vernon says:
...
The most significant [fix] involves so called "remote" interfaces
configured in the kludge file to with what appear to be colliding
networks. Edward Mascarenhas <eddiem@vihar.engr.sgi.com> found
the problem and the fix, and I think has tested it in the SGI
network.
2001-03-10 23:52:45 +00:00
itojun
7846de58b2
specify interface by using interface index (set/getsockopt with 0.0.0.0/8).
2001-01-15 13:19:12 +00:00
lukem
790602fd72
deprecate LOG_ODELAY; it's the default
2001-01-10 03:47:41 +00:00
lukem
279552d3db
fix up various .Nm abuses:
...
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
is
9979da6cbb
Format string cleanups by Bill Sommerfeld.
2000-10-10 20:24:49 +00:00
ad
5b09090e8e
insure -> ensure
2000-10-05 12:35:33 +00:00
thorpej
c849d97e50
Pull in <md5.h> rather than defining our own MD5 structures (!).
2000-07-27 16:34:31 +00:00
thorpej
ef220cfa40
Make sure IS_PASSIVE gets set on a parm's int_state when the
...
passive option is used in an if=xxx clause.
2000-07-21 00:22:38 +00:00
thorpej
9b5aaf80be
In walk_supply(), test for IS_PASSIVE in ifp->int_state, not
...
ifp->int_if_flags (IFF_* bits).
2000-07-20 22:50:16 +00:00
msaitoh
f6f00e2615
remove extra period in SEE ALL section
2000-07-05 15:45:28 +00:00
christos
88f6fad445
Revert 1.18 -> 1.19; causes infinite loops on machines that use ppp and
...
do active routing.
2000-06-11 23:43:17 +00:00
christos
e9769e0528
portability casts
2000-03-02 21:02:25 +00:00
christos
a221b1ba72
portability casts and re-indentation of some code.
2000-03-02 21:02:01 +00:00
christos
93daf39438
make local functions static and portability casts.
2000-03-02 21:01:34 +00:00
christos
62f94a6648
typos and clarifications
2000-03-02 21:01:03 +00:00
christos
2c77d44472
protability cast.
2000-03-02 21:00:41 +00:00
christos
5c5977a292
add an unsigned cast; looks safe and innocent, but it might not be...
2000-03-02 21:00:23 +00:00
christos
cce4e6d1e6
add a usec_fudge to make sure that time increases monotonically.
...
printf format changes.
2000-03-02 20:59:40 +00:00
christos
d1c10b4cd1
add a comment on about how tracing is secured, but still keep it disabled.
2000-03-02 20:58:55 +00:00
christos
59fd2f8be8
remove the once hack; vjs says it is not necessary with the monotonic
...
time kludge. We'll see.
2000-03-02 20:57:42 +00:00
christos
3e1606a4b5
PR/9390: Jarkko Torppa: Routed leaks memory when route addition fails.
2000-02-11 18:39:02 +00:00
bouyer
a1d8cb9593
Ignore RTM_OIFINFO messages (send by a COMPAT_14 kernel).
1999-11-19 10:46:35 +00:00
christos
ebe496e30c
negative ip octets don't make sense. Now we print byte swapped but the
...
addresses are at least recognizable without negating :-)
1999-08-19 05:12:38 +00:00
thorpej
eb2854e11b
Use pidfile(3).
1999-06-06 02:00:32 +00:00
christos
cc2c568d66
Revert cast to (int) that caused core-dumps.
1999-03-22 10:25:23 +00:00
ross
c650920100
LP64 tweaks.
1999-02-25 11:03:22 +00:00
ross
57f33ecab4
LP64 tweak in printf(3) instance
1999-02-25 10:56:47 +00:00
christos
ca98b383fd
Oops remove WARNS=1
1999-02-23 10:51:53 +00:00
christos
756b1291db
Resolve conflicts.
1999-02-23 10:47:39 +00:00
msaitoh
73c0a4420d
s/ and and / and /
1998-11-22 22:27:32 +00:00
abs
78aeeb96c6
Fix typo 'with routing loop' to 'with a routing loop'
1998-11-13 22:06:56 +00:00
christos
94b2d42842
Update to 980910 from ftp.rhyolite.com
1998-10-25 14:56:06 +00:00
christos
e24d852656
Disable and log RIP_TRACEON and RIP_TRACEOFF. They are insecure.
1998-10-24 18:30:23 +00:00
lukem
ab0be9be0e
spell daemon correctly in the opening paragraph...
1998-10-21 13:58:32 +00:00
christos
b2ae8c434d
Avoid interraction between pppd and routed, by trying to discover new
...
interfaces every time there is a new route, irrespective of timeout period.
1998-08-26 17:50:32 +00:00
msaitoh
3181c0a112
fix a roff command bug
1998-08-18 18:03:28 +00:00
mrg
2beab49a06
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
thorpej
6d8ef4df7c
Merge the 980602 RIPv2/Router Discovery routed. Fixes floods of host routes
...
generated when one of the interfaces on the network does not support
broadcast (e.g. HIPPI or ATM).
From Vern Schryver <vjs@rhyolite.com>
1998-06-02 18:02:55 +00:00
kleink
39464b81bb
Remove the unrecognized `-v' option from the usage information;
...
from Geoff C. Wing in PR bin/5521.
1998-06-02 10:48:49 +00:00
fair
3d7afc6d03
fix bad .Xr references
1998-04-29 09:49:10 +00:00
mrg
da05df7daf
use static int, not just static
1998-03-30 02:15:27 +00:00
mrg
6ea8e66d96
add noreturn attribute, and fix the return value of main.
1998-03-30 02:15:16 +00:00
cgd
856ca5e59c
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-02 21:42:02 +00:00
perry
34a98169f0
macroize BSD, NetBSD, FreeBSD and misc cleanup
1998-02-06 05:54:12 +00:00
christos
f526faa596
y2k fixes: use strptime...
1998-02-04 15:06:11 +00:00
mrg
9f84449ae5
add missing .Nm sections.
1997-11-11 14:39:59 +00:00
mycroft
b247da14fe
Use S_IS*(), not S_IF*.
1997-10-19 18:17:27 +00:00
mycroft
e96e918e60
Use bsd.subdir.mk as appropriate.
1997-10-11 09:34:07 +00:00
enami
2a6493fe69
- Use .Nm "" instead of .Nm rtquery in SYNOPSIS.
...
- Don't use captialized wort to refer command name.
- Delete period at the end of ``SEE ALSO'' list.
- Use .Xr instead of .Em to refer routed.
1997-10-11 02:55:20 +00:00
lukem
76e13a0128
all but the first .Nm in SYNOPSIS need to be spelt out. [bin/4256]
1997-10-10 16:12:45 +00:00
mikel
b6c4c4295e
link rtquery against dynamic libs; from Soren S. Jorvang in PR bin/4178
1997-10-10 07:34:09 +00:00
christos
e398a31c08
Fix uninitialized variable warning.
1997-09-19 16:25:49 +00:00
mrg
52ff5d8fee
make these compile on the alpha after WARNS=1.
1997-09-16 08:37:01 +00:00
lukem
613a458802
If One splits a line for cosmetic reasons, One should ensure that the
...
preceeding line has a \ if it's part of a #define...
1997-09-16 07:29:56 +00:00
lukem
13992bec12
use memmove, memcmp, memset instead of bcopy, bcmp, bzero
1997-09-15 11:51:54 +00:00
lukem
3f50343aa8
* cleanup for WARNS=1
...
* deprecate register
* bcmp, bcopy, bzero, rindex -> memcmp, memmove, memset, strrchr
* correct use of .Nm
1997-09-15 10:38:11 +00:00
kleink
0505614d4e
Fix formatting directives; from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp>
...
in PR misc/3795.
1997-06-26 20:23:44 +00:00
pk
3504520bd0
Install `rtquery' in /usr/sbin.
1997-06-20 19:29:43 +00:00
perry
fd9be39827
fix 3128 from SAITOH Masanobu.
...
this consisted of nuking a duplicated paragraph; I did it slightly
differently than suggested.
1997-03-25 19:51:21 +00:00
mouse
80c0d60f84
alternate -> alternative, per PR 2643
1997-03-08 13:47:08 +00:00
christos
e7512e5a5e
- resolve conflicts.
...
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c
1997-02-03 22:02:51 +00:00
christos
6cf225561b
New version from ftp.sgi.com:sgi/src/routed.tar.Z
1997-02-03 21:06:26 +00:00
ws
ac112dcf50
Shifting by 32 on a 32-bit machine is undefined
...
(and in fact -1 << 32 results in -1 on e.g. x86)
1997-01-29 12:07:26 +00:00
perry
b1998ea4df
fix some nits from SAITOH Masanobu, pr-3149
1997-01-27 15:01:58 +00:00
mikel
8cd71f8b62
eliminate duplicate paragraph and fix typos; PR misc/3128
1997-01-23 06:34:39 +00:00
perry
ea9e41ab25
fix .I which should be .Em, from SAITOH Masanobu in pr-3109
1997-01-17 05:04:09 +00:00
thorpej
575dc254e0
Remove the redundant copy of this file.
...
Suggested by David Carrel <carrel@ipsec.com>, PR #2872 .
1996-10-20 21:55:14 +00:00
perry
0517d113dd
RCSid Police
1996-10-16 15:41:06 +00:00
christos
df34c6063d
explicitly enumerate the ripv1 fields.
1996-09-24 17:00:27 +00:00
christos
4d3fba5988
- resolve conflicts
...
- try to follow rcsid style more closely
- fix rn_walktree callback routine signatures.
1996-09-24 16:24:12 +00:00
christos
7311bcb20e
Latest version of routed(8) from Vernon Schryver <vjs@sgi.com>
1996-09-24 15:11:33 +00:00
mycroft
408ead452e
Make sure to fill in the whole sockaddr_in when sending a discovery packet.
1996-08-10 02:37:41 +00:00