Summary: | sys-apps/net-tools: updated SCTP/IPX patches | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joshua Kinard <kumba> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=522566 https://bugs.gentoo.org/show_bug.cgi?id=515836 https://bugzilla.redhat.com/show_bug.cgi?id=46434 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 483058 | ||
Attachments: |
IPX patch for net-tools-1.60_p20141019041918
SCTP statistics patch for net-tools-1.60_p20141019041918 |
Created attachment 387042 [details, diff]
SCTP statistics patch for net-tools-1.60_p20141019041918
where are you testing this ? on a big endian mips box ? i'm fairly certain you're changing it from working on little endian & failing on big endian to failing on little endian & passing on big endian. how are you creating IPX connections ? do you have some test code i can run ? i haven't used IPX since Win95 ... (In reply to SpanKY from comment #2) > where are you testing this ? on a big endian mips box ? i'm fairly certain > you're changing it from working on little endian & failing on big endian to > failing on little endian & passing on big endian. > > how are you creating IPX connections ? do you have some test code i can run > ? > i haven't used IPX since Win95 ... Haven't retested in some time the SCTP stuff. Have to put that on the TODO list. For IPX, I have NetWare 3.12 and 4.2 in separate VMs that I can connect to w/ the Linux machines after adding IPX and ncpfs support to the kernels. Then it's just finagling around with mount.ncpfs to get things working. i split out the netstat SCTP statistics part and pushed it upstream: http://sourceforge.net/p/net-tools/code/ci/3bbfa090c95fe2be58c24952870b70d0c618ba1c/ and the netstat part of SCTP now: http://sourceforge.net/p/net-tools/code/ci/7af48590bf304f1314ba0ea1c8c4cc31aa4f8fdc/ had to do a good bit of code clean up though ... those patches were crufty and the IPX byte swap patch is in upstream now: http://sourceforge.net/p/net-tools/code/ci/238f086321e1d7e706df40debc1998f15151bffa/ |
Created attachment 387040 [details, diff] IPX patch for net-tools-1.60_p20141019041918 I have re-synced the IPX patch and SCTP stats patch to apply cleanly against sys-apps/net-tools-1.60_p20141019041918. Tested both on amd64 and mips. For the IPX patch: Before: Active IPX sockets Proto Recv-Q Send-Q Local Address Foreign Address State IPX 0 0 01000000:400A - IPX 0 0 01000000:4009 - IPX 0 0 01000000:4008 041412AC:000000000001:0451 ESTAB ^^^^^^^^ ^^^^^^^^ After: Active IPX sockets Proto Recv-Q Send-Q Local Address Foreign Address State IPX 0 0 00000001:400A - IPX 0 0 00000001:4009 - IPX 0 0 00000001:4008 AC121404:000000000001:0451 ESTAB ^^^^^^^^ ^^^^^^^^ For the SCTP patch: netstat -anSp: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name sctp 0 0 172.18.20.4:22 0.0.0.0:* LISTEN 26690/sshd SCTP error in line: 2 SCTP error in line: 1 Bug ^^^^^^ After applying "net-tools-sctp-statistics.patch" from Fedora: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name sctp 172.18.20.4:22 LISTEN 26690/sshd sctp fd00::1:86:22 LISTEN 26690/sshd sctp 0 0 fd00::1:86:5774 fd00::1:30:22 ESTABLISHED 12123/ssh (Output columns had extra whitespace removed to fit into Bugzilla)