summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-11-05- move a couple prototypes in smtpd.hGilles Chehade
- remove prototypes from deprecated functions
2009-11-04cleanup a bit printoutsMarc Espie
2009-11-04Add support to tcpdump for decoding the GPRS Tunnelling Protocol (GTP),Joel Sing
used to carry GPRS data over IP for GSM and UMTS networks. The decoder understands GTPv0, GTPv0', GTPv1-C, GTPv1-U and GTPv1' traffic, however at this stage not all TLV fields are fully decoded. This work has been kindly sponsored by SystemNet AS (www.systemnet.no). "commit" deraadt@
2009-11-04tweak previous;Jason McIntyre
2009-11-04Sort port numbers and fix indentation.Joel Sing
2009-11-03document the new -t set mode of makemap, and add a paragraph describingGilles Chehade
the use of makemap to generate a primary domains map
2009-11-03teach makemap how to build a set, which is a map containing only keys.Gilles Chehade
smtpd is now capable of looking primary domains at runtime in a set, which means that the following becomes possible: map "primary" { source db "/etc/mail/primary.db" } accept for domain map "primary" deliver to mbox while at it fix a couple bugs in the aliases resolution path which caused recipients to bounce if a ruleset did not have an "accept for local" rule "diff reads good" jacekm@, flush queue & make clean
2009-11-03reorder structure elements for struct netroute & router: static configReyk Floeter
elements first (this matches all the other structures). no functional change.
2009-11-03this commit removes the hardcoded special "aliases" map and brings supportGilles Chehade
for multiple aliases maps that can be attached at the rule level. with it, you can for example define different aliases maps for different domains or different aliases maps for the same domain depending on the client source: map "localiases" { source db "/etc/mail/localiases.db" } map "netaliases" { source db "/etc/mail/netaliases.db" } accept from 192.168.0.0/16 for local alias "localiases" deliver to mbox accept from all for local alias "netaliases" deliver to mbox idea discussed with jacekm@ and various other hackers, diff contains some bug fixes too which were not part of the original diff. man page follows very shortly ... make clean & flush queue !
2009-11-03- remove a useless member of struct condGilles Chehade
- have virtual related functions take a map id instead of a map - shrink a tiny bit ruleset matching - add missing lka_resolve_path() call in aliases resolution leading to issues spotted by nicm@
2009-11-03remove annoying log_debugGilles Chehade
2009-11-03print the correct info (need some tweaks yet to be shorter).Marc Espie
2009-11-03Improve error logging.Jacek Masiulaniec
2009-11-03add @option always-update.Marc Espie
a package tagged as 'always-update' will have its full packing-list, complete with checksums, as signatures, so it will always get updated, even when the version number doesn't change, as long as it's not the same package.
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
tables on top of a rdomain) but until now our code was a crazy mix so that it was impossible to correctly use rtables in that case. Additionally pf(4) only knows about rtables and not about rdomains. This is especially bad when tracking (possibly conflicting) states in various domains. This diff fixes all or most of these issues. It adds a lookup function to get the rdomain id based on a rtable id. Makes pf understand rdomains and allows pf to move packets between rdomains (it is similar to NAT). Because pf states now track the rdomain id as well it is necessary to modify the pfsync wire format. So old and new systems will not sync up. A lot of help by dlg@, tested by sthen@, jsg@ and probably more OK dlg@, mpf@, deraadt@
2009-11-03Don't need regex.h and remove two declarations that are now in smtpd.h.Nicholas Marriott
ok jacekm
2009-11-03simplify deptree handling, since we handle this at the set level.Marc Espie
2009-11-03Pick up the rdomain from the specified interface and use that rdomain forClaudio Jeker
relaying the packets to the server. If you need to use cross-domain forwarding us pf to bounce the packets back and forth. sure deraadt@
2009-11-03catch signals while we're doing something, so that cleanup always happens.Marc Espie
2009-11-03sort;Jason McIntyre
2009-11-02that is not a small hack, it is big and gruesome and has very bad effectsTheo de Raadt
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-11-02Implement IMSG_CTL_LOG_VERBOSE similar to ospfd. Even though bgpd has almostClaudio Jeker
no log_debug() it makes more sense to make all routing daemons behave the same.
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-11-02More IMSG_CTL_LOG_VERBOSE, still doing the same toggeling of log_debug().Claudio Jeker
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-11-02Yet another implementation of IMSG_CTL_LOG_VERBOSE. Similar to the one inClaudio Jeker
ripd, ospfd and friends. OK michele, henning, sthen
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-11-02Another routing daemon that gets IMSG_CTL_LOG_VERBOSE to allow toggeling ofClaudio Jeker
log_debug(). ok michele, henning, sthen
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-11-02Add IMSG_CTL_LOG_VERBOSE similar to ospfd it allows to toggle debug logging.Claudio Jeker
henning, sthen, michele like the idea
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-11-02Implement IMSG_CTL_LOG_VERBOSE to enable or disable debug logging on runtime.Claudio Jeker
It always annoyed me that in case of a problem I had to restart the ospf in forground debug mode and by doing so losing all routes at least twice. OK henning, sthen, michele
2009-11-02we have closefrom(2), so use it; ok deraadt@ tedu@Otto Moerbeek
2009-11-01fix a couple log_info()s,Gilles Chehade
from Tim van der Molen <tbvdm@xs4all.nl>
2009-11-01Initialize "len" before using it in accept(2).Michele Marchetto
Found by Christophe Fillot ok claudio@
2009-10-31s/Mhz/MHz/, MHz is a multiple of the SI unit hertz (whose symbol is Hz).Igor Sobrado
2009-10-30when used with incorrect flags, zzz(8) should call zzusage(void)Igor Sobrado
instead of usage(void). millert@ suggested checking __progname() against "zzz" to match existing code. ok millert@
2009-10-30Routers with "transparent-as yes" set should behave more like iBGP ones.Claudio Jeker
In this case export the MED to all peers no matter what. It is no longer needed to do the set med +0 hack. OK henning@
2009-10-29it is possible specifying more than one printer concurrently; useIgor Sobrado
.Op macros for options instead of hardcoding brackets; remove a few superfluous .Ar macros before ellipsis; "usage:" is lower case; while here, apply some spacing tweaks. tweaked by jmc@ for a synopsis with too many arguments. ok jmc@
2009-10-29do not discard the first character of the command after the -q optionMarkus Friedl
ok millert@
2009-10-28a few leftovers from yesterday's SCCS/RCS-ID removal;Ingo Schwarze
survived a full make build on i386; "sure" deraadt@
2009-10-28tweak previous;Jason McIntyre
2009-10-28Free correct buffer.Claudio Jeker
2009-10-28Document the "rib" filter parameter to specify the rib a rule applies to.Claudio Jeker
2009-10-28remove an unimplemented flag from both usage() and getopt(3)'sIgor Sobrado
option string. ok claudio@, michele@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-27using the rcsid is sillyTheo de Raadt
2009-10-27write UNIX-domain in a more consistent way.Igor Sobrado
2009-10-27finish zapping old "kitchensink" option, we have much better ways to testMarc Espie
big stuff now.