netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: UDP encapsulation of SCTP packages
       [not found] <CAG=SMqaUdvB_ducuzbcFE0XtjP7vdi5ZRSB8mrua3yuZebbN+g@mail.gmail.com>
@ 2013-07-18 19:05 ` Fabian Bergmark
  0 siblings, 0 replies; only message in thread
From: Fabian Bergmark @ 2013-07-18 19:05 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Im working on implementing UDP encapsulation of SCTP packages.

I have tried to implement  the encapsulation/decapsulation in a way
that is transparent to the logic of the current implementation.

Currently I'am able to send and recieve data over localhost or over
intranet. However, when trying to communicate over NAT I ran in to
problems. Because of port remapping of the UDP source port I included
as a final step to update the source port of the SCTP header and
recalculate the checksum.

This however, causes a kernel panic somewhere between receiving the
UDP packet and replying the INIT_ACK, that I am unable to understand.
Is there anything, besides the source port and checksum in the SCTP
header that needs to be updated?

I have included a packet capture of the INIT-packages that causes the panic.

As I am new to kernel development, general advice on how to debug this
issue is appreciated.

-- Fabian Bergmark

[-- Attachment #2: SCTP in UDP.pcap --]
[-- Type: application/octet-stream, Size: 528 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-18 19:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAG=SMqaUdvB_ducuzbcFE0XtjP7vdi5ZRSB8mrua3yuZebbN+g@mail.gmail.com>
2013-07-18 19:05 ` Fwd: UDP encapsulation of SCTP packages Fabian Bergmark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).