summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-02-06rename a #define to be clearer; no binary changeKevin Steves
ok henning@
2009-02-05when calling ssl_session_destroy() from mta, our session will have a NULLGilles Chehade
s->s_l field. this commit fixes a crash in mta caused by a NULL deref.
2009-02-05fix format stringCharles Longeau
ok naddy@
2009-02-04gollo@ thought the timeouts were a little short, and indeed, they are off by ↵Ted Unangst
1000. (not much real effect, you can only sleep so short any way)
2009-02-03add missing headers needed by wait()Charles Longeau
ok rainer@
2009-02-03Correctly update kernel and mfc when change in routing table happens.Michele Marchetto
ok norby@
2009-02-03In Intra-Area-Prefix LSAs, set the LA-bit for all prefixes of 128-bitStefan Sperling
length, regardless of interface type. Allowed by RFC5340 and ok claudio@
2009-02-03We don't need anything other than link-local addresses andStefan Sperling
global-scope prefixes in iface->ifa_list. ok claudio@
2009-02-03Formatting fixes.Stefan Sperling
2009-02-03the prevalence of multi-core laptops revealed that taking the cpu average isTed Unangst
a poor way to adjust performance. Even with a cpu pegged, apmd is quite slow to react. Change things to consider min idle time, not average. Mostly from a diff by Laurence Tratt
2009-02-02tweak the synopsis and usage, lladdr is not an optional argument.Igor Sobrado
jmc@ might further improve on it, if needed. ok mbalmer@
2009-02-02remove unused function and macros, due to the lastest commitCharles Longeau
ok rainer@
2009-02-02Refer to the filename, not manpage, when explaining where ethers entries are.Marc Balmer
2009-02-02Clarify .NdMarc Balmer
2009-02-02Can wake up several machines in one invocation.Marc Balmer
2009-02-02deals with shaddy repositories from backwards countries that implementMarc Espie
nlist incorrectly. as diagnosed by kili@
2009-02-01embellish the output of bgpctl(8).Igor Sobrado
ok claudio@
2009-02-01"Ethernet" is a family of networking technologies developed at Xerox PARC,Igor Sobrado
not a generic name. we must use the right capitalization for this term. ok jmc@
2009-01-31write point-to-point in a consistent way.Igor Sobrado
jmc@ has provided a complete list of manual pages to be fixed, and suggested using uppercase (i.e., Point-to-Point) when discussing the protocol, and lowercase (point-to-point) otherwise. ok jmc@
2009-01-31adjtime has been logged at 32ms and greater for 2.5 years now.Kevin Steves
ok henning@ jmc@
2009-01-31Implement buf_left() to make some some more buffer handling easier.Claudio Jeker
buf_left() returns the bytes left in a buffer. This makes the check to keep MD5_DIGEST_LENGTH bytes unallocated in some messages easier. From the buf cleanup diff that was OK norby@ and henning@
2009-01-31Pass the buffer to send_packet() instead of spliting it up. This removesClaudio Jeker
some direct access to struct buf internals in the rest of ospfe. Based on a larger buffer cleanup diff that was OK norby@ henning@
2009-01-30Add missing free. Found by norby@ in ospfctl, same fix.Stefan Sperling
2009-01-30when decreasing ssl related counters, make sure the session was flagged asGilles Chehade
F_SECURE. while at it, add "smtp.sessions.aborted" which keeps track of sessions which were interrupted before completion.
2009-01-30improve statistics for smtp process. not only collect the current sessionsGilles Chehade
count, but also the total sessions count, ssmtp sessions (both current and total) and starttls sessions (both current and total) # ./smtpctl/smtpctl show stats|grep smtp.sessions smtp.sessions = 0 smtp.sessions.active = 0 smtp.sessions.ssmtp = 0 smtp.sessions.ssmtp.active = 0 smtp.sessions.starttls = 0 smtp.sessions.starttls.active = 0 #
2009-01-30clear the F_EVLOCK flag earlier to prevent the error event handler fromGilles Chehade
being called again with F_EVLOCK set. this fixes a bug where disconnect after smtpd sends greeting and before entering any command failed to go into session_destroy(). while at it, rename the "smtp.clients" statistic to "smtp.sessions" and add counters to struct s_smtp so that I can add ssmtp and starttls with my next commit ;)
2009-01-30avoid an alloc/free loop while looking for a bpf.Pierre-Yves Ritschard
ok mbalmer@
2009-01-30Do not break header for messages received via smtp.Oleg Safiullin
look ok gilles@
2009-01-30bump descriptors limit to the max and set the maximum connections count toGilles Chehade
three quarters of that limit (a session typically has 3 descriptors). when we hit that limit, we stop accepting connections, and when client closes a session, we start accepting connections again. this prevents us from going into a session that is likely to fail because of scarce resources. idea discussed with jacekm@, code mostly ripped from relayd
2009-01-30Delete code which was never used (rtsock.c is even not there).Rainer Giedat
old commit message from itojun: "rtsock.c is omitted for simplicity, as it is not meaningful on openbsd." Ok grunk@, naddy@
2009-01-30fix a very annoying events masking issue which would cause a fatal() to beGilles Chehade
hit under certain conditions; while tracking the bug I ran into other bugs which were kind of related and could cause us to hit a fatal() too. fix by me, but with lots of testing and investigation with jacekm@, ok jacekm@
2009-01-30Use if_nametosdl implementation from rtadvd, which is much nicer.Rainer Giedat
From Mischa Diehm. "looks fine to me" pyr@
2009-01-30Add missing free.Esben Norby
OK claudio@
2009-01-30more const -> sizeof()Oleg Safiullin
no binary changes ok gilles@
2009-01-30fix debug messageOleg Safiullin
ok gilles@
2009-01-30o remove useless `if'sOleg Safiullin
o replace constants by sizeof where possible ok gilles@
2009-01-29tweak usage()Igor Sobrado
2009-01-29fix compiler warningJacek Masiulaniec
2009-01-29Implement "smtpctl show stats"; ok gilles@Jacek Masiulaniec
2009-01-29better parsing of .forward filesOleg Safiullin
ok gilles@
2009-01-29Correctly byte-swap the link state ID when building Intra-Area-PrefixStefan Sperling
LSAs which refer to Router LSAs. ok claudio@
2009-01-29One more step on the long road of beautifying ospf6ctl output:Stefan Sperling
The Link State ID in OSPFv3 is just a unique identifier and has lost its semantic meaning for a most LSA types. Print the correct semantic meaning for those that still have one, and don't print any additional information for those that don't. ok claudio@
2009-01-29Don't print a header line above every individual Intra-Area-Prefix LSAStefan Sperling
in the detailed DB output. Now behaves the same as with other LSA types.
2009-01-29Originate Intra-Area-Prefix LSAs which reference a router LSA.Stefan Sperling
Routers can now advertise prefixes with global scope throughout an area. This paves the way towards doing SPF calculations to generate routing tables for a single area. ok claudio@
2009-01-29In Link LSAs, #prefixes is a 32bit value.Stefan Sperling
But in Intra-Area-Prefix LSAs, #prefixes is a 16bit value. lsa_intra_a_pref_check() was failing on little-endian machines because it was trying to byte-swap a 32bit value. ok claudio@
2009-01-29various improvements; help/ok mbalmerJason McIntyre
2009-01-29lsa_get_prefix() should return the number of bytes consumed and not theClaudio Jeker
number of bytes left in the buffer. OK stsp@
2009-01-29Fix offset calculation for lsa_prefix structs.Stefan Sperling
ok claudio@
2009-01-29Better error handling.Marc Balmer
2009-01-29missing prototype for session_respond() in mta, move session_respond()'sGilles Chehade
prototype to smtpd.h spotted and diff from Oleg Safiullin <form@pdp-11.org.ru>