Porting Enterprise Apps from UNIX to Linux
By Martyn Honeyford2005-04-17
Security Concerns
Communications over sockets is protected by default in the new distributions (RHEL AS 3), so if you are implementing an IP-based server kind of process listening on a particular port, you will need to add the new service into iptables. Iptables are used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel.
For example, for the first time you might have to add a new chain like /sbin/iptables -N RH-Firewall-1-INPUT and then add the new service in the chain like so: iptables -I RH-Firewall-1-INPUT -s 0/0 -i eth0 -m state --state NEW -p TCP --dport 60030 -j ACCEPT (where the new destination port 60030 is mapped to a service in /etc/services).
Tutorial Pages:
» A Practical Checklist, Tips, and Insight Drawn from Experience
» Get the Build System Working
» Decide on a Viable Operating Environment
» Architecture-Specific Changes
» Choose an IPC Mechanism
» Select the Threading Model
» File System, Usage Parameters, Stacks
» Memory Maps and Using Shared Memory Segments
» Signaling
» Configure Kernel Karameters
» Parser Tools like lex/yacc
» Globalization Issues
» Security Concerns
» Locating Installed Packages and Variable Data
» Testing
» There's a Port in Every Storm
» Resources
First published by IBM DeveloperWorks
| Related Tutorials: » How to Install PHP 5 on Linux » How to Install Apache 2 on Linux » How to Install MySQL 5.0 on Linux » SMB Caching » Mound --Bind » Tar Wild Card Interpretation |
