Negitive. I now get..
(Defaults to TCP, src/dst ports are now 0)
14:46:44.553547 IP (tos 0x0, ttl 60, id 35744, offset 0, flags [DF], p
+roto TCP (6), length 40)
192.168.10.10.0 > 192.168.10.20.0: Flags [DF], cksum 0xcd50 (incor
+rect -> 0xd550), seq 0, win 65535, length 0
If i use your example and just change...
my $packet = new Net::RawIP({udp => {check => 0}});
Or even..
my $packet = new Net::RawIP({udp => {}});
I still get a bad checkdum...
4:47:22.542872 IP (tos 0x0, ttl 60, id 35885, offset 0, flags [DF], pr
+oto UDP (17), length 35)
192.168.10.10.6544 > 192.168.10.20.514: [bad udp cksum 0xb59d -> 0
+xbd9d!] [|syslog]
-Will
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.