Re: Large delays (2 minute) with dummynet

2004-07-15 Thread Lev Walkin
network-related delays can offer you no more than several seconds delay. The best approach is, indeed, a buffering application-level daemon. -- Lev Walkin [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: raw socket/icmp-echo

2003-01-06 Thread Lev Walkin
bpcap-tutorial.html After you become familiar with libpcap, the bpf manual page will not seem obscure at all. Also, look at the trafd or ipcad daemons in the ports collection (/usr/ports/net). -- Lev Walkin [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freeb

Re: The socket sendto INVALID ARGUMENT ERROR returned

2003-01-24 Thread Lev Walkin
soheil soheil wrote: Dear all I wrote a code to send a tcp packet on a raw socket, but the sendto function return some errors on argument what can make this error occur ??? thanx the code : char datagram[4096]; . socket(s, SOCK_RAW, IPPROTO_TCP); s = socket(AF_INET, ); -- Lev

Re: help

2003-08-19 Thread Lev Walkin
? Do gizmos make you grin? http://www.msn.co.in/Computing/Gizmos/ Click here! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECT

Re: I would like to tcpdump and get all the packets...

2003-09-17 Thread Lev Walkin
seriously, there is a solution for your problem. Add a -n to your numerous -v's. You probably don't want to spend precious tcpdump's time to resolve IPs it captures, while losing data. -- Lev Walkin [EMAIL PROTECTED] ___ [EMAIL PRO

Re: TCP window size issues

2003-10-17 Thread Lev Walkin
erely says that the TCP implementation _itself_ should not shrink window after establishing a TCP connection. If the default dictates 4k, the TCP implementation will use 4k and will not advertise a much smaller window without having accepted that much data. -- Lev

Re: UDP connect: Can't assign requested address or "how todetermine the outgoing IP address?"

2003-10-22 Thread Lev Walkin
t;0) { printf("Error in connect: %s\n",strerror(errno)); return -1; } freeaddrinfo(res); res=NULL; s=sizeof(addr); err=getsockname(sock,(struct sockaddr*)&addr,&s); if (err<0) { printf("Error in getsockname: %s\n",strerr

Re: remote traceroute and ping for jails

2004-02-09 Thread Lev Walkin
param[strlen(param)-2] = '\0'; === cut === Suppose the buffer holds the following data: " ". param=strstr(buf, " "); will pass. param!=NULL will yield true *param++ = 0 will put \0 instead of the space. strlen(param) will yield 0. param[-2] = '\0'

Re: Multicast IPv6, socket,

2004-03-18 Thread Lev Walkin
len, 0, (struct sockaddr*)&cliaddr, clilen); } return 0; _ _______ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail t

Re: [nwebe] How to track TCP socket variables? (cwnd, ssthresh)

2004-04-10 Thread Lev Walkin
___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Lev Walkin [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.