LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-05-2010, 10:14 PM   #1
Ashkan_s
Member
 
Registered: Jul 2008
Distribution: Fedora
Posts: 77

Rep: Reputation: 22
What happens when a machine receive unwanted packets?


Hi

Assume this:

Machine A sends a packet to machine B, no application in machine B
is waiting for the packet, Now:

What happens in kernel?
what happens to this packet exactly?

Could you please explain me step by step? Or introduce me some books, web pages and ...?

Thanks

Last edited by Ashkan_s; 03-05-2010 at 10:46 PM.
 
Old 03-06-2010, 01:29 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
If there is nothing at all to use or respond to the packet, it is ignored.
What is the context here?
 
1 members found this post helpful.
Old 03-06-2010, 01:43 AM   #3
Ashkan_s
Member
 
Registered: Jul 2008
Distribution: Fedora
Posts: 77

Original Poster
Rep: Reputation: 22
I want to know what parts of kernel are involving in managing the packet, and specially on receiving an unwanted packet. If I receive such a packet, Is it possible any dangerous event occurs to my PC?
 
Old 03-06-2010, 10:41 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You use firewalls to manage packets - read about iptables. All the kernel does is assign resources to the transport, eg. through the nic driver and the various protocols the packet could be using.

If you look through the help files for the networking section of your kernel config, you'll get a good overview of the sorts of things the kernel does with tcp/ip packets.

It sounds like there is something on your mind - what's troubling you?
 
1 members found this post helpful.
Old 03-07-2010, 09:41 AM   #5
Ashkan_s
Member
 
Registered: Jul 2008
Distribution: Fedora
Posts: 77

Original Poster
Rep: Reputation: 22
OK

I read the following (first lines), yesterday: http://www.linuxjournal.com/article/4852

Now I am interested in knowing is there any way to a packet to be processed and became active?. In other words can a packet refuse that routine specially the third part mentioned in the article and goes another way?


The main question is:
Is the schema vulnerable or the implementations of it are insecure? which result in hacking attacks?
 
Old 03-07-2010, 01:48 PM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by Ashkan_s View Post
I read the following (first lines), yesterday: http://www.linuxjournal.com/article/4852
Be aware that the article, while at the time a pretty good one, concerns a rather old system by today's standards. In particular, the firewall system has had a significant makeover since then.

Quote:
In other words can a packet refuse
No, the packet never becomes active in that sense. The packet's 'payload' is data, not execution (or executability). Now, the user, or some other program can take that data and treat it as an executable, but the data itself can't directly do that. And that could be a problem, if done wrong/maliciously, but I'm not sure whether that is what you are asking about
 
1 members found this post helpful.
Old 03-08-2010, 03:29 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
But then, in case you were looking for something like this, there is portknocking:

http://www.portknocking.org/
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
receive multicast packets on RTL8110SC nathan2225 Linux - Networking 0 07-11-2007 09:01 AM
Cisco Aironet can't receive packets! orfeas Linux - Wireless Networking 0 10-13-2005 05:06 AM
unwanted packets on terminal harmster Linux - Networking 7 05-07-2005 06:28 AM
Cannot receive any packets through ppp0 !! mister_0101 Linux - Networking 1 05-06-2005 05:52 PM
FC3 cannot receive any packets from internet, can only send ben_build#2.1.0 Fedora 1 01-15-2005 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration