summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2008-06-04warnx already prepends string with a colon, no need to manually add oneTobias Stoeckmann
here. ok millert, otto
2008-06-04setbootflag() must be done before checksum'ing the label. Bug introducedTheo de Raadt
in 1.126, found by nick during a test install; ok krw
2008-06-03fix some spacing issues;Jason McIntyre
2008-06-01synchronize synopsis and usage.Igor Sobrado
2008-05-31add hfs+ type. deraadt@ okFederico G. Schwindt
2008-05-29Second half of PF state table rearrangement.Ryan Thomas McBride
- Mechanical change: Use arrays for state key pointers in pf_state, and addr/port in pf_state_key, to allow the use of indexes. - Fix NAT, pfsync, pfctl, and tcpdump to handle the new state structures. In struct pfsync_state, both state keys are included even when identical. - Also fix some bugs discovered in the existing code during testing. (in particular, "block return" for TCP packets was not returning an RST) ok henning beck deraadt tested by otto dlg beck laurent Special thanks to users Manuel Pata and Emilio Perea who did enough testing to actually find some bugs.
2008-05-27Fix count of states flushed, broken when the psnk_af hack was removed in ↵Ryan Thomas McBride
pf_ioctl.c r1.196.
2008-05-26no need for such a wordy .Nd; ok grunkJason McIntyre
2008-05-26- put CAVEATS in the right placeJason McIntyre
- filesystem -> file system, for consistency; from Pierre Riteau
2008-05-26fix example in manpage, spotted by Jacek MasiulaniecAlexander von Gernler
While there, stress the idea that users should always have a disklabel inside their vnd images, so they can fsck their filesystems properly input from otto@, corrections by jmc@, "looks better" deraadt@
2008-05-26reorg fields in structs inodesc and inoinfo to reduce size on some archs; fromOtto Moerbeek
mickey; ok millert@
2008-05-26If an interface has no link at startup, try to force it up, and thenTheo de Raadt
give it about 4 seconds of (silent) grace period before doing the verbose search for a link... tested by various developers who got burned a bit
2008-05-25do not need sys/protosw.hTheo de Raadt
2008-05-16no need to quote the argument to .Nd, now that it's nice and short;Jason McIntyre
2008-05-16There is not really a network address translation device.Marco Pfatschbacher
Remove it from the name section. OK mcbride, henning
2008-05-13Disable more wscons bits on socppc.Miod Vallat
2008-05-13Make socppc on par with macppc for now.Miod Vallat
2008-05-13fix an error in the example partition table; from Adam PattersonJason McIntyre
ok nick
2008-05-12Error out with usage line if additional arguments are given after thePierre-Yves Ritschard
option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@
2008-05-09Add support to kill states by rule label or state id.Marco Pfatschbacher
Fix printing of the state id in pfctl -ss -vv. Remove the psnk_af hack to return the number of killed states. OK markus, beck. "I like it" henning, deraadt. Manpage help from jmc.
2008-05-09Replace a crockpot of semi-cloned productions for handling portTheo de Raadt
numbers with one, and fix a few other bugs along the way ok mpf henning
2008-05-09using the rtm_priority to translate priority number into nice name isHenning Brauer
working much better than using rtm_version for that
2008-05-09on route get, display the priority and a cleartext name (like, "bgp" for 48)Henning Brauer
claudio ok
2008-05-09convert port byte order in the production; add port keyword; ok deraadt@Markus Friedl
2008-05-09- don't give up when the link is not available on startup: dhclientReyk Floeter
goes to background and listens on the routing socket for link to come up before it retries. - renew the lease whenever the link was lost and becomes active again. - listen for link state changes on non-ethernet devices like wireless, the link state becomes active when the wireless has been associated to the AP and becomes active. this helps to automatically renew the lease when the user is roaming. ok beck@, deraadt@
2008-05-09divert packets to local socket without modifying the ip header;Markus Friedl
makes transparent proxies much easier; ok beck@, feedback claudio@
2008-05-08add missing header for exitCharles Longeau
ok damien@
2008-05-08make "to any" optional in binat, or well, the implied default.Theo de Raadt
requested by reyk, ok reyk mpf
2008-05-08Loosen grammer to permit any number of newlines within most kinds of { }Theo de Raadt
blocks, as requested by reyk; ok reyk mpf henning
2008-05-08spaceClaudio Jeker
2008-05-08Fix fallout from the route priority thing.Esben Norby
Don't display out label interface in the second column. ok claudio@
2008-05-08Don't display the outlabel and interface for POP operations.Esben Norby
ok claudio@
2008-05-08Bring back (in a more yacc friendly way) support for setting variablesTheo de Raadt
to a sequence of strings and numbers, which get folded together into one string (and later, when used, is re-lexed) ok mpf
2008-05-07Remove references to routed.Claudio Jeker
2008-05-07RIP routed.Claudio Jeker
You were a nice thing in the 4.2BSD times but now it is time for you to go. Superseded by the shiny privseped ripd that does not have the evil habit to use kernel internals in userland. OK everybody in the onsen 'cause it unbreaks the tree
2008-05-07unlink routed. unbreaks the tree (it is obvious claudio has it removed inHenning Brauer
his tree already)
2008-05-07do not assume PF_INOUT is 0 in the enum; ok mcbrideTheo de Raadt
2008-05-07put the mpe bits in the right place;Jason McIntyre
2008-05-07scrub packets based on tags; ok henningMarkus Friedl
2008-05-07Document -priority. looks good norby@Claudio Jeker
2008-05-07allow setting TOS with scrub; ok mcbride, claudioMarkus Friedl
2008-05-07Add support to show and modify rtm_priority.Claudio Jeker
2008-05-07Document the new mpe interface and explain the appropriate commandsPierre-Yves Ritschard
in ifconfig(8). The man pages reference mpls(8) which doesn't exist, but claudio promises it will follow shortly. a thumb up and ok from claudio@
2008-05-06bring in the mpe interface - for ``MPLS Provider Edge'' - this is a workPierre-Yves Ritschard
in progress and some bits need to be cleaned up but will be in-tree for convenience. ok claudio@, norby@
2008-05-06Yet another missing RTM_VERSION check. Found by norby@. OK henning@Claudio Jeker
2008-05-06print IN6_IFF_AUTOCONF flag, too; ok henning some time agoMarkus Friedl
2008-05-06Document new state creation counter for pfctl -s labelsMarco Pfatschbacher
2008-05-06Add code to specify the mpls label switching operation. OK norby@Claudio Jeker
2008-05-06Add a counter to record how many states have been created by a rule.Marco Pfatschbacher
It shows up in pfctl verbose mode and in the 7th field of the labels output. Also remove the label printing for scrub rules, as they do not support labels. OK dhartmei@ (on an earlier version), henning@, mcbride@
2008-05-06Labels in the sockaddr are stored like on the wire so shift and byte swapClaudio Jeker
them. This makes route lookups work again. OK norby@