[cvs] / netsukuku / src / andns.c Repository:
ViewVC logotype

Log of /netsukuku/src/andns.c

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.51 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 14 22:58:11 2007 UTC (3 years, 3 months ago) by alpt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.50: +3 -3 lines
Diff to previous 1.50
* just a dir

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 18 03:14:54 2007 UTC (3 years, 5 months ago) by efphe
Branch: MAIN
Changes since 1.49: +8 -8 lines
Diff to previous 1.49
removing heavy dependencies on shared libs (err_errno, xmalloc, rand...)

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 17 18:56:37 2007 UTC (3 years, 5 months ago) by efphe
Branch: MAIN
Changes since 1.48: +845 -734 lines
Diff to previous 1.48
cleaning code

Revision 1.48 - (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.47: +13 -6 lines
Diff to previous 1.47
* 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.47 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 27 17:50:30 2006 UTC (4 years ago) by alpt
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
rand.c written

Revision 1.46 - (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.45: +1 -3 lines
Diff to previous 1.45
It almost works, but it hangs on get_ext_maps()

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 23:14:07 2006 UTC (4 years, 2 months ago) by efphe
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44
ntk-resolv: timeout is working.
Modified andns_init and mark_init: loginfo() instead of debug().

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 21:19:31 2006 UTC (4 years, 2 months ago) by efphe
Branch: MAIN
Changes since 1.43: +2 -4 lines
Diff to previous 1.43
SNSD recursion works.

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 20:55:48 2006 UTC (4 years, 2 months ago) by efphe
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
Recursion for SNSD queries is implemented.
Need to debug.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 00:41:22 2006 UTC (4 years, 2 months ago) by efphe
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
Another stupi bug.
Note: in andns, proto_tcp=0,proto_udp=1.
In snsd, proto_tcp=1, proto_udp=2.
Now the problem is debugged adding 1.
Maybe it's better to uniform the notations.
SNSD queries do not work if recursion (to MAIN_IP) fails. I need to implement
block-recursion, implemented yet for global queries.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 11 17:41:09 2006 UTC (4 years, 2 months ago) by efphe
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
gol. You can ask to ntk-resolv to make a recursive query.
It works, now, only for Global Query and it has to be implemented for
snsd queries. ntk-resolv.pod updated. RFC 006 updated.
The problem is: How to print the HashName on STDOUT?

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 10 20:56:33 2006 UTC (4 years, 2 months ago) by efphe
Branch: MAIN
Changes since 1.39: +5 -0 lines
Diff to previous 1.39
debugging...

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 7 21:47:24 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.38: +26 -3 lines
Diff to previous 1.38
That's one small step for a man, one giant bug for Ntk.
SNSD Global (and Holy) Query is implemented, but totally not tested.
Also ntk-resolv is ready to formule the new query.
So, let me pray.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 15:42:24 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
* -l logfile option added
* "rc.ntk cclean" cleans /usr/share/netsukuku
* conf.c cleans the environment now

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 09:47:10 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
The amount of time passed debugging to find a specific bug is inversely
proportional to the lines of code that need to be modified to fix it.

	l = 1/t;

This means that if you pass an infinite amount of time debugging, you'll just
need to change one bit in your code.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 3 19:01:54 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
Changing from ntk-dig to ntk-resolv.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 2 15:42:24 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
- load_maps and andna_load_caches use the file_exist() check, this prevents the
  stupid error message "file %s doesn't exist".

- code cleaning: return (EXPR) ? 1 : 0; is the same thing of return (EXPR);
  while return (EXPR) ? 0 : 1; is the same thing of return !(EXPR);

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 1 12:30:24 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.33: +16 -8 lines
Diff to previous 1.33
* Check for active ntkd processes. Use a pid file in /var/run/
* various fixes

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 31 10:30:01 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.32: +0 -1 lines
Diff to previous 1.32
*** empty log message ***

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 30 20:52:53 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.31: +1 -0 lines
Diff to previous 1.31
Fixing

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 29 23:02:39 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.30: +5 -1 lines
Diff to previous 1.30
- Priority and Weigth are now printed by ntk-dig
- MX Priority is now considered on MX-inet queries.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 29 22:23:10 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.29: +13 -4 lines
Diff to previous 1.29
- ntk-dig time_report fixed.
- ntk-dig print_answers fixed.
- Added support for DNS MX queries (using gethostbyname)

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 29 21:05:29 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.28: +12 -8 lines
Diff to previous 1.28
- Added Zlib to andns.
- Rfc 006 modified.
- SConstruct check for zlib.h
- configure.ac check for zlib.h
- Removed a memory leak in a_u().

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 28 16:51:32 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.27: +10 -3 lines
Diff to previous 1.27
All andns functions are tested for the first time.
First good impression. Now we have to join andna and andns.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 27 18:17:27 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.26: +7 -4 lines
Diff to previous 1.26
ntk-dig is not completely tested, but seems to work ;)

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 27 16:00:58 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
More debugging. Some temporrary printing functions are now present.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 26 00:00:54 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.24: +0 -3 lines
Diff to previous 1.24
*** empty log message ***

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 25 23:58:48 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.23: +6 -2 lines
Diff to previous 1.23
There was a bugging ghost. Did you see it?

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 25 21:45:49 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.22: +14 -11 lines
Diff to previous 1.22
OoOoOo DeBuG :\?/ and RfC-DNS added to docsSSS

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 16 00:59:48 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21
store_ns bug solved

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 13:39:30 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.20: +42 -20 lines
Diff to previous 1.20
developing ntk-ding and his man page.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 9 21:22:58 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.19: +22 -22 lines
Diff to previous 1.19
updating resolving functions to snsd.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 5 08:29:01 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.18: +19 -19 lines
Diff to previous 1.18

Building andns_snsd.
andns_init() now takes a family argument.
andna.c updated.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 4 08:01:13 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.17: +35 -62 lines
Diff to previous 1.17
- Andns and SNSD
- Renaming some file

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 1 16:00:51 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.16: +16 -22 lines
Diff to previous 1.16
working on snsd and andns communications.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 29 02:39:21 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.15: +54 -78 lines
Diff to previous 1.15
andnsnsd.c: functions to handle snsd struct.
Converting andns function resolution to SNSD RFC.
Not ready to compile.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 28 20:10:18 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.14: +14 -14 lines
Diff to previous 1.14
*** empty log message ***

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 28 10:21:01 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.13: +20 -2 lines
Diff to previous 1.13
andns.c:
	* reset_andns_ns()
	* andns_close()

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 28 09:21:44 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.12: +12 -6 lines
Diff to previous 1.12
collect_resolve_conf():
	* Fixed an error in the parsing of the lines
	* Stripping of other unwanted characters

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 27 19:49:02 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.11: +17 -18 lines
Diff to previous 1.11
* two mark.c debugging functions
* working on andns and snsd

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 25 22:50:28 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.10: +15 -17 lines
Diff to previous 1.10
...

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 25 22:37:55 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.9: +15 -18 lines
Diff to previous 1.9

Preparing to make andns_init proto-independent.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 25 22:18:12 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.8: +13 -17 lines
Diff to previous 1.8
collect_resolv_conf is now human readable.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 23 18:38:17 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.7: +6 -2 lines
Diff to previous 1.7

andns.c won't compile. Needing SNSD specs to code new resolution functions.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 23 18:26:09 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.6: +203 -168 lines
Diff to previous 1.6

SNSD protocol supported by andnslib.
The resolution functions have to be modified.

Revision 1.6 - (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.5: +1 -1 lines
Diff to previous 1.5
snsd struct stuff finished

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 3 15:38:21 2006 UTC (4 years, 5 months ago) by efphe
Branch: MAIN
Changes since 1.4: +34 -15 lines
Diff to previous 1.4
Ntkdig seems to work.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 3 15:36:33 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.3: +0 -2 lines
Diff to previous 1.3
doc/misc/Ntk_Grow_Netsukuku added

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 3 00:31:14 2006 UTC (4 years, 5 months ago) by efphe
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2
debugging ntkdig and andns lib.
ntkdig is more friendly

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 2 23:52:10 2006 UTC (4 years, 5 months ago) by efphe
Branch: MAIN
Changes since 1.1: +59 -14 lines
Diff to previous 1.1
ntkdig is not too unstable

Revision 1.1 - (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
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.

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