Focus on Linux
How to check UID of process on the other side of local TCP/UDP connection Nov 24 2006 06:11PM
rainmailbox2001-ola yahoo ca (6 replies)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 28 2006 02:31AM
Greg Metcalfe (metcalfegreg qwest net)
RE: How to check UID of process on the other side of local TCP/UDP connection Nov 27 2006 08:48PM
Bond Masuda (bond masuda jlbond com)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 27 2006 08:06PM
Luciano Miguel Ferreira Rocha (strange nsk no-ip org) (1 replies)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 28 2006 05:17PM
Filipe Varela (fcv dev6 com) (3 replies)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 29 2006 08:57PM
Luciano Miguel Ferreira Rocha (strange nsk no-ip org) (1 replies)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 30 2006 06:02PM
Filipe Varela (fcv dev6 com) (2 replies)
Hi all

I'll clarify my question as i seem to have failed to make it clear.

My point is: Isn't it wrong to use the term unix sockets for local
domain sockets? This isn't a tecnical question or a failure to
understand what sockets are, what varieties exist and for what
purposes each can be used (and what goodies each type provides). It's
a failure to understand why the term unix sockets is used to
designate local domain sockets.

The point in using the tcp/udp example is that contrary to popular
designation, the sentence "doing tcp/udp is impossible with unix
sockets because unix sockets are local domain sockets" is false. Unix
sockets are the general class. While it's true that local domain
sokets do not use tcp/udp, it's false (and this is a conceptual stand
not an everyday unix jargon use) that unix sockets = local domain
sockets.

Hierarchy

UNIX SOCKET {
local domain
ipv4/6
etc
etc
}

And this is the view that i would like you to tell me is right or
wrong (i'm not standing by it, just asking what you consider it to be).

Thanks for reading

On 2006/11/29, at 20:57, Luciano Miguel Ferreira Rocha wrote:

> On Tue, Nov 28, 2006 at 05:17:09PM +0000, Filipe Varela wrote:
>>>
>>>> Anyways, I would prefer to stick with TCP/UDP, because this is
>>>> what my
>>>> programs use already, and I don't really want to change
>>>> everything to
>>>> Unix sockets (unless of course Unix sockets are the only good
>>>> way to
>>>> resolve my problems).
>>
>> I don't want to go off-topic but i have an important question. Isn't
>> a socket a concept that translates an address and port? How would
>> someone go about doing tcp/udp without sockets when they both depend
>> on address/port mappings which are _literally_ sockets?
>
> I don't really understand your question nor where did the concept of
> doing tcp/udp without sockets originated.
>
> Maybe you're misreading the term Unix sockets? Sockets can belong to
> different protocol families: INET, INET6, UNIX/LOCAL, X25, etc..
>
> Unix sockets means using sockets for local interprocess communication.
> They don't use any network protocol.
>
> man 7 unix
>
> --
> lfr
> 0/0

[ reply ]
Re: How to check UID of process on the other side of local TCP/UDP connection Dec 01 2006 11:31PM
Glynn Clements (glynn gclements plus com)
Re: How to check UID of process on the other side of local TCP/UDP connection Dec 01 2006 09:38PM
Luciano Miguel Ferreira Rocha (strange nsk no-ip org)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 29 2006 08:13PM
Glynn Clements (glynn gclements plus com)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 29 2006 07:24PM
Vladimir Mitiouchev (vovcia gmail com)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 27 2006 08:06PM
Vladimir Mitiouchev (vovcia gmail com) (2 replies)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 29 2006 06:29AM
Greg Metcalfe (metcalfegreg qwest net)
Re: How to check UID of process on the other side of local TCP/UDP connection Nov 28 2006 05:05PM
Michael Bacarella (mbac netgraft com)


 

Privacy Statement
Copyright 2010, SecurityFocus