From owner-freebsd-threads@FreeBSD.ORG Sun Jul 11 04:49:16 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 249A116A4CE; Sun, 11 Jul 2004 04:49:16 +0000 (GMT) Received: from idiom.com (idiom.com [216.240.32.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18AAE43D2F; Sun, 11 Jul 2004 04:49:16 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom (julianelischer@idiom [216.240.32.1]) by idiom.com (8.12.9p2/8.12.9) with ESMTP id i6B4nDJP001627; Sat, 10 Jul 2004 21:49:13 -0700 (PDT) (envelope-from julian@elischer.org) Date: Sat, 10 Jul 2004 21:49:13 -0700 (PDT) From: Julian Elischer X-X-Sender: julianelischer@idiom.com To: deischen@freebsd.org In-Reply-To: Message-ID: <20040710214817.O33743-100000@idiom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org cc: Andrew Gallatin cc: Julian Elischer Subject: Re: pthread switch (was Odd KSE panic) X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 04:49:16 -0000 On Thu, 8 Jul 2004, Daniel Eischen wrote: > On Tue, 6 Jul 2004, Daniel Eischen wrote: > > > On Tue, 6 Jul 2004, Andrew Gallatin wrote: > > > > > > > > > does your worker thread loop to check if there is more work before > > > > waiting to be notified? > > > > > > Yes. He takes a mutex, loops over all completed events, sending > > > pthread_signals as required, then releases the mutex and sleeps via > > > an ioctl. > > > > Note that he is holding the mutex while calling pthread_cond_signal(). > > If we enable preemption in pthread_cond_signal(), then I suspect it > > would be even worse than without preemption. > > > > I think the only place where it is sane to enable preemption is > > on pthread_mutex_unlock(). > > Wewll, I just took a look at this. I had already added a preemption > point in pthread_mutex_unlock(): > > $ cvs log -r1.38 lib/libpthread/thread/thr_mutex.c > ... > description: > ---------------------------- > revision 1.38 > date: 2003/07/18 02:46:29; author: deischen; state: Exp; lines: +10 -6 > Add a preemption point when a mutex or condition variable is > handed-off/signaled to a higher priority thread. Note that when > there are idle KSEs that could run the higher priority thread, > we still add the preemption point because it seems to take the > kernel a while to schedule an idle KSE. The drawbacks are that > threads will be swapped more often between CPUs (KSEs) and > that there will be an extra userland context switch (the idle > KSE is still woken and will probably resume the preempted > thread). We'll revisit this if and when idle CPU/KSE wakeup > times improve. > > Note that the priority of a runnable thread must be strictly greater > than the currently running thread in order for preemption to occur. So all Drew should have to do is increas the priority of teh correct thread to get it to switch at that point. Drew? > > -- > Dan Eischen > > From owner-freebsd-threads@FreeBSD.ORG Sun Jul 11 15:16:04 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3FCC16A4CE for ; Sun, 11 Jul 2004 15:16:04 +0000 (GMT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6637E43D3F for ; Sun, 11 Jul 2004 15:16:04 +0000 (GMT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i6BFFspQ023230; Sun, 11 Jul 2004 11:15:54 -0400 (EDT) Date: Sun, 11 Jul 2004 11:15:54 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Julian Elischer In-Reply-To: <20040710214817.O33743-100000@idiom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Andrew Gallatin cc: freebsd-threads@freebsd.org Subject: Re: pthread switch (was Odd KSE panic) X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 15:16:04 -0000 On Sat, 10 Jul 2004, Julian Elischer wrote: > > On Thu, 8 Jul 2004, Daniel Eischen wrote: > > > Wewll, I just took a look at this. I had already added a preemption > > point in pthread_mutex_unlock(): > > > > $ cvs log -r1.38 lib/libpthread/thread/thr_mutex.c > > ... > > description: > > ---------------------------- > > revision 1.38 > > date: 2003/07/18 02:46:29; author: deischen; state: Exp; lines: +10 -6 > > Add a preemption point when a mutex or condition variable is > > handed-off/signaled to a higher priority thread. Note that when > > there are idle KSEs that could run the higher priority thread, > > we still add the preemption point because it seems to take the > > kernel a while to schedule an idle KSE. The drawbacks are that > > threads will be swapped more often between CPUs (KSEs) and > > that there will be an extra userland context switch (the idle > > KSE is still woken and will probably resume the preempted > > thread). We'll revisit this if and when idle CPU/KSE wakeup > > times improve. > > > > Note that the priority of a runnable thread must be strictly greater > > than the currently running thread in order for preemption to occur. > > So all Drew should have to do is increas the priority of teh correct > thread to get it to switch at that point. Yes. -- Dan Eischen From owner-freebsd-threads@FreeBSD.ORG Tue Jul 13 23:10:25 2004 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8196C16A4D1 for ; Tue, 13 Jul 2004 23:10:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 981F343D41 for ; Tue, 13 Jul 2004 23:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6DNAI81065299 for ; Tue, 13 Jul 2004 23:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6DNAIhC065296; Tue, 13 Jul 2004 23:10:18 GMT (envelope-from gnats) Resent-Date: Tue, 13 Jul 2004 23:10:18 GMT Resent-Message-Id: <200407132310.i6DNAIhC065296@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-threads@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joe Mistachkin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0EA716A4CE for ; Tue, 13 Jul 2004 23:04:27 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D052943D1D for ; Tue, 13 Jul 2004 23:04:27 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6DN4RGY086390 for ; Tue, 13 Jul 2004 23:04:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i6DN4RO2086389; Tue, 13 Jul 2004 23:04:27 GMT (envelope-from nobody) Message-Id: <200407132304.i6DN4RO2086389@www.freebsd.org> Date: Tue, 13 Jul 2004 23:04:27 GMT From: Joe Mistachkin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: threads/69020: pthreads library leaks _gc_mutex X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 23:10:25 -0000 >Number: 69020 >Category: threads >Synopsis: pthreads library leaks _gc_mutex >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-threads >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 13 23:10:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Joe Mistachkin >Release: 4.10-STABLE >Organization: >Environment: >Description: The file "/usr/src/lib/libc_r/uthread/uthread_init.c" initializes a mutex named "_gc_mutex". This mutex is never freed via pthread_mutex_destroy (at least not anywhere I have found). I believe this is a bug. Since this mutex is process wide, I believe it could be freed relatively easily using an atexit handler or similar mechanism. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-threads@FreeBSD.ORG Fri Jul 16 14:59:23 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E661816A4CE; Fri, 16 Jul 2004 14:59:23 +0000 (GMT) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FDA143D45; Fri, 16 Jul 2004 14:59:22 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (8.12.11/8.12.11) with ESMTP id i6GExDX7093422 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 16 Jul 2004 16:59:13 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.12.11/8.12.5/Submit) id i6GExCZr093421; Fri, 16 Jul 2004 16:59:12 +0200 (CEST) Date: Fri, 16 Jul 2004 16:59:12 +0200 From: Divacky Roman To: threads@freebsd.org Message-ID: <20040716145912.GA93351@stud.fit.vutbr.cz> References: <20040714130120.GA7897@cell.sick.ru> <20040714154254.GB9999@cell.sick.ru> <40F56DF1.7060107@elischer.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <40F56DF1.7060107@elischer.org> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: julian@elischer.org cc: davidxu@freebsd.org Subject: Re: Some netgraph node global locking patches X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 14:59:24 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi There is a problem with recent current kernels. It shows as pdnsd (ports/dns/pdnsd) not working with recent (less than week?) current kernels. I am attaching ktraces of the old (working) and new (not working) kernel running pdnsd.. there is a huge difference. Everything else is the same just different kernel. I hope this gets fixed soon roman P.S. I am not subscribed to this mailing list so pls CCme --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=old 457 pdnsd RET kse_release 0 457 pdnsd CALL kse_release(0xbfafef5c) 457 pdnsd RET kse_release 0 457 pdnsd CALL gettimeofday(0xbfaedf60,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaedfa8,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL kse_release(0x806efa4) 457 pdnsd RET kse_release 0 457 pdnsd CALL gettimeofday(0xbfaedf60,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaedf20,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL open(0x28161438,0,0x1b6) 457 pdnsd NAMI "/etc/protocols" 457 pdnsd RET open 6 457 pdnsd CALL fstat(0x6,0xbfaed888) 457 pdnsd RET fstat 0 457 pdnsd CALL read(0x6,0x8080000,0x4000) 457 pdnsd GIO fd 6 read 4096 bytes "# # Internet protocols # # $FreeBSD: src/etc/protocols,v 1.19 2004/03/08 22:03:27 mlaier Exp $ # from: @(#)protocols 5.1 (Berkeley) 4/17/89 # # See also http://www.iana.org/assignments/protocol-numbers # ip 0 IP # internet protocol, pseudo protocol n\ umber #hopopt 0 HOPOPT # hop-by-hop options for ipv6 icmp 1 ICMP # internet control message protocol igmp 2 IGMP # internet group management protocol ggp 3 GGP # gateway-gateway protocol ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``\ IP'') st2 5 ST2 # ST2 datagram mode (RFC 1819) tcp 6 TCP # transmission control protocol cbt 7 CBT # CBT, Tony Ballardie egp 8 EGP # exterior gateway protocol igp 9 IGP # any private interior gateway (Cisco:\ for IGRP) bbn-rcc 10 BBN-RCC-MON # BBN RCC Monitoring nvp 11 NVP-II # Network Voice Protocol pup 12 PUP # PARC universal packet protocol argus 13 ARGUS # ARGUS emcon 14 EMCON # EMCON xnet 15 XNET # Cross Net Debugger chaos 16 CHAOS # Chaos udp 17 UDP # user datagram protocol mux 18 MUX # Multiplexing protocol dcn 19 DCN-MEAS # DCN Measurement Subsystems hmp 20 HMP # host monitoring protocol prm 21 PRM # packet radio measurement protocol xns-idp 22 XNS-IDP # Xerox NS IDP trunk-1 23 TRUNK-1 # Trunk-1 trunk-2 24 TRUNK-2 # Trunk-2 leaf-1 25 LEAF-1 # Leaf-1 leaf-2 26 LEAF-2 # Leaf-2 rdp 27 RDP # "reliable datagram" protocol irtp 28 IRTP # Internet Reliable Transaction Protoc\ ol iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4 netblt 30 NETBLT # Bulk Data Transfer Protocol mfe-nsp 31 MFE-NSP # MFE Network Services Protocol merit-inp 32 MERIT-INP # MERIT Internodal Protocol sep 33 SEP # Sequential Exchange Protocol 3pc 34 3PC # Third Party Connect Protocol idpr 35 IDPR # Inter-Domain Policy Routing Protocol xtp 36 XTP # Xpress Tranfer Protocol ddp 37 DDP # Datagram Delivery Protocol idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transpo\ rt Proto tp++ 39 TP++ # TP++ Transport Protocol il 40 IL # IL Transport Protocol ipv6 41 IPV6 # ipv6 sdrp 42 SDRP # Source Demand Routing Protocol ipv6-route 43 IPV6-ROUTE # routing header for ipv6 ipv6-frag 44 IPV6-FRAG # fragment header for ipv6 idrp 45 IDRP # Inter-Domain Routing Protocol rsvp 46 RSVP # Resource ReSerVation Protocol gre 47 GRE # Generic Routing Encapsulation mhrp 48 MHRP # Mobile Host Routing Protocol bna 49 BNA # BNA esp 50 ESP # encapsulating security payload ah 51 AH # authentication header i-nlsp 52 I-NLSP # Integrated Net Layer Security TUBA swipe 53 SWIPE # IP with Encryption narp 54 NARP # NBMA Address Resolution Protocol mobile 55 MOBILE # IP Mobility tlsp 56 TLSP # Transport Layer Security Protocol skip 57 SKIP # SKIP ipv6-icmp 58 IPV6-ICMP icmp6 # ICMP for IPv6 ipv6-nonxt 59 IPV6-NONXT # no next header for ipv6 ipv6-opts 60 IPV6-OPTS # destination options for ipv6 # 61 # any host internal protocol cftp 62 CFTP # CFTP # 63 # any local network sat-expak 64 SAT-EXPAK # SATNET and Backroom EXPAK kryptolan 65 KRYPTOLAN # Kryptolan rvd 66 RVD # MIT Remote Virtual Disk Protocol ippc 67 IPPC # Internet Pluribus Packet Core # 68 # any distributed filesystem sat-mon 69 SAT-MON # SATNET Monitoring visa 70 VISA # VISA Protocol ipcv 71 IPCV # Internet Packet Core Utility cpnx 72 CPNX # Computer Protocol Network Executive cphb 73 CPHB # Computer Protocol Heart Beat wsn 74 WSN # Wang Span Network pvp 75 PVP # Packet Video Protocol br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary wb-mon 78 WB-MON # WIDEBAND Monitoring wb-expak 79 WB-EXPAK # WIDEBAND EXPAK iso-ip 80 ISO-IP # ISO Internet Protocol vmtp 81 VMTP # Versatile Message Transport secure-vmtp 82 SECURE-VMTP # SECURE-VMTP vines 83 VINES # VINES ttp 84 TTP # TTP nsfnet-igp 85 NSFNET-IGP # NSFNET-IGP dgp 86 DGP # Dissimilar Gateway Protocol tcf 87 TCF # TCF eigrp 88 EIGRP # Enhanced Interior Routing Protocol (\ Cisco) ospf 89 OSPFIGP # Open Shortest Path First IGP sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol larp 91 LARP # Locus Address Resolution Protocol mtp 92 MTP # Multicast Transp" 457 pdnsd RET read 5757/0x167d 457 pdnsd CALL close(0x6) 457 pdnsd RET close 0 457 pdnsd CALL sendto(0x3,0xbfaede48,0x8,0,0xbfaede68,0x10) 457 pdnsd GIO fd 3 wrote 8 bytes 0x0000 0800 9888 5f77 0000 |...._w..| 457 pdnsd RET sendto 8 457 pdnsd CALL gettimeofday(0xbfaed9c0,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL poll(0xbfaeda00,0x1,0xbb8) 457 pdnsd RET fork 0 457 pdnsd CALL kse_release(0x806ef9c) 457 pdnsd RET kse_release 0 457 pdnsd CALL recvfrom(0x3,0xbfaeda48,0x400,0,0xbfaede78,0xbfaed9fc) 457 pdnsd GIO fd 3 read 28 bytes 0x0000 4500 0800 138b 0000 4001 1ce2 c0a8 64fe |E.......@.....d.| 0x0010 c0a8 6425 0000 a088 5f77 0000 |..d%...._w..| 457 pdnsd RET recvfrom 28/0x1c 457 pdnsd CALL gettimeofday(0xbfaed9c0,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaedfa8,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL kse_release(0x806efa4) 457 pdnsd RET kse_release 0 457 pdnsd CALL mmap(0xbfaab000,0x10000,0x3,0x400,0xffffffff,0,0,0) 457 pdnsd RET mmap -1079332864/0xbfaab000 457 pdnsd CALL recvmsg(0x5,0xbfacbf88,0) 457 pdnsd RET fork 0 457 pdnsd CALL gettimeofday(0xbfabab40,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL break(0x8085000) 457 pdnsd RET break 0 457 pdnsd CALL gettimeofday(0xbfaba820,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL open(0x28161438,0,0x1b6) 457 pdnsd NAMI "/etc/protocols" 457 pdnsd RET open 6 457 pdnsd CALL fstat(0x6,0xbfaba4e8) 457 pdnsd RET fstat 0 457 pdnsd CALL break(0x8089000) 457 pdnsd RET break 0 457 pdnsd CALL read(0x6,0x8085000,0x4000) 457 pdnsd GIO fd 6 read 4096 bytes "# # Internet protocols # # $FreeBSD: src/etc/protocols,v 1.19 2004/03/08 22:03:27 mlaier Exp $ # from: @(#)protocols 5.1 (Berkeley) 4/17/89 # # See also http://www.iana.org/assignments/protocol-numbers # ip 0 IP # internet protocol, pseudo protocol n\ umber #hopopt 0 HOPOPT # hop-by-hop options for ipv6 icmp 1 ICMP # internet control message protocol igmp 2 IGMP # internet group management protocol ggp 3 GGP # gateway-gateway protocol ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``\ IP'') st2 5 ST2 # ST2 datagram mode (RFC 1819) tcp 6 TCP # transmission control protocol cbt 7 CBT # CBT, Tony Ballardie egp 8 EGP # exterior gateway protocol igp 9 IGP # any private interior gateway (Cisco:\ for IGRP) bbn-rcc 10 BBN-RCC-MON # BBN RCC Monitoring nvp 11 NVP-II # Network Voice Protocol pup 12 PUP # PARC universal packet protocol argus 13 ARGUS # ARGUS emcon 14 EMCON # EMCON xnet 15 XNET # Cross Net Debugger chaos 16 CHAOS # Chaos udp 17 UDP # user datagram protocol mux 18 MUX # Multiplexing protocol dcn 19 DCN-MEAS # DCN Measurement Subsystems hmp 20 HMP # host monitoring protocol prm 21 PRM # packet radio measurement protocol xns-idp 22 XNS-IDP # Xerox NS IDP trunk-1 23 TRUNK-1 # Trunk-1 trunk-2 24 TRUNK-2 # Trunk-2 leaf-1 25 LEAF-1 # Leaf-1 leaf-2 26 LEAF-2 # Leaf-2 rdp 27 RDP # "reliable datagram" protocol irtp 28 IRTP # Internet Reliable Transaction Protoc\ ol iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4 netblt 30 NETBLT # Bulk Data Transfer Protocol mfe-nsp 31 MFE-NSP # MFE Network Services Protocol merit-inp 32 MERIT-INP # MERIT Internodal Protocol sep 33 SEP # Sequential Exchange Protocol 3pc 34 3PC # Third Party Connect Protocol idpr 35 IDPR # Inter-Domain Policy Routing Protocol xtp 36 XTP # Xpress Tranfer Protocol ddp 37 DDP # Datagram Delivery Protocol idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transpo\ rt Proto tp++ 39 TP++ # TP++ Transport Protocol il 40 IL # IL Transport Protocol ipv6 41 IPV6 # ipv6 sdrp 42 SDRP # Source Demand Routing Protocol ipv6-route 43 IPV6-ROUTE # routing header for ipv6 ipv6-frag 44 IPV6-FRAG # fragment header for ipv6 idrp 45 IDRP # Inter-Domain Routing Protocol rsvp 46 RSVP # Resource ReSerVation Protocol gre 47 GRE # Generic Routing Encapsulation mhrp 48 MHRP # Mobile Host Routing Protocol bna 49 BNA # BNA esp 50 ESP # encapsulating security payload ah 51 AH # authentication header i-nlsp 52 I-NLSP # Integrated Net Layer Security TUBA swipe 53 SWIPE # IP with Encryption narp 54 NARP # NBMA Address Resolution Protocol mobile 55 MOBILE # IP Mobility tlsp 56 TLSP # Transport Layer Security Protocol skip 57 SKIP # SKIP ipv6-icmp 58 IPV6-ICMP icmp6 # ICMP for IPv6 ipv6-nonxt 59 IPV6-NONXT # no next header for ipv6 ipv6-opts 60 IPV6-OPTS # destination options for ipv6 # 61 # any host internal protocol cftp 62 CFTP # CFTP # 63 # any local network sat-expak 64 SAT-EXPAK # SATNET and Backroom EXPAK kryptolan 65 KRYPTOLAN # Kryptolan rvd 66 RVD # MIT Remote Virtual Disk Protocol ippc 67 IPPC # Internet Pluribus Packet Core # 68 # any distributed filesystem sat-mon 69 SAT-MON # SATNET Monitoring visa 70 VISA # VISA Protocol ipcv 71 IPCV # Internet Packet Core Utility cpnx 72 CPNX # Computer Protocol Network Executive cphb 73 CPHB # Computer Protocol Heart Beat wsn 74 WSN # Wang Span Network pvp 75 PVP # Packet Video Protocol br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary wb-mon 78 WB-MON # WIDEBAND Monitoring wb-expak 79 WB-EXPAK # WIDEBAND EXPAK iso-ip 80 ISO-IP # ISO Internet Protocol vmtp 81 VMTP # Versatile Message Transport secure-vmtp 82 SECURE-VMTP # SECURE-VMTP vines 83 VINES # VINES ttp 84 TTP # TTP nsfnet-igp 85 NSFNET-IGP # NSFNET-IGP dgp 86 DGP # Dissimilar Gateway Protocol tcf 87 TCF # TCF eigrp 88 EIGRP # Enhanced Interior Routing Protocol (\ Cisco) ospf 89 OSPFIGP # Open Shortest Path First IGP sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol larp 91 LARP # Locus Address Resolution Protocol mtp 92 MTP # Multicast Transp" 457 pdnsd RET read 5757/0x167d 457 pdnsd CALL close(0x6) 457 pdnsd RET close 0 457 pdnsd CALL socket(0x2,0x2,0x11) 457 pdnsd RET socket 6 457 pdnsd CALL connect(0x6,0x8084004,0x10) 457 pdnsd RET connect 0 457 pdnsd CALL sendto(0x6,0x80676e0,0x20,0,0,0) 457 pdnsd GIO fd 6 wrote 32 bytes 0x0000 421a 0100 0001 0000 0000 0000 0377 7777 |B............www| 0x0010 0667 6f6f 676c 6503 636f 6d00 0001 0001 |.google.com.....| 457 pdnsd RET sendto 32/0x20 457 pdnsd CALL gettimeofday(0xbfaba810,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaba810,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL poll(0xbfaba838,0x1,0x7530) 457 pdnsd RET fork 0 457 pdnsd CALL kse_release(0x806ef9c) 457 pdnsd RET kse_release 0 457 pdnsd CALL recvfrom(0x6,0x8070c00,0x200,0,0,0) 457 pdnsd GIO fd 6 read 496 bytes 0x0000 421a 8180 0001 0003 000b 000b 0377 7777 |B............www| 0x0010 0667 6f6f 676c 6503 636f 6d00 0001 0001 |.google.com.....| 0x0020 0377 7777 0667 6f6f 676c 6503 636f 6d00 |.www.google.com.| 0x0030 0005 0001 0000 0211 0017 0377 7777 0667 |...........www.g| 0x0040 6f6f 676c 6506 616b 6164 6e73 036e 6574 |oogle.akadns.net| 0x0050 00c0 3a00 0100 0100 0001 5d00 0442 660b |..:.......]..Bf.| 0x0060 68c0 3a00 0100 0100 0001 5d00 0442 660b |h.:.......]..Bf.| 0x0070 63c0 4500 0200 0100 00df 5000 0d05 6173 |c.E.......P...as| 0x0080 6961 3304 616b 616d c04c c045 0002 0001 |ia3.akam.L.E....| 0x0090 0000 df50 0007 0465 7572 33c0 83c0 4500 |...P...eur3...E.| 0x00a0 0200 0100 00df 5000 0704 7573 6532 c083 |......P...use2..| 0x00b0 c045 0002 0001 0000 df50 0007 0475 7365 |.E.......P...use| 0x00c0 34c0 83c0 4500 0200 0100 00df 5000 0704 |4...E.......P...| 0x00d0 7573 7735 c083 c045 0002 0001 0000 df50 |usw5...E.......P| 0x00e0 0007 0475 7377 36c0 83c0 4500 0200 0100 |...usw6...E.....| 0x00f0 00df 5000 0704 7573 7737 c083 c045 0002 |..P...usw7...E..| 0x0100 0001 0000 df50 0005 027a 61c0 45c0 4500 |.....P...za.E.E.| 0x0110 0200 0100 00df 5000 0502 7a63 c045 c045 |......P...zc.E.E| 0x0120 0002 0001 0000 df50 0005 027a 66c0 45c0 |.......P...zf.E.| 0x0130 4500 0200 0100 00df 5000 0502 7a68 c045 |E.......P...zh.E| 0x0140 c07d 0001 0001 0000 df50 0004 c16c 9a09 |.}.......P...l..| 0x0150 c096 0001 0001 0000 df50 0004 c12d 0167 |.........P...-.g| 0x0160 c0a9 0001 0001 0000 df50 0004 3fd1 aa88 |.........P..?...| 0x0170 c0bc 0001 0001 0000 df50 0004 5043 43b6 |.........P..PCC.| 0x0180 c0cf 0001 0001 0000 df50 0004 3ff1 49d6 |.........P..?.I.| 0x0190 c0e2 0001 0001 0000 df50 0004 ce84 646c |.........P....dl| 0x01a0 c0f5 0001 0001 0000 df50 0004 41cb ea1b |.........P..A...| 0x01b0 c108 0001 0001 0000 df50 0004 d0b9 84b0 |.........P......| 0x01c0 c119 0001 0001 0000 df50 0004 3ff1 c736 |.........P..?..6| 0x01d0 c12a 0001 0001 0000 df50 0004 3fd7 c653 |.*.......P..?..S| 0x01e0 c13b 0001 0001 0000 df50 0004 3fd0 302e |.;.......P..?.0.| 457 pdnsd RET recvfrom 496/0x1f0 457 pdnsd CALL close(0x6) 457 pdnsd RET close 0 457 pdnsd CALL gettimeofday(0xbfaba5e0,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaba660,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL break(0x808c000) 457 pdnsd RET break 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfab9e00,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL break(0x808f000) 457 pdnsd RET break 0 457 pdnsd CALL break(0x8092000) 457 pdnsd RET break 0 457 pdnsd CALL break(0x8096000) 457 pdnsd RET break 0 457 pdnsd CALL sendmsg(0x5,0xbfabaf88,0) 457 pdnsd GIO fd 5 wrote 482 bytes 0x0000 2e3e 8180 0001 0003 000b 000b 0377 7777 |.>...........www| 0x0010 0667 6f6f 676c 6503 636f 6d00 0001 0001 |.google.com.....| 0x0020 c00c 0005 0001 0000 0211 0017 0377 7777 |.............www| 0x0030 0667 6f6f 676c 6506 616b 6164 6e73 036e |.google.akadns.n| 0x0040 6574 00c0 2c00 0100 0100 0001 5d00 0442 |et..,.......]..B| 0x0050 660b 68c0 2c00 0100 0100 0001 5d00 0442 |f.h.,.......]..B| 0x0060 660b 63c0 3700 0200 0100 00df 5000 0d05 |f.c.7.......P...| 0x0070 6173 6961 3304 616b 616d c03e c037 0002 |asia3.akam.>.7..| 0x0080 0001 0000 df50 0007 0465 7572 33c0 75c0 |.....P...eur3.u.| 0x0090 3700 0200 0100 00df 5000 0704 7573 6532 |7.......P...use2| 0x00a0 c075 c037 0002 0001 0000 df50 0007 0475 |.u.7.......P...u| 0x00b0 7365 34c0 75c0 3700 0200 0100 00df 5000 |se4.u.7.......P.| 0x00c0 0704 7573 7735 c075 c037 0002 0001 0000 |..usw5.u.7......| 0x00d0 df50 0007 0475 7377 36c0 75c0 3700 0200 |.P...usw6.u.7...| 0x00e0 0100 00df 5000 0704 7573 7737 c075 c037 |....P...usw7.u.7| 0x00f0 0002 0001 0000 df50 0005 027a 61c0 37c0 |.......P...za.7.| 0x0100 3700 0200 0100 00df 5000 0502 7a63 c037 |7.......P...zc.7| 0x0110 c037 0002 0001 0000 df50 0005 027a 66c0 |.7.......P...zf.| 0x0120 37c0 3700 0200 0100 00df 5000 0502 7a68 |7.7.......P...zh| 0x0130 c037 c06f 0001 0001 0000 df50 0004 c16c |.7.o.......P...l| 0x0140 9a09 c088 0001 0001 0000 df50 0004 c12d |...........P...-| 0x0150 0167 c09b 0001 0001 0000 df50 0004 3fd1 |.g.........P..?.| 0x0160 aa88 c0ae 0001 0001 0000 df50 0004 5043 |...........P..PC| 0x0170 43b6 c0c1 0001 0001 0000 df50 0004 3ff1 |C..........P..?.| 0x0180 49d6 c0d4 0001 0001 0000 df50 0004 ce84 |I..........P....| 0x0190 646c c0e7 0001 0001 0000 df50 0004 41cb |dl.........P..A.| 0x01a0 ea1b c0fa 0001 0001 0000 df50 0004 d0b9 |...........P....| 0x01b0 84b0 c10b 0001 0001 0000 df50 0004 3ff1 |...........P..?.| 0x01c0 c736 c11c 0001 0001 0000 df50 0004 3fd7 |.6.........P..?.| 0x01d0 c653 c12d 0001 0001 0000 df50 0004 3fd0 |.S.-.......P..?.| 0x01e0 302e |0.| 457 pdnsd RET sendmsg 482/0x1e2 457 pdnsd CALL getsockopt(0x5,0xffff,0x1007,0xbfabaf18,0xbfabaf1c) 457 pdnsd RET getsockopt 0 457 pdnsd CALL kse_release(0x806efa4) 457 pdnsd RET kse_release 0 457 pdnsd CALL kse_release(0xbfafef5c) 457 pdnsd RET kse_release 0 457 pdnsd CALL gettimeofday(0xbfaedf60,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaedfa8,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL kse_release(0x806efa4) --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=new 457 pdnsd RET kse_release 0 457 pdnsd CALL gettimeofday(0xbfacb070,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL getpid 457 pdnsd RET getpid 457/0x1c9 457 pdnsd CALL socket(0x1,0x2,0) 457 pdnsd RET socket 7 457 pdnsd CALL fcntl(0x7,0x2,0x1) 457 pdnsd RET fcntl 0 457 pdnsd CALL connect(0x7,0xbfacb008,0x6a) 457 pdnsd NAMI "/var/run/log" 457 pdnsd RET connect 0 457 pdnsd CALL sendto(0x7,0xbfacb508,0x4a,0,0,0) 457 pdnsd GIO fd 7 wrote 74 bytes "<27>Jul 16 16:37:58 pdnsd[457]: Could not discover udp destination add\ ress" 457 pdnsd RET sendto 74/0x4a 457 pdnsd CALL close(0x7) 457 pdnsd RET close 0 457 pdnsd CALL kse_release(0x806efa4) 457 pdnsd RET kse_release 0 457 pdnsd CALL recvmsg(0x5,0xbfacbf88,0) 457 pdnsd RET fork 0 457 pdnsd CALL kse_release(0x806ef9c) 457 pdnsd RET kse_release 0 457 pdnsd CALL kse_release(0xbfafef5c) 457 pdnsd GIO fd 5 read 32 bytes 0x0000 c01f 0100 0001 0000 0000 0000 0377 7777 |.............www| 0x0010 0667 6f6f 676c 6503 636f 6d00 0001 0001 |.google.com.....| 457 pdnsd RET kse_release 0 457 pdnsd CALL gettimeofday(0xbfacb070,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL getpid 457 pdnsd RET getpid 457/0x1c9 457 pdnsd CALL socket(0x1,0x2,0) 457 pdnsd RET socket 7 457 pdnsd CALL fcntl(0x7,0x2,0x1) 457 pdnsd RET fcntl 0 457 pdnsd CALL connect(0x7,0xbfacb008,0x6a) 457 pdnsd NAMI "/var/run/log" 457 pdnsd RET connect 0 457 pdnsd CALL sendto(0x7,0xbfacb508,0x4a,0,0,0) 457 pdnsd GIO fd 7 wrote 74 bytes "<27>Jul 16 16:38:03 pdnsd[457]: Could not discover udp destination add\ ress" 457 pdnsd RET sendto 74/0x4a 457 pdnsd CALL close(0x7) 457 pdnsd RET close 0 457 pdnsd CALL kse_release(0x806efa4) 457 pdnsd RET kse_release 0 457 pdnsd CALL recvmsg(0x5,0xbfacbf88,0) 457 pdnsd RET fork 0 457 pdnsd CALL kse_release(0x806ef9c) 457 pdnsd RET kse_release 0 457 pdnsd CALL gettimeofday(0xbfaedf60,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaedfa8,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL kse_release(0x806efa4) 457 pdnsd RET kse_release 0 457 pdnsd CALL gettimeofday(0xbfaedf60,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaedf20,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL open(0x28161438,0,0x1b6) 457 pdnsd NAMI "/etc/protocols" 457 pdnsd RET open 7 457 pdnsd CALL fstat(0x7,0xbfaed888) 457 pdnsd RET fstat 0 457 pdnsd CALL read(0x7,0x8081000,0x4000) 457 pdnsd GIO fd 7 read 4096 bytes "# # Internet protocols # # $FreeBSD: src/etc/protocols,v 1.19 2004/03/08 22:03:27 mlaier Exp $ # from: @(#)protocols 5.1 (Berkeley) 4/17/89 # # See also http://www.iana.org/assignments/protocol-numbers # ip 0 IP # internet protocol, pseudo protocol n\ umber #hopopt 0 HOPOPT # hop-by-hop options for ipv6 icmp 1 ICMP # internet control message protocol igmp 2 IGMP # internet group management protocol ggp 3 GGP # gateway-gateway protocol ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``\ IP'') st2 5 ST2 # ST2 datagram mode (RFC 1819) tcp 6 TCP # transmission control protocol cbt 7 CBT # CBT, Tony Ballardie egp 8 EGP # exterior gateway protocol igp 9 IGP # any private interior gateway (Cisco:\ for IGRP) bbn-rcc 10 BBN-RCC-MON # BBN RCC Monitoring nvp 11 NVP-II # Network Voice Protocol pup 12 PUP # PARC universal packet protocol argus 13 ARGUS # ARGUS emcon 14 EMCON # EMCON xnet 15 XNET # Cross Net Debugger chaos 16 CHAOS # Chaos udp 17 UDP # user datagram protocol mux 18 MUX # Multiplexing protocol dcn 19 DCN-MEAS # DCN Measurement Subsystems hmp 20 HMP # host monitoring protocol prm 21 PRM # packet radio measurement protocol xns-idp 22 XNS-IDP # Xerox NS IDP trunk-1 23 TRUNK-1 # Trunk-1 trunk-2 24 TRUNK-2 # Trunk-2 leaf-1 25 LEAF-1 # Leaf-1 leaf-2 26 LEAF-2 # Leaf-2 rdp 27 RDP # "reliable datagram" protocol irtp 28 IRTP # Internet Reliable Transaction Protoc\ ol iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4 netblt 30 NETBLT # Bulk Data Transfer Protocol mfe-nsp 31 MFE-NSP # MFE Network Services Protocol merit-inp 32 MERIT-INP # MERIT Internodal Protocol sep 33 SEP # Sequential Exchange Protocol 3pc 34 3PC # Third Party Connect Protocol idpr 35 IDPR # Inter-Domain Policy Routing Protocol xtp 36 XTP # Xpress Tranfer Protocol ddp 37 DDP # Datagram Delivery Protocol idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transpo\ rt Proto tp++ 39 TP++ # TP++ Transport Protocol il 40 IL # IL Transport Protocol ipv6 41 IPV6 # ipv6 sdrp 42 SDRP # Source Demand Routing Protocol ipv6-route 43 IPV6-ROUTE # routing header for ipv6 ipv6-frag 44 IPV6-FRAG # fragment header for ipv6 idrp 45 IDRP # Inter-Domain Routing Protocol rsvp 46 RSVP # Resource ReSerVation Protocol gre 47 GRE # Generic Routing Encapsulation mhrp 48 MHRP # Mobile Host Routing Protocol bna 49 BNA # BNA esp 50 ESP # encapsulating security payload ah 51 AH # authentication header i-nlsp 52 I-NLSP # Integrated Net Layer Security TUBA swipe 53 SWIPE # IP with Encryption narp 54 NARP # NBMA Address Resolution Protocol mobile 55 MOBILE # IP Mobility tlsp 56 TLSP # Transport Layer Security Protocol skip 57 SKIP # SKIP ipv6-icmp 58 IPV6-ICMP icmp6 # ICMP for IPv6 ipv6-nonxt 59 IPV6-NONXT # no next header for ipv6 ipv6-opts 60 IPV6-OPTS # destination options for ipv6 # 61 # any host internal protocol cftp 62 CFTP # CFTP # 63 # any local network sat-expak 64 SAT-EXPAK # SATNET and Backroom EXPAK kryptolan 65 KRYPTOLAN # Kryptolan rvd 66 RVD # MIT Remote Virtual Disk Protocol ippc 67 IPPC # Internet Pluribus Packet Core # 68 # any distributed filesystem sat-mon 69 SAT-MON # SATNET Monitoring visa 70 VISA # VISA Protocol ipcv 71 IPCV # Internet Packet Core Utility cpnx 72 CPNX # Computer Protocol Network Executive cphb 73 CPHB # Computer Protocol Heart Beat wsn 74 WSN # Wang Span Network pvp 75 PVP # Packet Video Protocol br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary wb-mon 78 WB-MON # WIDEBAND Monitoring wb-expak 79 WB-EXPAK # WIDEBAND EXPAK iso-ip 80 ISO-IP # ISO Internet Protocol vmtp 81 VMTP # Versatile Message Transport secure-vmtp 82 SECURE-VMTP # SECURE-VMTP vines 83 VINES # VINES ttp 84 TTP # TTP nsfnet-igp 85 NSFNET-IGP # NSFNET-IGP dgp 86 DGP # Dissimilar Gateway Protocol tcf 87 TCF # TCF eigrp 88 EIGRP # Enhanced Interior Routing Protocol (\ Cisco) ospf 89 OSPFIGP # Open Shortest Path First IGP sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol larp 91 LARP # Locus Address Resolution Protocol mtp 92 MTP # Multicast Transp" 457 pdnsd RET read 5757/0x167d 457 pdnsd CALL close(0x7) 457 pdnsd RET close 0 457 pdnsd CALL sendto(0x3,0xbfaede48,0x8,0,0xbfaede68,0x10) 457 pdnsd GIO fd 3 wrote 8 bytes 0x0000 0800 38ff bf00 0000 |..8.....| 457 pdnsd RET sendto 8 457 pdnsd CALL gettimeofday(0xbfaed9c0,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL poll(0xbfaeda00,0x1,0xbb8) 457 pdnsd RET fork 0 457 pdnsd CALL kse_release(0x806ef9c) 457 pdnsd RET kse_release 0 457 pdnsd CALL recvfrom(0x3,0xbfaeda48,0x400,0,0xbfaede78,0xbfaed9fc) 457 pdnsd GIO fd 3 read 28 bytes 0x0000 4500 0800 1b2a 0000 4001 1543 c0a8 64fe |E....*..@..C..d.| 0x0010 c0a8 6425 0000 40ff bf00 0000 |..d%..@.....| 457 pdnsd RET recvfrom 28/0x1c 457 pdnsd CALL gettimeofday(0xbfaed9c0,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL gettimeofday(0xbfaedfa8,0) 457 pdnsd RET gettimeofday 0 457 pdnsd CALL kse_release(0x806efa4) --xHFwDpU9dbj6ez1V--