This patch forces users to set a From address in larbin.conf so people don't run with the (illegal) default of "larbin@unspecified.mail". I have seen several misbehaving larbin crawlers on my webserver using "larbin@unspecified.mail" so I had nobody to contact about it. See also comments at http://freshmeat.net/projects/larbin/?topic_id=93 --md@hudora.de diff -rubB larbin-orig/src/global.cc larbin/src/global.cc --- larbin-orig/src/global.cc Tue Dec 30 10:10:01 2003 +++ larbin/src/global.cc Tue Dec 30 12:14:53 2003 @@ -140,6 +140,10 @@ // Read the configuration file crash("Read the configuration file"); parseFile(configFile); + if (strcmp(sender, "larbin@unspecified.mail") == 0) { + cerr << "Please set 'From' in larbin.conf to your email address" << endl; + exit(1); + } // Initialize everything crash("Create global values"); // Headers --- larbin-orig/larbin.conf.ini Tue Dec 30 10:10:01 2003 +++ larbin/larbin.conf.ini Tue Dec 30 12:17:04 2003 @@ -1,7 +1,7 @@ ############################################### # Who are you ? # mail of the one who launched larbin (YOUR mail) -From larbin2.6.4@unspecified.mail +From larbin@unspecified.mail # name of the bot (sent with http headers) UserAgent larbin_2.6.4