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

Log of /netsukuku/src/andna.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.37 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 11 06:28:10 2006 UTC (3 years, 11 months ago) by alpt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.36: +22 -22 lines
Diff to previous 1.36
pkts.c now uses the new modular API of request.c.
Almost all the sources have been updated.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 6 22:33:05 2006 UTC (4 years ago) by alpt
Branch: MAIN
Changes since 1.35: +4 -2 lines
Diff to previous 1.35
* 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.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 4 04:59:26 2006 UTC (4 years ago) by alpt
Branch: MAIN
Changes since 1.34: +33 -1 lines
Diff to previous 1.34
* TODO updated
* continuing in request.c

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 11 00:02:39 2006 UTC (4 years, 1 month ago) by alpt
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33
Yeahah. It works \o/
It was a stupid bug in pkt_compress(). -_'

0.0.9b coming soon

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 24 08:12:14 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
It almost works, but it hangs on get_ext_maps()

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 20 05:33:20 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.31: +1 -6 lines
Diff to previous 1.31
	* 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.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 12 10:43:57 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.30: +34 -5 lines
Diff to previous 1.30
hash_md5 description in andna.h

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 16 00:33:56 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
added ntk-dig.8 in man/SConstruct and man/makefile.am

Revision 1.29 - (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.28: +2 -0 lines
Diff to previous 1.28
andna_resolve_hash() ready

Revision 1.28 - (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.27: +4 -16 lines
Diff to previous 1.27
andna_recv_rev_resolve_rq() and andna_reverse_resolve() converted to SNSD.
Yay! Is really SNSD completed?
^_^

Revision 1.27 - (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.26: +4 -4 lines
Diff to previous 1.26
andna_resolve_hname() and andna_recv_resolve() are now completely converted to
SNSD.
llist.c: welcome the new list_copy_some() function ;)

Revision 1.26 - (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.25: +19 -11 lines
Diff to previous 1.25
Converting andna_resolve_hname() to SNSD

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 29 03:17:26 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.24: +9 -17 lines
Diff to previous 1.24
The code of the snsd requests has begun!

Revision 1.24 - (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.23: +5 -7 lines
Diff to previous 1.23
The MX code previously written has been removed.
The coding of the SNSD has begun.

Revision 1.23 - (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.22: +1 -0 lines
Diff to previous 1.22
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.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 1 18:37:50 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21
andna_mx_resolve() <-- this is the function which the ANDNS wrapper shall use

Revision 1.21 - (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.20: +28 -2 lines
Diff to previous 1.20
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.18.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.18: +14 -14 lines
Diff to previous 1.18 , to next main 1.37
Branch "Released" updated to the current 0.0.6b version.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 21 03:54:00 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.19: +11 -14 lines
Diff to previous 1.19
Endian fixes in andna: it isn't necessary to convert the MD5 hash to network
order

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 5 00:44:33 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.18: +3 -0 lines
Diff to previous 1.18
- 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.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 15:30:00 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Branch point for: Released
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
All the possible situation regarding the manual editing of /etc/resolv.conf
are now considered. The user cannot mess anymore it ;)

Revision 1.17 - (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
Changes since 1.16: +2 -0 lines
Diff to previous 1.16
* 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.16 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 06:17:00 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.15: +1 -0 lines
Diff to previous 1.15
Comment the other nameservers when we put "nameserver 127.0.0.1" in
/etc/resolv.conf

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 13 23:56:25 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
endianness fix in andns_rslv.c

Revision 1.14 - (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.13: +2 -2 lines
Diff to previous 1.13
- 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.13 - (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.12: +2 -1 lines
Diff to previous 1.12
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.12 - (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.11: +10 -3 lines
Diff to previous 1.11
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.11 - (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.10: +6 -0 lines
Diff to previous 1.10
/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.10 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 27 19:42:51 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.9: +2 -0 lines
Diff to previous 1.9
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...

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: +18 -17 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: +30 -2 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: +33 -8 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: +39 -3 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: +1 -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]
Fri Sep 2 11:06:51 2005 UTC (5 years ago) by alpt
Branch: MAIN
Changes since 1.2: +5 -3 lines
Diff to previous 1.2
Andna improvements. Document cleaned. English traslation continued.

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

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 23 09:57:48 2005 UTC (5 years, 1 month ago) by alpt
Branch: MAIN
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.

  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