aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* handle process exit eventsLaurent Ghigonis2012-11-302-1/+22
|
* check pkt->type in pkt_encode()Laurent Ghigonis2012-11-301-0/+2
|
* TODO -= 4Laurent Ghigonis2012-11-301-4/+0
|
* handle loglevel by passing one or multiple -v.Laurent Ghigonis2012-11-301-37/+75
| | | | by default, do not print anything else than errors
* fix indentLaurent Ghigonis2012-11-301-1/+1
|
* fix indent.Laurent Ghigonis2012-11-301-4/+3
| | | | no functionnal change
* update after libglouglou gg_packet API breakLaurent Ghigonis2012-11-301-10/+14
|
* set libglouglou verbosity relative to log levelLaurent Ghigonis2012-11-301-0/+2
|
* work on encoding / decoding gg_packetLaurent Ghigonis2012-11-302-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
* revert +1 for \0 ideaLaurent Ghigonis2012-11-301-2/+2
|
* add comment about \0 at the end of gg_packet variable args sizeLaurent Ghigonis2012-11-301-2/+2
|
* variable arguments should be one byte more, to store the \0Laurent Ghigonis2012-11-301-2/+2
|
* useless to set buf to NULL, as it's not tested afterLaurent Ghigonis2012-11-301-1/+0
|
* fix indentLaurent Ghigonis2012-11-301-2/+2
|
* add error() verbose() and debug() to log stuff from libglouglou,Laurent Ghigonis2012-11-302-21/+50
| | | | | and gg_verbosity_get() and gg_verbosity_set() to change libglouglou verbosity level
* TODO--Laurent Ghigonis2012-11-291-1/+0
|
* add BUGLaurent Ghigonis2012-11-291-0/+1
|
* make gg_packet static when returned by pkt_decode and handle_packet callback,Laurent Ghigonis2012-11-291-29/+29
| | | | and mention it in function comments
* add security mention when starting server or creating a client :Laurent Ghigonis2012-11-291-0/+2
| | | | "for security, do not set handle_packet if you don't need it"
* don't go into packet decoding if the user did not set a handle_packet callback.Laurent Ghigonis2012-11-291-20/+22
| | | | | this makes probes that runs as root less exposed if they don't register this callback.
* use user_send() instead of directly sendto()Laurent Ghigonis2012-11-291-3/+1
|
* TODO++, based on testingLaurent Ghigonis2012-11-291-0/+4
|
* uddate naming after changesLaurent Ghigonis2012-11-291-18/+18
|
* update README after name changesLaurent Ghigonis2012-11-291-2/+2
|
* better namingLaurent Ghigonis2012-11-294-0/+0
|
* better namingLaurent Ghigonis2012-11-293-0/+0
|
* indicate where elife isLaurent Ghigonis2012-11-291-0/+1
|
* remove extra lineLaurent Ghigonis2012-11-291-1/+0
|
* use EVLOOP_NONBLOCK in event_base_loop(), as we now deal with timers inLaurent Ghigonis2012-11-292-4/+6
| | | | gg_client so we need more event cycles than EVLOOP_ONCE.
* many improvements, mainly on gg_clientLaurent Ghigonis2012-11-292-62/+162
| | | | | | | | * when client or server disconnects, correctly inform the other party * add a reconnect mechanism for gg_client() based on timers * clean function headers * improve *_send() code * client now ignores packets from someone else than it's server
* correctly gg_server_stop() the 2 servers on exit.Laurent Ghigonis2012-11-291-5/+8
| | | | better naming.
* update comments about where it comes fromLaurent Ghigonis2012-11-291-1/+1
|
* glouglou_ruby is old/Laurent Ghigonis2012-11-294-0/+0
|
* TODO++Laurent Ghigonis2012-11-291-0/+1
|
* TODO--Laurent Ghigonis2012-11-291-1/+0
|
* send process event message through glouglou !Laurent Ghigonis2012-11-291-0/+13
|
* basic process event message handlingLaurent Ghigonis2012-11-292-12/+67
|
* remove TODO, in README.txt nowLaurent Ghigonis2012-11-291-2/+0
|
* add TODOLaurent Ghigonis2012-11-291-0/+6
|
* add libglouglou and libevent linkingLaurent Ghigonis2012-11-291-1/+1
|
* netlink socket handling via libeventLaurent Ghigonis2012-11-291-209/+216
|
* use glouglou ports constantsLaurent Ghigonis2012-11-291-2/+2
|
* set default ports as constants, and use them in sendrecv unittestLaurent Ghigonis2012-11-292-2/+7
|
* add preliminary version of gg_trackprock, from trackprocLaurent Ghigonis2012-11-293-0/+284
|
* move around functions so they are in the right order.Laurent Ghigonis2012-11-291-111/+115
| | | | no functionnal change
* correctly handle signalsLaurent Ghigonis2012-11-291-1/+12
|
* update roadmap for 0.4Laurent Ghigonis2012-11-291-4/+3
|
* do the proxification goofooLaurent Ghigonis2012-11-291-2/+36
|
* auto calculate the packet size in gg_*_send()Laurent Ghigonis2012-11-293-6/+41
|
* add very basic glougloudLaurent Ghigonis2012-11-293-0/+133
|