24 Commits
Author SHA1 Message Date
hidnplayr ba4849dc54 DHCP protocol: seconds since boot is in big endian byte order.
git-svn-id: svn://kolibrios.org@6228 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-14 22:22:59 +00:00
hidnplayr 595ce277f9 Updated debug output for zeroconf.
git-svn-id: svn://kolibrios.org@6123 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-01 19:56:03 +00:00
hidnplayr b6883ee547 Improved RAW sockets. Added ability to set TTL thorugh setsockopt, Improved ping program.
git-svn-id: svn://kolibrios.org@5842 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-11 18:23:40 +00:00
hidnplayr 685987e90d Netstat: Save dns address correctly, added optionbox to disabled IPv4.
Zeroconfig: Dont give up too soon when network.ini is malformed.

git-svn-id: svn://kolibrios.org@5610 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-23 17:40:09 +00:00
hidnplayr b4928356ab Zeroconfig: bugfix for previous release; apply DHCP settings correctly.
git-svn-id: svn://kolibrios.org@5587 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-20 14:36:39 +00:00
hidnplayr 061e9e3bd8 Zeroconfig: Support for multiple network devices. Allow static DNS when using DHCP.
Netstat: New window for IP configuration.
network.ini: New format that allows configuring more then one network device.


git-svn-id: svn://kolibrios.org@5586 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-20 14:05:04 +00:00
hidnplayr c08226bb47 Use random session ID for DHCP, fix memory leak.
git-svn-id: svn://kolibrios.org@5419 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-02-18 11:00:06 +00:00
hidnplayr 2fb146ac3e Connect to DHCP server only when link is active. (and reconnect when cable was reconnected)
git-svn-id: svn://kolibrios.org@5391 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-02-03 19:41:23 +00:00
hidnplayr 0d3fa411d8 Fixed timeout
git-svn-id: svn://kolibrios.org@4805 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-08 20:05:48 +00:00
hidnplayr e55d76c573 Be a tiny bit more verbose.
git-svn-id: svn://kolibrios.org@4804 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-08 19:47:19 +00:00
Leency dc5fba6e68 zeroconf: new @notify support
git-svn-id: svn://kolibrios.org@4790 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-07 23:03:57 +00:00
Marat Zakiyanov (Mario79) 8c99f46b7d ZEROCONF and DOWNLOADER - using of SETTINGS directory for INI
git-svn-id: svn://kolibrios.org@4101 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-25 23:18:02 +00:00
hidnplayr b787e56a10 ZeroConf: use @notify to notify user of active network connections.
git-svn-id: svn://kolibrios.org@4013 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-12 15:25:23 +00:00
hidnplayr fee4d46bd3 Zeroconfig: fixed static IP setting
git-svn-id: svn://kolibrios.org@3844 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-30 21:06:03 +00:00
hidnplayr f8f9202a81 Zerconf: bugfix: 0 byte after 0 terminated string.
git-svn-id: svn://kolibrios.org@3842 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-29 18:14:56 +00:00
hidnplayr 0f8bff0b72 Bugfixes for ZeroConf
git-svn-id: svn://kolibrios.org@3735 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-30 20:25:38 +00:00
hidnplayr 97c13d77de use blocking sockets by default.
git-svn-id: svn://kolibrios.org@3704 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-25 20:02:56 +00:00
hidnplayr 97b8aba9e2 Zeroconf: disable most debug output by default.
git-svn-id: svn://kolibrios.org@3682 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-18 14:15:55 +00:00
hidnplayr d010a4e7fe Improved 'tries' counter for zeroconf.
git-svn-id: svn://kolibrios.org@3636 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-10 18:29:41 +00:00
hidnplayr 256b125f00 Zeroconf: try 3 times to contact DHCP server before giving up.
git-svn-id: svn://kolibrios.org@3632 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-10 13:25:07 +00:00
hidnplayr d84ac5044b moved include files for network programs to /programs folder, fixed synergyc.
git-svn-id: svn://kolibrios.org@3618 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-07 17:26:03 +00:00
hidnplayr c0fe9dddf7 Improved loopback device, separate ARP tables for every interface, added arpstat functionality to netstat, preparing zeroconf to work on multiple interfaces, improved API (fn 76, fn 74), fixed some bugs.
git-svn-id: svn://kolibrios.org@3601 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-05 00:21:20 +00:00
hidnplayr 6410339384 Fixed bug in some network applications.
git-svn-id: svn://kolibrios.org@3562 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-29 08:20:31 +00:00
hidnplayr e4cf34c0de Merge new network stack with trunk
git-svn-id: svn://kolibrios.org@3545 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 17:34:26 +00:00
hidnplayr 7a6a47ea05 Renamed zeroconfig.ini to network.ini and moved to /sys/
git-svn-id: svn://kolibrios.org@3516 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 12:22:14 +00:00
hidnplayr 33f74c34fd zeroconf was sending the wrong MAC address since #3340
git-svn-id: svn://kolibrios.org@3384 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-18 14:16:13 +00:00
hidnplayr de654e7a3a Zeroconf now prints correct link-local IP to the debug board.
git-svn-id: svn://kolibrios.org@3367 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-12 13:23:08 +00:00
hidnplayr 71d9f3dce2 Zeroconfig: dont assume first received packet is the correct one.
Also fixed link-local IP assignment.

git-svn-id: svn://kolibrios.org@3361 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-11 17:17:07 +00:00
hidnplayr 8f48436569 Now Zeroconfig waits for driver to be initialised.
git-svn-id: svn://kolibrios.org@3340 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 11:15:28 +00:00
hidnplayr a8ad5846a9 Updated API so applications can easily send ARP announcements, keep track of ARP conflicts.
Zeroconfig now supports padding option and sends ARP announcements if needed. Also some refactoring/cleanup.


