So earlier this week ProgClub’s website traffic mysteriously doubled. It seems to be holding out at this new rate, too.
Monthly Archives: May 2015
Fixing Firefox/Iceweasel restricted port
Today I ran into this warning from iceweasel when I tried to access a web service on port 101:
This address is restricted
This address uses a network port which is normally used for purposes other than Web browsing. Iceweasel has canceled the request for your protection.
I found this article which said:
- Open about:config
- Create network.security.ports.banned.override if it’s not there
- Set that setting as, e.g.: 101-104
- Refresh the page
Like a cow in the field
I just spent half an hour trying to find the following Nietzsche quote:
All good things have something lazy about them and lie like cows in the meadow.
Of course I couldn’t find what I was looking for because I was searching for ‘field’ not ‘meadow’. Hopefully this note helps someone else one day!
Disable Password Authentication for SSH
See How to Disable Password Authentication for SSH.
vim /etc/ssh/sshd_config
Then:
ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no
Then restart the SSH server:
service sshd restart
Configuring DCC port range in Irssi
To specify a port range for DCC:
/set dcc_port 6000 7000
Make sure your NAT router has DMZ or port forwarding for the nominated ports and that your firewall has those ports open.
Your config file will look like this:
jj5@honesty:~/.irssi$ grep -R 6000 . ./config: "irc/dcc" = { dcc_port = "6000 7000"; };
Running a SQL text file in mysql CLI
Use the ‘source’ command:
mysql> source path/to/file.sql