summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Change the default syslog facility from LOG_LOCAL0 to LOG_SECURITY afterdarrenr2003-04-051-1/+1
| | | | discussion on security@freebsd.org.
* Output machdep.guessed_bootdev as an integer rather than try to formatphk2003-04-031-54/+0
| | | | | | it according to ancient and obsolete rules. This removes one more user of <sys/diskslice.h>
* Don't pull in geom_enc.c any more.phk2003-04-031-3/+1
|
* When kill(-1) returns ESRCH, it could be because the current processrwatson2003-04-021-1/+1
| | | | | | doesn't have a process group, which can occur if you're working with a custom init that doesn't set up a full tty context. Rather than refusing to reboot, ignore ESRCH from the kill attempt in reboot(8).
* Back out support for RFC3514.mdodd2003-04-022-17/+3
| | | | RFC3514 poses an unacceptale risk to compliant systems.
* IP_EVIL -> IP_EFmaxim2003-04-021-2/+2
|
* Give clearer diagnostics on some cases of invalidyar2003-04-011-0/+6
| | | | | | | combinations of mdconfig(8) command-line arguments. Make mdconfig(8) accept "-a -f file -o options" equally with "-a -f file" (assuming "-t vnode".)
* Don't die of SIGSEGV on a missing fstype fieldyar2003-04-012-0/+8
| | | | | | in a saved disklabel file. MFC after: 1 week
* This can't obviously be cleaner than system headers.ru2003-04-011-1/+1
|
* Implement support for RFC 3514 (The Security Flag in the IPv4 Header).mdodd2003-04-012-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (See: ftp://ftp.rfc-editor.org/in-notes/rfc3514.txt) This fulfills the host requirements for userland support by way of the setsockopt() IP_EVIL_INTENT message. There are three sysctl tunables provided to govern system behavior. net.inet.ip.rfc3514: Enables support for rfc3514. As this is an Informational RFC and support is not yet widespread this option is disabled by default. net.inet.ip.hear_no_evil If set the host will discard all received evil packets. net.inet.ip.speak_no_evil If set the host will discard all transmitted evil packets. The IP statistics counter 'ips_evil' (available via 'netstat') provides information on the number of 'evil' packets recieved. For reference, the '-E' option to 'ping' has been provided to demonstrate and test the implementation.
* Use new GEOM OAM. Kernels have supported this for a number of days, sophk2003-03-312-40/+29
| | | | people should be OK.
* Use default geometry in case the device doesn't provide one:phk2003-03-291-1/+6
| | | | | | | 512 for sectorsize. 63 for sectors. 255 for heads. This will mostly show up on MD(4) devices.
* Small mdoc fixseanc2003-03-292-2/+2
|
* Default data length should be 56, not 64.mdodd2003-03-281-1/+1
|
* - Fix function declarations.mdodd2003-03-261-122/+107
| | | | | | - Provide function prototypes. Submitted by: trhodes
* Get rid of a few caddr_t's.mdodd2003-03-261-8/+8
| | | | Submitted by: trhodes
* asn_get_encoded() takes 2 arguments.mdodd2003-03-261-1/+1
|
* Retire set_reqid(), unused since 1.2.mdodd2003-03-261-33/+0
|
* - Add const qualifier to char * arrays.mdodd2003-03-261-12/+4
| | | | - Retire Traps array; this was obsoleted in 1.2
* Don't roll a private copy of basename().mdodd2003-03-261-24/+1
|
* There are 5 securelevels, not 4.keramida2003-03-261-1/+1
| | | | | PR: docs/50049 Submitted by: Colin Percival <cperciva@sfu.ca>
* - Replace hexdump() with a prettier version.mdodd2003-03-251-68/+131
| | | | | - Reformat log output. - Consolidate PDU printing code into print_pdu().
* Set pdu->pdulen in build_pdu().mdodd2003-03-251-0/+1
|
* Don't compile in lmi_object_instance().mdodd2003-03-251-0/+2
|
* - Handle the 'GET PREFIX' request.mdodd2003-03-251-16/+159
| | | | | | | - Deal with MADGE_OBJECT1 requests. - Move code inside of switch cases to separate functions. Submitted by: Richard Hodges <rh@matriplex.com>
* Correct a comment.mdodd2003-03-251-1/+1
| | | | Submitted by: Richard Hodges <rh@matriplex.com>
* - Add a comment regarding SETPFX_OBJIDmdodd2003-03-251-1/+11
| | | | | | | - Add an Objid definition for MADGE_OBJECT1 - Add an array to map ilmi_states to ASCII descriptions. Submitted by: Richard Hodges <rh@matriplex.com>
* Clean up formatting.mdodd2003-03-251-3/+18
| | | | Submitted by: Richard Hodges <rh@matriplex.com>
* Remove some more MAKEDEV information.trhodes2003-03-251-17/+2
| | | | | PR: 50294 Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>
* Make -N option work.ume2003-03-251-1/+1
| | | | Submitted by: KONDOU Kazuhiro <kazuhiro@alib.jp>
* Hook omshell(1) up to the build.mdodd2003-03-254-1/+40
|
* Building crunched things by hand (regenerating boot floppies for example)mdodd2003-03-251-0/+2
| | | | | without a full make release cycle fails as the correct include path isn't setup.
* Add mount options 'noinet4' and 'noinet6' which prevent using thosemdodd2003-03-252-0/+20
| | | | | | | address families. This is useful for preventing NFS mounts from using IPv6 on hosts that have both A and AAAA records for the same name.
* - Silence warnings (casting, implicit decl., unused var.).mdodd2003-03-252-4/+7
| | | | - WARNS=2
* - Make -M mask and -M time exclusive.mdodd2003-03-241-22/+21
| | | | | | | | | | | | | | | | | | | | - Correct some problems with packet construction. +--------+------------+----------+-------------+---------+ | | | | | | | IP Hdr | MINICMPLEN | phdr_len | TIMEVAL_LEN | payload | | | | | | | +--------+------------+----------+-------------+---------+ | | | | |<- IP ->|<------- ICMP -------->|<------ datalen ------>| My previous changes tried to mess around with 'datalen' instead of modifying 'phdr_len'. I'm including this nice ASCII diagram (from Maxim) to further clarify things in CVS history. Submitted by: Maxim Konovalov <maxim@macomnet.ru>
* Fixed an errx format error in rev.1.81. This should have been fatalbde2003-03-241-2/+2
| | | | | | | | when WARNS was increased recently, but __printf0like() has been temporarily disabled for 8 months. Fixed related style bugs (disordered declaraction and silly type for maxpayload -- assume 16-bit ints like the rest of ping.c).
* - Add a new ioctl to get the maximum number of ATA channels.mux2003-03-221-4/+7
| | | | | | | | | | - Use it in atacontrol(8) when listing ATA devices instead of stopping at the first ENXIO received. This makes atacontrol list work on my sparc64 where the two ATA channels I have are numbered 2 and 3. Reviewed by: sos
* Teach disklabel(8) about different hardware architectures.ru2003-03-164-214/+454
| | | | | | | | | | This is aimed at creating floppies during cross-releases. For different endianness machines, a tool like bswapfs(8) is necessary to make the generated floppies readable on the target machine. While here, fixed unaligned access on Alphas. Tested on: i386, alpha
* Give this manpage a good overhaul, including the markup.ru2003-03-152-654/+796
| | | | | | | | | | | | | | | | | Notable changes: - Removed the "disktype" argument from the -B only synopsis form. This form doesn't touch the disk label, and doesn't use this argument. - Fixed the first example in the EXAMPLES section. Support for compatibility slices has been recently dropped from the GEOM kernels, and a bit later GEOM became standard. - Removed the buggy notion from rev. 1.37 that disklabel(8) may be used to define mount points; it cannot. Improve some DOS partition / FreeBSD slice wording. Among these, ``dangerously-dedicated slice'' was just a nonsense. ;-)
* Update to use current version of devstat API.phk2003-03-152-4/+4
|
* Fixed (soon might be fatal) -Wformat warnings.ru2003-03-151-3/+3
|
* Add a 'verrevpath' option that verifies the interface that a packetcjc2003-03-152-0/+38
| | | | | | | | | comes in on is the same interface that we would route out of to get to the packet's source address. Essentially automates an anti-spoofing check using the information in the routing table. Experimental. The usage and rule format for the feature may still be subject to change.
* Properly mark "auto" as a keyword.ru2003-03-142-14/+14
|
* Demangle the usage message at the source level.ru2003-03-141-15/+8
| | | | Submitted by: bde
* o Partially revert rev. 1.103, fix 'ipfw show': dynamically adjust amaxim2003-03-131-11/+39
| | | | | | | | | | | | | | width of fields for packets and bytes counters. PR: bin/47196 Reviewed by: -audit Not objected by: luigi, des o Use %llu instead of deprecated %qu convert specification for ipfw packets and bytes counters. Noted by: des MFC after: 1 month
* Fix and sync SYNOPSIS and usage().ru2003-03-112-24/+44
| | | | Prodded by: bde
* Uncomment the description of the ipdst parameter, but refer to IPXtjr2003-03-081-9/+6
| | | | instead of NS.
* Remove reference to unavailable paper.phk2003-03-071-5/+0
|
* Don't pick the name out of the devstat member of the ccd softc, it willphk2003-03-061-2/+1
| | | | disappear soon. Exporting the softc in the first place is a mistake.
* Update ping to be WARNS=2 compliant.seanc2003-03-052-27/+36
| | | | | Reviewed by: -audit (no objections ~1mo) Approved by: nectar
OpenPOWER on IntegriCloud