Re: tcp connection

2000-06-17 Thread Kain
On Sat, Jun 17, 2000 at 12:43:45AM -0400, Chris Wagner wrote:
> At 10:48 PM 6/16/00 -0500, Sanjeev Gupta wrote:
> >Sockets?  Butyou would definitely have seen this more than a couple of
> >times.
> 
> No, not sockets, sockets are way down on the stack.  This is the protocol
> that says what the octets mean and do.  It's the common thread among all the
> high level protocols and is directly below them in the stack.  But I can't
> think of the darn name.

What I think you're thinking of is just IP.  You probably haven't been seeing 
it, because there is no concept of connection in TCP/IP stacks until you hit 
TCP, but here's how your connection kinda works (at least on 2 *nix boxen):

peer<-->socket filehandle<-->transport<-->socket filehandle<-->peer

"transport" here can be one of many things, such as:
socket fd<-->unix domain socket<-->socket fd

or

socket fd<-->TCP<-->IP<-->ip transport(LAN/PPP/X.25/SmokeSignals)<-
->IP<-->TCP<-->socket fd

Now, if you actually mean "what octets mean and do", those are actually defined 
higher than TCP, and are laid out in the specs for those respective protocols.

i.e.:
Telnet Protocol: RFC 854/855
FTP:RFC 959
TFTP:   RFC 1350
POP3:   RFC 1939
HTTP/1.1:   RFC 2068

Hope that helps.
-- 
Love is like a friendship caught on fire.  In the beginning a flame, very
pretty, often hot and fierce, but still only light and flickering.  As love
grows older, our hearts mature and our love becomes as coals, deep-burning
and unquenchable.
-- Bruce Lee
**
Penguin Sympathizer
Bryon Roche, Kain <[EMAIL PROTECTED]>


pgpGsUHT5B6qS.pgp
Description: PGP signature


Re: VPN recomendations

2000-09-14 Thread Kain
On Wed, Sep 13, 2000 at 10:58:15PM -0700, Luca Filipozzi wrote:
> On Thu, Sep 14, 2000 at 01:42:26AM -0400, Kim O wrote:
> > was just wondering what the best way is to do VPN between linux servers in
> > different places to establish a small private network over public
> > infrastructure. packages,software or howtos appreciated.

There is also pipsecd, IIRC.. userland, IPSEC compliant.. Not quite as 
versatile or populer as FreeS/WAN, but just about as good a choice.  Note that 
if you are using FreeS/WAN on an ipchains-secured firewall, the built-in 
scripts don't quite handle it... I have some alt. ones.  Email me if you want 
them.

> 
> CIPE  - packaged, is a kernel patch
> FreeS/WAN - not packaged, is a kernel patch, is IPSEC compliant;
> google for the site
> vpnd  - userland, IP over PPP over IP (ick, but easy to setup);
> google for the site

-- 
Ooh, look!  It's fluffy!
**
Penguin Farmer
Bryon Roche, Kain <[EMAIL PROTECTED]>


pgpUdDDAYfFeq.pgp
Description: PGP signature


Re: tcp connection

2000-06-16 Thread Kain

On Sat, Jun 17, 2000 at 12:43:45AM -0400, Chris Wagner wrote:
> At 10:48 PM 6/16/00 -0500, Sanjeev Gupta wrote:
> >Sockets?  Butyou would definitely have seen this more than a couple of
> >times.
> 
> No, not sockets, sockets are way down on the stack.  This is the protocol
> that says what the octets mean and do.  It's the common thread among all the
> high level protocols and is directly below them in the stack.  But I can't
> think of the darn name.

What I think you're thinking of is just IP.  You probably haven't been seeing it, 
because there is no concept of connection in TCP/IP stacks until you hit TCP, but 
here's how your connection kinda works (at least on 2 *nix boxen):

peer<-->socket filehandle<-->transport<-->socket filehandle<-->peer

"transport" here can be one of many things, such as:
socket fd<-->unix domain socket<-->socket fd

or

socket fd<-->TCP<-->IP<-->ip transport(LAN/PPP/X.25/SmokeSignals)<-
->IP<-->TCP<-->socket fd

Now, if you actually mean "what octets mean and do", those are actually defined higher 
than TCP, and are laid out in the specs for those respective protocols.

i.e.:
Telnet Protocol: RFC 854/855
FTP:RFC 959
TFTP:   RFC 1350
POP3:   RFC 1939
HTTP/1.1:   RFC 2068

Hope that helps.
-- 
Love is like a friendship caught on fire.  In the beginning a flame, very
pretty, often hot and fierce, but still only light and flickering.  As love
grows older, our hearts mature and our love becomes as coals, deep-burning
and unquenchable.
-- Bruce Lee
**
Penguin Sympathizer
Bryon Roche, Kain <[EMAIL PROTECTED]>

 PGP signature


Re: VPN recomendations

2000-09-13 Thread Kain

On Wed, Sep 13, 2000 at 10:58:15PM -0700, Luca Filipozzi wrote:
> On Thu, Sep 14, 2000 at 01:42:26AM -0400, Kim O wrote:
> > was just wondering what the best way is to do VPN between linux servers in
> > different places to establish a small private network over public
> > infrastructure. packages,software or howtos appreciated.

There is also pipsecd, IIRC.. userland, IPSEC compliant.. Not quite as versatile or 
populer as FreeS/WAN, but just about as good a choice.  Note that if you are using 
FreeS/WAN on an ipchains-secured firewall, the built-in scripts don't quite handle 
it... I have some alt. ones.  Email me if you want them.

> 
> CIPE  - packaged, is a kernel patch
> FreeS/WAN - not packaged, is a kernel patch, is IPSEC compliant;
> google for the site
> vpnd  - userland, IP over PPP over IP (ick, but easy to setup);
> google for the site

-- 
Ooh, look!  It's fluffy!
**
Penguin Farmer
Bryon Roche, Kain <[EMAIL PROTECTED]>

 PGP signature


Re: Network Mapping and Discovery.

2000-10-02 Thread Kain

On Mon, Oct 02, 2000 at 12:57:15PM -0400, Kim O wrote:
> does anyone out there know of a product for unix  that is like WhatsUp GOLD

apt-get install 'scotty.*'
look for scotty+tkined.
-- 
Absurdity, n.: A statement or belief manifestly inconsistent with one's own
opinion. -- Ambrose Bierce, "The Devil's Dictionary"
**
Penguin Sympathizer
Bryon Roche, Kain <[EMAIL PROTECTED]>

 PGP signature