summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-01-03Make if.c kvm free by fetching the interface stats via sysctl like in systatClaudio Jeker
and ospfd. What is not yet covered is the -d and -t flags to show interface queue drops and the if_timer. OK deraadt@
2008-01-03document "exit" for logging out of systems, instead of "logout":Jason McIntyre
it works for both csh and ksh, and is covered by posix; from Pierre Riteau
2008-01-03remove almost empty EXAMPLE sectionCharles Longeau
ok jmc@
2008-01-03missing word; from Jason FilleyJason McIntyre
2008-01-03In preparation of eliminating <> comment false positives:Ray Lai
- Move <> comments in template to an array, for easier reference later. - Rename "comment" variable to avoid shadowing. - Change some <> comments to SENDBUG comments. OK chl@
2008-01-02remove unused functionCharles Longeau
from tobias@ ok millert@ tobias@
2008-01-02remove unused functionsCharles Longeau
from tobias@ ok millert@ tobias@
2008-01-02fix obvious bug in .NODEFAULT handlingMarc Espie
2008-01-02remove unused fileCharles Longeau
unused function initially spotted by tobias@, then I realized the whole file was unused. ok millert@ tobias@
2008-01-01Allow PermitRootLogin in a Match block. Allows for, eg, permitting rootDarren Tucker
only from the local network. ok markus@, man page bit ok jmc@
2008-01-01If scp -p encounters a pre-epoch timestamp, use the epoch which isDarren Tucker
as close as we can get given that it's used unsigned. Add a little debugging while there. bz #828, ok djm@
2008-01-01spaces -> tabs from my previous commitDarren Tucker
2007-12-31if our node doesn't have a lineno/fname, inherit from `used' node.Marc Espie
This lets suffix rules finally print out where they come from...
2007-12-31When in inetd mode, have sshd generate a Protocol 1 ephemeral serverDarren Tucker
key only for connections where the client chooses Protocol 1 as opposed to when it's enabled in the server's config. Speeds up Protocol 2 connections to inetd-mode servers that also allow Protocol 1. bz #440, based on a patch from bruno at wolff.to, ok markus@
2007-12-31Prevent strict-aliasing warnings on newer gcc versions. bz #1355, patchDarren Tucker
from Dmitry V. Levin, ok djm@
2007-12-30new sentence, new line;Jason McIntyre
2007-12-30add missing arguments to synopsis; fix brackets; lowercase "usage:"Igor Sobrado
ok jmc@
2007-12-30lowercase "usage:"; align synopsesIgor Sobrado
ok jmc@
2007-12-30minor improvement on the diff to r1.106Igor Sobrado
ok jsing@
2007-12-28Use the correct packet maximum sizes for remote port and agent forwarding.Darren Tucker
Prevents the server from killing the connection if too much data is queued and an excessively large packet gets sent. bz #1360, ok djm@.
2007-12-28Make SSH2_MSG_UNIMPLEMENTED and SSH2_MSG_IGNORE messages reset theDarren Tucker
ServerAlive and ClientAlive timers. Prevents dropping a connection when these are enabled but the peer does not support our keepalives. bz #1307, ok djm@.
2007-12-28Pull from master repo:Stefan Kempf
Use sclass and soffset to access hdr.h_sclass and hdr.h_offset.
2007-12-27Add a small helper function to consistently handle the EAI_SYSTEM errorDarren Tucker
code of getaddrinfo. Prompted by vgiffin at apple com via bz #1417. ok markus@ stevesk@
2007-12-25Pull from master repo:Stefan Kempf
Set type to INT if it's still UNDEF upon return from typenode(). ok ragge@
2007-12-23increase the marker buffers, they are not big enough for hg mergeTed Unangst
2007-12-22Sync with main repo.Stefan Kempf
2007-12-22Sync with main repo.Stefan Kempf
2007-12-22Sync with main repo.Stefan Kempf
2007-12-22Sync with main repo.Stefan Kempf
2007-12-22Sync with main repo.Stefan Kempf
2007-12-22Sync with main repo.Stefan Kempf
2007-12-21update to sudo 1.6.9p10Todd C. Miller
2007-12-19sync to main repo; requested by mickeyOtto Moerbeek
2007-12-19Remove the kvm code in rt_stats() and use the sysctl code all the time.Claudio Jeker
While there remove the ugly rflag checks and make it more consistent with the rest of the code. Another step in making netstat setgid free. OK deraadt@
2007-12-19delete rcsid crudTheo de Raadt
2007-12-16Updates from master repo:Anders Magnusson
> Fix bug causing a cast from floats to integer types be rounded > up as well as down instead just rounding them down.
2007-12-16Updates from master repo:Anders Magnusson
> More sane sanitycheck in e2print(). > Add edges between different needs in table entries to avoid > that they get painted with the same color.
2007-12-16Update from master repo:Anders Magnusson
> Do not output constants larger than stabs allows.
2007-12-15-DNOKVM will compile iostat.c without kvm support, which it does not needTheo de Raadt
2007-12-15change over last few bits to use sysctl(3) if possible, and make thisTheo de Raadt
not setgid kmem (hurray!) ok tedu, tested jsg
2007-12-14remove 21 nlist variables, and instead use sysctl to query the kernelTheo de Raadt
turn on INET6 the default (remove the #ifdef's) ok claudio reyk
2007-12-13implement sysctls to report IP, TCP, UDP, and ICMP statistics andReyk Floeter
change netstat to use them instead of accessing kvm for it. more protocols will be added later. discussed with deraadt@ claudio@ gilles@ ok deraadt@
2007-12-12unbreak lls command and add a regress test that would have caught theDamien Miller
breakage; spotted by mouring@
2007-12-11mbuf stats are always gotten via sysctl(), so remove old nlist stuffTheo de Raadt
ok claudio pyr
2007-12-10zap field nothing uses.Marc Espie
2007-12-09Updates from master repo:Anders Magnusson
- Don't loop forever in conditional includes. - Print error and not a number if wrong token got. - A bunch of sanity checks.
2007-12-09remove makefile hacks to build links. Instead, change the files thatMarc Espie
gprof uses directly. okay deraadt@, miod@. Thanks for checking that gcc 2.95 is happy with #include MACRO
2007-12-09Updates from master repo:Anders Magnusson
- Add acceptable() and mflags(). - Remove unused functions.
2007-12-09Updates from master repo:Anders Magnusson
- Add support for PIC code.
2007-12-09Updates from master repo:Anders Magnusson
- Add acceptable(). - Remove unused function setincr(). Add acce