Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | double GGNET_DNSNAME_MAX and GG_PKTARG_MAX to allow for longer fqdn | Laurent Ghigonis | 2012-12-15 | 2 | -2/+2 |
| | |||||
* | fix dns resolving: evdns eats network byte order ! | Laurent Ghigonis | 2012-12-15 | 2 | -1/+6 |
| | |||||
* | revert previous commit, my brain was deeply flawed | Laurent Ghigonis | 2012-12-15 | 1 | -1/+0 |
| | |||||
* | fix network byte order of IP parsed from cmdline | Laurent Ghigonis | 2012-12-15 | 1 | -0/+1 |
| | |||||
* | do not call ggnet user callback if we do not get a positive answer from the | Laurent Ghigonis | 2012-12-15 | 1 | -2/+3 |
| | | | | PTR query | ||||
* | wait 5 seconds maximum, and differentiate error from no answer | Laurent Ghigonis | 2012-12-15 | 1 | -1/+14 |
| | |||||
* | call the user callback even on error but with NULL as name | Laurent Ghigonis | 2012-12-15 | 1 | -10/+6 |
| | |||||
* | add Makefile for examples/ of libglouglou | Laurent Ghigonis | 2012-12-15 | 1 | -0/+10 |
| | |||||
* | add example of ggnet_dns reverse dns lookup usage | Laurent Ghigonis | 2012-12-15 | 1 | -0/+38 |
| | |||||
* | fix handling of name returned by evdns. | Laurent Ghigonis | 2012-12-15 | 1 | -2/+8 |
| | | | | their documentation is wrong, i will send them an email. | ||||
* | fix packet PACKET_NAME len decoding | Laurent Ghigonis | 2012-12-15 | 1 | -1/+1 |
| | |||||
* | add necessary code in libggnet to do resolving of nodes names. | Laurent Ghigonis | 2012-12-15 | 4 | -48/+59 |
| | | | | modify libggnet_dns structure to fit with these changes. | ||||
* | add (struct ggnet *) in cb_nodename() arguments | Laurent Ghigonis | 2012-12-15 | 2 | -3/+3 |
| | |||||
* | rename ggnet_grouping_set() to ggnet_set_grouping(), to match ggnet_set_dns(). | Laurent Ghigonis | 2012-12-15 | 2 | -3/+2 |
| | | | | fix usage in gg_map | ||||
* | variable rename to avoid confusion | Laurent Ghigonis | 2012-12-15 | 1 | -17/+17 |
| | |||||
* | integrate gg_sniff dns handling into libggnet | Laurent Ghigonis | 2012-12-15 | 5 | -4/+167 |
| | | | | | | | | it can be enabled in ggnet by calling ggnet_set_dns(), or can be used independently by including <libggnet_dns.h> an calling ggnet_dns_new(), ggnet_dns_free() and ggnet_dns_reverse() WARNING: not tested yet, only compiles | ||||
* | remove all reference to libglouglou. | Laurent Ghigonis | 2012-12-15 | 2 | -19/+55 |
| | | | | | this implies adding a debug variable to struct ggnet and corresponding ggnet_debug_set() | ||||
* | keep track of group connection usage | Laurent Ghigonis | 2012-12-13 | 2 | -0/+13 |
| | |||||
* | implement node group parenting, for now only for the existing GROUP_ADDRESS | Laurent Ghigonis | 2012-12-13 | 2 | -16/+47 |
| | |||||
* | introducing node grouping, for now only on address | Laurent Ghigonis | 2012-12-13 | 2 | -0/+155 |
| | |||||
* | init connids only if we manage them | Laurent Ghigonis | 2012-12-13 | 1 | -2/+3 |
| | |||||
* | update last seen date on nodes too when we receive data | Laurent Ghigonis | 2012-12-13 | 1 | -0/+2 |
| | |||||
* | fix connection ID decoding | Laurent Ghigonis | 2012-12-12 | 1 | -3/+3 |
| | |||||
* | better packet encode / decode and size display, and colorisation of blobs | Laurent Ghigonis | 2012-12-11 | 1 | -0/+6 |
| | | | | depending on connection id. | ||||
* | define constant for size factor ratio for the packet size | Laurent Ghigonis | 2012-12-11 | 1 | -0/+1 |
| | |||||
* | correctly decode packet size | Laurent Ghigonis | 2012-12-11 | 1 | -2/+2 |
| | |||||
* | support for client side usage, and fix connection id handling | Laurent Ghigonis | 2012-12-10 | 2 | -15/+103 |
| | | | | | | | | * fix missing connection id initialisation * add user data keeping for nodes and connections * add accessors for src and dst of a connection * add new connection find functions * add option to disable connection id handling | ||||
* | oops, rename node_update_name() to ggnet_node_update_name() | Laurent Ghigonis | 2012-12-04 | 1 | -1/+2 |
| | |||||
* | correctly handle node names and add function node_update_name() | Laurent Ghigonis | 2012-12-04 | 2 | -5/+22 |
| | |||||
* | fix ggnet_conn_find() prototype | Laurent Ghigonis | 2012-12-04 | 1 | -1/+2 |
| | |||||
* | add missing response field in struct ggnet_conn | Laurent Ghigonis | 2012-12-04 | 1 | -0/+1 |
| | |||||
* | remove useless defines | Laurent Ghigonis | 2012-12-04 | 1 | -7/+0 |
| | |||||
* | add ifdef for the whole libggnet lib to protect against multiple inclusions | Laurent Ghigonis | 2012-12-04 | 1 | -0/+5 |
| | |||||
* | add ggnet_conn_find() | Laurent Ghigonis | 2012-12-04 | 1 | -0/+27 |
| | |||||
* | correctly handle size on connection response in ggnet_conn_data() | Laurent Ghigonis | 2012-12-04 | 1 | -0/+4 |
| | |||||
* | fix print debug text | Laurent Ghigonis | 2012-12-04 | 1 | -7/+7 |
| | |||||
* | libbsd is for linux only | Laurent Ghigonis | 2012-12-04 | 1 | -1/+1 |
| | |||||
* | explanation on libggnet | Laurent Ghigonis | 2012-12-04 | 1 | -1/+7 |
| | |||||
* | add libggnet, a helper to keep track of network nodes and connections | Laurent Ghigonis | 2012-12-04 | 3 | -2/+226 |
| | |||||
* | useless as we use the one from libbsd | Laurent Ghigonis | 2012-12-02 | 1 | -568/+0 |
| | |||||
* | droppriv(): ability not to chroot, and to chroot in a specific directory | Laurent Ghigonis | 2012-12-02 | 2 | -4/+8 |
| | | | | WARNING: droppriv() API breakage | ||||
* | add Requirements and Sendbuf sections | Laurent Ghigonis | 2012-12-02 | 1 | -0/+13 |
| | |||||
* | use BSD queue.h on linux from libbsd | Laurent Ghigonis | 2012-12-02 | 1 | -8/+8 |
| | |||||
* | add BSD queue.h in contrib/ | Laurent Ghigonis | 2012-12-02 | 1 | -0/+568 |
| | |||||
* | prefix log_* functions by gg_ | Laurent Ghigonis | 2012-12-02 | 2 | -14/+18 |
| | |||||
* | source cleanup and utils improvements | Laurent Ghigonis | 2012-12-02 | 4 | -73/+239 |
| | | | | | | | * move utils functions to utils.c * add log functions * use an ifndef for the whole libglouglou.h for multiple inclusion * move gg_packet_props to libglougloud.c and set it as extern in libglouglou.h | ||||
* | fix sendrecv unit test by using send buffer flush functions | Laurent Ghigonis | 2012-12-02 | 1 | -5/+7 |
| | |||||
* | add functions to flush send buffers | Laurent Ghigonis | 2012-12-02 | 4 | -11/+33 |
| | |||||
* | reorganise functions order. | Laurent Ghigonis | 2012-12-02 | 2 | -30/+30 |
| | | | | | no functionnal change. TODO-- | ||||
* | use while(LIST_FIRST) as a LIST_FOREACH_SAFE ... and remove useless debug printf | Laurent Ghigonis | 2012-12-02 | 1 | -2/+2 |
| |