summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-01-04syslogc - client to read memory buffered logs from syslogd;Damien Miller
manpage nits jmc@, fixes jose@; ok deraadt@
2004-01-04Buffered logging for syslogd. Logs may be stored in memory buffers andDamien Miller
extracted using a small client. Useful for diskless systems. much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@
2004-01-04print time since last up/down ninelyHenning Brauer
2004-01-04share statenamesHenning Brauer
2004-01-04Wall and spacing, I am hunting bugsTheo de Raadt
2004-01-04zap unused variable; ok mcbridePeter Valchev
2004-01-03keep track of last session up/down and last successfull readHenning Brauer
2004-01-03print message countersHenning Brauer
2004-01-03add message countersHenning Brauer
2004-01-03#include session.hHenning Brauer
2004-01-03move some session specific stuff to session.h and make the few filesHenning Brauer
that need it include that
2004-01-03decouple the peer list from bgpd_config.Henning Brauer
so many parts of bgpd are not at all interested in the session specific peer structs... allows for some further cleaning
2004-01-03Replace bogus use of fgetln() (which doesn't NUL-terminate strings)Todd C. Miller
with fgets() (which does). Using fgetln() doesn't make a huge amount of sense since passwd entries are required to be short and mustn't contain NULs. This also fixes a bus error on sparc64 (caused by passing a pointer to an int when a pointer to size_t was expected) found by pvalchev@. Tested and OK pvalchev@
2004-01-03we'll have more than one view one day, strutural prepare for thatHenning Brauer
2004-01-03factor out the printing stuff and format nicer as wellHenning Brauer
2004-01-03cope with changed imsg_read semanticsHenning Brauer
2004-01-03change imsg_read semantics so that the number of bytes read is returned.Henning Brauer
that means that the callers can (and must) coope with closed connections themselves, what is exactly the desired behaviour.
2004-01-03there is no guarantee we get all we wan with a single read(), so weHenning Brauer
have to do the imsg_read in a loop as well.
2004-01-03send an imsg as list end indicatorHenning Brauer
2004-01-03fix umask, noticed by theoHenning Brauer
2004-01-03do not create pid file. it was just for debugging and there was no properJun-ichiro itojun Hagino
cleanup code. from kame
2004-01-02factor out dump.c from rtsol by -DSMALLJun-ichiro itojun Hagino
2004-01-02unifdef for readability. req'ed by deraadtJun-ichiro itojun Hagino
2004-01-02whitespaceJun-ichiro itojun Hagino
2004-01-02SEE ALSO after FILES;Jason McIntyre
2004-01-02umask setting and unlink before bind() the unix socket, chmod and umaskHenning Brauer
restore afterwards help & ok theo
2004-01-02connect bgpctlHenning Brauer
ok theo
2004-01-02move the socket name #define to bgpd.h and get rid of bgpdctl*Henning Brauer
2004-01-02bring back bgpctlHenning Brauer
ok and help theo
2004-01-02no, not thereTheo de Raadt
2004-01-02mark a few numbers U to please compilers; henning okTheo de Raadt
2004-01-02do not , after last element in an enumTheo de Raadt
2004-01-02no nested subdirs like this, henning did not discussTheo de Raadt
2004-01-02compile like it used toTheo de Raadt
2004-01-02disable bgpdTheo de Raadt
2004-01-01add bgpdctlHenning Brauer
2004-01-01add bgpdctlHenning Brauer
right now it only connects to bgpd and prints a list of neighbors and their status; that will change.
2004-01-01prepare for bgpdctlHenning Brauer
2004-01-01listen on a AF_LOCAL socket for imsgs too.Henning Brauer
only implemented type yet is IMSG_CTL_SHOW_NEIGHBOR which sends back the struct peer for all neighbors. will be used by bgpdctl
2004-01-01typoHenning Brauer
2004-01-01now that imsg_get uses bigger buffers, one read call can put more than oneHenning Brauer
imsg into the buffer. since imsg_get by definition only returns one imsg we missed the next imsg(s) until the next poll event on the socket in question, building up a queue on that socket. didn't show up as a problem yet... factor out imsg_read, which reads into the buffer. imsg_get now entirely operates on the buffers and does not read(2) itself. make all callers cope by calling imsg_read on poll events and calling imsg_get in a loop until all imsgs are processed.
2004-01-01conf -> mconfHenning Brauer
causes a conflicht with upcoming changes
2004-01-01post-INSTALL script falling -> record installation as a borked packageMarc Espie
instead of aborting outright with loads of files unregistered...
2003-12-31Many improvements to the handling of interfaces in PF.Cedric Berger
1) PF should do the right thing when unplugging/replugging or cloning/ destroying NICs. 2) Rules can be loaded in the kernel for not-yet-existing devices (USB, PCMCIA, Cardbus). For example, it is valid to write: "pass in on kue0" before kue USB is plugged in. 3) It is possible to write rules that apply to group of interfaces (drivers), like "pass in on ppp all" 4) There is a new ":peer" modifier that completes the ":broadcast" and ":network" modifiers. 5) There is a new ":0" modifier that will filter out interface aliases. Can also be applied to DNS names to restore original PF behaviour. 6) The dynamic interface syntax (foo) has been vastly improved, and now support multiple addresses, v4 and v6 addresses, and all userland modifiers, like "pass in from (fxp0:network)" 7) Scrub rules now support the !if syntax. 8) States can be bound to the specific interface that created them or to a group of interfaces for example: - pass all keep state (if-bound) - pass all keep state (group-bound) - pass all keep state (floating) 9) The default value when only keep state is given can be selected by using the "set state-policy" statement. 10) "pfctl -ss" will now print the interface scope of the state. This diff change the pf_state structure slighltly, so you should recompile your userland tools (pfctl, authpf, pflogd, tcpdump...) Tested on i386, sparc, sparc64 by Ryan Tested on macppc, sparc64 by Daniel ok deraadt@ mcbride@
2003-12-30correctly free after buf_add/_close errs.Henning Brauer
From: Patrick Latifi <pat@eyeo.org>
2003-12-30small logic error in session_open/_keepalive/_notification (yes, the same inHenning Brauer
all three) after buf_open failure. as this does not happen normally (except for in out of memory cases) it wasn't noticed.
2003-12-30missing free()s in error cases that (now) lead to program terminationHenning Brauer
From: Patrick Latifi <pat@eyeo.org>
2003-12-30we should not access ressources in a peer strcut 2 lines after weHenning Brauer
detected a closed connection which caused an fsm call which causes a deallocation of said ressources (that was long for "missing return")
2003-12-30missing free()s; From: Patrick Latifi <pat@eyeo.org>Henning Brauer
2003-12-30no empty default: cases in switch, gcc3 complaints via espie@Henning Brauer