Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?

2008-06-12 Thread Stefan Pausch
The dyndns client is part of my router software, which could be altered. Did
i mention that cronjob scripts are PERFECT! ? ^_^

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:spamdyke-users-
> [EMAIL PROTECTED] Im Auftrag von David Stiller
> Gesendet: Donnerstag, 12. Juni 2008 10:34
> An: spamdyke users
> Betreff: Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> You wouldn't have to use a cronjob, if your dyndns-client can execute
> scripts. ;)
 

 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3180 (20080612) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?

2008-06-12 Thread David Stiller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
You wouldn't have to use a cronjob, if your dyndns-client can execute
scripts. ;)

Stefan Pausch schrieb:
> Hello David,
>
> 
>
> thanks alot for the script - i thought i haven't to use cronjob for doing
> the job again, but hey, this works perfect .
>
> 
>
> Finally i can spam my server again ^___^
>
> 
>
> --Stefan
>
> 
>
> 
>
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von David Stiller
> Gesendet: Donnerstag, 12. Juni 2008 10:10
> An: spamdyke users
> Betreff: Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?
>
> 
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi Stefan,
>
> dynamic IP's need a dynamic whitelist. For exampe write a 30-min-cron,
> looking for your
> dyndns-hostname's IP and refresh spamdyke's whitelist. Something like this
> should do the trick.
>
>
>
>
>
>
> -
>
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users


- --
Technischer Support/ Hotline

BLACKBIT neue Medien GmbH | BLACKBIT neue Werbung GmbH
Ernst-Ruhstrat-Str. 6 - D-37079 Göttingen

Geschäftsführer: Stefano Viani | Daniel Gerlach
Registergericht: Amtsgericht Göttingen,  HRB 3222
Umsatzsteueridentifikationsnummer (§ 27a UstG): DE 813 114 917

Tel: +49 [551] 50675-50 - Fax: +49 [551] 50675-20
Störungs-Hotline (mobil): +49 [171] 745-843-8
E-Mail: [EMAIL PROTECTED]

Klassische Werbung und Online-Marketing: http://www.blackbit.de
Software fuer Online-Marketing: http://www.go-community.de
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIUN+OWFnhIgg1RRoRAqZvAJ9KbE89bWLfUAwTwVSV4BqhvmOVlgCdG/AH
Ow67gPlEfLLmYWrPlFKg958=
=ETQQ
-END PGP SIGNATURE-

___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?

2008-06-12 Thread Stefan Pausch
Hello David,

 

thanks alot for the script - i thought i haven't to use cronjob for doing
the job again, but hey, this works perfect .

 

Finally i can spam my server again ^___^

 

--Stefan

 

 

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von David Stiller
Gesendet: Donnerstag, 12. Juni 2008 10:10
An: spamdyke users
Betreff: Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?

 

-BEGIN PGP SIGNED MESSAGE- 
Hash: SHA1 
 
Hi Stefan,

dynamic IP's need a dynamic whitelist. For exampe write a 30-min-cron,
looking for your
dyndns-hostname's IP and refresh spamdyke's whitelist. Something like this
should do the trick.




___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?

2008-06-12 Thread David Stiller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hi Stefan,

dynamic IP's need a dynamic whitelist. For exampe write a 30-min-cron,
looking for your
dyndns-hostname's IP and refresh spamdyke's whitelist. Something like
this should do the trick.

#!/bin/bash
WL=/var/qmail/spamdyke/whitelist_ip

IP=$(host dyndns.org | head -n1 | awk '{print $4}')
logger -t spamdyke Whitelisting $IP from $WL

#Fetch old entry using the comment (trick!)
OLD_IP=$(grep "#mydyndns" $WL | awk '{print $1}')
if [ ! -z  $OLD_IP ]; then
logger -t spamdyke Removing $OLD_IP from $WL
fi

#Drop old entry from whitelist
grep -v "#mydyndns" $WL > $WL.tmp

#Add new entry to whitelist
echo $IP "#mydyndns" >> $WL.tmp

#Activate new ip
mv $WL.tmp $WL


