| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: docs/85095
Submitted by: Rostislav Krasny
|
|
|
|
| |
Reviewed by: arch
|
|
|
|
|
|
|
|
|
| |
- Add description for EEXIST.
- Change description for ENOBUFS. Routing socket can return
this error for many different reasons, including general
memory shortage, mbuf memory shortage and rtentry zone.
PR: kern/64090 [1]
|
|
|
|
|
|
|
|
|
|
| |
or gateway.
- improves error reporting using gai_strerror(3) instead of
printing "bad value".
- remove "0" for servname argument for getaddrinfo(3).
Submitted by: Andreas Kohn <andreas __at__ syndrom23.de>
MFC after: 1 week
|
|
|
|
|
| |
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Update document dates.
Prodded by: ru
|
|
|
|
|
|
|
|
| |
to lo(4) interfaces to have an effect, and that this is not needed
when using IP fast forwarding.
Sponsored by: eXtensible Open Router Project <URL:http://www.xorp.org/>
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
| |
in all cases. The failure mode in the PR is easily reproducible without
this patch.
PR: bin/43139
|
| |
|
|
|
|
|
|
|
|
|
|
| |
root is allowed to create raw sockets, then they will be able to create
routing sockets, too. However prison-root is not able to manipulate
routing tables. So when route(8) attempts to write to a routing
socket and recieves EPERM from the kernel, exit rather than moving
on with execution.
Approved by: bmilekic (mentor)
|
|
|
|
|
|
|
| |
o Print the link state for interface messages in monitor mode.
No objections by: sam, wpaul, ru, bms
Brucification by: bde
|
|
|
|
|
|
|
|
|
|
|
| |
prior sysctl due to the structure growing between calls try again.
Also try again for deleting routes if things fail. We've seen
route -f fail this way which does not actually flush all routes.
This fixes it. It will whine but it will do the work.
PR: 56732
Obtained from: IronPort
|
| |
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core, imp
|
|
|
|
| |
Use WARNS?= instead of WARNS=.
|
|
|
|
|
|
|
| |
embeded scopeid form.
Reported by: dwmalone
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
While I'm here, add a missing comma
PR: 41787
Obtained from: OpenBSD
MFC after: 5 days
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
| |
Pointed by: ru
|
|
|
|
|
| |
LANG=C tr 'a-z' 'A-Z'
for hypotetical case that script may generate non-ascii characters
|
| |
|
|
|
|
|
| |
a nice dump of the entire routing table. Allow non-root users
to see it too.
|
| |
|
|
|
|
|
|
|
|
| |
answer for the euid. As a result, fix it such that setuid scripts or
programs may call route(8) to do work on their behalf.
Reviewed by: ru
MFC after: 3 days
|
| |
|
|
|
|
| |
Obtained from: KAME
|
| |
|
|
|
|
| |
PR: bin/38531
|
|
|
|
| |
with IPv4.
|
| |
|
|
|
|
|
|
|
|
| |
- /0 if matches ::/128
- /64 if matches 2000::/3 and lowermost 64 bit is all 0
- /128 if matches 2000::/3 and lowermost 64 bit is non-zero 0
Obtained from: KAME/NetBSD
|
|
|
|
| |
Fixed CLEANFILES.
|
|
|
|
| |
o remove main prototype
|
|
|
|
|
|
| |
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
"register" -- just how many free registers do people think machines have?)
|
|
|
|
|
|
|
|
|
| |
socket so that routing daemons and other interested parties
know when an interface is attached/detached.
PR: kern/33747
Obtained from: NetBSD
MFC after: 2 weeks
|
|
|
|
|
|
| |
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Allow non-superuser to open, listen to, and send safe commands on the
routing socket. Superuser priviledge is required for all commands
but RTM_GET.
Lose `setuid root' bit of route(8).
Reviewed by: wollman, dd
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
| |
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
to use 0xffffffff (INADDR_NONE) as a netmask value. The fix
is to use inet_addr(3) which doesn't suffer from this problem.
PR: bin/28873
Also, while here, fixed the bug when netmask value was ignored
(RTF_HOST flag was set) if the "destination gateway netmask"
syntax is used, e.g. ``route add 1.2.3.4 127.1 255.255.255.255''.
|