birmingham@ic.fbi.gov , phoenix@ic.fbi.gov , fbise@leo.gov
NickSoft Linux Cookbook Index NickSoft Linux Cookbook
Quick howto's, Real live examples.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Search found 22 matches
NickSoft Linux Cookbook Index
Author Message
  Topic: Creating a shared and static library with GCC
NickSoft

Replies: 0
Views: 16117

PostForum: Linux Programming   Posted: Mon Jul 16, 2007 1:44 pm   Subject: Creating a shared and static library with GCC
The code for the library
helloworld.c:
#include <stdio.h>
void hello() {
printf("Hello world!\n");
printf("Creating a shared and static library w ...
  Topic: Libraries path or link to shared libraries.
NickSoft

Replies: 0
Views: 8343

PostForum: Linux Programming   Posted: Mon May 21, 2007 12:45 pm   Subject: Libraries path or link to shared libraries.
In all howtos I've found they say linking is so easy, but it never works if the library is not in default system paths. Why? You use all options from the howto and it won't run - shared library is not ...
  Topic: PHP shell scripts for converting IPs
NickSoft

Replies: 0
Views: 13794

PostForum: Other shell scripts   Posted: Sun May 20, 2007 1:45 pm   Subject: PHP shell scripts for converting IPs
The next two scripts are used for converting hex ips used by phpbb2 in databases. Ex. hex ip for 192.168.1.1 is C0A80101
ip2hex
#!/bin/php
<?
printf("%08X\n",ip2long($argv&# ...
  Topic: Spammers
NickSoft

Replies: 0
Views: 14649

PostForum: News   Posted: Sat May 12, 2007 9:23 am   Subject: Spammers
Inactive users will be deleted soon. Register only if you want to post. Don't include any web page address if it's not connected to the topic or you will be deleted and banned.
  Topic: Storing ips in database as hexadecimal strings
NickSoft

Replies: 0
Views: 15674

PostForum: MySQL   Posted: Wed May 09, 2007 5:40 pm   Subject: Storing ips in database as hexadecimal strings
PHPBB2 stores ips as hexadecimal strings. php function that could convert ip to phpbb2 ip string is this:
echo sprintf('%08X',ip2long('192.168.0.1'));//result: C0A80001
convertin ...
  Topic: JavaScript Equivalent of PHP base_convert() function
NickSoft

Replies: 0
Views: 17803

PostForum: Web scripting   Posted: Wed May 09, 2007 4:56 pm   Subject: JavaScript Equivalent of PHP base_convert() function
Sometimes it is usefull to send integers as strings. For example if you want to make your link shorter (for example if users need to copy it and send it to firend) and your link contains 2-3 integers ...
  Topic: saslauthd+SQL auth using Dovecot on redhat based distros
NickSoft

Replies: 0
Views: 16707

PostForum: IMAP/POP3 servers   Posted: Sun Apr 29, 2007 2:46 pm   Subject: saslauthd+SQL auth using Dovecot on redhat based distros
Many people have installed cyrus-sasl and cyrus-sasl-sql packages and they can't make make saslauthd to use SQL auth. A workaround is to use Dovecot's SQL authentication.

First edit /etc/sysconfig/ ...
  Topic: Monitor established TCP connections with mrtg
NickSoft

Replies: 0
Views: 18464

PostForum: MRTG   Posted: Wed Apr 18, 2007 10:40 pm   Subject: Monitor established TCP connections with mrtg
It's good to monitor established TCP connections. For example if you have web server and you see too many connections it means that you may have troubles with web spiders or spider like software for d ...
  Topic: Kernel compile for RedHat based linux [beta]
NickSoft

Replies: 0
Views: 15075

PostForum: Kernel Comile & Install   Posted: Fri Jan 05, 2007 2:50 pm   Subject: Kernel compile for RedHat based linux [beta]
There are many howtos for compiling kernels, but most of them don't work. Why? It's not that they are wrong. The problem is that every linux distribution has its own idiosyncrasies. There is no howto ...
  Topic: Traffic shaper for webserver
NickSoft

Replies: 0
Views: 15485

PostForum: Problem resolver   Posted: Fri Jan 05, 2007 2:26 pm   Subject: Traffic shaper for webserver
Is there a way to limit traffic per IP if the client IP addresses are not know (internet).
What I thought to do is to make 1000-2000 HTB classes and using pcap library to make sniffer which will dyna ...
  Topic: Rules - before you post
NickSoft

Replies: 0
Views: 8529

PostForum: Problem resolver   Posted: Fri Jan 05, 2007 2:17 pm   Subject: Rules - before you post
* Before you post question here ask yourself if you really can't do it.
* Post problems here. If you have solution for a problem that is not posted here, the right place to make your post is
  Topic: Gre Tunnel + IPSec
NickSoft

Replies: 0
Views: 23374

PostForum: Routing, Forward, Firewall   Posted: Tue Nov 28, 2006 9:50 pm   Subject: Gre Tunnel + IPSec
If I need to control a remote server I usually use SSL enabled web tools, ssh, ssl connection to database etc. But this is not always possible.
As an example if I had to do remote mysql backups, but ...
  Topic: 301 Redirect - domain.com->www.domain.com and ip->doma
NickSoft

Replies: 0
Views: 21913

PostForum: Apache   Posted: Mon Nov 27, 2006 8:29 pm   Subject: 301 Redirect - domain.com->www.domain.com and ip->doma
Using http redirect (code 301 - Moved Permanently) is useful because search engines gives negative credits for using multiple domains on the same site (mirror sites doesn't count).
Other issue is whe ...
  Topic: Simple shaper [beta]
NickSoft

Replies: 0
Views: 23578

PostForum: Bandwidth control   Posted: Sat Nov 25, 2006 6:38 pm   Subject: Simple shaper [beta]
This howto is not confirmed by users. Please write to Support forum if you have troubles or find any mistakes.

This is a simple script to control traffic for your users.
Let's say that you have a ...
  Topic: About NickSoft Cookbook
NickSoft

Replies: 0
Views: 9094

PostForum: News   Posted: Mon Nov 13, 2006 11:46 pm   Subject: About NickSoft Cookbook
When I search for linux howtos all I find is the same old howtos - no changes, no updates. Some are really old and everyone copies them to their site ... and they become experts.
In this site I'll po ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  




MLDb.org Magic Eight Ball Croler Web Search Croler Web Directory Bianca Ryan MyBestMatch.net Microlab.info

Powered by 220V