summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-06-08add open_write_error() to bail on fopen(3) failing to open for write, gainsPeter Valchev
more descriptive error messages, eg: "cannot open target file y.tab.h for writing" as opposed to a generic error. based on Alexander von Gernler <grunk@pestilenz.org>, ok deraadt
2005-06-08in rtlabel_name2id, handle the case of an empty name: return 0Henning Brauer
label id 0 means "no label". in pf_ioctl, where this is used to filter based on a label, this is an error condition. for the other 2 cases, messages on the routing socket, this allows for an sockaddr_rtlabel to be always present for messages on the routing socket, and when it is all zero it is exactly like if there was no sockaddr_rtlabel at all. ryan ok
2005-06-08syncTheo de Raadt
2005-06-08more inet6 stuff that got exposedTheo de Raadt
2005-06-08handle ramdisks, and kernels without inet6; henning okTheo de Raadt
2005-06-07move description of the default groups to the ifconfog manpageHenning Brauer
netintro should only give an intro, not the glory details :) theo ok
2005-06-07sync ifgroups paragraph with realityHenning Brauer
wether it really belongs to netintro to be discussed seperately
2005-06-07remove NETISR_ISO and NETISR_CCITTMartin Reindl
ok henning@
2005-06-07revert previous commit and unbreak sparc64.Kurt Miller
okay deraadt
2005-06-07put the whole thing in this time.Brad Smith
add support for the BCM5714.
2005-06-07undo busted diff. why AGAIN brad????Theo de Raadt
2005-06-07RC4 is a trademark. Rest of text left intact.Kjell Wooding
2005-06-07Set the reject and blackhole flags for kernel routes too. This makes theClaudio Jeker
bgpctl show fib output more logical, especially for INET6 because many prfixes have the reject flag set. OK henning@
2005-06-07Fix the mask2prefixlen6() function once and for all. Netmasks are stored inClaudio Jeker
an own AF independent radix tree. So the passed sockaddrs are often smaller than the actual AF specific struct, especially sockaddr_in6. So the crap Henning saw in the mask was acctually the next struct sockaddr that was passed in the routing message. So pass the struct sockaddr_in6 and compare only the specified number of bytes (minus the offset of sin6_addr in the struct sockaddr_in6). Amazing!.. OK henning@
2005-06-07introduce a default "external" interface group, containing the interface(s)Henning Brauer
the the default route(s) point to. handles IPv4 and IPv6 as well as multipath routes. follows default route changes, of course. eases writing pf rulesets especially on laptops etc. that use different interfaces depending on the environment (wired, wireless, ...) ok theo ryan
2005-06-07oopsTheo de Raadt
2005-06-07For show rib -- show_rib_summary_msg() and print_prefix() -- use log_addr()Claudio Jeker
to print prefixes and nexthops and suddenly we can print IPv6 addresses that are stored in the RIB. Makes the code even simpler. OK henning@
2005-06-07In case strlcpy() indicates that a string was truncated fail with errx().Claudio Jeker
No need for other strange constructs. OK henning@
2005-06-07avoid retarded C unsigned char -> signed integer promotion rules.Theo de Raadt
mac->ac_enaddr[2] << 24 resulted in sign extension smashing other stuff djast@cs.toronto.edu, ok mickey
2005-06-07add support for the BCM5714.Brad Smith
From FreeBSD
2005-06-07de-register, ok henningCamiel Dobbelaar
2005-06-07make it prettier; jason okTheo de Raadt
2005-06-07wrong OpenBSD define for 3.7, oops; Claus AssmannTheo de Raadt
2005-06-07shorten NAME section and mention some more chipsBrad Smith
2005-06-07strlcpy cleanup; cloder okTheo de Raadt
2005-06-07don't forget to call cvs_disconnect() at the endJoris Vink
of a remote connection. ok xsa@
2005-06-07silly me. do not abuse the copy/paste skills i have ...Xavier Santolaria
2005-06-07enable -P option .. joris@ okXavier Santolaria
2005-06-07fix define vs. device mixupHans-Joerg Hoexer
ok miod
2005-06-07add OpenBSD cvs tags, prompted by xsa@Camiel Dobbelaar
2005-06-07catch SIGWINCH and resize progress meter accordingly; ok markus dtuckerJared Yanovich
2005-06-07some chips support 802.11a too...Jason McIntyre
ok reyk@
2005-06-07add the -P option in the checkout example; ok jmc@ joris@.Xavier Santolaria
2005-06-07note that netstat output may differ slightly for manual keying;Jason McIntyre
issue found by christophe plasschaert and clarified by hshoexer@; ok hshoexer@
2005-06-07remove ancient and unused CVS define. it was a leftover fromJoris Vink
the daemon. ok xsa@
2005-06-07no need to insert spacing between list members;Jason McIntyre
2005-06-07cvs_path_cat() already sets errno, no need to duplicate.Xavier Santolaria
2005-06-07only display the ``cannot open ./CVS/Entries'' error message whenXavier Santolaria
appropriate ... ok joris@.
2005-06-07Run vlan_input before bridge_input, and change vlan_input to notCamiel Dobbelaar
consume vlan frames that no vlan interface wants, so they can still be bridged. This way, the bridge can bridge encapsulated frames _and_ bridge between vlan interfaces. ok henning markus
2005-06-07fix a possible panic in error path,Can Erkin Acar
do not try to check debug status of a non existing interface in server mode.
2005-06-07Don't restrict what login name may be removed, the account mayTodd C. Miller
have been made with a tool other than adduser and thus may use characters adduser considers illegal. OK henning@ and krw@
2005-06-07adding pointer protection to 'G' was too heavyweight. Since malloc guardTed Unangst
should be generally usable, split this out into option 'P'. ok deraadt
2005-06-07Introduce verbose option to control the logging of the pf rules.Camiel Dobbelaar
ok beck mpf
2005-06-07-netccitt/Henning Brauer
2005-06-07no more CCITTHenning Brauer
2005-06-07remove commented-out CCITT optionHenning Brauer
2005-06-07do not handle CCITT any longerHenning Brauer
2005-06-07don't include ccitt headers (were not used anyway)Henning Brauer
2005-06-07remove CCITT handlingHenning Brauer
2005-06-07CCITT about to bite the dust, remove special casing in archs and driversHenning Brauer