git-svn-id: svn://kolibrios.org@3200 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-27 20:03:18 +00:00
hidnplayr 151ae82c14 Port numbers for TCP and UDP must be given in Big endian order now.
git-svn-id: svn://kolibrios.org@2995 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-01 12:33:15 +00:00
hidnplayr bd062d9661 Bugfixes for ZeroConf
git-svn-id: svn://kolibrios.org@2859 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-07-12 13:57:34 +00:00
hidnplayr 86ee484807 More of the same
git-svn-id: svn://kolibrios.org@2857 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-07-11 12:03:24 +00:00
hidnplayr dfd433a9b9 Quick-n-dirty fix for ZeroConf
git-svn-id: svn://kolibrios.org@2856 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-07-11 11:59:14 +00:00
hidnplayr e8a8f9b75d Changed net branch specific kernel function numbers to make room for function 73 in main branch.
git-svn-id: svn://kolibrios.org@2364 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-21 10:57:36 +00:00
hidnplayr 445f854cae Correct use of TYPE and PROTOCOL parameters in socket function
git-svn-id: svn://kolibrios.org@1542 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-31 11:17:06 +00:00
hidnplayr 6a1d621671 - globalisation of network driver functions
(Replaced EthRegDev with NetRegDev)
- rewrite/cleanup of socket.inc
- started rewrite of tcp.inc 
- port numbers in application are not byte-swapped anymore
- many more fixes and changes

- TCP does not work but UDP/IP/ICMP/ARP (partly) work.. (as before)



git-svn-id: svn://kolibrios.org@1514 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-11 23:13:12 +00:00
hidnplayr 049d796e81 Net-branch:
Added statistics to 3c59x driver.
Fixed mixed up DNS and Gateway of static settings for zeroconf

git-svn-id: svn://kolibrios.org@1481 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-06 19:04:46 +00:00
hidnplayr 602924a5b5 compile netcfg on unix
fixed bug in netcfg created in last revision
netcfg gives error msg when driver is not loaded
zeroconfig now works with latest version of libini
also fixed use of static and link-local ip in zeroconfig
initial IPv4 variables are now 0.0.0.0 instead of 255.255.255.255
created kernel function that shows number of active network devices 
fixed the use of temp mac variable in IPV4.inc (variable is now in stack)
rewrite of ARP code, needs full testing/debugging (new application needed: ARP manager)
port numbers are now in INET byte order, as is in posix standards

git-svn-id: svn://kolibrios.org@1196 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-05 20:47:27 +00:00
hidnplayr d5c54dd1d0 Fixes in netstat/zeroconf
update of netcfg 

git-svn-id: svn://kolibrios.org@1192 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-02 19:49:42 +00:00
hidnplayr 698f06c417 Fixed bug wich made kernel crash when stack was used with no driver loaded.
Made some code more logical regarding stats 

git-svn-id: svn://kolibrios.org@1174 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-24 18:32:03 +00:00
hidnplayr e3cdb8950b Uploading right version of zeroconf.
Previous was not working on this kernel.

Coming up next: netstat

git-svn-id: svn://kolibrios.org@1170 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-21 18:52:12 +00:00
hidnplayr 7cb34de2df Making applications compileable
+ Fixes in IPv4.inc

git-svn-id: svn://kolibrios.org@1166 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 14:31:34 +00:00
hidnplayr bb5be0798a "net" branch:
Removed some files that dont belong in specific branch.
Added some applications that work with this kernel only.

git-svn-id: svn://kolibrios.org@1164 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 12:19:46 +00:00
Evgeny Grechnikov (Diamond) f705611d81 * libs-dev: style of exported names changed, ini.get_int -> ini_get_int
* programs which use libs-dev updated accordingly
* libimg: support for .ico and .cur files (icons and cursors)
* kiv: show many different images in one file in one row

git-svn-id: svn://kolibrios.org@1102 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-03 21:12:49 +00:00
hidnplayr 6ed3fc627e bugfix
git-svn-id: svn://kolibrios.org@1011 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-01-29 20:08:35 +00:00
hidnplayr a1d301efb2 Moved Zeroconf to the right directory.
Changes in stackcfg:

Removed Static IP setting (now obsolete because of zeroconf)
Added dutch translation.
Auto-read settings when program loads.

git-svn-id: svn://kolibrios.org@1010 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-01-29 17:59:37 +00:00
hidnplayr 7d0bc204c7 AutoDHCP renamed to zeroconf
zeroconf now uses zeroconf.ini for static settings
zeroconf.ini should be in the same directory as the zeroconf application

git-svn-id: svn://kolibrios.org@1009 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-01-29 17:36:59 +00:00
heavyiron 4daae89053 *kernel - fixes in 15.2 by Mario79 and 67 by mike.dld
updated sysfunc.txt
*programs 
         new icons and logo for CPUID and ICON
         added new version of @ICON and ICONMNGR
         fixes in iconedit and calendar from DedOK
         new algoritm of fill background in pic4
         all apps (fasm-writen only) rewriten to use common macros.inc for easy recompile in fastcall mode (there is a bug in https; run need rewrite to use common macros.inc)
         small fixes in build_all.bat script
         

git-svn-id: svn://kolibrios.org@485 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-10 13:48:35 +00:00
hidnplayr 5b0eb8ab98 Bugfixes & cleanup of AUTODHCP.
git-svn-id: svn://kolibrios.org@339 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-10 19:10:48 +00:00