-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathChangeLog
More file actions
1572 lines (1078 loc) · 52.2 KB
/
ChangeLog
File metadata and controls
1572 lines (1078 loc) · 52.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2004-09-23 Herbert Straub <herbert@linuxhacker.at>
* improved: error messages in class NVcontainer to detect database
file corruption.
* Feature: can handle bad database files discoverd by
NVcontainer::make_current(). In this case, the bad database
files is renamed to *.bad. The error is protocolled in
news.err (bad database file). NewsCache answer with:
412 operation failed. The next access to this article will retrieve
the articles from the remote server.
* doc: adding doc/newscache-corrupt-db-files.txt -> details of
databsae corruption errors.
* Version: 1.2rc6
2004-07-28 Herbert Straub <herbert@linuxhacker.at>
* doc: replacing doc/draft-ietf-nntpext-base-04.txt with
doc/draft-ietf-nntpext-base-22.txt
* doc: removing doc/draft-ietf-nntpext-imp-02.txt obsolete. See:
http://www.ietf.org/ids.by.wg/nntpext.html
http://www.ietf.org/all_id.htmlhttp://www.ietf.org/all_id.html
* doc: adding doc/draft-ietf-nntpext-tls-nntp-01.txt
* LSB Init Script Name Registry: register initscript newscache. See
http://www.lanana.org/lsbreg/init/index.html
2004-07-22 Herbert Straub <herbert@linuxhacker.at>
* Article::GetText update: libintl.h correction by Ulrich Drepper,
see: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/intl/libintl.h?cvsroot=glibc
see also 2004-06-02 Compiler Error
* man page newscache.conf: Updating ServerSpec PostTo and add the
Multiple Upstream NewsServer example.
* new meaning of option: updatenews -a
This option force the update of the ActiveDB. This is usefull after
manipulating the NewsServerList in the configuration file. see also
the manual pages newscache.conf and updatenews.
2004-07-09 Herbert Straub <herbert@linuxhacker.at>
* changing etc/newscache.conf-dist: PidFile
/var/run/NewsCache.pid to /var/run/newscache.pid
2004-07-05 Herbert straub <herbert@linuxhacker.at>
* sstream.h: namespace std with new socket++
* Version: 1.2rc1
2004-06-23 Herbert Straub <h.straub@aon.at>
* Bugfix: Authentication::set method: fix empty fields
at the end(example: Authentication pam::*::).
* doc/newscache-stunnel-ssl.txt: nntps with NewsCache and stunnel
* signals: logging received signals (priority debug)
* manual pages: using *.in files with @SYSCONFDIR@, @SBINDIR@ ...
configure creates the manualpages with the correct pathnames.
* newscache.conf.5.in: new sections: FILES, COPYRIGHT,
* newscache.8.in: new sections: FILES, COPYRIGHT, SIGNALS. Rewritten
sections: DESCRIPTION
2004-06-11 Herbert Straub <h.straub@aon.at>
* configure.in: --enable-debug uses CXXFLAGS -g -O0
* configure.in: --with-pam takes a optional argument for
the PAM Servicename
* doc/ directory: new guides:
newscache-coredump.txt: how i catch a coredump
newscache-debugging: how i debug a newscache session
newscache-pam.txt: how i use the pam functionality
* configure.in: various updates
2004-06-02 Herbert Straub <h.straub@aon.at>
* Compiler Error: g++ -O3; the method Article::gettext conflicts with
the libintl.h macro gettext. See also (not a compiler bug):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15773
and the Stroustrup C++ Style and Technique FAQ: So, whats wrong with
using macros?
http://www.research.att.com/~bs/bs_faq2.html#macro
Bruno Haible's solution posted in the libc-alpha (redhat.com)
mailinglist:
http://sources.redhat.com/ml/libc-alpha/2004-06/msg00018.html
Change Article::gettext to Article::GetText for the moment.
2004-02-03 Herbert Straub <h.straub@aon.at>
* Bugfix: crypt.h (FreeBSD) in NewsCache.cc (Tilman Linneweh)
* Enhencement: Variable pam service name. Controlled via
newscache.conf AccessList - Client - PAMServicename Parameter
* Enhencement: New newscache.conf AccessList - Client - allow option:
authentication. Usefull if only authenticatiated users allowed
* Bugfix: NNRP::CommandMAP::disableRead: also erase: list, mode,
newgroups
* Enhencement: new option: newscache -o --> prints the
configurations options
* Bugfix: Don't shows passwords in logfile, if authinfo fails.
* FIXME: xdebug dump authorization doesn't display the correct
access_flags
* FIXME: j: 4 flags: read,post,debug t: read
2004-01-20 Herbert Straub <h.straub@aon.at>
* Bugfix: removing -W -pedantic compiler flag
2004-01-15 Herbert Straub <h.straub@aon.at>
* Bugfix: Newsclient tin hangs in phase newsrc download.
NewsCache cannot handle the simultanious group download.
Reason: select call and iostream/socket++ mixed.
Reported by Mike Harding <mvi@ix.netcom.com>
* Update: Year of Copyight updated.
* Update: minor update of man page newscache.conf
* New Version: 1.1.92
2003-12-13 Herbert Straub <h.straub@aon.at>
* Consolidation: Compiler Flags: -W -pendantic
* Consolidation: NVcontainer.h:34: error: long, short,
signed or unsigned used invalidly for ` mtime'
* Consolidation: redesign NNRPCommandMap class, add methods:
enableAll, disableRead, disablePost, disableDebug
* Consolidation: updating the man page newscache.conf.5 parameter
Read, PostTo in the NewsServerList section. The PostTo parameter
is not implemented at the moment.
2003-12-10 Herbert Straub <h.straub@aon.at>
* Bugix: Error Parsing the commands from the news-client.
Reported by Konstantin Nikonenko <kostya@d-sto.com>
* New Version: 1.1.91
2003-10-24 Herbert Straub <h.straub@aon.at>
* New Version: 1.1.90
2003-10-22 Herbert Straub <h.straub@aon.at>
* Bugfix: correcting nnrp_command_map after authinfo process.
new help function NewsCache.cc: set_client_command_table
ns_authinfo() calling after successfull authenticaion
set_client_command_table
nnrpd() calling set_client_command_table
* Update: newscache.conf man page, reflecting the new authentication
methods.
* Removing: Compiler Option -Wno-unused from all Makefile.am and all
unused variables.
2003-10-05 Herbert Straub <h.straub@aon.at>
* Feature: implementing authentication pam and pam+file
Source: http://www.kernel.org/pub/linux/libs/pam/modules.html
Source: http://www.kase.fi/~tuomo/files.html
Enhencement of working with allow field.
2003-10-04 Herbert Straub <h.straub@aon.at>
* Feature: new debug message show the modified access_entry ruleset:
NewsgroupFilter set to: !at.*,g.t1:at.*,g.t2:de.*,g.t3
The three fields (seperator :) are List:Read:postTo and can be set
with the List Read PostTo and Authentication parameter in the
newscache.conf file. These fields are modified, if a user goes through
the authentication process. Seen man 5 newscache.conf
* Bugfix: wrong description in newscache.conf-dists, section Client-
access/Authentication: NONE, DENY, FILE removed -> no implentation
AuthFile removed -> no implementation. Correcting man/newscache.conf.5
* Feature: new commands: xdebug help and xdebug dump configuration
* Enhencement: reworked authentication process: new class
Authentication, AccessEntry::authentication is type class
Authentication instead of std::string, cleanup NewsCache.cc
and use the new class functionality of Authentication, new
auth_state AUTH_NOT_REQUIRED in NewsCache.cc. For a detail
description see man newscache.conf, README.authentication
and newscache.conf-dist.
* Feature: new configure parameter --enable-plainpass
If enabled and authentication file:/path/to/file is used,
then the password field in the file is interpreted as
plain text. If password doesn't match, then the auto_cryptcheck
routine is called.
* Feature: password file format is extented by the allow field.
* Feature: new file etc/newscache.auth-dist as example
* Feature: authinfo password check: every false password input,
multiply the sleep time. After three false password retries, the
service is disconnected. New variables: int auth_failures,
auth_max_failures, auth_failure_sleep_time.
2003-09-01 Herbert Straub <h.straub@aon.at>
* Consolidation: newscache.conf-dist: AccessList allow/deny
description: removing deny (implementation in source code not
available: use allow none). Removing deny description in
newscache.conf man page.
* Bugfix: NewsCache always returning "502 Bad authinfo" in combination
with configuration parameter --with-shadow. Reason: wrong Condition
inf check_authentication function (NewsCache.cc) - missing ! Now
working with ShadowPasswords.
* Bugfix: Authentication parameter in AccessList section not working,
permit access to groups without authinfo informations. Bad condition
in nnrpd function NewsCache.cc.
* Feature: the debug logfile (news.debug) shows which entry from
the AccessList match. Example:
nnrpd: access_entry name matched: 127. 0.0.1/255.255.255.255
2003-09-28 Herbert Straub <h.straub@aon.at>
* Consolidation: Timeouts and GroupTimeout: correcting descriptions
in man/newscache.conf.5 and etc/newscache.conf-dist; validating
description and source code. Removing useactive in MPListEntry and
CServer::groupinfo (useless). Removing timeouts in CServer::groupinfo.
Removing activeTimeout from MPListEntry and MPList::readServer ->
implemented in Timeouts. Updating doxygen documentation
CServer::groupinfo.
* Consolidation: New Defaultvalues: GroupTimeout 600 seconds,
Timeouts 3600 3600 (1 hour for activedb and group description) ->
man/newscache.conf etc/newscache.conf-dist
* Consolidation: removing obsolete method MPList::dump(ostream)
* Consolidation: Default value is ListenTo DEFAULT instead of
CachePort nntp
* New feature: New option: newscache -p
Print the current used parameter (debugging feature). Adding
method printParameters to classes Config, MPList, MPListEntry,
AccessList AccessEntry.
2003-09-24 Herbert Straub <h.straub@aon.at>
* Bugfix: man page updatenews.8 Synopsis and Options doesn't match
the reality in the program. updatenews.cc now using getopt().
man page updatenews.8 rewritten.
* Bugfix: man 5 newscache.conf: new section ServerSpec Options flag:
[not-]setpostflag, [not-]cached, [not-]offline, semioffline
new section Commands.
* Bugfix: verifying the Examples sections
2003-08-17 Herbert Straub <h.straub@aon.at>
* Bugfix: man page newscache.8 Synopsis and Options doesn't match
the reality in the program. NewsCache.cc now using getopt() and
understanding the options: vfhcid (see man newscache); configure.in
extended with headercheck getopt.h. man page newscache.8 rewritten.
* Bugfix: man page newscacheclean.8 Synopsis and Options doesn't match
the reality in the program, NewsCacheClean.cc now using getopt() and
understanding the options: hvcspt. man page newscacheclean.8 updated.
2003-08-10 Herbert Straub <h.straub@aon.at>
* Bugfix: uninitialized _pServerStream in RServer():NServer()
sig11 problem (FreeBSD) reported by Steve Ames <steve@energistic.com>
* newscache.conf.5 man page: continued updating the man page.
2003-04-20 Herbert Straub <h.straub@aon.at>
* Bugfix: updatenews go in a infinite loop, if in the configuration
the parameter PrefetchFile is'nt specified. The updatenews starts with
the default value '\0' and does'nt check the stream status!
2003-04-09 Herbert Straub <h.straub@aon.at>
* Bugfix: Article.cc: removing default parameter from getfield and
write (patch from Tilman Linneweh <arved@FreeBSD.org>)
* Bugfix: configure.in x$libsocket_found condition (patch
from Tilman Linneweh <arved@FreeBSD.org>)
2003-04-05 Herbert Straub <h.straub@aon.at>
* newscache man page: paritially rewritten und updated. Not finished.
* New Version: 1.1.12
2003-03-18 Herbert Straub <h.straub@aon.at>
* Bugfix: DATE command returns localtime instead of gmtime. Thanks to
Matthias Andree <matthias.andree@gmx.de> (Leafnode maintainer) for
reporting this error. gmtime errors into news.err.
* Bugfix: nnrpd function in src/NewsCache.cc doesn't flush the client
stream, therefore the 502 Errormessages lost.
2003-03-12 Herbert Straub <h.straub@aon.at>
* Feature NewsCache.cc: after client connection timeout sending:
"400 " PACKAGE " " VERSION", service timed out"
* Feature NewsCacheClean.cc: dropped purge table implemention and
replaced with STL vectori<Entry *>. clean() code reviewed and
enhenced: exception directories
* Bugfix NewsCacheClean.cc: introduced with version (2003-02-28):
NVNewsgroup created in all directories a .db file. -> done
* Bugfix: "caught signal 6" messages in news.err logfile. Insert an
exception handle in NewsCache.cc and using "named socket" - see next
two points.
* Feature NewsCache.cc: naming the client socket; socket name listed
in news.err (throw sockerr), if a communication error occours.
* Feature sstream.cc: naming the upstream news server socket;
socket name listed in news.err (throw sockerr), if a communication
error occours.
* Feature newscacheclean.8 man page: updateded
2003-02-28 Herbert Straub <h.straub@aon.at>
* Enhencement: NewsCacheClean.cc: analyze with NVNewsgroup class
every .db file to determine, if outdated article (.art*) are available
and purge this articles. Adding this feature to -s (statistic)
qualifier.
2003-02-18 Herbert Straub <h.straub@aon.at>
* Debug.h: added NC_CATCH_ALL macro
2003-02-14 Herbert Straub <h.straub@aon.at>
* Error.h: Exception output to Logger::Debug
2003-02-13 Herbert Straub <h.straub@aon.at>
* New Version 1.1.11
2003-02-05 Herbert Straub <h.straub@aon.at>
* ArtSpooler.cc: insert HAVE_SSTREAM
see doc/Libstdc++-porting-howto.html
* NServer.cc: insert HAVE_SSTREAM
see doc/Libstdc++-porting-howto.html
* Article.h: changed struct Article to class Article; moved
implementation from find_field, getfield, setfield methods to
Article.cc; sprintf("%u", string.length()) in getfield compilation
warning on Itanium -> changed to strstream implematation.
* Rewritten: the while man/newscacheclean.
2003-02-02 Herbert Straub <h.straub@aon.at>
* NewsCacheClean.cc: removing cout from print_statistic, removing old
chain implementation (cleanlist), add -s qualifier, removing -t
qualifer and code, because g++3.0 doesn't support an attach method
* updatenews.cc: removing qualifier -t and code
* sbin Programs NewsCache, NewsCacheClean: changed to newscache and
newscacheclean
* Changed: man pages for newscache and newscacheclean are lowercase
2003-01-31 Herbert Straub <h.straub@aon.at>
* Bugfix: Connection time out to upstream newsserver leads to a SIGABRT
news.debug sequence:
sstream::connectTo can't connect to upserv nntp sockerr code: 110
sockerr operation: sockbuf::connect sockerrtext:
Connection timed out
sstream::disconnect
CServer::active: UNEXPECTED EXCEPTION CAUGHT, WHILE IN CRITICAL REGION!
CServer::active: PLEASE REPORT TO tom@infosys.tuwien.ac.at
...
23491 caught signal 6
--> insert a try catch block in sstream::disconnect method
* Removing: accesslog, cachestat, hoststat, hostlog. This scripts
desn't working. hoststat conflicts with sendmail's hoststat!
* Changing: all e-mail addresses in PLEASE REPORT TO ... to
h.straub@aon.at
2003-01-30 Herbert Straub <h.straub@aon.at>
* Bugfixing session on HP TestDrives: RedHat Advanced Server
on Itanium with g++ 3.2
* Bugfix: added using namespace std for g++ >= 3.0 !! for
ArtSpooler.cc, tlock.cc, tartspooler.cc
* Bugfix ObjLock.cc: removed cout debugging statement.
* Bugfix --with-syslog=no:
* Logger.cc: using namespace std, removed default arg for constructor,
removed Logger::attach
* Logger.h: #include <iostream>, using std::ofstream, removed attach
method from Logger
* updatenews.cc: slog.attach removed. New implemention of logfile
handling; open newscache_updatenews.log in LogDirectory (configuration
parameter).
* NewsCacheClean.cc: same thing as in updatenews.cc: logfile is
newscache_newscacheclean.log
* NewsCache: sanem thing as in updatenews.cc: logfile is
newscache.log
2003-01-21 Herbert Straub <h.straub@aon.at>
* doxygen added comments in NServer-0.9.1/: Article.h, CNewsgroup.h,
GroupInfo.h, Lexer.h, MPList.h, NSError.h, NVActiveDB.h, NVActive.cc,
NVNewsgroup.h, NewsgroupFilter.h, OverviewFmt.h, RNewsgroup.h,
VirtualIterator.h, readline.h, util.c, util.h
* doxygen added comments in NVClasses-0.9.1/: Error.h, Logger.h,
NVArray.h, NVHash.h, NVHash.cc, NVList.h, NVList.cc, NVcontainer.h
NVcontainer.cc, NVlist.h, NVList.h
* doxygen added comments in src/: AccessList.h, Config.h
2003-01-21 Herbert Straub <h.straub@aon.at>
* New Version: 1.1.10
* Reformatting: all Source files with
indent -v test.cxx -kr? -i8? -o test_1.cxx
* updated: TODO
2003-01-20 Herbert Straub <h.straub@aon.at>
* New Version: 1.1.9
2003-01-11 Herbert Straub <h.straub@aon.at>
* Bug: updatenews -> segfault (fixed with new implementation of
Article Spool Management.
* New classes: ArtSpooler, ObjLock (manager Article Spool)
* New: doxygen format: ArtSpooler, ObjLock, NServer
* util.h: mkpdir 1 parameter const char *
* LServer:: add ArtSpooler *pSpool;
* LServer::init(spooldir) initialize ArtSpooler, remove char buf[1024]
* LServer::~LServer() delete pSpool
* CServer::postspooled (void) -> complet reimplemented; using
ArtSpooler
* CServer::spoolarticle (Article *article) -> complet reimplemented;
using ArtSpooler
* New: test subdirectory with test programms; not installed!
tartspool.cc, tlock.cc
* Changed: configure option --with-miscnames changed to
--with-uniquename. NewsCache, NewsCacheClean, updatenews using
different name in syslog. For the old name schema, specify
--with-uniquename. configure.in, src/updatenews.cc,
src/NewsCacheClean.cc
* Updated: NEWS, TODO, COPYRIGHT
2002-12-18 Herbert Straub <h.straub@aon.at>
* New Version: 1.1.8
2002-12-06 Herbert Straub <h.straub@aon.at>
* configure.in: updating libsocket++ check
* src/NewsCache.cc: add clt.co->flush() on client_timeout and
disconnecting message
* src/NewsCache.cc: add "NewsCache Server Start" syslog message
2002-11-23 Herbert Straub <h.straub@aon.at>
* *.h socket++ Library moved to socket++/*.h
* update socket++ checks
* New Version: 1.1.7
2002-11-23 Herbert Straub <h.straub@aon.at>
* autogen: add-missing: automake --add-missing
* NSError.h, Error.h, Article.h, Lexer.h:
file and function parameter now const char*
* newscache.conf-dist: new default value
SpoolDirectory /var/cache/newscache
* Updating: NEWS, INSTALL, README, THANKS files
* New file: README.RedHat-8.0
* New Version: 1.1.6
2002-11-22 Herbert Straub <h.straub@aon.at>
* New Version: 1.1.5
2002-10-30 Herbert Straub <h.straub@aon.at>
* Implementing in all files: throw (...,ERROR_LOCATION)
* Bugfix: RServer::post(): Error posting without message-id
* Bugfix: removing getfield("message-id") from Debug Message in
::post Methods from RServer
2002-10-29 Herbert Straub <h.straub@aon.at>
* Error classes: adding __FILE__, __PRETTY_FUNCTION__, __LINE__ to
constructors. Also modifiy the print functions.
2002-10-22 Herbert Straub <h.straub@aon.at>
* Improvment: debug output in NewsCache.cc selectgroup
* Bugfix: NSError.h: the constructor of NSError write a wrong type
information to the systemlog.
2002-10-17 Herbert Straub <h.straub@aon.at>
* NServer-0.9.1/NSError.h and NVClasses-0.9.1/Error.h: reformatting
print method outpout (one line) for Exceptions.
* INSTALL: bugfix in description
2002-10-08 Herbert Straub <h.straub@aon.at>
* New Version: 1.1.4
2002-10-08 Herbert Straub <h.straub@aon.at>
* Bugfix for FreeBSD: Ted Mittelstaedt <tedm@toybox.placo.com>
reports a build error on FreeBSD (crypt.h).
Tilman Linneweh <tilman@arved.de> send me a solution for this problem
in src/crypt.h.
2002-10-06 Herbert Straub <h.straub@aon.at>
* Version: 1.1.3
* Bugfix: Hanger in POST Function
Correction: add flush in src/NewsCache.cc in ns_post()
and NServer-0.9.1/NServer.cc in RServer::issue.
* NewsServer.cc: Add detailed error logging, if compiled with debug
2002-10-05 Herbert Straub <h.straub@aon.at>
* etc/newscache.conf-dist: update the documenation for Nice values
* man/newscache.conf.5: add documantion for NiceServer, NiceClient,
NiceClean and ListenTo Configuration Option.
2002-10-05 Herbert Straub <h.straub@aon.at>
* Version 1.1.2
* Bugfix: Not working with more then one Upstream Server:
sstream::connectTo can't connect to nodename-upstream-server nntp
sockerr code: 106 sockerr operation: sockbuf::connect sockerrtext:
Transport endpoint is already connected
Reason: the socket++ Library doesn't make a close (socket).
Correction: in NServer.cc convert _ServerStream to *_pServerStream
and control connect/disconnect with new/delete
* class Error: remove logging in constructor
* NServer.cc: Add detailed error logging, if compiled with debug
2002-09-27 Herbert Straub <h.straub@aon.at>
* Version 1.1.1
* Require libsocket++-1.2.* from my Homepage (see NEWS)
* Updating autogen
* Remove various debug messages to cout
2002-07-31 Herbert Straub <h.straub@aon.at>
* change from std::strstream to std::sstream
2002-07-28 Herbert Straub <h.straub@aon.at>
* sstream is now derived from iosockinet from libsocket++ (version
1.2)
* libsocket++ is now a shared library
2002-07-24 Herbert Straub <h.straub@wienkav.at>
* Improving Errortext: CNewsgroup::sUpdateOverview(void) (catch Error)
Description: list returns a list of Newsgroups, group a.a.b.c returns
411 No such group. In this situation the client receive nothing(?).
2002-07-06 Herbert Straub <h.straub@aon.at>
* Bugfix: NServer.c CServer::postspooled(void) change from
if(fs.bad() && !fs.eof()) { to if(ifs.bad() && !ifs.eof()) {
fs is the wrong filebuf.
* Porting g++-3.1: A porting howto for libstdc++ 3.0:
/usr/share/doc/gcc-3.0-base/libstdc++/html/17_intro/porting-howto.html
* Porting g++-3.1: NServer.cc. fstream.attach (fd) not longer
available. Therefore i think it is simpler to change back to
the fprintf and fscanf routinen in
void CServer::spoolarticle(Article *article) and
void CServer::postspooled(void). Another way:
http://www.josuttis.com/ and C++ Souces fdstream.hpp
* Porting g++3.1: src/NewsCache.cc in nrpd: clt.ci and clt.co use
fstream.attach () and change to iosockstream and sockbuf. This are
classes from the socket++ Library.
* src/AccessList.h: change struct AccessEntry to class AccessEntry
* src/AccessList.cc: method client: vector::iterator see details in
NEWS
2002-05-07 Herbert Straub <h.straub@aon.at>
* Bugfix: ns_list: 501 Syntax text updated (active wildmat)
2002-05-06 Herbert Straub <herbert.straub@wienkav.at>
* Version: 0.99.23
* Bugfix: RServer::post reimplement the stat check
before posting. Matthias Andree (Leafnode-Maintainer)
asks about the status of the stat command.
2002-03-12 Herbert Straub <herbert.straub@emb.magwien.gv.at>
* Bugfix: stat_articles was useless - see news.info exit
message. Now it counts the complete retrieved articles by
the process.
* New Version: 0.99.22
2002-03-12 Herbert Straub <herbert.straub@emb.magwien.gv.at>
* New file autogen
* Bugfix: process hanger: setsockopt(SO_KEEPALIVE)
in sstream.cc
* New: ./configure --with-miscnames, miscellaneous
names for NewsCache, NewsCacheClean and updatenews
in syslog messages
* New Version: 0.99.21
2002-03-08 Herbert Straub <herbert.straub@emb.magwien.gt.at>
* Bugfix: ListenTo with FQDN not working
James Youngman reports this error an send a patch
proposal for src/NewsCache.cc
2002-03-06 Herbert Straub <herbert.straub@emb.magwien.gv.at>
* Bugfix: Grzegorz Staniak reports an compile error
on Mandrake (src/setugid.cc: #include <stdlib.h>
* Bugfix: NewsCache.cc nntpd(): setsockopt(SO_KEEPALIVE)
for client socket; avoids client process hanger
2002-02-19 Herbert Straub <h.straub@aon.at>
* Adding conf-parameter NiceServer, NiceClient, NiceClean
with the setpriority function
* Adding conf-parameter ListenTo for multihomed hosts
* Bugfix: inserting wildmat.[ch] in Nserver-0.9.1/Makefile.am
* Bugfix: enabling CC Compiler in configure.in
* configure: 0.99.19
2002-02-14 Herbert Straub <herbert.straub@emb.magwien.gv.at>
* configure: 0.99.18
* Bugfix: Warren Flemming reports an compile error
on RedHat 7.1 (md5crypt).
2002-02-05 Herbert Straub <herbert.straub@emb.magwien.gv.at>
* Bugfix: list active wildmat not working
Include the wildmat.[ch] from the INN Project
2001-XX-XX Herbert Straub <herbert.straub@emb.magwien.gv.at>
* Bugfix: post in cascaded NewsCache Configuration
not working
* Bugfix: stat messageId not working
* Performance for big NewsCache Spools: change NewsCacheClean
from chain to table
2000-02-03 Thomas Gschwind <tom@yosemite.infosys.tuwien.ac.at>
* src/crypt.cc: corrected stupid salt calculation
* src/NewsCache.cc (ns_newgroups): fixed a y2k bug (thx heinz)
(nnrpd): disabled stream buffering, some clients had problems with
this
1999-05-24 Thomas Gschwind <tom@instnb.infosys.tuwien.ac.at>
* NServer-0.9.1/checks/cArticle.cc: added checks for class Article
1999-04-XX Thomas Gschwind <tom@pp303.infosys.tuwien.ac.at>
* added read/postTo options to authentication handling
* adapted *ActiveDB to add read/postTo options to authentication
handling
* incorporated various patches
1999-01-19 Thomas Gschwind <tom@pp303.infosys.tuwien.ac.at>
* NVClasses-0.9.1/NVcontainer.cc (open): better detection of out
of disk space errors
1999-01-14 Thomas Gschwind <tom@pp303.infosys.tuwien.ac.at>
* src/NewsCache.cc (nnrpd): do not wait for the next command when
a termination signal is received
* configure.in: check if sigaction is available
* src/NewsCache.cc: use sigaction to set signals instead of signal
(if available)
1998-12-11 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/NewsCache.cc (nntpd): removed SO_KEEPALIVE option
* NServer-0.9.1/util.cc (mkpdir): mkpdir() fixed
1998-11-24 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/CNewsgroup.cc (sUpdateOverview): fixed a typo
which was responsible for trying to retrieve most missing
articles.
1998-11-17 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* configure.in: version=0.99.14
(ENABLE_DEBUG): off by default
* NServer-0.9.1/NServer.cc (article): article retrieval by
article-id fixed (again)
1998-11-11 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/NServer.cc (article): article retrieval by
article-id fixed
1998-11-10 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/NewsCache.cc (nntpd): Maximum number of client connections
* NServer-0.9.1/NServer.h:
* NServer-0.9.1/NServer.cc: Added X-NNTP-Posting-Host
(post): Added another counter to the message-id
* NServer-0.9.1/Article.h: fixed a bug that caused a SIGSEGV when
an illegal article was posted
* src/NewsCache.cc (nntpd): fixed an accept bug that caused
NewsCache to die in standalone mode :)
* configure.in: improved libwrap detection --- thanks Q
* src/NewsCache.cc (ns_stat): implemented stat via overview
database
* NServer-0.9.1/NServer.cc: improved RServer::post logic
1998-10-19 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/NewsCacheClean.cc: use the maximum of access time and
modification time for expiry instead of access time only
* NVClasses-0.9.1/NVArray.cc (nvfree):
* NVClasses-0.9.1/NVArray.h: Added some new assertions
* NServer-0.9.1/NSError.h: fixed a typo
* src/NewsCache.cc (main): Added --fqdn switch to display fully
qualified domain name as identified by NewsCache
* NServer-0.9.1/util.cc (getfqdn): primary_hostname was not
declared static
1998-10-16 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/Config.cc (read):
* src/Config.h: Added Hostname/MaxConnections config option
* NServer-0.9.1/NServer.h:
* NServer-0.9.1/NServer.cc: Hostname option, added ARTICLE <ID>
command
* src/NewsCache.cc (main): Hostname option, added ARTICLE <ID>
command, fixed bug in standalone mode
* NServer-0.9.1/NServer.cc (article): check every news server for
the given article id
Thu Aug 13 23:03:06 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* released 0.99.11
* NServer-0.9.1/NVNewsgroup.cc (setarticle): fixed a memory leak
in the news database
* NServer-0.9.1/CNewsgroup.h:
* NServer-0.9.1/CNewsgroup.cc: updated timeout code
Wed Aug 12 10:35:29 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/MPList.h: Added flags for MODE READER and LIST
overview.fmt
* NServer-0.9.1/NServer.cc (connect): Added support for braindead
servers that do not support LIST overview.fmt like
msnews.microsoft.com
* src/NewsCache.cc (ns_newgroups): added working support for the
NEWGROUPS command
* configure.in: version=0.99.11
* NServer-0.9.1/NServer.cc (connect): fixed authinfo
* src/NewsCacheClean.cc: reordered include files for FreeBSD
* src/NewsCache.cc: fixed SIGPIPE signal
* src/hostlog.in: parse log file correctly
Fri Aug 7 15:28:49 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/Makefile.am: Added hostlog, hoststat
* src/cachestat.in:
* src/accesslog.in: minor update
Wed Aug 5 00:09:42 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/NVNewsgroup.cc (setsize): Unlink bigarticles, when
they are expired on the news server
(getarticle): Accept that bigarticles may be removed (due to cache
replacement for instance)
* src/Makefile.am (NewsCache_SOURCES): Added NewsCacheClean.cc A
C++ replacement of the old cacheclean script
Tue Aug 4 22:03:03 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/NServer.cc (connect):
* NServer-0.9.1/MPList.cc (readServer):
* NServer-0.9.1/MPList.h: Added basic support for authentication
Fri Jul 10 22:34:32 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/NServer.cc: Added support for authentication
* src/NewsCache.cc (ignoresignal): Ignore SIGALRM, SIGUSR[12],
SIGPIPE instead on terminating.
Added preliminary support for list newsgroups
Tue Jun 23 11:49:43 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/accesslog.in: removed : in output
* doc/NewsCache.texinfo (General Options): corrected ConfigVersion
Mon Jun 22 11:21:01 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* configure.in: redirect error messges of find to /dev/null
* released 0.99.9
* src/Config.cc: new configversion is 4
* src/accesslog.in:
* src/cachestat.in: process new log-file style
* src/NewsCache.cc: include <sys/time.h>
* doc/NewsCache.texinfo: added section Compatibility
* man/updatenews.8: updated the manual page
* etc/NewsCache.init.in: removed &, NewsCache puts itself into the
background
* NVClasses-0.9.1/Logger.cc (print): add date and time to each log
entry
* src/updatenews.cc (main):
* src/NewsCache.cc (main): catch SIGINT,SIGALRM,SIGUSR[12] signals
Fri Jun 19 17:11:46 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/CNewsgroup.cc (prefetchGroup):
* NServer-0.9.1/CNewsgroup.h: added a flag to prefetchGroup
indicating whether the group should be locked once or for each
article retrieval
Thu Jun 18 21:57:23 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* doc/NewsCache.texinfo: added two sections
* src/updatenews.cc: Added workers, updated copyright notice
Mon Jun 15 12:14:34 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NVClasses-0.9.1/NVcontainer.cc (nvalloc): Fixed a small memory
leak of the persistent memory allocation (~8 bytes in some
cases).
Tue Jun 9 14:07:11 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/NewsCache.cc (nnrpd): fixed the number of descriptors in
select
Mon Jun 8 13:42:07 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/MPList.cc (readServer):
* NServer-0.9.1/NServer.cc: updated semioffline mode
* doc/NewsCache.texinfo: updated the NewsCache manual
* configure.in:
* src/cacheclean.in: detect, whether find accepts -printf
* man/newscache.conf.5:
* src/Config.cc (read):
* src/Config.h:
* src/NewsCache.cc (nntpd): added pid file option
* src/NewsCache.cc (nntpd): added SO_KEEPALIVE to
socket and corrected some typos
Fri Jun 5 13:29:27 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/NServer.cc (article): added article parameter,
where the user has to supply a preallocated article class.
* NServer-0.9.1/NVNewsgroup.cc: retrievearticle allocates already
an article.
* configure.in:
* src/Makefile.am:
* src/cachestat.in: added cachestat script
* src/accesslog.in: added accesslog script
Thu Jun 4 12:43:19 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* doc/Makefile.am (info_TEXINFOS): renamed tutorial.texinfo to
NewsCache.texinfo
Wed Jun 3 21:10:18 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/accesspatterns.in: Added a script to filter
group/article-size/miss requests from log files
* etc/NewsCache.init: Fixed a typo
Wed May 27 14:01:52 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* src/Config.h:
* src/Config.cc (read):
* etc/newscache.conf-dist:
* src/NewsCache.cc (nnrpd): Added client timeout
* NServer-0.9.1/NServer.cc: identify 503 as a connections timeout
Mon May 11 16:39:05 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/NServer.cc (setserver): Faster detection, whether
server is already selected
* NServer-0.9.1/NVNewsgroup.cc: Fixed a memory leak
* src/NewsCache.cc (nnrpd): Manage ipaddresses correctly
Tue Apr 28 12:00:47 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/NServer.cc: Removed all the old stuff that has
been #ifdef'd
Removed [LRC]Server::freegroup since those are covered by
NServer::freegroup.
* NVClasses-0.9.1/NVcontainer.cc (nvflock): Unlock container,
before applying new lock. Some systems do this themself and some
do not. :(
* src/updatenews.cc (main): Log to file instead of stderr. Logging
to stderr can be enabled using -v.
* src/NewsCache.cc (main): Added --version switch
Mon Apr 27 09:39:12 1998 Thomas Gschwind <tom@w0.infosys.tuwien.ac.at>
* NServer-0.9.1/NVNewsgroup.cc (getarticle): Added VERB message
* NServer-0.9.1/NVActiveDB.cc: Corrected the level of a debug
message
* NVClasses-0.9.1/NVcontainer.h: The aCC compiler on HPUX does not