summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2003-04-07Catch and refuse invalid icmp codes (> 255). ok pb@, mpech@.Daniel Hartmeier
2003-04-06strcat->strlcat, ho@ okAnil Madhavapeddy
2003-04-06strcpy/strcat -> strlcpy/strlcat conversion; henning@, tedu@ okAnil Madhavapeddy
2003-04-06string handling; ok millertTheo de Raadt
2003-04-05ease netmask handling a bitHenning Brauer
input theo, ok dhartmei@
2003-04-05o replace a strncpy + manual NUL terminate w/ strlcpyTodd C. Miller
o remove NUL termination of d_packname since it is not needed. krw@ OK
2003-04-05allow queue specs to be limited to certain interfaces.Henning Brauer
altq on { $if0 $if1 $if2 $if3 } priq bandwidth 10Mb queue { one two } queue one priority 1 priq(default) queue two on $if0 priority 15 queue two on ! $if0 priority 0 ok dhartmei@
2003-04-05whitespace KNFHenning Brauer
2003-04-04simple string fixes; ok matthieu tedu tdevalTheo de Raadt
2003-04-04clean up:Henning Brauer
instead of letting the lexer interpret '<' '>' '=' '>=' '<=' and return them as PF_OP_LT, PF_OP_GT etc etc etc in PORTUNARY, just let the lexer return '<' '>' and '=' literally, and in the few cases where the old PORTUNARY was really used like originally intended, replace that by a new unaryop yacc target. in all other cases that gets rid of quite some checks wether PORTUNARY is really < and nothing else etc etc etc. ok cedric@ deraadt@
2003-04-04knf & one snprintf; tedu okTheo de Raadt
2003-04-04snprintf & strlcpy; tedu okTheo de Raadt
2003-04-03trivial snprintfTheo de Raadt
2003-04-03Simplify pfctl printing code.Cedric Berger
ok dhartmei@ henning@
2003-04-03use a simple linear queue ID assignment algorithm for PRIQ like we do forHenning Brauer
cbq already. together with the previous change that means it is now possible to have differently named priq queues on different interfaces with the same priorities and packets end up in the right queues. ok dhartmei@ kjc@
2003-04-03Table stats are reliable now.Cedric Berger
2003-04-03explicitly include <sys/limits.h> for INT_MAX.Kenjiro Cho
2003-04-02no \n w/ errx(3), reminded by andrushockHenning Brauer
2003-04-02Xenu made me fix the strcpy; millert okTheo de Raadt
2003-04-02fifo -> FIFOJason McIntyre
ok millert@
2003-04-02nfs -> NFSJason McIntyre
2003-04-02better error handlingHenning Brauer
2003-04-02better error messageHenning Brauer
2003-04-02snprintf; drahn okTheo de Raadt
2003-03-30asprintfHenning Brauer
partitially from David Hill <david at phobia.ms> ok deraadt@
2003-03-30snprintfTheo de Raadt
2003-03-30typos/grammarJason Peel
these are the only instances of s/WSKBD/WDKBD/ needed in the tree; ok miod@
2003-03-30snprintf; millert okTheo de Raadt
2003-03-30snprintfTheo de Raadt
2003-03-28one more const was missingHenning Brauer
2003-03-28assign qid early for priq tooHenning Brauer
2003-03-28add a whole bunch of display types (will be used by the accelerated XJason Wright
stuff coming soon to a tree near you).
2003-03-27minor tweaks from Andrey Matveev, ok henning@ and cedric@Daniel Hartmeier
2003-03-27lotsa const char *Henning Brauer
from David Hill <david at phobia.ms> a while ago
2003-03-27introduce a "yesno" target. eases code a bit and yes is no keyword any more.Henning Brauer
2003-03-27handle invalid priq/cbq flags better and give a nice error messageHenning Brauer
2003-03-27default, borrow, ecn, red and rio are no keywords any more. use STRING andHenning Brauer
strcmp instead.
2003-03-27switch symset/symget to TAILQ instead of using hand baked listsHenning Brauer
ok dhartmei@ cedric@
2003-03-24Add missing return. Fix following buglet:Cedric Berger
# echo "pass in from <veryLONGtableNAME>" | pfctl -nvf- pass in from <veryLONGtableNAME>/0 to any
2003-03-21document ceccerrs and cecclast for sparc64Jason Wright
2003-03-21document [initiator-id] section; richb@timestone.com.au; ok ho@, jmc@Markus Friedl
2003-03-19inet_net_pton acts weird when it comes to multicast addresses. so pass theHenning Brauer
netmask given by the OP to host_v4(), and in case it wasn't specified, do not trust inet_net_pton telling is it is a /4 but use /32. otherwise, "pass in from 224.0.0.6" suddenly became "pass in from 224.0.0.0/4", which is clearly not the desired result. inet_net_pton behaviour under investigation, using the least intrusive fix for now. found after bug report From: Julien Bordet <zejames@greyhats.org> via dhartmei ok daniel cedric
2003-03-19kill the address token and move the host() invocation up to the host token,Henning Brauer
so that host() always gets the full address to be parsed including the netmask instead of applying the netmask afterwards. this could break some edge cases and was broken since the (interface)/24 fix. new token dynaddr for, well, dynaddr, and apply an eventually given netmask afterwards in the host token just in this case. found after bug report From: Julien Bordet <zejames@greyhats.org> via dhartmei ok daniel cedric
2003-03-16secrity -> security. Ok ho@Matthieu Herrb
2003-03-16modifed -> modifiedmargarida
2003-03-16Use len+1 as the size parameter to strlcpy() since len does not includeTodd C. Miller
the trailing NUL. From krw@; deraadt@ OK
2003-03-14Spelling fixes from david@. jmc@ ok.Hakan Olsson
2003-03-14unkown -> unknownmargarida
ok millert@
2003-03-14tweak; millert okTheo de Raadt
2003-03-13Remove duplicate Amoeba entries.Miod Vallat