summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2003-03-09if fopen fails, do not bork; rob@animoid-row.orgTheo de Raadt
2003-03-08Remove unneeded #includes, from Andrey Matveev andrushock(at)pisem(dot)netDaniel Hartmeier
2003-03-08fix the obvious:Henning Brauer
since we do not modify the struct pf_altq *a any more but our private copy, we can of course not inherit teh scheduler type from it, since it did not inherit the scheduler type from the parent. so just inherit the scheduler type from the parent directly... ok dhartmei@ cedric@
2003-03-08in expand_queue, make a private copy of the struct pf_altq before modifyingHenning Brauer
it. modifying the original one had undesired side effects if a queue was expanded to more than one because it belonged to more than one interface ok pb@ cedric@ dhartmei@
2003-03-08when complaining about a queue's abndwidth beeing to small (below theHenning Brauer
resolution we can handle), don't say it must be >6KB, the value actually depends on quite some factors, including interface MTU. Instead, calculate the real minimum value and show that. mpech@ did a good job in bugging me to fix that ;-) ok pb@ dhartmei@ cedric@
2003-03-08inlcude queue interals in -gsr and -gsq output; will make debugging easier.Henning Brauer
ok cedric@ pb@
2003-03-07Only show non-active tables when the -g flag is given.Cedric Berger
ok dhartmei@ henning@
2003-03-07document -gHenning Brauer
ok jmc@
2003-03-07don't include debugging output, namely, the result of teh skip stepsHenning Brauer
calculation, in verbose output (pfctl -vvsr). Instead, use a new flag -g for that. result of a longer discussion with dhartmei@ and jakob@ ok cedric@ pb@
2003-03-07spelling errors/typosDavid Krause
ok jmc@
2003-03-07don't print out the complete keyboard map when changed; ok miod@Markus Friedl
2003-03-06.Xr typos;Jason McIntyre
ok deraadt@
2003-03-06fix text2sockaddr() when HAVE_GETNAMEINFO is false and port is NULL.Cedric Berger
ok ho@
2003-03-06"len" is decremented too early, so the second argumentCedric Berger
of the snprintf call is too small on last run of the loop. ok ho@
2003-03-06Bad cut'n'paste msg plus style fixes.Hakan Olsson
2003-03-06fix queue assignment on filter rules which are not bound to an interface.Henning Brauer
when looking up the queue IDs using qname_to_qid, we do not need to limit the matching on the interface in question, as it is guaranteed that same named queues on different interfaces habe the same queue id. moreover, we must not limit the matches to the interface if we do not have an interface given on the filter rule to match on ;-) found after problems reported by Andre Nathan <andre at v2r dot com dot br> ok dhartmei@ pb@ cedric@
2003-03-06Less ambiguous l-value usage. Noted by cedric@Hakan Olsson
2003-03-06Make fsdb(8) a little easier to find with some cross references.Hugh Graham
2003-03-06date should be written formally: .Dd Month day, yearDavid Krause
ok henning@ jmc@
2003-03-06tweak wording and mdoc formattingDavid Krause
ok jmc@ henning@
2003-03-04wrap Ic in Xo/Xc until fixedTheo de Raadt
2003-03-03Re-add the BUGS section; the RFCs still do not permit differing DH groupsHakan Olsson
in the same proposal. This time, mention that this also applies to mixing PFS and non-PFS suites.
2003-03-03rate2str() overhaul:Henning Brauer
-do not print 100.00Kb but 100Kb, but still 1.50Mb. requested by theo. hint by dhartmei lead to a easier algorithm than initially had -while beeing there, use a much nicer, shorter algorithm for determining and printing the unit. a little further easification thanks to a hint by markus@ ok dhartmei@ cedric@
2003-03-03Fix inaccuracies in comments.Miod Vallat
2003-03-02when printing queues at load time that have bandwidth specified in percent,Henning Brauer
print the bandwidth in percent instead of the calculated absolute value. if a queue belongs to more than one interface and they have different bandwidth the calculated absolute is of course different per interface. previously the first calculated absolute value was shown; what of course is incorrect on the second interface. note that only the print was wrong, the correct values were passed to the kernel. ok theo daniel
2003-03-02remove the control keyword for cbq queues.Henning Brauer
the control class was a legacy of the original CBQ design by LBL/Sun to support RSVP. the control class is not used in openbsd, in the sense that we don't automatically set filters for ICMP/IGMP/RSVP for the control class. ok dhartmei@ kjc@ deraadt@
2003-03-02add a guarantee that two same named queues on different interfaces have theHenning Brauer
same queue id. in the usual case this was already true, but not guaranteed. ok dhartmei@ kjc@
2003-03-01Add ANSI prototypes. Get rid of shadow warnings. Use correctChad Loder
printf format specifiers where needed. Clarify one comment. Now compiles with -Wmissing-prototypes -Wshadow, and this is reflected in the Makefile. OK deraadt@
2003-02-28typos. ok jmc@Ted Unangst
2003-02-27Refer to reboot(2). Other commands from section 8 (mount, chown) referChad Loder
to their section 2 counterparts. OK jmc@
2003-02-27modify error message to match the same 7 sections in pf.conf(5)David Krause
ok deraadt@ henning@
2003-02-26Typo/pasto. Spotted by Tim Donahue.Hakan Olsson
2003-02-26in expand_rule, correctly set r->pqid if a priority queue was defined, andHenning Brauer
reuse the value of r->qid if not. ok dhartmei@ mcbride@
2003-02-26.Dv PF_KEYMarkus Friedl
2003-02-26pass sadb_msg to print_xxx because print_sa needs to check the satypeMarkus Friedl
(for ipcomp).
2003-02-26IPsec is written ``IPsec'', not ``IPSec''.David Krause
ok ho@
2003-02-25implement 'show' and 'monitor' commands; ok djm@, deraadt@, cedric@Markus Friedl
2003-02-25some minor KNF my fingers just did...Henning Brauer
ok dhartmei@ cedric@
2003-02-25repair/simplify/flexify binat userland.Cedric Berger
ok dhartmei@ henning@
2003-02-25extend copyright to 2003Henning Brauer
2003-02-24when a macro is redefined, don't bother with reusing the existing entry inHenning Brauer
symset() but just prepend a new sym entry to symhead like we always did. as symget searches the list sequentially, the newest one is picked first. prevents an endless loop introduced when trying to reuse the existing entry by an invalid setting for the next pointer. fixes regress test pf57. found after conversation with Chris Linn, celinn at mtu dot edu ok dhartmei@ cedric@
2003-02-24lzs with hifn.4 is available tooJason Wright
2003-02-24pf_key_v2_flow: typo in debug msg (KAME)Markus Friedl
2003-02-24echo->printf, because echo does not accept "\n" in all shells.Cedric Berger
ok henning@
2003-02-24to toHenning Brauer
found by krause
2003-02-24bye byeTheo de Raadt
2003-02-24Remove tcfs until this entire licensing mess is cleaned up. This isTheo de Raadt
ANOTHER case of a developer having ignored licenses when importing code.
2003-02-22typo: noneheless->nonthelessKjell Wooding
2003-02-22Clarify some language, grammar. ho@ okayed this many moons ago,Kjell Wooding
and I forgot all about it.
2003-02-21re-allow set loginterface noneHenning Brauer
ok cedric@ dhartmei@