And "88" is based on 2 eights, which is 2 more than 6. This means that there are 3 numbers 2 in the number 88; with 8 being 2 more than 6, the number is actually 666, which is the number of the devil. Therefore, they *must* be associated with the Devil.I can't fully remember what the context for this one was (nor can I for most of the other quotes on that page), and google doesn't help. I do have a faint idea that it involved some case where I thought someone else was basing an argument on something ridiculous, and that I wanted to show them that; but I'm not sure what it exactly was. Anyone else have an idea here?
We went out to one of the beaches near Santa Cruz that evening,
then headed back into the city later on for drinks and dinner. We had
a very animated conversation about the use of Free Software in schools
and local government, with the Spanish people and Knut Yrvin from
Skolelinux trading interesting stories about their experiences.
On Wednesday morning, a group of us rented a car and headed inland
to visit El Teide, the huge volcano that dominates the Tenerife
skyline. It's the first time I've ever looked down on clouds from the
passenger seat of a car! We headed almost to the top, and visited the
desolate plain just down from the last summit. It looked almost like a
lunar landscape, untouched by water...
Later on that day, I headed back to the hotel in Santa Cruz and
then on to the airport to catch my return flight to England. Carlos
(again) had given up his time to chauffeur me around, and we chatting
about all sorts of things while he drove south. Unfortunately, the
flight was delayed by several hours because of mechanical problems. I
would have been happy enough to have simply waited at the airport, but
Carlos was having none of it. :-) He insisted we should go and have
dinner together; we went for drinks at a beach bar, then up to his
home village for a lovely meal. Eventually I caught my plane at
2:30am, and got back to England just in time to catch the rush hour
traffic on the M25.
I spent a lovely couple of days in Tenerife, spending time and
making friends with the very enthusiastic local Free
Software hackers. I'd love to go back again soon and see more of the
place. Thanks to all the of the people involved, you were very
welcoming!
Reporting-MTA: dns; comcast.net
Arrival-Date: 8 Sep 2006 1:46:30 +0000
Final-Recipient: rfc822;
Action: failed
Status: 5.1.0 MAIL FROM: 550 REPLY:
550-"rejected_because_your_SMTP_server,_204.127.225.94,_is_in_the_Spamcop_RBL.
Diagnostic-Code: smtp; Permanent Failure: Other address status
Last-Attempt-Date: Fri, 8 Sep 2006 01:46:36 -0000
So a benefit of handing over around $500 per annum is that I do not get my mail
delivered because the goods folks at sourceforge.net now think ATT Broadband aka
Comcast [ to whom the address mail server 204.127.225.94 resolves ] is a spammer.
Someone please remind me why I haven't switched to Speakeasy?
import System.Environment
import Data.List
import Data.Char
import qualified Data.Map as Map
custwords = filter (/= "") . lines . map (conv . toLower)
where iswordchar x = isAlphaNum x && isAscii x
conv x = if iswordchar x then x else '\n'
wordfreq inp = Map.toList $ foldl' updmap (Map.empty::Map.Map String Int) inp
where updmap nm word = case Map.lookup word nm of
Nothing -> Map.insert word 1 nm
Just x -> (Map.insert word $! x + 1) nm
freqsort (w1, c1) (w2, c2) = if c1 == c2
then compare w1 w2
else compare c2 c1
showit (word, count) = show count ++ " " ++ word
main = do args - getArgs
interact $ unlines . map showit . take (read . head $ args) .
sortBy freqsort . wordfreq . custwords
defer
log_message = greylisted host $sender_host_address
!senders = : postmaster@*
domains = +local_domains : +relay_to_domains
!hosts = /etc/exim4/no-greylist-hosts
!authenticated = *
verify = recipient/callout=20s,use_sender,defer_ok
set acl_m3 = request=smtpd_access_policy\nprotocol_state=RCPT\n\
protocol_name=$ uc:$received_protocol \n\
helo_name=$sender_helo_name\n\
client_address=$ substr_-3:$ mask:$sender_host_address/27 \n\
client_name=$sender_host_name\n\
sender=$sender_address\n\
recipient=$local_part@$domain\n\n
set acl_m3 = $ sg \
$ readsocket /var/run/postgrey/socket $acl_m3 \
5s action=DUNNO \
action=
message = $ sg $acl_m3 ^\\w+\\s*
condition = $ if eq $ uc:$ substr 0 5 $acl_m3 DEFER true false
# add "greylisted by ..seconds" header to mail which has successfully
# passed the greylisting.
warn
!senders = : postmaster@*
domains = +local_domains : +relay_to_domains
!hosts = /etc/exim4/no-greylist-hosts
!authenticated = *
message = $ sg $acl_m3 ^\\w+\\s*
condition = $ if eq $ uc:$ substr_0_7:$acl_m3 PREPEND true false
defer
log_message = greylisted host $sender_host_address
!senders = : postmaster@*
domains = +local_domains : +relay_to_domains
!hosts = /etc/exim4/no-greylist-hosts
!authenticated = *
verify = recipient/callout=20s,use_sender,defer_ok
set acl_m3 = request=smtpd_access_policy\nprotocol_state=RCPT\n\
protocol_name=$ uc:$received_protocol \n\
helo_name=$sender_helo_name\n\
client_address=$ substr_-3:$ mask:$sender_host_address/27 \n\
client_name=$sender_host_name\n\
sender=$sender_address\n\
recipient=$local_part@$domain\n\n
set acl_m3 = $ sg \
$ readsocket /var/run/postgrey/socket $acl_m3 \
5s action=DUNNO \
action=
message = $ sg $acl_m3 ^\\w+\\s*
condition = $ if eq $ uc:$ substr 0 5 $acl_m3 DEFER true false
# add "greylisted by ..seconds" header to mail which has successfully
# passed the greylisting.
warn
!senders = : postmaster@*
domains = +local_domains : +relay_to_domains
!hosts = /etc/exim4/no-greylist-hosts
!authenticated = *
message = $ sg $acl_m3 ^\\w+\\s*
condition = $ if eq $ uc:$ substr_0_7:$acl_m3 PREPEND true false
Useful tip:
ifconfig - configure a network interface
dnsmasq - Simple DNS and DHCP server
host - DNS lookup utility
route - show / manipulate the IP routing table
arping - send ARP REQUEST to a neighbour host
mii-tool - view, manipulate media-independent interface status (IOW, see if the cable works)
nmap - Network exploration tool and security / port scanner Examples:
# Look at what machines are active in the local network: nmap -sP 10.5.15.0/24 # Look at what ports are open in a machine: nmap 10.5.15.26tcpdump - dump traffic on a network It can be used to see if there is traffic, and to detect traffic that shouldn't be there.
# Convert a unix timestamp to a readable date date -d @1152841341What happens when you browse a web page:
Troubleshooting network problems:
- type the address www.google.com in the browser
- the browser needs the IP address of the web server:
- look for the DNS address in /etc/resolv.conf (/etc/resolv.conf is created automatically by the DHCP client)
- try all the DNS servers in /etc/resolv.conf until one gives you the IP address of www.google.com
- take the first address that comes from the DNS (in our case was 64.233.167.104)
- figure out how to connect to 64.233.167.104:
- consult the routing table to see if it's in the local network:
- if it's in the local network, then look for the MAC address (using ARP - Address Resolution Protocol)
- if it'd not in the local network, then send through the gateway (again using ARP to find the MAC address of the gateway)
- Send out the HTTP request to the local web server or through the gateway, using the Ethernet physical protocol, and the MAC address to refer to the other machine.
When you try to setup a service and it doesn't work:
- See if the network driver works:
- With ifconfig, see if you see the HWaddr:. If you do not see it, then the linux driver for the network card is not working. Unfortunately there's no exact way to say that it works perfectly
See if you have an IP address with ifconfig. If you find out that you need to rerun DHCP (for example, if the network cable was disconnected when the system started), then you can do it either by deactivating/reactivating the Ethernet interface using System/Administration/Networking or, on a terminal, running:
# ifdown eth0 # ifup eth0If you don't get an IP, try to see if the DHCP server is reachable by running:$ arping -D [address of DHCP server]See if the local physical network works:
- With sudo mii-tool, see if the cable link is ok. If it's not, then it's a problem in the cable or the plugs, or simply the device at the other end of the cable is turned off.
- Try arping or ping -n on a machine in the local network (like the gateway) to see if the local network works.
- See if the DNS works:
Find out the DNS address:
cat /etc/resolv.confIf it's local, arping it
If it's not local, ping -n it
Try to resolve a famous name using that DNS:
$ host [name] [IP address of the DNS]Try to resolve the name of the machine you're trying to connect. If you can resolve a famous name but not the name you need, then it's likely a problem with their DNS.
If you use a proxy, see if the proxy is reachable: check if the proxy name resolves to an IP, if you can ping it, if you can telnet to the proxy address and port:
$ telnet [proxy address] [proxy port]you quit telnet with ^]quit.If you can connect directly to the web server, try to see if it answers:
$ telnet [address] 80If you are connected, you can confirm that it's a web server:GET / HTTP/1.0 (then Enter twice)If it's a web server, it should give you something like a webpage or an HTTP redirect.
dnsmasq:
check that it's running:
$ ps aux grep dnsmasqcheck that it's listening on the right port:
$ sudo netstat -lpcheck that it's listening from the outside:
$ nmap [hostname]check for messages in /var/log/daemon.log or /var/log/syslog
check that the configuration is correct and reload or restart the server to make sure it's running with the right configuration:
# /etc/init.d/dnsmasq restart
By default: works as a DNS server that serves the data in /etc/hosts. By default: uses /etc/resolv.conf to find addresses of other DNS to use when a name is not found in /etc/hosts. To enable the DHCP server, uncomment:Problems found today:dhcp-range=192.168.0.50,192.168.0.150,12hin /etc/dnsmasq.conf and set it to the range of addresses you want to serve. Pay attention to never put two DHCP servers on the same local network, or they will interfere with each others. To test if the DHCP server is working, use dhcping (not installed by default on Ubuntu). To communicate other information like DNS, gateway and netmask to the clients, use this piece of dnsmasq.conf:# For reference, the common options are: # subnet mask - 1 # default router - 3 # DNS server - 6 # broadcast address - 28 dhcp-option=1,255.255.255.0 dhcp-option=3,192.168.0.1 dhcp-option=6,192.168.0.1 dhcp-option=28,192.168.0.255
Quick start examples with tar:
- changing the name of the local machine in /etc/hosts breaks sudo, and without sudo it's impossible to edit the file. The only way to fix this is a reboot in recovery mode.
- dhclient -n -w is different than dhclient -nw
# Create an archive tar zcvf nmap.tar.gz *.deb # Extract an archive tar zxvf nmap.tar.gz # Look at the contents of an archive tar ztvf nmap.tar.gzQuick & dirty way to send a file between two computers without web server, e-mail, shared disk space or any other infrastructure:
# To send nc -l -p 12345 -q 1 < nmap.tar.gz # To receive nc 10.5.15.123 12345 > nmap.tar.gz # To repeat the send command 20 times for i in seq 1 20 ; do nc -l -p 12345 -q 1 < nmap.tar.gz ; done
Next.