Category Archives: Uncategorized - Page 2

Handy Cisco commands

Getting a 404 on your cisco webserver.
this means that the asdm file is not loaded.

show flash:

pick the correct asdm image and apply the config.

asdm image flash:/asdm-621.bin

 

Stopforumspam

I Really hate spam and last week I encountered a sea of spam on one of my sites. Mys11 showed me a site which was a good tip. Thanks for that. I created a nice simple class to quickly check if an ip, email or username is registered as a spammer.

You can find it on my github repo -> https://github.com/utopias/code.grasvezel.git

Test SMTP server using telnet

The steps to test a email server are quite simple.
below you will find the steps to do so.
In these examples mail.example.com is the domain of the server which is tested.

> telnet mail.example.com 25
< 220 fallback.xeed.nl ESMTP Postfix
> EHLO test.com
< 250-mail.example.com
< 250-PIPELINING
< 250-SIZE 10240000
< 250-VRFY
< 250-ETRN
< 250-ENHANCEDSTATUSCODES
< 250-8BITMIME
< 250 DSN
> MAIL FROM: foo@test.com
<
250 OK – MAIL FROM foo@test.com
> RCPT TO: User@test.com
< 250 OK – Recipient User@test.com
> DATA
<  354 Send data. End with CRLF.CRLF
> type the message and end with <return> . <return>
< 250 OK
> QUIT
< 221 closing connection

The output of the server may vary from server to server. but the commands are the same.