Stefan Pausch schrieb:
> That doesn't work, because the Dyndns name is not the same as the rDNS one.
>
> Log entry:
> Jun 12 08:40:27 h868914 spamdyke[15841]: DENIED_RBL_MATCH from:
>  to: [EMAIL PROTECTED] origin_ip: 91.1.208.xxx
> origin_rdns: p5b01dxxx.dip.t-dialin.net auth: (unknown)
>
>
> 91.1.208.xxx - my current dynamic ip
> p5b01dxxx.dip.t-dialin.net - my current dynamic rDNS
> xx.dyndns.org - static hostname which resolves to dynamic 91.1.208.xxx
>
>
>> -Ursprüngliche Nachricht-
>> Von: [EMAIL PROTECTED] [mailto:spamdyke-users-
>> [EMAIL PROTECTED] Im Auftrag von Sam Clippinger
>> Gesendet: Donnerstag, 12. Juni 2008 01:08
>> An: spamdyke users
>> Betreff: Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?
>>
>> Yes.  Use the "rdns-whitelist-file" option.
>>
>> -- Sam Clippinger
>>
>> Stefan Pausch wrote:
>>> Hello,
>>>
>>> is it possible to whitelist a hostname instead of an ip address (in
>> my case
>>> it is a hostname for a dynamic IP)?
>>>
>>> --Stefan
> 
>
> __ Information from ESET NOD32 Antivirus, version of virus
signature
> database 3179 (20080611) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
> 
>
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users


- --
Technischer Support/ Hotline

BLACKBIT neue Medien GmbH | BLACKBIT neue Werbung GmbH
Ernst-Ruhstrat-Str. 6 - D-37079 Göttingen

Geschäftsführer: Stefano Viani | Daniel Gerlach
Registergericht: Amtsgericht Göttingen,  HRB 3222
Umsatzsteueridentifikationsnummer (§ 27a UstG): DE 813 114 917

Tel: +49 [551] 50675-50 - Fax: +49 [551] 50675-20
Störungs-Hotline (mobil): +49 [171] 745-843-8
E-Mail: [EMAIL PROTECTED]

Klassische Werbung und Online-Marketing: http://www.blackbit.de
Software fuer Online-Marketing: http://www.go-community.de
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIUNnjWFnhIgg1RRoRAvcnAJ9T3mkmHpO5GsgQS99Hjb/VlUEmawCfcbeJ
eACLlDSonwj9y9YRKOMfcgo=
=f7qk
-END PGP SIGNATURE-

___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?

2008-06-11 Thread Stefan Pausch
That doesn't work, because the Dyndns name is not the same as the rDNS one.

Log entry: 
Jun 12 08:40:27 h868914 spamdyke[15841]: DENIED_RBL_MATCH from:
 to: [EMAIL PROTECTED] origin_ip: 91.1.208.xxx
origin_rdns: p5b01dxxx.dip.t-dialin.net auth: (unknown)


91.1.208.xxx - my current dynamic ip
p5b01dxxx.dip.t-dialin.net - my current dynamic rDNS
xx.dyndns.org - static hostname which resolves to dynamic 91.1.208.xxx


> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:spamdyke-users-
> [EMAIL PROTECTED] Im Auftrag von Sam Clippinger
> Gesendet: Donnerstag, 12. Juni 2008 01:08
> An: spamdyke users
> Betreff: Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?
> 
> Yes.  Use the "rdns-whitelist-file" option.
> 
> -- Sam Clippinger
> 
> Stefan Pausch wrote:
> > Hello,
> >
> > is it possible to whitelist a hostname instead of an ip address (in
> my case
> > it is a hostname for a dynamic IP)?
> >
> > --Stefan
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3179 (20080611) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] IP Whitelist based on hostname/DNS-Name?

2008-06-11 Thread Sam Clippinger
Yes.  Use the "rdns-whitelist-file" option.

-- Sam Clippinger

Stefan Pausch wrote:
> Hello,
>
> is it possible to whitelist a hostname instead of an ip address (in my case
> it is a hostname for a dynamic IP)?
>
> --Stefan
>  
>
> __ Information from ESET NOD32 Antivirus, version of virus signature
> database 3178 (20080611) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>  
>
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>   
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


[spamdyke-users] IP Whitelist based on hostname/DNS-Name?

2008-06-11 Thread Stefan Pausch
Hello,

is it possible to whitelist a hostname instead of an ip address (in my case
it is a hostname for a dynamic IP)?

--Stefan
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3178 (20080611) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users