Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 159542 Details for
Bug 233608
Native SCTP - traffic randomly stops on RedHat AS4 Update 4
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
output of catcher on RH 4 update 5 32 bit system
q.txt (text/plain), 7.14 KB, created by
William Reich
on 2007-07-18 17:56:35 UTC
(
hide
)
Description:
output of catcher on RH 4 update 5 32 bit system
Filename:
MIME Type:
Creator:
William Reich
Created:
2007-07-18 17:56:35 UTC
Size:
7.14 KB
patch
obsolete
>Script started on Tue 17 Jul 2007 05:45:39 PM EDT >omnitest@chaplin 2% >omnitest@chaplin 2% >omnitest@chaplin 2% cat catcher.c >/****************************************************************************** > Copyright (c) 2005 Ulticom, Inc. > >File: catcher.c >Author: Anatoly Khusid >Created: 10/21/05 >Description: >*******************************************************************************/ > >#include <sys/types.h> >#include <sys/socket.h> >#include <netinet/in.h> >#include<stdio.h> >#include<string.h> >#include<stdlib.h> >#include<netinet/sctp.h> > > >int >main(int argc, char **argv) >{ > struct sockaddr_in in4; > struct sockaddr *sockaddr; > socklen_t socklen; > int fd; > int port = 0; > char buf[256]; > struct sctp_sndrcvinfo sinfo; > int msg_flags = 0; > int on = 1; > > > int i; > int new_fd; > int id = 0; > > port = 10000; > > for ( i = 0; i < argc; i++ ) > { > if ( !strcmp(argv[i], "-port") && i+1 < argc ) > { > port = atoi(argv[++i]); > } > } > printf("using port = %d\n", port ); > > if ( (fd = socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP)) == -1) > { > perror("socket() failed"); exit(1); > } > > memset(&in4, 0, sizeof(in4)); > in4.sin_family = AF_INET; > in4.sin_port = htons(port); > in4.sin_addr.s_addr = inet_addr("172.25.5.228"); > sockaddr = (struct sockaddr *) &in4; > socklen = sizeof(in4); > > > if(setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, > &on, sizeof(on))) > { > perror("setsockopt() failed"); > } > > if ( bind(fd, sockaddr, socklen) == -1) > { > perror("bind()");exit(1); > } > > if ( listen(fd, 10) == -1 ) > { > perror("listen()");exit(1); > } > > printf("waiting for client to connect\n"); > > > while(1) > { > socklen = sizeof(in4); > int client = 0; > if ( (new_fd = accept(fd, sockaddr, &socklen)) == -1) > { > perror("accept()");exit(1); > } > id++; > switch(fork()) > { > case -1: > perror("fork failed"); > break; > > case 0: /* child */ > close(fd); > client = 1; > break; > > default: /* parent */ > /* go back and listen for more pitchers */ > close(new_fd); > } > if(client == 1) > { > break; > } > > } > > printf("catcher starts reading messages, id=%d\n", id); > i = 0; > while(1) > { > socklen = sizeof(in4); > if(sctp_recvmsg(new_fd, (void *)buf, sizeof(buf), sockaddr, > &socklen, &sinfo, &msg_flags) <= 0) > { > perror("sctp_recvmsg()");exit(1); > } > if ( (i++ % 10000) == 0 ) > { > printf("id = %d, msg read=%d\n", id, i); > fflush(stdout); > } > } > > >} >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% >omnitest@chaplin 3% ./catcher >using port = 10000 >waiting for client to connect >catcher starts reading messages, id=1 >id = 1, msg read=1 >catcher starts reading messages, id=2 >id = 2, msg read=1 >catcher starts reading messages, id=3 >id = 3, msg read=1 >catcher starts reading messages, id=4 >id = 4, msg read=1 >catcher starts reading messages, id=5 >id = 5, msg read=1 >catcher starts reading messages, id=6 >id = 6, msg read=1 >id = 3, msg read=10001 >id = 4, msg read=10001 >id = 1, msg read=10001 >id = 5, msg read=10001 >id = 3, msg read=20001 >id = 6, msg read=10001 >id = 4, msg read=20001 >id = 2, msg read=10001 >id = 3, msg read=30001 >id = 4, msg read=30001 >id = 5, msg read=20001 >id = 6, msg read=20001 >id = 3, msg read=40001 >id = 4, msg read=40001 >id = 2, msg read=20001 >id = 1, msg read=20001 >id = 4, msg read=50001 >id = 3, msg read=50001 >id = 2, msg read=30001 >id = 1, msg read=30001 >id = 5, msg read=30001 >id = 3, msg read=60001 >id = 4, msg read=60001 >id = 6, msg read=30001 >id = 4, msg read=70001 >id = 2, msg read=40001 >id = 3, msg read=70001 >id = 5, msg read=40001 >id = 6, msg read=40001 >id = 4, msg read=80001 >id = 1, msg read=40001 >id = 2, msg read=50001 >id = 4, msg read=90001 >id = 2, msg read=60001 >id = 5, msg read=50001 >id = 3, msg read=80001 >id = 1, msg read=50001 >id = 4, msg read=100001 >id = 6, msg read=50001 >id = 2, msg read=70001 >id = 4, msg read=110001 >id = 2, msg read=80001 >id = 3, msg read=90001 >id = 5, msg read=60001 >id = 6, msg read=60001 >id = 4, msg read=120001 >id = 1, msg read=60001 >id = 2, msg read=90001 >id = 4, msg read=130001 >id = 2, msg read=100001 >id = 5, msg read=70001 >id = 3, msg read=100001 >id = 6, msg read=70001 >id = 4, msg read=140001 >id = 1, msg read=70001 >id = 2, msg read=110001 >id = 4, msg read=150001 >id = 2, msg read=120001 >id = 5, msg read=80001 >id = 3, msg read=110001 >id = 4, msg read=160001 >id = 6, msg read=80001 >id = 1, msg read=80001 >id = 2, msg read=130001 >id = 4, msg read=170001 >id = 2, msg read=140001 >id = 3, msg read=120001 >id = 5, msg read=90001 >id = 6, msg read=90001 >id = 4, msg read=180001 >id = 1, msg read=90001 >id = 2, msg read=150001 >id = 4, msg read=190001 >id = 2, msg read=160001 >id = 5, msg read=100001 >id = 3, msg read=130001 >id = 4, msg read=200001 >id = 1, msg read=100001 >id = 6, msg read=100001 >id = 2, msg read=170001 >id = 4, msg read=210001 >id = 2, msg read=180001 >id = 5, msg read=110001 >id = 3, msg read=140001 >id = 4, msg read=220001 >id = 6, msg read=110001 >id = 1, msg read=110001 >id = 2, msg read=190001 >id = 4, msg read=230001 >id = 2, msg read=200001 >id = 5, msg read=120001 >id = 3, msg read=150001 >id = 6, msg read=120001 >id = 4, msg read=240001 >id = 1, msg read=120001 >id = 2, msg read=210001 >id = 4, msg read=250001 >id = 2, msg read=220001 >id = 5, msg read=130001 >id = 3, msg read=160001 >id = 4, msg read=260001 >id = 1, msg read=130001 >id = 6, msg read=130001 >id = 2, msg read=230001 >id = 4, msg read=270001 >id = 2, msg read=240001 >id = 3, msg read=170001 >id = 5, msg read=140001 >id = 4, msg read=280001 >id = 6, msg read=140001 >id = 1, msg read=140001 >id = 2, msg read=250001 >id = 4, msg read=290001 >id = 2, msg read=260001 >id = 5, msg read=150001 >id = 3, msg read=180001 >id = 4, msg read=300001 >id = 1, msg read=150001 >id = 6, msg read=150001 >id = 2, msg read=270001 >id = 4, msg read=310001 >id = 2, msg read=280001 >id = 5, msg read=160001 >id = 3, msg read=190001 >id = 4, msg read=320001 >id = 6, msg read=160001 >id = 1, msg read=160001 >id = 2, msg read=290001 >id = 4, msg read=330001 >id = 2, msg read=300001 >id = 5, msg read=170001 >id = 3, msg read=200001 >id = 6, msg read=170001 >id = 4, msg read=340001 >id = 1, msg read=170001 >id = 2, msg read=310001 >id = 4, msg read=350001 >sctp_recvmsg(): Success >sctp_recvmsg(): Success >sctp_recvmsg(): Success >sctp_recvmsg(): Success >sctp_recvmsg(): Success >sctp_recvmsg(): Success > >omnitest@chaplin 4% >omnitest@chaplin 4% date >Tue Jul 17 17:46:34 EDT 2007 >omnitest@chaplin 5% >omnitest@chaplin 5% >omnitest@chaplin 5% uname -a >Linux chaplin 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686 i686 i386 GNU/Linux >omnitest@chaplin 6% >omnitest@chaplin 6% exit > >Script done on Tue 17 Jul 2007 05:46:47 PM EDT
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 233608
:
150748
|
150749
|
150750
|
150751
|
150752
|
150753
|
150754
|
158214
| 159542