PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > hi
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

hi

Réponse
 
LinkBack Outils de la discussion
Vieux 20/11/2006, 09h32   #1
bLaCkliGhts
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut hi

Hi all,

let me get in to the subject,
i am trying a RAW socket program to send my own IP datagrams to the
network. i could send all the valid datagrams (like echo request/ time
stamp request etc etc ). but when i send a datagram with invalid IHL or
Version field that datagram is not going outside the system..i heard
that using RAW socket and with IP_HDRINCL option we can send whatever
data we want to the net. please let me know what should i do to do the
same.

regards,
vneeth
(also Please let me know where i can find more details on RAW sockets)

  Réponse avec citation
Vieux 20/11/2006, 12h44   #2
James Carlson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hi

"bLaCkliGhts" <bLaCklitEs@gmail.com> writes:
> let me get in to the subject,
> i am trying a RAW socket program to send my own IP datagrams to the
> network. i could send all the valid datagrams (like echo request/ time
> stamp request etc etc ). but when i send a datagram with invalid IHL or
> Version field that datagram is not going outside the system..i heard
> that using RAW socket and with IP_HDRINCL option we can send whatever
> data we want to the net. please let me know what should i do to do the
> same.


You'll need to provide more details about the implementation you're
using. Some systems prohibit raw IP socket users from sending
obviously invalid messages. To do that, you'll need a lower-level
interface to the driver itself.

--
James Carlson, KISS Network <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
  Réponse avec citation
Vieux 20/11/2006, 15h05   #3
bLaCkliGhts
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hi

Thank you for the quick response Mr Carlson. I am working on Linux
platfrm (kernal :2.4.20.-8) . and i wanted to know how the IP stack in
a machine respond to a packet with invalid IP version field/or IHL
value...or any invalid field. Please let me know what all are the
details u expecting.
Regards
Vneeth

On Nov 20, 5:44 pm, James Carlson <james.d.carl...@sun.com> wrote:
> "bLaCkliGhts" <bLaCkli...@gmail.com> writes:
> > let me get in to the subject,
> > i am trying a RAW socket program to send my own IP datagrams to the
> > network. i could send all the valid datagrams (like echo request/ time
> > stamp request etc etc ). but when i send a datagram with invalid IHL or
> > Version field that datagram is not going outside the system..i heard
> > that using RAW socket and with IP_HDRINCL option we can send whatever
> > data we want to the net. please let me know what should i do to do the
> > same.You'll need to provide more details about the implementation you're

> using. Some systems prohibit raw IP socket users from sending
> obviously invalid messages. To do that, you'll need a lower-level
> interface to the driver itself.
>
> --
> James Carlson, KISS Network <james.d.carl...@sun.com>
> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
> MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677


  Réponse avec citation
Vieux 20/11/2006, 22h18   #4
James Carlson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hi

"bLaCkliGhts" <bLaCklitEs@gmail.com> writes:
> Thank you for the quick response Mr Carlson. I am working on Linux
> platfrm (kernal :2.4.20.-8) . and i wanted to know how the IP stack in
> a machine respond to a packet with invalid IP version field/or IHL
> value...or any invalid field. Please let me know what all are the
> details u expecting.


I'm not much of a Linux user anymore, but what I think you want is
something called "PF_PACKET." Just google on that term, and you'll
get tens of thousands of hits. Some of which are even ful. ;-}

--
James Carlson, KISS Network <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
  Réponse avec citation
Vieux 21/11/2006, 15h25   #5
bLaCkliGhts
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hi

thanks for that good clue (PF_PACKET)..hope i've got somethin' to
try on..!! 'll 'll be back with my results ..! thanks agaain James.!!


On Nov 21, 3:18 am, James Carlson <james.d.carl...@sun.com> wrote:
> "bLaCkliGhts" <bLaCkli...@gmail.com> writes:
> > Thank you for the quick response Mr Carlson. I am working on Linux
> > platfrm (kernal :2.4.20.-8) . and i wanted to know how the IP stack in
> > a machine respond to a packet with invalid IP version field/or IHL
> > value...or any invalid field. Please let me know what all are the
> > details u expecting.I'm not much of a Linux user anymore, but what I think you want is

> something called "PF_PACKET." Just google on that term, and you'll
> get tens of thousands of hits. Some of which are even ful. ;-}
>
> --
> James Carlson, KISS Network <james.d.carl...@sun.com>
> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
> MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677


  Réponse avec citation
Vieux 21/11/2006, 20h10   #6
Moe Trin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hi

On 20 Nov 2006, in the Usenet newsgroup comp.protocols.tcp-ip, in article
<1164035144.266782.25110@e3g2000cwe.googlegroups.c om>, bLaCkliGhts wrote:

>Thank you for the quick response Mr Carlson. I am working on Linux
>platfrm (kernal :2.4.20.-8) . and i wanted to know how the IP stack in
>a machine respond to a packet with invalid IP version field/or IHL
>value...or any invalid field.


2.4.20-8 was the out-of-box kernel for Red Hat 9 back in April 2003.
You can easily check this by running two commands:

uname -a which tells you the kernel version
cat /etc/*release /etc/*version which identifies the release number

Red Hat updated that kernel nine times over the service life of that
distribution, and 'fedoralegacy.org' has back-ported at least three
further security updates to the kernel. Last I looked, the "current"
kernel for this obsolete distribution was '2.4.20-46.9.legacy' released
back in early March. See http://download.fedoralegacy.org/ for the
archived updates.

Old guy
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h22.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13325 seconds with 14 queries