summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2004-03-16delay creating the control socket until after forking, but before chrootHenning Brauer
2004-03-15properly check chdir success after chroot() and tweak err msgs a little,Henning Brauer
2004-03-12not debugging any moreHenning Brauer
2004-03-11Free unneeded mrt lists in SE and on exit. OK henning@Claudio Jeker
2004-03-10pass a pointer to the network list as well to session_main so we can free()Henning Brauer
2004-03-10while walking the peer list on shutdown free the peer structsHenning Brauer
2004-03-10pass a pointer to the filter rule list to session_main() so we can free()Henning Brauer
2004-03-10when we exit try to write out what is left in the msg buffers for the imsgHenning Brauer
2004-03-10remove unused functionHenning Brauer
2004-03-10implement framework to announce capabilities in the open messages we send.Henning Brauer
2004-03-05huch, remove a debug messageHenning Brauer
2004-03-05add a parser for the capability announcements using the OPEN message as perHenning Brauer
2004-03-05improve logging when we are unhappy with an OPEN message, claudio okHenning Brauer
2004-03-05let parse_open() call change_state() on error itself, so that after sendingHenning Brauer
2004-03-05implement a parser for the optional attributes in OPEN messages and properlyHenning Brauer
2004-03-05when a session that had a tcp connection established is pushed back to IDLE,Henning Brauer
2004-02-26show rib infrastructure. At least full dumps and per as dumps. Per prefixClaudio Jeker
2004-02-25Rewrite some parts of the mrt dump handling. It is no longer possible toClaudio Jeker
2004-02-21keep O_NONBLOCK after teh tcp sessions are established, claudio okHenning Brauer
2004-02-18fix thinko in the revents & (POLLIN|POLLOUT) caseHenning Brauer
2004-02-17improve logging on connection open failHenning Brauer
2004-02-17init wbuf.sock too in init_peer()Henning Brauer
2004-02-17bit better err msgs after buf_close (which can't fail anyway actually)Henning Brauer
2004-02-17check for EAGAIN after readHenning Brauer
2004-02-17two more returns; open msg counter might have gotten increased too muchHenning Brauer
2004-02-17On write error return and do not try to make a read. OK henning@Claudio Jeker
2004-02-17init len for getsockname and getpeername, found and ok claudioHenning Brauer
2004-02-16superfluous tabsClaudio Jeker
2004-02-16Make the path attribute handling more RFC conformant. Also move theClaudio Jeker
2004-02-022 missing returns in error pathesHenning Brauer
2004-02-01put v6 cruft into session_up() while beeing there... claudio okHenning Brauer
2004-01-31rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIGHenning Brauer
2004-01-30-enable md5sig on the listening socketHenning Brauer
2004-01-29enable tcp md5sig om the connecting socket when md5sig is configured for thatHenning Brauer
2004-01-28improve loggingHenning Brauer
2004-01-28KNFHenning Brauer
2004-01-28catch SIGINT here as well so we can properly shut down if ^C'ed in debug modeHenning Brauer
2004-01-28STOP events for all sessions before we exit.Henning Brauer
2004-01-28repair the bind() in session_connect; only used if local-addr was specifiedHenning Brauer
2004-01-28improve loggingHenning Brauer
2004-01-28we need a pfkey_init the gets us a PF_KEY socket before we drop privsHenning Brauer
2004-01-28call pfkey_auth_establish() on START eventsHenning Brauer
2004-01-27use a struct bgpd_addr instead of sockaddr_in for peer_config->local_addr andHenning Brauer
2004-01-23make sure to only use the accept()ed connection of there is no other existingHenning Brauer
2004-01-23sync comments with reality and properly log accept() errorsHenning Brauer
2004-01-22make log_peer_* take a struct peer_config instead of the session engineHenning Brauer
2004-01-22use log_warnx and log_info. reclassify a few messages in the process and fixHenning Brauer
2004-01-22log_peer_err -> log_peer_warnHenning Brauer
2004-01-22s/log_err/log_warn/Henning Brauer
2004-01-17allow the interfaces as bgpd sees 'em to be queried via imsgsHenning Brauer