Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-06-10 | No point in keeping a list of file systems here, instead just refer to | Pedro Martelletto | |
whatever the kernel supports, okay deraadt@ | |||
2005-06-10 | Make sure that the ATTR_EXTLEN flag is unset if the attribute length is | Claudio Jeker | |
smaller than 255 bytes. | |||
2005-06-10 | Introduce attr_optlen() to get the total lenght of an optional attribute | Claudio Jeker | |
plus header. Soon needed. | |||
2005-06-10 | As we no longer send IMSG_CTL_SHOW_RIB_PREFIX from bgpd to bgpctl simplify | Claudio Jeker | |
show_rib_summary_msg(). | |||
2005-06-10 | Simplify show rib upcalls. Kill one mostly unused function. | Claudio Jeker | |
2005-06-10 | If any of fds 0-2 are not open, dup them to our /dev/null fd. | Todd C. Miller | |
Prevents the socket from being closed in this case. OK deraadt@ | |||
2005-06-09 | Change the "network connected|static" statements to "network inet|inet6 | Claudio Jeker | |
connected|static" so that it is possible to distinguish between IPv4 and IPv6 addresses. "network connected|static" is considered deprecated but will be supported as an alias for "network inet connected|static" for some time (one release) to simplify upgrades. This also solve a nasty crash when using "network connected". OK henning@ | |||
2005-06-09 | .Xr sysctl(8); ok jmc, deraadt | Xavier Santolaria | |
2005-06-09 | If there is a problem to connect to a remote peer, do the same log damping | Claudio Jeker | |
as for other errors. Save the errno and only print a message if the errno changed. So the log is not filled with "socket error: Connection refused" when the peer is not yet listening on that address. OK henning@ | |||
2005-06-09 | spelling | Theo de Raadt | |
2005-06-08 | Force pid file fd to be > 2 so we don't clobber it when dup'ing | Todd C. Miller | |
fds 0-2 to /dev/null. Tested and OK aaron@ | |||
2005-06-08 | squeeze +COMMENT in front of +DESC. | Marc Espie | |
Transparently handle both package types, until everyone has transitionned to new style. Reasons for the change: - comment and desc are never written independently - access to comment necessitates a file read anyways. - shaves one inode and (mostly) one block from each installed package. Since this is /var, and there is often a lot of stuff going on in a small partition, this helps. Done after griping from tedu@, okay'd pval@ | |||
2005-06-07 | Set the reject and blackhole flags for kernel routes too. This makes the | Claudio Jeker | |
bgpctl show fib output more logical, especially for INET6 because many prfixes have the reject flag set. OK henning@ | |||
2005-06-07 | Fix the mask2prefixlen6() function once and for all. Netmasks are stored in | Claudio 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-07 | For 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-07 | In case strlcpy() indicates that a string was truncated fail with errx(). | Claudio Jeker | |
No need for other strange constructs. OK henning@ | |||
2005-06-07 | strlcpy cleanup; cloder ok | Theo de Raadt | |
2005-06-07 | add OpenBSD cvs tags, prompted by xsa@ | Camiel Dobbelaar | |
2005-06-07 | Don't restrict what login name may be removed, the account may | Todd 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-07 | Introduce verbose option to control the logging of the pf rules. | Camiel Dobbelaar | |
ok beck mpf | |||
2005-06-06 | memory leak on SIGHUP for memory buffer logs, based on fix by Stephen Marley; | Damien Miller | |
ok avsm@ | |||
2005-06-06 | fix fd leak on SIGHUP after config change, spotted by Stephen Marley; ok avsm@ | Damien Miller | |
2005-06-06 | add ike encap types UDP_ENCAP_TUNNEL and UDP_ENCAP_TRANSPORT | Hans-Joerg Hoexer | |
2005-06-06 | allow show fib to be limited to inet or inet6 families, claudio ok | Henning Brauer | |
2005-06-06 | add support for a "family" token, allows to select address families | Henning Brauer | |
2005-06-06 | let "show fib" print out both the v4 and the v6 routes. | Henning Brauer | |
2005-06-05 | on CTL_KROUTE requests, send back both v4 and v6 routes | Henning Brauer | |
2005-06-05 | work around another disgusting ugliness in v6: the netmasks we get on | Henning Brauer | |
the routing socket have crap in the lower bytes, so instead of using a straightforward and rather simple algorithm to convert them to prefix lengths we have to do quite some ugly manual fiddling... disgusting. | |||
2005-06-05 | make log_in6addr actually work correctly - it is astounding how ugly things | Henning Brauer | |
are in the v6 world. the lower 16 bits of the scope ID are embedded in byte 3 and 4 of the address for link-local addresses... sometimes, at least. these btes have to be 0 by definition, so we need to fiddle the scope ID out and reset those bytes to 0. embedding the scopeID like that is the most disgusting hack I have seen in a while. | |||
2005-06-05 | provide cleartext messages for the cease suberror codes | Henning Brauer | |
2005-06-05 | print the error for the last notification sent when we're IDLE in the | Henning Brauer | |
neighbor detail display | |||
2005-06-05 | grr, more whitespace KNF, more carrot for claudio | Henning Brauer | |
2005-06-04 | do not print the tcp connection details when the session is IDLE, we | Henning Brauer | |
have no connection in that case | |||
2005-06-04 | when the max-prefix limit was exceeded generate a STOP event; we do not | Henning Brauer | |
want the session to be restarted automagically in that case. | |||
2005-06-04 | call the FSM with a CON_FATAL event after sending notifications in the cases | Henning Brauer | |
where it was missing so that we actually close the connection | |||
2005-06-04 | do not send out suberrorcodes for cease errors; there are none in the | Henning Brauer | |
standard | |||
2005-06-04 | use the recorded error code to prevent sending out multiple notifications | Henning Brauer | |
2005-06-04 | when sending out a notification record the error code and suberror code in | Henning Brauer | |
the peer stats struct, and clear them as soon as the session leaves IDLE | |||
2005-06-04 | be more clear about route-age | Henning Brauer | |
2005-06-04 | relay IMSG_CTL_KROUTE6 as well, from somewhere in BC on the drive to vancouver | Henning Brauer | |
2005-06-04 | Clean up gcc-isms. OK tholo | Chad Loder | |
2005-06-03 | cleanup | Theo de Raadt | |
2005-06-03 | various tweaks; | Jason McIntyre | |
ok tholo@ | |||
2005-06-03 | Don't use __LINE__ to prevent binary changing when nothing really | Alexander Yurchenko | |
changes. ok tholo@ | |||
2005-06-03 | i386 and amd64 only | Theo de Raadt | |
2005-06-03 | not like this yet, it is ugly | Theo de Raadt | |
2005-06-03 | print negative values correctly; From: serge rasnikov <747500@gmail.com> | Henning Brauer | |
2005-06-02 | Start on a basic ACPI framework -- does not do much more than read out the | Thorsten Lockert | |
ACPI tables into kernel memory and attach ACPI and HPET timers currently. In order to test this code, enabling the devices in GENERIC as well as the ACPI_ENABLE option is needed. This code does not do any thermal control yet, so this should be done with care depending on the platform. In the tree so more people can contribute to making this more fully featured. Ok niklas@ grange@ tedu@ | |||
2005-06-02 | Use the correct pointer when printing out the error message. OK henning | Chad Loder | |
2005-06-02 | Cleanup recent kroute6 additions. OK henning | Chad Loder | |