]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
12 years agom_spanningtree Fix desync issue #37 reported by @Joah - part 2
attilamolnar [Thu, 31 May 2012 18:09:24 +0000 (20:09 +0200)]
m_spanningtree Fix desync issue #37 reported by @Joah - part 2

12 years agom_autoop Fix desync issue #37 reported by @Joah - part 1
attilamolnar [Wed, 30 May 2012 01:07:22 +0000 (03:07 +0200)]
m_autoop Fix desync issue #37 reported by @Joah - part 1

12 years agoMerge pull request #156 from attilamolnar/insp20+statszfix
Robin Burchell [Tue, 29 May 2012 08:21:00 +0000 (01:21 -0700)]
Merge pull request #156 from attilamolnar/insp20+statszfix

[2.0] Improve bandwidth usage statistics (/STATS z)

12 years agoUse socketengine functions for sending and receiving data instead of plain send(...
attilamolnar [Mon, 28 May 2012 20:10:28 +0000 (22:10 +0200)]
Use socketengine functions for sending and receiving data instead of plain send() and recv() so /STATS z displays correct bandwidth usage

12 years agoMerge pull request #152 from attilamolnar/insp20+showwhoisfix
Robin Burchell [Mon, 28 May 2012 11:23:57 +0000 (04:23 -0700)]
Merge pull request #152 from attilamolnar/insp20+showwhoisfix

[2.0] m_showwhois Fix potential crash in WHOISNOTICE handler

12 years agoMerge pull request #150 from attilamolnar/insp20+incrementuidfix
Robin Burchell [Mon, 28 May 2012 11:23:29 +0000 (04:23 -0700)]
Merge pull request #150 from attilamolnar/insp20+incrementuidfix

[2.0] Fix generating invalid UIDs after current_uid is 000Z99999

12 years agom_showwhois Fix potential crash in WHOISNOTICE handler
attilamolnar [Sun, 27 May 2012 23:28:36 +0000 (01:28 +0200)]
m_showwhois Fix potential crash in WHOISNOTICE handler

12 years agoAdd testsuite tests for UID generation
attilamolnar [Sun, 27 May 2012 21:30:02 +0000 (23:30 +0200)]
Add testsuite tests for UID generation

12 years agoWhile at it, use a constant parameter for calling IncrementUID in GetUID
attilamolnar [Sun, 27 May 2012 21:08:14 +0000 (23:08 +0200)]
While at it, use a constant parameter for calling IncrementUID in GetUID
Get rid of curindex, use a bool to determine if we need to initialize

12 years agoFix generating invalid UIDs after current_uid is 000Z99999 (next UID became 000[AAAAA)
attilamolnar [Sun, 27 May 2012 21:05:12 +0000 (23:05 +0200)]
Fix generating invalid UIDs after current_uid is 000Z99999 (next UID became 000[AAAAA)

12 years agoMerge pull request #142 from attilamolnar/insp20+sestatsfix
Robin Burchell [Sun, 27 May 2012 13:09:36 +0000 (06:09 -0700)]
Merge pull request #142 from attilamolnar/insp20+sestatsfix

[2.0] Count the actual number of sent/received bytes in SocketEngine statistics

12 years agoMerge pull request #145 from SaberUK/insp20-typo-fixes
Robin Burchell [Sun, 27 May 2012 13:07:55 +0000 (06:07 -0700)]
Merge pull request #145 from SaberUK/insp20-typo-fixes

[2.0] Typo fixes.

12 years agoA few more typo fixes.
Peter Powell [Fri, 25 May 2012 19:13:53 +0000 (20:13 +0100)]
A few more typo fixes.

12 years agoDebian typo fixes.
Peter Powell [Fri, 25 May 2012 18:40:38 +0000 (19:40 +0100)]
Debian typo fixes.

12 years agoFixed m_mlock
Adam [Wed, 23 May 2012 22:56:55 +0000 (18:56 -0400)]
Fixed m_mlock

12 years agoCount the actual number of sent/received bytes in SocketEngine instead of the buffer...
attilamolnar [Wed, 23 May 2012 16:48:43 +0000 (18:48 +0200)]
Count the actual number of sent/received bytes in SocketEngine instead of the buffer size passed to the send/receive functions

12 years agoMerge pull request #139 from SaberUK/insp20-unistd-windows
Robin Burchell [Wed, 23 May 2012 14:56:37 +0000 (07:56 -0700)]
Merge pull request #139 from SaberUK/insp20-unistd-windows

[2.0] Fix compile error caused by unistd.h not existing on Windows.

12 years agoFix compile error caused by unistd.h not existing on Windows.
Peter Powell [Wed, 23 May 2012 12:15:22 +0000 (13:15 +0100)]
Fix compile error caused by unistd.h not existing on Windows.

12 years agoMerge pull request #131 from attilamolnar/insp20+hideroperwhofix
Robin Burchell [Wed, 23 May 2012 10:18:35 +0000 (03:18 -0700)]
Merge pull request #131 from attilamolnar/insp20+hideroperwhofix

[2.0] Fix issue #95 reported by @Joah

12 years agoMerge pull request #136 from nenolod/bugfix/epoll-nitpicks-2.0
Robin Burchell [Wed, 23 May 2012 10:17:37 +0000 (03:17 -0700)]
Merge pull request #136 from nenolod/bugfix/epoll-nitpicks-2.0

[2.0] epoll: make sure EPOLLET flag does not get clobbered

12 years agoepoll: make sure EPOLLET flag does not get clobbered
William Pitcock [Sun, 20 May 2012 12:36:57 +0000 (07:36 -0500)]
epoll: make sure EPOLLET flag does not get clobbered

EPOLLET is the highest bit, so storing EPOLLET in a signed value leads to
undefined behaviour.

12 years agoFix issue #95 reported by @Joah
attilamolnar [Sat, 19 May 2012 16:46:58 +0000 (18:46 +0200)]
Fix issue #95 reported by @Joah

12 years agoMerge pull request #113 from nenolod/feature/mlock
Robin Burchell [Wed, 16 May 2012 20:13:09 +0000 (13:13 -0700)]
Merge pull request #113 from nenolod/feature/mlock

modules/m_mlock: new module implementing server-side MLOCK.

12 years agomlock: fix style nitpicks
William Pitcock [Wed, 16 May 2012 17:34:23 +0000 (12:34 -0500)]
mlock: fix style nitpicks

12 years agoCheck whether it is empty parameter before checking its value
Chin Lee [Wed, 16 May 2012 07:19:16 +0000 (15:19 +0800)]
Check whether it is empty parameter before checking its value

12 years agoFix issue #120 reported by @swilde
Chin Lee [Wed, 16 May 2012 02:14:51 +0000 (10:14 +0800)]
Fix issue #120 reported by @swilde

12 years agoMerge pull request #104 from SaberUK/fix-issue-14
Robin Burchell [Tue, 15 May 2012 10:57:35 +0000 (03:57 -0700)]
Merge pull request #104 from SaberUK/fix-issue-14

[2.0] Install example configuration files into their own directory.

12 years agomlock: we should only enforce against modes set by our own clients
William Pitcock [Tue, 15 May 2012 06:51:43 +0000 (01:51 -0500)]
mlock: we should only enforce against modes set by our own clients

12 years agomlock: handle case where no mlock has been set on a channel yet
William Pitcock [Tue, 15 May 2012 06:26:39 +0000 (01:26 -0500)]
mlock: handle case where no mlock has been set on a channel yet

12 years agoMerge pull request #109 from Justasic/insp20
Robin Burchell [Mon, 14 May 2012 10:46:56 +0000 (03:46 -0700)]
Merge pull request #109 from Justasic/insp20

Rewrote the color codes parser to one function, not two

12 years agodocs/modules.conf: document availability of MLOCK module.
William Pitcock [Fri, 4 May 2012 23:51:58 +0000 (23:51 +0000)]
docs/modules.conf: document availability of MLOCK module.

12 years agomodules/m_mlock: new module implementing server-side MLOCK.
William Pitcock [Fri, 4 May 2012 23:39:18 +0000 (23:39 +0000)]
modules/m_mlock: new module implementing server-side MLOCK.

12 years agoUpdate 'make install' to inform the user about the example config files.
Peter Powell [Fri, 4 May 2012 19:54:30 +0000 (20:54 +0100)]
Update 'make install' to inform the user about the example config files.

12 years agoRewrote the color codes parser to be one function, not two
Justin Crawford [Fri, 4 May 2012 02:04:54 +0000 (19:04 -0700)]
Rewrote the color codes parser to be one function, not two

12 years agoMerge pull request #96 from Justasic/insp20
Robin Burchell [Thu, 3 May 2012 14:28:59 +0000 (07:28 -0700)]
Merge pull request #96 from Justasic/insp20

[2.0] Process escape sequences for MOTD for issue #23

12 years agoInstall example configuration files into their own directory.
Peter Powell [Tue, 1 May 2012 13:10:35 +0000 (14:10 +0100)]
Install example configuration files into their own directory.

12 years agoFixed using a function on every call for /motd, causing lag on large networks (reques...
Justin Crawford [Sun, 22 Apr 2012 11:27:46 +0000 (04:27 -0700)]
Fixed using a function on every call for /motd, causing lag on large networks (requested by w00t)

12 years agoMerge pull request #92 from Robby-/insp20-headers
Robin Burchell [Mon, 23 Apr 2012 06:54:44 +0000 (23:54 -0700)]
Merge pull request #92 from Robby-/insp20-headers

[2.0] Replace copyright headers with headers granting specific authors copyright

12 years agoAdded C/C++ style escape codes for color codes in the MOTD along with @SaberUK's...
Justin Crawford [Sat, 21 Apr 2012 10:06:54 +0000 (03:06 -0700)]
Added C/C++ style escape codes for color codes in the MOTD along with @SaberUK's \x, \u, \b, \c aliases

12 years agoresource.rc: update copyright to 2012
Robby- [Fri, 20 Apr 2012 16:34:40 +0000 (18:34 +0200)]
resource.rc: update copyright to 2012

12 years agoHeaders: update remaining scripts too
Robby- [Fri, 20 Apr 2012 16:33:52 +0000 (18:33 +0200)]
Headers: update remaining scripts too

12 years agoReplace copyright headers with headers granting specific authors copyright
Robby- [Thu, 19 Apr 2012 18:58:29 +0000 (20:58 +0200)]
Replace copyright headers with headers granting specific authors copyright

12 years agoMerge pull request #85 from Robby-/insp20-typosnstuff
Robin Burchell [Thu, 19 Apr 2012 10:35:49 +0000 (03:35 -0700)]
Merge pull request #85 from Robby-/insp20-typosnstuff

[2.0] Add conf/ to include paths and fix some typos

12 years agoMerge pull request #88 from Robby-/insp20-helpop
Robin Burchell [Thu, 19 Apr 2012 10:25:05 +0000 (03:25 -0700)]
Merge pull request #88 from Robby-/insp20-helpop

[2.0] helpop: revert 05e6330 and make it the other way around

12 years agoRevert 05e6330fbd6e9a427c09cf90e2cada10656c48f7 and reference HELPOP instead (afteral...
Robby- [Thu, 19 Apr 2012 09:46:51 +0000 (11:46 +0200)]
Revert 05e6330fbd6e9a427c09cf90e2cada10656c48f7 and reference HELPOP instead (afterall, the module is called helpop and references itself as that in the code/output too, and most clients override /help), also make the alias work the other way around

12 years agoAdd conf/ to include paths and fix some typos
Robby- [Thu, 19 Apr 2012 08:30:08 +0000 (10:30 +0200)]
Add conf/ to include paths and fix some typos

12 years agoMerge pull request #84 from attilamolnar/insp20+whoisfix
Robin Burchell [Thu, 19 Apr 2012 06:49:57 +0000 (23:49 -0700)]
Merge pull request #84 from attilamolnar/insp20+whoisfix

[2.0] Avoid sending empty channel list numeric on whois

12 years agoMerge pull request #83 from attilamolnar/insp20+remotestatsfix
Robin Burchell [Thu, 19 Apr 2012 06:45:12 +0000 (23:45 -0700)]
Merge pull request #83 from attilamolnar/insp20+remotestatsfix

[2.0] Fix issue #18 reported by @int- (remote restriction on /stats)

12 years agoAvoid sending empty channel list numeric on whois if the target is not in any channels.
attilamolnar [Wed, 18 Apr 2012 23:23:26 +0000 (01:23 +0200)]
Avoid sending empty channel list numeric on whois if the target is not in any channels.

12 years agoFix issue #18 reported by @int- (remote restriction on /stats)
attilamolnar [Wed, 18 Apr 2012 22:38:38 +0000 (00:38 +0200)]
Fix issue #18 reported by @int- (remote restriction on /stats)

12 years agoNo need to check elines twice..
Robin Burchell [Wed, 18 Apr 2012 15:43:59 +0000 (17:43 +0200)]
No need to check elines twice..

12 years agoForward port 1d703dcf7858a322c823bbd80f9507b627c5738c.
attilamolnar [Wed, 18 Apr 2012 14:40:59 +0000 (16:40 +0200)]
Forward port 1d703dcf7858a322c823bbd80f9507b627c5738c.

12 years agoMerge pull request #74 from Robby-/insp20-statsupdates
Robin Burchell [Wed, 18 Apr 2012 14:36:07 +0000 (07:36 -0700)]
Merge pull request #74 from Robby-/insp20-statsupdates

[2.0] /STATS updates

12 years agoLog mode errors when processing FJOIN.
Robin Burchell [Wed, 18 Apr 2012 14:06:58 +0000 (16:06 +0200)]
Log mode errors when processing FJOIN.

12 years agoFix typo.
Robin Burchell [Wed, 18 Apr 2012 13:15:17 +0000 (15:15 +0200)]
Fix typo.

12 years agoMatch the logging in the rest of this module.
Robin Burchell [Wed, 18 Apr 2012 13:14:04 +0000 (15:14 +0200)]
Match the logging in the rest of this module.

12 years agoBe more helpful when processing commands from a linked server.
Robin Burchell [Wed, 18 Apr 2012 13:02:54 +0000 (15:02 +0200)]
Be more helpful when processing commands from a linked server.

When diagnosing errors with s2s traffic, it costs us next to nothing to try a
little harder to generate useful errors so errors are immediately apparent.

12 years ago/STATS: updates
Robby- [Wed, 18 Apr 2012 11:34:25 +0000 (13:34 +0200)]
/STATS: updates

12 years agoMerge pull request #70 from Shawn-Smith/insp20+chancreatefix
Robin Burchell [Wed, 18 Apr 2012 07:17:05 +0000 (00:17 -0700)]
Merge pull request #70 from Shawn-Smith/insp20+chancreatefix

[2.0] Fixes the j/J snomask not working properly.

12 years agoMerge pull request #68 from SaberUK/update-doxygen
Robin Burchell [Tue, 17 Apr 2012 11:53:58 +0000 (04:53 -0700)]
Merge pull request #68 from SaberUK/update-doxygen

Update Doxyfile.

12 years agoUpdate Doxyfile.
Peter Powell [Tue, 17 Apr 2012 11:41:41 +0000 (12:41 +0100)]
Update Doxyfile.

12 years agoremove trailing whitespace
Robin Burchell [Mon, 16 Apr 2012 13:13:40 +0000 (15:13 +0200)]
remove trailing whitespace

12 years agoFileWriter hasn't been non-blocking for a very, very long time.
Robin Burchell [Mon, 16 Apr 2012 10:01:36 +0000 (12:01 +0200)]
FileWriter hasn't been non-blocking for a very, very long time.

12 years agofix build on kfreebsd
Christoph Egger [Sat, 14 Apr 2012 01:10:40 +0000 (03:10 +0200)]
fix build on kfreebsd

fixes #64

12 years agoFix compilation with GCC 4.7.
Guillaume Delacour [Mon, 16 Apr 2012 06:20:46 +0000 (08:20 +0200)]
Fix compilation with GCC 4.7.

GCC 4.7 headers no longer implicitly include unistd.h in many places, see
http://gcc.gnu.org/gcc-4.7/porting_to.html

Fixes #65

12 years agoMerge pull request #55 from Justasic/insp20
Robin Burchell [Sun, 15 Apr 2012 19:53:52 +0000 (12:53 -0700)]
Merge pull request #55 from Justasic/insp20

[2.0] Fixes for bug #12

12 years agoMerge pull request #62 from nenolod/insp20
Robin Burchell [Sun, 15 Apr 2012 19:40:21 +0000 (12:40 -0700)]
Merge pull request #62 from nenolod/insp20

Explicitly shut down stdio's stdin/stdout/stderr.

12 years agoExplicitly shut down stdio's stdin/stdout/stderr.
William Pitcock [Sun, 15 Apr 2012 14:40:58 +0000 (09:40 -0500)]
Explicitly shut down stdio's stdin/stdout/stderr.

The previous logic here was to only do this if stdio was connected to a controlling
terminal.  However, we must do this always to avoid information leaks and other
problems related to stdio.

The only exception is if we are in debug mode.

12 years agoMerge pull request #59 from Robby-/insp20-nosnoticestack
Robin Burchell [Sun, 15 Apr 2012 09:02:47 +0000 (02:02 -0700)]
Merge pull request #59 from Robby-/insp20-nosnoticestack

[2.0] Backported Shawn's NoSnoticeStack code from insp21

12 years agoBackported Shawn's NoSnoticeStack code from insp21
Robby- [Sun, 15 Apr 2012 08:45:34 +0000 (10:45 +0200)]
Backported Shawn's NoSnoticeStack code from insp21

12 years agoMerge pull request #28 from DjSlash/classinconnectmsg
Robin Burchell [Sun, 15 Apr 2012 08:40:54 +0000 (01:40 -0700)]
Merge pull request #28 from DjSlash/classinconnectmsg

Show class in connectmsg

12 years agoFix some of the include guard names (requested by SaberUK)
Justin Crawford [Sun, 15 Apr 2012 03:21:38 +0000 (20:21 -0700)]
Fix some of the include guard names (requested by SaberUK)

12 years agoFixes for bug #12
Justin Crawford [Sun, 15 Apr 2012 01:03:25 +0000 (18:03 -0700)]
Fixes for bug #12

12 years agoMerge pull request #53 from SaberUK/clang-analyze
Robin Burchell [Sat, 14 Apr 2012 21:56:47 +0000 (14:56 -0700)]
Merge pull request #53 from SaberUK/clang-analyze

[2.0] Fix unused variables reported by the clang static analyzer.

12 years agoFixes the j snomask not working properly
Shawn Smith [Sat, 14 Apr 2012 19:24:13 +0000 (15:24 -0400)]
Fixes the j snomask not working properly

12 years agoFix unused variables reported by the clang static analyzer.
Peter Powell [Sat, 14 Apr 2012 16:04:47 +0000 (17:04 +0100)]
Fix unused variables reported by the clang static analyzer.

12 years agoMerge pull request #35 from pcarrier/insp20ldap
Robin Burchell [Sat, 14 Apr 2012 12:12:34 +0000 (05:12 -0700)]
Merge pull request #35 from pcarrier/insp20ldap

extras/m_ldapauth: CIDR-based whitelisting

12 years agoMerge pull request #43 from Shawn-Smith/insp20+whoisfix
Robin Burchell [Thu, 12 Apr 2012 18:50:29 +0000 (11:50 -0700)]
Merge pull request #43 from Shawn-Smith/insp20+whoisfix

[2.0] Fix for issue #39 (Wrong output on whois)

12 years agoMerge pull request #41 from SaberUK/configure-cleanup
Robin Burchell [Thu, 12 Apr 2012 18:48:32 +0000 (11:48 -0700)]
Merge pull request #41 from SaberUK/configure-cleanup

Configure cleanup.

12 years agoThis fixes issue #39 reported by @attilamolnar.
Shawn Smith [Thu, 12 Apr 2012 13:32:44 +0000 (09:32 -0400)]
This fixes issue #39 reported by @attilamolnar.
Thanks to @attilamolnar for supplying the code.

12 years agoMinor style tweaks.
Peter Powell [Thu, 12 Apr 2012 06:38:20 +0000 (07:38 +0100)]
Minor style tweaks.

12 years agoRemove references to old configure commands.
Peter Powell [Thu, 12 Apr 2012 06:25:05 +0000 (07:25 +0100)]
Remove references to old configure commands.

12 years agoextras/m_ldapauth: CIDR-based whitelisting
Pierre Carrier [Wed, 14 Sep 2011 13:24:55 +0000 (15:24 +0200)]
extras/m_ldapauth: CIDR-based whitelisting

Offer host-based whitelisting in the ldap module.

Used to trust clients from internal networks,
whilst requiring authentication from "outsiders".

12 years agoFixed linking m_sqlite3 on Windows
Adam [Tue, 10 Apr 2012 16:43:03 +0000 (12:43 -0400)]
Fixed linking m_sqlite3 on Windows

12 years agoMerge pull request #33 from Adam-/insp20
Adam [Tue, 10 Apr 2012 02:26:30 +0000 (19:26 -0700)]
Merge pull request #33 from Adam-/insp20

Updated Windows VC project files

12 years agoRemove some unused files
Adam [Tue, 10 Apr 2012 01:31:04 +0000 (21:31 -0400)]
Remove some unused files

12 years agoRemoved old VC90 project files, renamed the VC 2010 project files to not have VC90...
Adam [Tue, 10 Apr 2012 01:07:22 +0000 (21:07 -0400)]
Removed old VC90 project files, renamed the VC 2010 project files to not have VC90 in them

12 years agoMerge pull request #27 from DjSlash/maxconnwarn
Robin Burchell [Mon, 9 Apr 2012 13:38:53 +0000 (06:38 -0700)]
Merge pull request #27 from DjSlash/maxconnwarn

Add <connect:maxconnwarn>

12 years agoMerge pull request #25 from DjSlash/colour-to-color
Robin Burchell [Mon, 9 Apr 2012 13:33:39 +0000 (06:33 -0700)]
Merge pull request #25 from DjSlash/colour-to-color

Replace [cC]olour with [cC]olor

12 years agoMerge pull request #32 from SaberUK/remove-svn-references
Sir Pogsalot [Mon, 9 Apr 2012 13:27:25 +0000 (06:27 -0700)]
Merge pull request #32 from SaberUK/remove-svn-references

Remove outdated references to SVN.

12 years agoMerge pull request #26 from DjSlash/typofix-m_ojoin
Sir Pogsalot [Mon, 9 Apr 2012 13:25:21 +0000 (06:25 -0700)]
Merge pull request #26 from DjSlash/typofix-m_ojoin

Typofix in m_ojoin

12 years agoRemove outdated references to SVN.
Peter Powell [Mon, 9 Apr 2012 13:10:05 +0000 (14:10 +0100)]
Remove outdated references to SVN.

12 years agoShow class in connectmsg
Rutger [Sun, 1 Apr 2012 19:32:29 +0000 (21:32 +0200)]
Show class in connectmsg

Made the connect announcement show the class a client is in, making it
easy to spot if a client is in the right class.

12 years agoAdd <connect:maxconnwarn>
Rutger [Sun, 1 Apr 2012 19:11:25 +0000 (21:11 +0200)]
Add <connect:maxconnwarn>

Created the maxconnwarn variable in the connect block, so you can make
connect blocks that only warns about max connections if you want to.
This reduces noise from connecting clients that have low maxlocal and/or
maxglobal. It is enabled by default.

12 years agoTypofix in m_ojoin
Rutger [Sun, 1 Apr 2012 18:44:55 +0000 (20:44 +0200)]
Typofix in m_ojoin

In m_ojoin 'business' was miss-spelled.

12 years agoReplace [cC]olour with [cC]olor
Rutger [Sun, 1 Apr 2012 12:25:05 +0000 (14:25 +0200)]
Replace [cC]olour with [cC]olor

Making things consistent, the modules are named '...color', let's keep
on using that instead of 'colour'.

12 years agoMerge pull request #21 from nenolod/insp20
Robin Burchell [Fri, 30 Mar 2012 16:45:15 +0000 (09:45 -0700)]
Merge pull request #21 from nenolod/insp20

configure: fix check for eventfd support.

12 years agoconfigure: fix check for eventfd support.
William Pitcock [Fri, 30 Mar 2012 00:52:11 +0000 (19:52 -0500)]
configure: fix check for eventfd support.

InspIRCd uses eventfd_read() which was not introduced until after eventfd was first
added to glibc.  uClibc, for example, still does not have support for eventfd_read().

12 years agoMerge pull request #16 from Adam-/insp20
Robin Burchell [Thu, 29 Mar 2012 06:56:32 +0000 (23:56 -0700)]
Merge pull request #16 from Adam-/insp20

Fixed out of bounds memory access from malformed DNS queries that have a...

12 years agoFixed infinite loop cauesd by invalid dns packets
Adam [Wed, 28 Mar 2012 01:39:50 +0000 (21:39 -0400)]
Fixed infinite loop cauesd by invalid dns packets