TIP: Click on subject to list as thread! ANSI
echo: linux
to: MAURICE KINAL
from: MARK LEWIS
date: 2016-11-20 13:20:00
subject: two steps back

20 Nov 16 14:15, you wrote to me:

 ml>> how do you convert it to binary?

 MK> perl oneliners.  Calls to the builtin pack() function to be more specific.

ahhh... ok...

[trim]

 ml>> i want to look at it with a couple of packet inspection tools...

 MK> Sure.

i've modified the script to add the packet termination bytes... i've left a gap
in the code where messages might be read and packed in after the packet header
before the packet termination bytes are written... i have OUTPKT being set like
this

  OUTPKT=$(printf '%x.pkt' $(date +%s))

after the packet termination bytes are written i then sleep for one second...
mainly because this is so fast and i'm only creating what is known as "null
packets" which just means packets without any packed messages in them... i'm
sure you have code for packed messages but this works for now for this testing
;)

everything looks good at this point... i want to see about doing the Type 2+
stuff from points more properly where if the originating address has a non-zero
point, the "orgNet" field is set to 65535 and the actual originating net number
is found in the "auxNet" field... since you are not a point, you don't find/see
this but it is something that should be added at some point if the code is
going to be shared with others...

something else would be to also check if either originating or destination
addresses have a non-zero point and to not attempt to use Type 2 (aka stoneage
aka FTS-0001) for them unless there's a "pointnet" in use... "pointnets" are
really old school and were assigned by the IC for those systems that had points
and could only handle Type 2 packets... when Type 2+ and Type 2.2 got more
widespread, pointnets kinda dropped off... then also since we don't have an IC
any more, there's really no one to assign pointnets...

)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin' it
wrong...
... We are prisoners of ideas.
---
* Origin: (1:3634/12.73)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.