Skip to content

GHCi triggers firewall by sending unexpected packet

Sometimes when a function has been calculating heavily, for a minute or two, GHCi 6.8.1 trips the firewall by sending a packet. I would guess that this has something to do with GC. I also observed this behavior in GHCi 6.6 and

  1. 6.1, I'm using Sygate Personal Firewall, on Windows XP,

with ethernet (wired, not wireless) thru a router to a cable modem. Here's a typical detail from a packet.

Parent Process :	E:\graphics\haskell\bin\ghci.exe
Parent Version :	
Parent Description :	
Parent Process ID :	0x454 (Heximal) 1108 (Decimal)


File Version :		
File Description :	E:\graphics\haskell\bin\ghc.exe
File Path :		E:\graphics\haskell\bin\ghc.exe
Process ID :		0xC20 (Heximal) 3104 (Decimal)

Connection origin :	local initiated
Protocol :		Raw Ethernet
Local Address : 	0.0.0.0
Local Port :		0 
Remote Name :			
Remote Address :	0.0.0.0
Remote Port : 		0 

Ethernet packet details:
Ethernet II (Packet Length: 56)
	Destination: 	ff-ff-ff-ff-ff-ff
	Source: 	00-0d-87-7f-3c-6b
Type: ARP (0x0806)
Address Resolution Protocol (ARP)
	Hardware type: Ethernet (0x0001)
	Protocol type: IP (0x0800)
	Hardware size: 6
	Protocol size: 4
	Opcode: Request
	Sender hardware address: 00-0d-87-7f-3c-6b
	Sender IP address: 192.168.1.100
	Target hardware address: 00-00-00-00-00-00
	Target IP address: 192.168.1.1

Binary dump of the packet:
0000:  FF FF FF FF FF FF 00 0D : 87 7F 3C 6B 08 06 00 01 | ..........<k....
0010:  08 00 06 04 00 01 00 0D : 87 7F 3C 6B C0 A8 01 64 | ..........<k...d
0020:  00 00 00 00 00 00 C0 A8 : 01 01 04 38 3F 1E 50 10 | ...........8?.P.
0030:  FD 63 90 FF 00 00 50 4F :                         | .c....PO        
Trac metadata
Trac field Value
Version 6.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information