[cvs] / netsukuku / src / andna_cache.h Repository:
ViewVC logotype

Log of /netsukuku/src/andna_cache.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 31 14:18:16 2007 UTC (3 years, 7 months ago) by alpt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.32: +18 -10 lines
Diff to previous 1.32
* file HACKING cleaned
* map_pack() coded
* map_lid_add(), map_lid_del() coded

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 30 14:45:23 2006 UTC (3 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.31: +4 -1 lines
Diff to previous 1.31
* The QSPN v2 article has been completed.

* The ANDNA_EXPIRATION_TIME has been incremented from 3days to 30days

* The RTT_DELTA has been lowered from 1000ms to 258ms

* Minor bugs fixed in andns.c, request.c

* The main document has been updated. It now refers to the QSPN v2 too

* The Ntk_bandwidth_measurement is being rewritten

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 7 16:17:57 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
*** empty log message ***

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 3 19:38:22 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.29: +7 -5 lines
Diff to previous 1.29
andna_resolve_hash() ready

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 3 01:08:19 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
andna_recv_rev_resolve_rq() and andna_reverse_resolve() converted to SNSD.
Yay! Is really SNSD completed?
^_^

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 3 00:20:12 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.27: +3 -4 lines
Diff to previous 1.27
andna_resolve_hname() and andna_recv_resolve() are now completely converted to
SNSD.
llist.c: welcome the new list_copy_some() function ;)

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 1 04:36:04 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
Converting andna_resolve_hname() to SNSD

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 28 10:26:00 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.25: +10 -9 lines
Diff to previous 1.25
the snsd coding continues ;)

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 24 11:00:13 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.24: +18 -20 lines
Diff to previous 1.24
rh_cache and lcl_cache converted to SNSD

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 23 18:16:55 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.23: +53 -25 lines
Diff to previous 1.23
andna_cache converted to SNSD

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 16 20:53:21 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.22: +47 -112 lines
Diff to previous 1.22
snsd struct stuff finished

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 12 14:35:35 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.21: +30 -18 lines
Diff to previous 1.21
llist.c:
	* added clist_qsort(), list_count()
igs.c:
	* igw_order now uses clist_qsort()
andna_cache.c:
	* the function that will be used to add new SNSD records have been
	  written.
docs updated.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 11 09:48:30 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.20: +101 -61 lines
Diff to previous 1.20
The MX code previously written has been removed.
The coding of the SNSD has begun.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 1 21:55:47 2006 UTC (4 years, 5 months ago) by efphe
Branch: MAIN
Changes since 1.19: +1 -0 lines
Diff to previous 1.19
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.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 1 16:09:57 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.18: +8 -1 lines
Diff to previous 1.18
andna_cache.c:
	* the integration of the MX stuff in the rh_cache is complete
	* the calls to *_del_expired() have been optimized (expecially for the
	  rh_cache)

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 29 16:54:46 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.17: +139 -66 lines
Diff to previous 1.17
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....

Revision 1.15.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 2 04:25:46 2006 UTC (4 years, 6 months ago) by alpt
Branch: Released
Changes since 1.15: +26 -7 lines
Diff to previous 1.15 , to next main 1.33
Branch "Released" updated to the current 0.0.6b version.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 24 06:29:29 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.16: +1 -0 lines
Diff to previous 1.16
ANDNA_SKEY_MAX_LEN is now considered.
* ChangeLog and TODO updated

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 22 00:30:13 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.15: +25 -7 lines
Diff to previous 1.15
ANDNS_SKEY_LEN was a fixed value but a packed rsa privkey isn't always of the
same size. This has been fixed. Does the same happen for the pubkey?

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 10:50:44 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Branch point for: Released
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
* 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

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 08:29:31 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.13: +1 -0 lines
Diff to previous 1.13
andna_reverse_resolve returns only currently registered hnames.
andna_reverse_resolve handles the request to resolve the same IP of the node
(which is doing the request).

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 24 00:16:36 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
- 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.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 13 19:57:59 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.11: +3 -0 lines
Diff to previous 1.11
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.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 13 12:07:04 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.10: +8 -0 lines
Diff to previous 1.10
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.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 3 17:40:57 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.9: +3 -0 lines
Diff to previous 1.9
/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.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 14 21:45:24 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.8: +45 -18 lines
Diff to previous 1.8
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_

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 10 20:58:40 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.7: +27 -10 lines
Diff to previous 1.7
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].

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 10:40:59 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
Netsukuku site (re)added in the CVS.
Some GPL legal stuff fixed.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 19 21:30:34 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5
All the ANDNA tests finished and working! The next commit ANDNA will become
beta.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 13 21:17:22 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.4: +7 -4 lines
Diff to previous 1.4
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.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 10 22:23:51 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.3: +7 -1 lines
Diff to previous 1.3
Andna hostname registration tested and working (without counter_node for now ;)

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 7 23:39:01 2005 UTC (5 years ago) by alpt
Branch: MAIN
Changes since 1.2: +33 -4 lines
Diff to previous 1.2
The code for the configuration file was written.
Other little fixes.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 2 11:06:51 2005 UTC (5 years ago) by alpt
Branch: MAIN
Changes since 1.1: +40 -9 lines
Diff to previous 1.1
Andna improvements. Document cleaned. English traslation continued.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 30 15:38:15 2005 UTC (5 years ago) by alpt
Branch: MAIN
The ANDNA code is now complete! Joy my friends o/
Yes, and it compiles too. Time to become made testing it ^_.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

alpt (at) freaknet (dot) org
ViewVC Help
Powered by ViewVC 1.1-dev