LOWEST level packet writing

This is a discussion on LOWEST level packet writing within the C++ Programming forums, part of the General Programming Boards category; How do you write a single packet. The whole packet. LIke the header and everything. I would like to get ...

  1. #1
    skacy
    Guest

    LOWEST level packet writing

    How do you write a single packet. The whole packet. LIke the header and everything. I would like to get as low level as possible.

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    The header and everything? I'm not sure, but I heard that it's impossible on anything exept 2K and XP..

    Although your ISP will probably kill you for doing so..

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    Actually I think it is only XP that supports raw packets. If you ask me it was stupid of MS to put it in there because now it will take even less for script kiddis to mess things up. It always been possible to do it but it toke some knowledge. And I will not tell you have to do it

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >I would like to get as low level as possible.

    What OS are you using?

    What kind of datacommunication are you using? (USB, serial port, procols etc.)

  5. #5
    Nor
    Nor is offline
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299
    1. What OS are you running?
    2. *Please provide a VALID reason for requiring such information?

    * Any field with this mark is required, to receive additional information.
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

  6. #6
    $null
    Guest
    Originally posted by Barjor
    Actually I think it is only XP that supports raw packets. If you ask me it was stupid of MS to put it in there because now it will take even less for script kiddis to mess things up. It always been possible to do it but it toke some knowledge. And I will not tell you have to do it
    im guessing you dont know how to do it eitehr... and its raw sockets not packets... as for all of grc's squealing what has been different since xp's release? script kiddies arent smart enough to understand how sending forged packets can be helpful(and yes it does take skill since your basically shooting in the dark)... they are content to run their sub7...

  7. #7
    Unregistered
    Guest
    Theres some code for raw sockets on unix available openly, have a search for kaitin ( I think thats the wrong spelling but its something like that. )

  8. #8
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >2. *Please provide a VALID reason for requiring such information?

    Why is that?

  9. #9
    Nor
    Nor is offline
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299
    Because raw data sockets can be very dangerous.
    For example...
    1.) If you don't know what your doing, upsetting the data stream in a PPP connection will crash it.
    2.) If you know what your doing, and accept your a little b*&&h, you can lessen to other connection.
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem while constructing IP packet and sending using socket() system call
    By cavestine in forum Networking/Device Communication
    Replies: 10
    Last Post: 10-15-2007, 05:49 AM
  2. unable to recieve UDP packet
    By caroundw5h in forum Networking/Device Communication
    Replies: 15
    Last Post: 09-19-2007, 11:11 AM
  3. Raw Packet (sorry tripple weird Post)
    By Coder87C in forum Networking/Device Communication
    Replies: 6
    Last Post: 03-04-2006, 10:34 AM
  4. Networking (queuing delay, avg packet loss)
    By spoon_ in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-05-2005, 11:23 AM
  5. A small problem with a small program
    By Wetling in forum C Programming
    Replies: 7
    Last Post: 03-25-2002, 08:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21