bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

udp bug in gawk?


From: Jim Snyder
Subject: udp bug in gawk?
Date: Thu, 1 May 2008 14:27:47 -0400

I've attached a pair of tcp scripts and a pair of udp scripts.

Unless I've mistyped, the t*.awk files are the tcp scripts given in 2.1.2.1 of 
the attached pdf. They work.

Unless I've mistyped, the u*.awk files are the udp scripts given in 2.1.2.2. 
They don't work.
______________________

Symptom with udp: both processes hang until interrupted.
______________________

System configuration:
______________________

1)
Output of uname -a:

Linux labrea 2.6.24.4-64.fc8 #1 SMP Sat Mar 29 09:15:49 EDT 2008 x86_64 x86_64 
x86_64 GNU/Linux

  a) I've tried this with FC8 rpm gawk-3.1.5-15.fc7

  b) I've also compiled gawk-3.1.6 from source on a CMU gnu mirror, looks the 
same.

Sanity checks..
I turned off the firewall and checked that all ports were open with iptables -L 
-n
I ran 'netstat -a | grep 8888' to verify that no (other) server was listening 
on port 8888.
No dropped packets show up in the system log when the firewall is on, and by 
default my
firewall prints out all udp packets which are not claimed by a firewall rule.

ps auxw shows:
jhs       3999  0.0  0.0  10868   880 pts/9    S+   14:01   0:00 gawk -f uin.awk
jhs       5277  0.0  0.0   8772   768 pts/6    S+   14:17   0:00 gawk -f 
uout.awk

netstat -a shows nothing on port 8888, and none of the udp ports seem to match 
up with
the two awk processes.

2) I also tried this on a newly installed kubuntu system:

Linux ddtn 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

with the same results.

ddtn=; gawk -W version
GNU Awk 3.1.6
____________________________________________________________________

                                jim snyder

                                address@hidden


Attachment: gawkinet.pdf
Description: Adobe PDF document

Attachment: tin.awk
Description: Binary data

Attachment: tout.awk
Description: Binary data

Attachment: uin.awk
Description: Binary data

Attachment: uout.awk
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]