Linux X.25 subsystem development
 help / color / mirror / Atom feed
From: "Ian Cass" <ian.cass@mblox.com>
To: linux-x25@vger.kernel.org, Jacque Andre' Bussey <retsam@prodigy.net>
Subject: Re: XOT and Sockets (X25 over TCP/IP)
Date: Thu, 20 Jun 2002 09:33:45 +0100	[thread overview]
Message-ID: <001b01c21835$313a1aa0$6602a8c0@salamander> (raw)
In-Reply-To: 5.0.2.1.2.20020619163143.029c9890@pop.prodigy.net

Hi,

We've got 2 different X25 implementations here.

The first uses a Cisco router and a Linux XOTd & the 2nd uses a Cyclades X25
card.

For the XOT, the cisco router has been configured to tunnel X25 inside TCPIP
with a Linux box as the local endpoint. This uses the userland XOT daemon
written by Stephane Fillod <sfillod@charybde.gyptis.frmug.org>. I'm not sure
where I downloaded it from, but I suggest you do a search for it on the net.
If you can't find it, I can mail it to you.

The XOTd will terminate the XOT tunnel, unwrap the X25 and present it to the
Linux X25 stack. In our case, the far end x25 host was an SMSC and I wanted
our internal applications to talk to it via TCP rather than X25, so I made a
TCP<>X25 proxy. This makes the far end X25 host look like a TCP service
running on a local server. If you can't find or make a similar application,
I can probably mail this to you too. No promises on code quality though :)

The XOTd worked pretty much out of the box. It's running on Linux v2.2.19. I
had to modify the Linux X25 stack slightly in order to fix a facilities bug,
but other than that it works great.

--- net/x25/old_af_x25.c        Wed Nov 28 18:37:15 2001
+++ net/x25/af_x25.c    Thu Nov 29 12:33:50 2001
@@ -1150,7 +1150,7 @@
                                return -EINVAL;
                        if (facilities.winsize_in < 1 ||
facilities.winsize_in > 127)
                                return -EINVAL;
-                       if (facilities.throughput < 0x03 ||
facilities.throughput > 0x2C)
+                       if (facilities.throughput && (facilities.throughput
< 0x03 || facilities.throughput > 0x2C))
                                return -EINVAL;
                        if (facilities.reverse != 0 && facilities.reverse !=
1)
                                return -EINVAL;

--
Ian Cass

----- Original Message -----
From: "Jacque Andre' Bussey" <retsam@prodigy.net>
To: <linux-x25@vger.kernel.org>
Sent: Wednesday, June 19, 2002 10:39 PM
Subject: XOT and Sockets (X25 over TCP/IP)


> Greetings all,
>
> I am presented with a situation that requires that I monitor 200 Telco
> switches via X.25. My problem is that my monitoring platform
> is on TCP/IP. I know that with Cisco routers you can map a X.121 address
to
> an IP but does that mean I can make a TCP/IP connection to that device? If
> not, is there any software that I can run on a Unix box that can map a
> Socket back to that device over TCP/IP? (a listener on the Unix box gets a
> connection then forwards that via X.25 encapsulated in TCP/IP to the far
> side X.25 on the other side of the XOT cisco router. *WHEEEW*)
>
>
> Any help will be greatly appreciated ,
>
>
> Jacque Bussey
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-x25" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


  parent reply	other threads:[~2002-06-20  8:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-19 21:39 XOT and Sockets (X25 over TCP/IP) Jacque Andre' Bussey
2002-06-20  4:59 ` Ashwin Mansinghka
2002-06-20  8:33 ` Ian Cass [this message]
2002-06-20 10:51   ` Bernd Jendrissek
2002-06-20 10:57     ` Ian Cass
  -- strict thread matches above, loose matches on Subject: below --
2002-06-20  8:10 Dermot Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001b01c21835$313a1aa0$6602a8c0@salamander' \
    --to=ian.cass@mblox.com \
    --cc=linux-x25@vger.kernel.org \
    --cc=retsam@prodigy.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox