Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-11-30 | check pkt->type in pkt_encode() | Laurent Ghigonis | 1 | -0/+2 | |
2012-11-30 | TODO -= 4 | Laurent Ghigonis | 1 | -4/+0 | |
2012-11-30 | handle loglevel by passing one or multiple -v. | Laurent Ghigonis | 1 | -37/+75 | |
by default, do not print anything else than errors | |||||
2012-11-30 | fix indent | Laurent Ghigonis | 1 | -1/+1 | |
2012-11-30 | fix indent. | Laurent Ghigonis | 1 | -4/+3 | |
no functionnal change | |||||
2012-11-30 | update after libglouglou gg_packet API break | Laurent Ghigonis | 1 | -10/+14 | |
2012-11-30 | set libglouglou verbosity relative to log level | Laurent Ghigonis | 1 | -0/+2 | |
2012-11-30 | work on encoding / decoding gg_packet | Laurent Ghigonis | 2 | -102/+145 | |
* we now do the byte order convertion in libglouglou when *_send(pkt) is called * fix encoding and decoding: byte order, packet len * simpler packet representation, one layer of structs only * setup a nicer solution to get packets size depending on their type * when in verbose mode, show which check failed in pkt_decode() WARNING: This breaks API ! All libglouglou users need to update their gg_packet usage | |||||
2012-11-30 | revert +1 for \0 idea | Laurent Ghigonis | 1 | -2/+2 | |
2012-11-30 | add comment about \0 at the end of gg_packet variable args size | Laurent Ghigonis | 1 | -2/+2 | |
2012-11-30 | variable arguments should be one byte more, to store the \0 | Laurent Ghigonis | 1 | -2/+2 | |
2012-11-30 | useless to set buf to NULL, as it's not tested after | Laurent Ghigonis | 1 | -1/+0 | |
2012-11-30 | fix indent | Laurent Ghigonis | 1 | -2/+2 | |
2012-11-30 | add error() verbose() and debug() to log stuff from libglouglou, | Laurent Ghigonis | 2 | -21/+50 | |
and gg_verbosity_get() and gg_verbosity_set() to change libglouglou verbosity level | |||||
2012-11-29 | TODO-- | Laurent Ghigonis | 1 | -1/+0 | |
2012-11-29 | add BUG | Laurent Ghigonis | 1 | -0/+1 | |
2012-11-29 | make gg_packet static when returned by pkt_decode and handle_packet callback, | Laurent Ghigonis | 1 | -29/+29 | |
and mention it in function comments | |||||
2012-11-29 | add security mention when starting server or creating a client : | Laurent Ghigonis | 1 | -0/+2 | |
"for security, do not set handle_packet if you don't need it" | |||||
2012-11-29 | don't go into packet decoding if the user did not set a handle_packet callback. | Laurent Ghigonis | 1 | -20/+22 | |
this makes probes that runs as root less exposed if they don't register this callback. | |||||
2012-11-29 | use user_send() instead of directly sendto() | Laurent Ghigonis | 1 | -3/+1 | |
2012-11-29 | TODO++, based on testing | Laurent Ghigonis | 1 | -0/+4 | |
2012-11-29 | uddate naming after changes | Laurent Ghigonis | 1 | -18/+18 | |
2012-11-29 | update README after name changes | Laurent Ghigonis | 1 | -2/+2 | |
2012-11-29 | better naming | Laurent Ghigonis | 4 | -0/+0 | |
2012-11-29 | better naming | Laurent Ghigonis | 3 | -0/+0 | |