public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's
       [not found] <bug-4428-131@http.sourceware.org/bugzilla/>
@ 2014-02-16 19:44 ` jackie.rosen at hushmail dot com
  2014-05-28 19:43 ` schwab at sourceware dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 19:44 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=4428

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #3 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's
       [not found] <bug-4428-131@http.sourceware.org/bugzilla/>
  2014-02-16 19:44 ` [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's jackie.rosen at hushmail dot com
@ 2014-05-28 19:43 ` schwab at sourceware dot org
  2014-07-04 22:13 ` fweimer at redhat dot com
  2015-10-02 17:34 ` fche at redhat dot com
  3 siblings, 0 replies; 7+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:43 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=4428

Andreas Schwab <schwab at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jackie.rosen at hushmail dot com   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's
       [not found] <bug-4428-131@http.sourceware.org/bugzilla/>
  2014-02-16 19:44 ` [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's jackie.rosen at hushmail dot com
  2014-05-28 19:43 ` schwab at sourceware dot org
@ 2014-07-04 22:13 ` fweimer at redhat dot com
  2015-10-02 17:34 ` fche at redhat dot com
  3 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-07-04 22:13 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=4428

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's
       [not found] <bug-4428-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-07-04 22:13 ` fweimer at redhat dot com
@ 2015-10-02 17:34 ` fche at redhat dot com
  3 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2015-10-02 17:34 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=4428

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's
  2007-04-25 19:11 [Bug nscd/4428] New: " madcoder at debian dot org
  2007-04-28  3:26 ` [Bug nscd/4428] " drepper at redhat dot com
  2007-04-28  9:08 ` madcoder at debian dot org
@ 2008-02-28 13:19 ` ibaldo at adinet dot com dot uy
  2 siblings, 0 replies; 7+ messages in thread
From: ibaldo at adinet dot com dot uy @ 2008-02-28 13:19 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibaldo at adinet dot com dot
                   |                            |uy


http://sourceware.org/bugzilla/show_bug.cgi?id=4428

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's
  2007-04-25 19:11 [Bug nscd/4428] New: " madcoder at debian dot org
  2007-04-28  3:26 ` [Bug nscd/4428] " drepper at redhat dot com
@ 2007-04-28  9:08 ` madcoder at debian dot org
  2008-02-28 13:19 ` ibaldo at adinet dot com dot uy
  2 siblings, 0 replies; 7+ messages in thread
From: madcoder at debian dot org @ 2007-04-28  9:08 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From madcoder at debian dot org  2007-04-28 10:08 -------
Given the number of pre-2001 software still around (time at which gethostby* 
calls were marked obsoletes) that indeed use gethostby* (and the number of 
more recent software using it too, even being obsolete) you are just knowingly 
breaking them.

Quite interesting indeed. Btw I tested this _BUG_ doing:
$ getent hosts ttl3.madism.org
which after 3 seconds does not make a new request as it should (running nscd 
in debug mode shows it quite unambiguously).

Interestingly enough, getent (from the libc you know) does that:

$ ltrace getent hosts ttl3.madism.org > /dev/null
__libc_start_main(0x402e40, 3, 0x7fffeead3c08, 0x403c40, 0x403c30 
<unfinished ...>
mtrace()                                         = <void>
setlocale(6, "")                                 
= "LC_CTYPE=fr_FR.utf8;LC_NUMERIC=f"...
textdomain("libc")                               = "libc"
argp_parse(0x5053e0, 3, 0x7fffeead3c08, 0, 0x7fffeead3af4) = 0
strcmp("hosts", "hosts")                         = 0
inet_pton(10, 0x7fffeead547b, 0x7fffeead3aa0, 0x5070c0, 0x5070d0) = 0
inet_pton(2, 0x7fffeead547b, 0x7fffeead3aa0, 0, 0x7fffeead3a40) = 0
gethostbyname2(0x7fffeead547b, 10, 0x7fffeead3aa0, 116, 0) = 0
gethostbyname2(0x7fffeead547b, 2, 1, 0, 0x2ae1c05b8790) = 0x2ae1bc33cfe0
inet_ntop(2, 0x5070f8, 0x7fffeead3a40, 46, 0)    = 0x7fffeead3a40
printf("%-15s %s", "127.0.0.1", "ttl3.madism.org") = 31
+++ exited (status 0) +++


So now I'm not surprised anymore I guess. You are breaking your own software.
IMHO, given how broken gethostby* are with the use of nscd, either hosts 
caching should be removed, or gethostby* generate a warning at link time so 
that people get to know that those are not supported at *all*.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4428

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's
  2007-04-25 19:11 [Bug nscd/4428] New: " madcoder at debian dot org
@ 2007-04-28  3:26 ` drepper at redhat dot com
  2007-04-28  9:08 ` madcoder at debian dot org
  2008-02-28 13:19 ` ibaldo at adinet dot com dot uy
  2 siblings, 0 replies; 7+ messages in thread
From: drepper at redhat dot com @ 2007-04-28  3:26 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-04-28 04:26 -------
nscd does respect TTL.  Only for getaddrinfo but this is OK since no program
should have use gethostbyaddr*.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/bugzilla/show_bug.cgi?id=4428

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-02 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-4428-131@http.sourceware.org/bugzilla/>
2014-02-16 19:44 ` [Bug nscd/4428] hosts caching does not respect TTL, and caches old IP's jackie.rosen at hushmail dot com
2014-05-28 19:43 ` schwab at sourceware dot org
2014-07-04 22:13 ` fweimer at redhat dot com
2015-10-02 17:34 ` fche at redhat dot com
2007-04-25 19:11 [Bug nscd/4428] New: " madcoder at debian dot org
2007-04-28  3:26 ` [Bug nscd/4428] " drepper at redhat dot com
2007-04-28  9:08 ` madcoder at debian dot org
2008-02-28 13:19 ` ibaldo at adinet dot com dot uy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).