Skip to contentSkip to conversation

Does a forwarded packet has a local socket with it?

DISCUSSION Park Lee 3 participants 3 messages Apr 18, 2005

Subsystems (2)
lore
Share & tools
lore

Park Lee

author
#0 lore raw
Quoted 1 line · jamal

simple answer: no

Thank you very much.

Still, Does a forwarded packet also have no any kernel socket with it? i.e. Is a forwarded packet not associated with any socket at all?

When the forwarded packet arrived at its destination machine, is there any socket associated with the packet on the destination machine?

Thanks again.

Best Regards,
Park Lee

__________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide

#1 lore raw
Quoted 8 lines · Park Lee
Quoted 1 line · jamal

simple answer: no

Thank you very much.

Still, Does a forwarded packet also have no any kernel socket with it? i.e. Is a forwarded packet not associated with any socket at all?

Not on the fowarding machine, no. There is no need for a socket, since a socket just defines an endpoint for a connection, or a data source or sink. A device that forwards a packet has no need to define a socket, since its not sourcing or sinking data, its just forwarding it.

Quoted 5 lines

When the forwarded packet arrived at its destination machine, is there any socket associated with the packet on the destination machine?

Sure, at the originating host, and at the receiving host. Neil

Quoted 12 lines

Thanks again.

Best Regards,
Park Lee

__________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide

Signature · 8 lines
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *[email protected]
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/
#2 lore raw
In reply to Park Lee
Quoted 9 lines · Park Lee
Quoted 1 line · jamal

simple answer: no

Thank you very much.

Still, Does a forwarded packet also have no any kernel socket with it? i.e. Is a forwarded packet not associated with any socket at all?

No.

Quoted 3 lines

When the forwarded packet arrived at its destination machine, is there any socket associated with the packet on the destination machine?

It better be :-)
Otherwise, it could be ignored or just refused (as in connection refused).

Quoted 8 lines

Thanks again.

Best Regards,
Park Lee

cheers,
Masoud

Signature · 1 line
Masoud Sharbiani <masouds at masoud.ir>