Welcome, Guest. Please login or register.

Author Topic: TCP stack monitoring program?  (Read 1710 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline GPTTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 380
    • Show only replies by GPT
TCP stack monitoring program?
« on: September 17, 2003, 08:59:17 PM »
Is there any good TCP Stack monitoring program?

If not, is there any for MiamiDX?


Is there any way to get MiamiDX to ask the user everytime a program request the TCP stack for accessing the net?

OR maybe any arexx script or program that interfaces with the MiamiDX firewall for the same purposes as above question?

Is there any firewall program for amiga besides the built in for MiamiDX that allows the user to deside what programs that is allowed and not for accessing the net?
NWO tba 2012
 

Offline Thematic

  • Jr. Member
  • **
  • Join Date: Aug 2003
  • Posts: 69
    • Show only replies by Thematic
Re: TCP stack monitoring program?
« Reply #1 on: September 17, 2003, 09:38:23 PM »
I think MiamiDX has just what you are looking for either internally (accessible with scripts) or as facilities that external tools can analyse.
But restricting applications, as opposed to certain ports? Doesn't sound right, since these are typically done with user discriminations, and we know AmigaOS is meant to be singleuser.

At least I recall seeing something on Aminet relating to this - and specifically Miami Deluxe.

Anyway extensive monitoring programs are very hard/impossible to do feasibly with those stacks inferior to MiamiDX (low, device level is another matter). Therefore I am removed for using AmiTCP. Roadshow (v) me please! ;)
So you have the strings in your palm. Do you know what they are for?
 

Offline GPTTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 380
    • Show only replies by GPT
Re: TCP stack monitoring program?
« Reply #2 on: September 17, 2003, 09:50:31 PM »
What I wana have is a tcp monitoring program that shows what is going on and a firewall that asks me if I wana allow programs or not to access the webb.

IS that really so hard to find programs/scripts/arexx (scripts) with those features for amiga?

If you look at pc firewall programs like zonealarm they ask the user what to allow and what to not allow accessing the webb.
NWO tba 2012
 

Offline Thematic

  • Jr. Member
  • **
  • Join Date: Aug 2003
  • Posts: 69
    • Show only replies by Thematic
Re: TCP stack monitoring program?
« Reply #3 on: September 18, 2003, 01:02:01 AM »
Firewall add-on applications hardly achieve the level of usability of a tcp/ip-stack that has it integrated from the start.

Yet this is sort of interesting, Amiga programs generally use either bsdsocket.library or TCP: device for the traffic. So you could not for instance let the TCP: device always have access, as that would be a security hole the size of Saturn. Which I think, leads to having a dual approach, the firewall program should intercept access both at the low- and high-level. Essentially a hack, I believe. Patching dos.library apart from having some extra wild stuff at bsdsocket.library, possibly even core parts of the operating system. Suppose every OpenLibrary() at it would be checked against the lists, and if it matches the "offender" list, it would be silently refused the library pointer with a zero returned, instead. In some cases, the program would just be silent about it as well, but likely it would give an error message, possibly in a requester. This would happen every time it was not granted access.

What of the logical device then? Mufs only works on filesystem devices I'm sure, so no help from there. Perhaps the ARexx scripts and whatnot, that require TCP: would have to be left out.

Detecting the programs is also tricky. As the task name more often than not depends on where a program was started from, it would be necessary to use wildcards. So how is the poor watchdog going to know the difference between yam, yam:yam and lyam? Somehow checking the starting/current directory of each program that tries to open a socket, would be very weird in my opinion. You would be tied to a certain installation path. So at the very least, the user would be swamped with configuration issues.

I haven't actually done these things personally but this is how I perceive it. May be too huge a task for one or two hobbyists to get done.

Also read the last paragraph from
So you have the strings in your palm. Do you know what they are for?
 

Offline Belxjander

  • Newbie
  • *
  • Join Date: Sep 2003
  • Posts: 3
    • Show only replies by Belxjander
Re: TCP stack monitoring program?
« Reply #4 on: September 25, 2003, 01:08:38 PM »
Is there any good TCP Stack monitoring program?
  no ... current implimentations require this to be embedded
  into the network kernelling of the stack itself.

Is there any firewall program for amiga besides the built in for MiamiDX that allows the user to deside what programs that is allowed and not for accessing the net?

MiamiDX's firewall is not as intelligent as this in practise from
  what personal experience I have had with it...

the "bsdsocket.library" the applications use for accessing network sockets to talk to servers has more than one copy of the LVOcall table and ####ociated "per-process" data in the LibraryBase structure attached with this,

due to the nature of AmiTCP / MiamiDX legacy there is not an equivalent to "SnoopDOS" for the networking on AmigaOS...
nor would it be capable of questioning for each application.

name based identification would be rather difficult to
  impliment in practise...

I am personally implimenting my own networking stack for trying to do things such as this myself,  I'll post the results to my
  homepage and possibly on Aminet and other forums
  once completed if anyone is interested...
  as for Roadshow compatability well... if Roadshow is PPC only then I can fill in the M68K+PPC dual system niche of the 68K application networking
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: TCP stack monitoring program?
« Reply #5 on: September 25, 2003, 02:58:38 PM »
@GPT

Try to download MiamiPanel

It is a nice Mui MiamiPanel with some nice meters.

Only for MiamiDX registered.

Ciao

-edit- Sorry, i was thinking about transfer monitoring.