Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-11 | Mention the default address (0.0.0.0) and port (6653) that switchd(8) | akoshibe | |
uses. OK nayden@ kn@ | |||
2018-11-08 | Set sc_server.srv_tls value for "LISTEN ON STRING opttls". | akoshibe | |
OK phessler@ | |||
2018-11-08 | Currently, switchd(8) defaults to listening on port 6633, which was the | akoshibe | |
defacto port value used by OpenFlow. A decent chunk of OpenFlow controllers have switched over to the IANA standardized OpenFlow port, 6653. switchd(8) also randomizes its listen ports when one is not specified in switchd.conf(5).conf. Consolidate the #defines for port values, and set a default listen port. OK phessler@ claudio@, kn@ with separate switchd.conf(5) update | |||
2018-11-01 | - odd condition/test in PF lexer | Alexandr Nedvedicky | |
(and other lexers too) This commit rectifies earlier change: in the lex... even inside quotes, a \ followed by space or tab should expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). OK deraadt@, OK millert@ | |||
2018-10-30 | typo; from bryan stenson | Jason McIntyre | |
2018-09-10 | Mirror bluhm's fixes for proc.c daemons to dup /dev/null for child processes | akoshibe | |
in switchd(8). OK henning@ bluhm@ | |||
2018-09-09 | Make switchd(8) ignore PACKET_INs generated from looped traffic. Currently, | akoshibe | |
it responds to these messages with an invalid PACKET_OUT onto OFP*_PORT_ANY, resulting in the switch responding with an error, causing switchd to disconnect the switch. OK phessler@ claudio@ | |||
2018-09-07 | replace malloc()+strlcpy() with strndup() in cmdline_symset(). | miko | |
"looks good" gilles@ halex@ | |||
2018-08-05 | Remove cpath pledge(2) promise. We decided that not deleting the unix control | Ricardo Mestre | |
sockets cause no harm and this way we close another attack surface by not allowing the daemon to create/delete any more files. OK akoshibe@ florian@ | |||
2018-07-11 | Do for most running out of memory err() what was done for most running | Kenneth R Westerback | |
out of memory log_warn(). i.e. ("%s", __func__) instead of manual function names and redundant verbiage about which wrapper detected the out of memory condition. ok henning@ | |||
2018-07-09 | No need to mention which memory allocation entry point failed (malloc, | Kenneth R Westerback | |
calloc or strdup), we just need to log that we ran out of memory in a particular function. Recommended by florian@ and deraadt@ ok benno@ henning@ tb@ | |||
2018-07-08 | Be consistent in warn() and log_warn() usage when | Kenneth R Westerback | |
running out of memory. Next step, be correct *and* consistent. ok dennis@ tb@ benno@ schwarze@ | |||
2018-06-18 | remove the SECTIONS header, since a one line DESCRIPTION is a bit silly; | Jason McIntyre | |
use a more general text for the sections, and avoid the catchup issue that was trying to document how many there were; ok benno rob | |||
2018-06-11 | Fix an off-by-one line count when using include statements. | denis | |
Thanks to otto@ for the initial diff. OK benno@ | |||
2017-08-28 | 65535 is a valid port to listen on. | Florian Obser | |
Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT gmail, thanks! chris@ pointed out that more than httpd(8) is effected. OK gilles@ | |||
2017-08-06 | packet.c and parse.y no longer require err.h. ok jca@ florian@ | rob | |
2017-07-06 | /tmp/cvsa9y4jm | Marc Espie | |
2017-07-03 | no need to generate y.tab.h if nothing uses it, set YFLAGS to nothing | Marc Espie | |
instead of CLEANFILES += y.tab.h okay millert@ | |||
2017-05-29 | sync proc.c changes from relayd/httpd | Sebastian Benoit | |
2017-03-21 | From a syslog perspective it does not make sense to log fatal and | Alexander Bluhm | |
warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@ | |||
2017-03-08 | argument to the document description (Nd) macro should be lowercase. | Igor Sobrado | |
ok jmc@ | |||
2017-01-17 | Nuke some whitespace that keeps poking me in the eye as I try to | Kenneth R Westerback | |
steal code. | |||
2017-01-17 | Fix OXM parser for set-field messages. Found it the hardway while | Rafael Zalamena | |
testing set-field configuration. | |||
2017-01-16 | pasto; snmpd->switchd in sample "include" line. ok reyk@ | Stuart Henderson | |
2017-01-09 | Stop accessing verbose and debug variables from log.c directly. | Reyk Floeter | |
This replaces log_verbose() and "extern int verbose" with the two functions log_setverbose() and log_getverbose(). Pointed out by benno@ OK krw@ eric@ gilles@ (OK gilles@ for the snmpd bits as well) | |||
2017-01-09 | Replace hand-rolled for(;;) traversal of ctl_conns TAILQ with | Kenneth R Westerback | |
TAILQ_FOREACH(). No intentional functional change. ok reyk@ | |||
2017-01-08 | Sync log.c with the latest version from vmd/log.c that preserves errno | Reyk Floeter | |
so it is safe calling log_* after an error without loosing the it. | |||
2017-01-05 | Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQ | Kenneth R Westerback | |
with more modern TAILQ_FOREACH(). This what symget() was already doing. Add paranoia '{}' around body of symget()'s TAILQ_FOREACH(). No intentional functional change. ok bluhm@ otto@ | |||
2016-12-22 | Learn remote switch flow tables properties to find out where to install | Rafael Zalamena | |
the default table-miss flow for OpenFlow 1.3.5. This is enough to make switchd(8) to work with switch(4) and HP 3800 switch out-of-the-box. ok reyk@ | |||
2016-12-02 | Implement the connection state machine for OpenFlow 1.0 and 1.3 to detect | Rafael Zalamena | |
invalid state transitions and invalid protocol version switching after the hello messages exchange. ok reyk@ | |||
2016-11-29 | article fix; from rob pierce | Jason McIntyre | |
2016-11-22 | Add "features request" support and reply validation. | Rafael Zalamena | |
ok reyk@ | |||
2016-11-22 | Implement support for version negotiation using hello messages. This | Rafael Zalamena | |
also prevents connections from switching the version in the middle of the operation. tweak from and ok reyk@ | |||
2016-11-21 | Do more strict checks of OXM by looking at mask restrictions and add | Rafael Zalamena | |
missing OXM type (IP_PROTO). ok reyk@ | |||
2016-11-21 | Add truncation validation for packet-out and reuse the action validation | Rafael Zalamena | |
function instead of manually rolling the code again. ok reyk@ | |||
2016-11-21 | Fix jumbo regress test for ofp10.c and use htonl() with OFP_PKTOUT_NO_BUFFER | Rafael Zalamena | |
for consistency. ok reyk@ | |||
2016-11-21 | Implement better table features validation. With this we get free switchctl | Rafael Zalamena | |
display of table features. ok reyk@ | |||
2016-11-21 | Parse flow-status instructions in multipart replies, so we can see what | Rafael Zalamena | |
instructions are used by the flow. | |||
2016-11-18 | The special LOCAL and CONTROLLER ports are valid source ports that | Reyk Floeter | |
should be learned by the cache. Fixes "addlocal" ports on switch(4). OK rzalamena@ | |||
2016-11-18 | Make switchd(8) use more strings just like tcpdump(8). While here remove | Rafael Zalamena | |
action field display from features request. | |||
2016-11-18 | Define a group_id map and rename the defines accordingly. | Reyk Floeter | |
Requested by rzalamena@ | |||
2016-11-18 | Define constmap in ofp_map.h to be shared along with ofp_map.c | Reyk Floeter | |
2016-11-18 | Remove leading _ from include guards as this violates the reserved space. | Reyk Floeter | |
2016-11-18 | Add more maps to print. As discussed with rzalamena@ | Reyk Floeter | |
2016-11-18 | Exclude the description field from the generated maps by default. | Reyk Floeter | |
2016-11-18 | Small code improvements: | Rafael Zalamena | |
- Free ibufs on validation failures; - Don't use htons() for flow-mod command; ok reyk@ | |||
2016-11-18 | Fix the flowmod header to send the correct command and buffer id. | Reyk Floeter | |
OK rzalamena@ | |||
2016-11-18 | Define the struct constmap in each generated C file. | Reyk Floeter | |
2016-11-18 | Fix file reference in generated comment OK rzalamena@ | Reyk Floeter | |
2016-11-17 | Fix some styles issues: break big lines and remove some useless spaces. | Rafael Zalamena | |