ezTCP - try #2
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Stevo
    Posts: 889 from 2004/1/24
    From: #AmigaZeux
    V0.13 had been uploaded and approved; same place as before :-)
    ---
    http://www.iki.fi/sintonen/logs/its_only_football.txt
  • »09.11.05 - 08:29
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    antibike
    Posts: 112 from 2003/3/5
    From: Germany / Sachsen
    hey sonic,
    many thanks for v0.13 ... Yam and SSL works now!
    i wish you all the best for the new DHCP implementation.
  • »09.11.05 - 19:27
    Profile
  • Cocoon
    Cocoon
    hnl_dk
    Posts: 47 from 2004/3/19
    From: Denmark
    Quote:


    Sonic wrote:
    Unfortunately DHCP suite porting task came to a deadend since it requires such functions like fork(), execve(), and, moreover, it depends on UNIX shell. This makes ISC DHCP client inacceptable. :cry:
    Fortunately, i managed to find another small DHCP client which doesn't have such a weird dependencies. Well, ezTCP will have DHCP support, but the work is actually started from scratch.


    Have You had a look at lwIP? It looks portable (have only had a little look at the code long time ago), and includes an DHCP client...

    [Edit]and it would even give MorphOS IPv6 :-)

    [ Edited by hnl_dk on 2005/11/10 4:34 ]
    Best regards,
    hnl_dk - Henning Nielsen Lund
  • »09.11.05 - 20:27
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Quote:


    hnl_dk wrote:

    Have You had a look at lwIP? It looks portable (have only had a little look at the code long time ago), and includes an DHCP client...

    and it would even give MorphOS IPv6 :-)




    Yes, of course i looked it. It's worse solution than stack based on AmiTCP since lwIP is a thing-in-itself. It's hard to upgrade, it has no AmigaOS API, it has no SANA-II support, etc. It would require much more work.
    As to IPv6, much better approach would be to re-merge recent FreeBSD code into ezTCP. This would give not only IPv6, but also PPP, PPPoE, ATM, BPF, PCap, etc.
    In fact DHCP problem is not so large, i already reconsidered it back. ISC DHCP is good and up-to-date, it just requires more changes in the code. In the worst case re-merging newer versions out-of-the-box will be impossible due to large amount of changes, but that's all.
    iPod, iBook, iMac,... iRobot?
  • »10.11.05 - 06:56
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Today i thought a bit more and cleaned up ISC DHCP code. It will be used. It is possible to bypass all limitations in a portability-friendly manner. Script part will be either rewritten in native AmigaOS shell language or replaced with additional C code. The add-on will be made in a such manner that it will be able to be integrated into ISC distribution.
    iPod, iBook, iMac,... iRobot?
  • »10.11.05 - 13:12
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    analogkid
    Posts: 659 from 2004/11/3
    From: near myself
    how can inetd be enabled? Copying inetd and inetd.conf to ezTCP directory and start it via shell? This doesn#t work for me.
  • »13.11.05 - 07:28
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    - Copy inetd to somewhere.
    - Copy inetd.conf to ezTCP:db
    - Assign AmiTCP: ezTCP - this is necessary since inetd looks for this location.
    If still doesn't work, please tell me what inetd says or Snoopium says.
    I'll verify it on my machine.
    iPod, iBook, iMac,... iRobot?
  • »14.11.05 - 06:17
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Huh...
    Congratulate me, on saturday it succesfully compiled for the first time.
    Binaries don't work yet since some tweaking is still needed (replacing close() with CloseSocket() etc). But it's on the way.
    iPod, iBook, iMac,... iRobot?
  • »14.11.05 - 06:20
    Profile Visit Website
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    @ Sonic

    Yes indeed these are good news, congratulations!!!

    I'm looking forward for the finished version.

    Regards

    Christoph
  • »14.11.05 - 07:09
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Velcro_SP
    Posts: 929 from 2003/7/13
    From: Universe
    Sonic, great! Keep going!

    I made another small donation to the bounty.

    This should be a big step for MorphOS, no more need to use old Amiga stacks.
    Pegasos2 G3, 512 megs RAM
  • »14.11.05 - 09:32
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    2 analogkid:

    inetd can fail also because there's no user/group information availible and inetd relies on it. Try the following (in addition to previous recommendations):
    1. Copy netinfo.device from m68k AmiTCP to DEVS:
    2. Copy "passwd" and "group" files to ezTCP/db.
    Hmm... This starts to be problematic enough to consider porting inetd and removing these issues. Well, i'll look at it...
    iPod, iBook, iMac,... iRobot?
  • »14.11.05 - 10:01
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    @Sonic

    Btw have you planned to build M68k version? I mean, some users have
    asked it because there is no TCP/IP stack for 68k Amigas.

    And is it possible to differentiate ezTCP from original AmiTCP? Scout
    identifies (via identify.library) the TCP/IP stack. ezTCP would show
    up as an AmiTCP (I believe) ?
    1 + 1 = 3 with very large values of 1
  • »14.11.05 - 13:58
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Quote:


    itix wrote:
    @Sonic

    Btw have you planned to build M68k version? I mean, some users have
    asked it because there is no TCP/IP stack for 68k Amigas.



    ezTCP is designed to portable by nature, it can be compiled on any AmigaOS-derived platform. In fact not all code is currently portable since i don't have time. m68k version requires additional maintenance. If there are any interested developers i would like to speak to them.
    It is possible to open source code right now for porting, i would just need some additional agreement then which would prevent me from task takeover (some bad guy grabs the code, quickly finishes it since he's a student and has much more free time than i have, and claims for the reward).

    Quote:


    And is it possible to differentiate ezTCP from original AmiTCP? Scout
    identifies (via identify.library) the TCP/IP stack. ezTCP would show
    up as an AmiTCP (I believe) ?


    Hmmm. Don't know. It depends on how exactly identify.library finds out the stack type. There are a lot of ways to do it, and not every way is correct. I didn't check it myself.
    iPod, iBook, iMac,... iRobot?
  • »14.11.05 - 14:48
    Profile Visit Website
  • Moderator
    gunne
    Posts: 441 from 2003/2/26
    From: Sweden
    Hi Sonic,

    I would like to second this thought about separating ezTCP and AmiTCP. I for myself like to have several different software installed, and then also when it comes to TCP software.

    However, haven't looked into how it works out with ezTCP/AmiTCP for now.

    Gunne
    Best wishes, Gunne
  • »14.11.05 - 15:14
    Profile Visit Website
  • Targhan
    Posts: 2833 from 2003/2/8
    From: USA
    @sonic

    Sorry for being away, thus unable to answer emails. however, you shouldn't be concerned about anyone else grabbing the "bounty." The MorphZone Bounties aren't a free-for-all, just in case of the problem you have just mentioned. Anytime there is a conflict of programmers wanting to work on the same kind of project it has to be decided within some time frame of the initial agreement between the "bounties staff" and the programmer(s).

    If we were to allow an open competition for some project or another, it would most likely be be stated as such before any programmer came aboard for a project.

    The way I see it personally, if someone else came along and wanted to add valuable code to your project -- they should speak to you first to determine if you would be willing to share for the help. In other words, I leave anything of that nature in the programmer's (in this case, Sonic's) hands. ;-)

    I'll get to your email shortly Sonic, and again I am sorry that I've been unavailable for so long.

    Targh.
    :idea:Targhan

    MorphOS portal? www.MorphZone.org
  • »14.11.05 - 21:09
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Quote:


    I would like to second this thought about separating ezTCP and AmiTCP. I for myself like to have several different software installed, and then also when it comes to TCP software.

    However, haven't looked into how it works out with ezTCP/AmiTCP for now.

    Gunne

    Well well...
    1. miami.library is not a problem. It will just detect that another stack is running and refuse to open.
    2. usergroup.library - can cause problems with Genesis. Everything depends on what is loaded first. If AmiTCP is started at boot time before any ixemul apps then AmiTCP will load its own usergroup.library from AmiTCP:Libs. In fact plain AmiTCP has no strict dependencies, only Genesis has them (the GUI won't work with alien usergroup.library).
    iPod, iBook, iMac,... iRobot?
  • »15.11.05 - 06:10
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Acill
    Posts: 1915 from 2003/10/19
    From: Port Hueneme, Ca.
    Sonic, this is great news! Keep up the great work. You are doing an awesome job!
    Powermac Dual 2.0 GHZ G5 PCI-X (Registration #1894)
    Powerbook 1.67GHZ
    Powermac Dual 2.0 GHZ G5 PCIE (Registration #6130)
    A4000T CSPPC, Mediator
    Need Repairs, upgrades or a recap in the USA? Visit my website at http://www.acill.com
  • »16.11.05 - 13:03
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    AyoS
    Posts: 410 from 2003/8/13
    From: West Palm Beac...
    Great Work... Keep it up!!!
  • »16.11.05 - 18:34
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Compiled next changes yesterday. Packets are sent to the network correctly. Nothing is received, but i guess the problem source is simple.
    There will be no support script, everything will be written in C code.
    iPod, iBook, iMac,... iRobot?
  • »18.11.05 - 06:55
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    I am glad to tell that i am at last moved away from the deadstop. It was tricky but i at last dealed with interface configuration and routing. Now dhclient sends out packets to the network but they are broken since there are currently no means to obtain hadrware address of an interface. This is being implemented now. I hope soon i'll get everything working.
    I am sorry again for long delays. The kernel is really horribly outdated, a plenty of time is needed in order to bring it up.
    iPod, iBook, iMac,... iRobot?
  • »25.11.05 - 06:11
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    I've at last finished writing, in the evening i'll try to compile the whole thing :)
    The kernel is heavily fixed and updated. It supports a number of new IOCTLs and also i implemented an interface to statistics structures. "ifconfig" utility will be also upgraded to accomodate all changes. Probably i'll even build new normal "netstat" utility since everything is ready for it.
    DHCP should start working at last after these changes. AF_LINK is fully supported now.
    Changelog grows at a frightening speed...
    iPod, iBook, iMac,... iRobot?
  • »25.11.05 - 10:31
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    SoundSquare
    Posts: 1213 from 2004/12/1
    From: Paris, France
    how can you be sorry ? you're going so fast and did such an amazing job ! congrats !
  • »25.11.05 - 13:35
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1068 from 2003/3/24
    From: Hamburg/Germany
    I can only second that what Soundsquare is writing!
    It's amazing to read and see the progress you make with the Port.
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »25.11.05 - 16:22
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Acill
    Posts: 1915 from 2003/10/19
    From: Port Hueneme, Ca.
    As I've said before, WELL DONE! I cant wait to see the results! Keep it up, your just fantastic!
    Powermac Dual 2.0 GHZ G5 PCI-X (Registration #1894)
    Powerbook 1.67GHZ
    Powermac Dual 2.0 GHZ G5 PCIE (Registration #6130)
    A4000T CSPPC, Mediator
    Need Repairs, upgrades or a recap in the USA? Visit my website at http://www.acill.com
  • »25.11.05 - 16:41
    Profile Visit Website