Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
pkts.c now uses the new modular API of request.c. Almost all the sources have been updated.
* the Request API and its documentation is now completed, we just need to convert pkts.c and some other sources with this new API. * accept.[ch] was removed because it has been never used, and now, with the API change it is obsolete.
* TODO updated * continuing in request.c
Yeahah. It works \o/ It was a stupid bug in pkt_compress(). -_' 0.0.9b coming soon
It almost works, but it hangs on get_ext_maps()
* An active tcp socket is kept for each rnode, in this way, it is possible to send them tcp packets without the need of estabilishing a new tcp connection each time. * The qspn packets are now sent using the tcp sockets described above. * Since the UDP isn't used anymore for ntk packets, the udp daemon has been removed. The udp port of the radar daemon is now 269/udp. The 271/udp port has been deprecated.
hash_md5 description in andna.h
added ntk-dig.8 in man/SConstruct and man/makefile.am
andna_resolve_hash() ready
andna_recv_rev_resolve_rq() and andna_reverse_resolve() converted to SNSD. Yay! Is really SNSD completed? ^_^
andna_resolve_hname() and andna_recv_resolve() are now completely converted to SNSD. llist.c: welcome the new list_copy_some() function ;)
Converting andna_resolve_hname() to SNSD
The code of the snsd requests has begun!
The MX code previously written has been removed. The coding of the SNSD has begun.
Andns library rewritten. andnslib works on andns protocolo (NTK_RFC 0006). dnslib works on dns packet andns works on dns_wrapper. MX now works for inet resolutions.
andna_mx_resolve() <-- this is the function which the ANDNS wrapper shall use
llist.c: * it has been almost completely rewritten * list_add has now a different meaning: it adds the struct at the start of the llist, in this way it hasn't to traverse the entire llist. * a lot of new functions have been added: * list_append, list_swap, list_moveback, list_movefwd, list_moveontop, clist_append * LLIST_HDR() macro written andna: * The ANDNA keyring is now saved separately from the lcl_cache. It is saved in andna_lcl_keyring. * The `andna_' prefix is now used for the filename of the andna caches. * The struct of the resolved_hostnames_cache is changed, we just save the 32bit hash of the hname. still working on rh_cache....
Branch "Released" updated to the current 0.0.6b version.
Endian fixes in andna: it isn't necessary to convert the MD5 hash to network order
- The NTK_RFC 0007 has been implemented. It fixes a bug in the ANDNA protocol. - Added a timeout of 60 seconds for the reverse resolution request.
All the possible situation regarding the manual editing of /etc/resolv.conf are now considered. The user cannot mess anymore it ;)
* Fixed a bug in the parser of netsukuku.conf * loginfo -> debug in andns*.c * When restoring resolv.conf.bak don't include the "nameserver 127.0.0.1" string in resolv.conf. * Code cleaned
Comment the other nameservers when we put "nameserver 127.0.0.1" in /etc/resolv.conf
endianness fix in andns_rslv.c
- hook.c takes in consideration the join_rate while rehooking. If join_rate is 0, a new gnode, with the gid based on the hash of the current one, is created. - random_ip was rewritten to support the RFC 0001. - time_t is not used in the packets anymore, it was replaced by uint32_t. - Small little changes.
In some andna pkts there is a `time_t timestamp' var, before this commit the time was stored in the time() format but this was wrong since the time can differ from one node to another, so the difference of seconds between the current time and time_t must be used, moreover for the andna pkts it isn't necessary to count the rtt between the two nodes since it is very small compared to the ANDNA_EXPIRATION_TIME.
Coding of the RFC 0001 continues: - Now the number of nodes present in a gnode is counted. At hooking this number is given to the hooking node which updates its counter. For this reason the qspn_round_pkt is changed, so the 0.0.5 is no more compatible with the previous versions. - The rehook() function has been written. It will be used to rehook. - Bug 0001 solved (see //lab.dyne.org/Netsukuku_bugs) - The command line options override the ones specified in the config file.
/etc/resolv.conf is now modified automatically. When the daemon is launched /etc/resolv.conf is modified automatically, so the "nameserver 127.0.0.1" is added in the first line of resolv.conf. The old resolv.conf is at /etc/resolv.conf.bak. When the daemon is closed /etc/resolv.conf.bak is moved to /etc/resolv.conf.
things are getting more stable. Bug fixed: - the multi-if code didn't set right all the routes. krnl_route.c needed a change in add_nexthop() - get_gw_ips() overwrote the stack if single_gw was used. - some crashes in the andna.c code. - the initialization of the int_info struct for the get_qspn_round request was malformed. - qspn_b_add did a wrong memset. - the /usr/share/netsukuku directory wasn't created during the installation. - Other stuff...
The code for the endianness support is now complete, but not all the tests has been made. All the the packet are now sent without any alignment. The free_nodes struct has been finally optimised: to keep the list of free nodes it uses single bits instead of single bytes, this means that the list is now of 32 bytes instead of 256. The bug in the load_rh_cache code is now fixed. The installation path of the man page is now fixed. _THIS CVS VERSION HAS STILL PROBLEMS, DO NOT USE IT_
From _NOW_ the source code of the CVS is not stable anymore. The code to handle the endianness in the int/short variables of the packets is being written. The main code to handle this is in src/endianness.[ch].
Netsukuku site (re)added in the CVS. Some GPL legal stuff fixed.
All the ANDNA tests finished and working! The next commit ANDNA will become beta.
Hostname resolve request and reverse resolve request testend and working. Andna routing tested and worked. Hash_gnode mutation almost finished. 71% of the english traslation done.
Andna hostname registration tested and working (without counter_node for now ;)
Andna improvements. Document cleaned. English traslation continued.
The ANDNA code is now complete! Joy my friends o/ Yes, and it compiles too. Time to become made testing it ^_.
Correzioni varie del documento. Aggiunta di andna.[ch]
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| alpt (at) freaknet (dot) org | ViewVC Help |
| Powered by ViewVC 1.1-dev |