Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

hping command problem

  • 26-10-2008 5:47pm
    #1
    Closed Accounts Posts: 1,663 ✭✭✭


    in the following command; hping -1 –c 11 –K 1 192.168.1.66, does anyone know what the -K 1 is for?? I think it's setting the icmp code to 1; but what does that mean and why is it being done??

    Thanks in advance :D


Comments

  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    The ICMP code/type 1 is unassigned so I amn't quite sure:

    http://www.spirit.com/Resources/icmp.html

    Edit - Acutally, -C (capital C) would indicate type


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    Webmonkey wrote: »
    The ICMP code/type 1 is unassigned so I amn't quite sure:

    http://www.spirit.com/Resources/icmp.html

    Edit - Acutally, -C (capital C) would indicate type

    so what would -C 11 -K 1 be?? type 11 for the -C part, but then what is the -K 1?? Type 11 code 1? what's the code 1??


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    ah right i get it now.

    it would be;

    5 Redirect

    Codes
    0 Redirect Datagram for the Network (or subnet)
    1 Redirect Datagram for the Host

    cheers for that buddy


Advertisement