list open / listening ports linux unix windows
- No Comments
- Dec, 26, 2010
- Angelo Schalley
- Linux, Networking, security, vmware, Windows-Microsoft
FreeBSD
On a FreeBSD Unix system, as with other BSD Unix systems, you have a number of utilities with a base system install that can be used for listing open files, running processes, and network connections. The netstat
utility is maintained as a part of the FreeBSD base system by the FreeBSD core developers, and offers exactly the sort of functionality you need to list open ports on your system.
Read more on list open / listening ports linux unix windows…
Iptables connection tracking
- One Comments
- Dec, 18, 2010
- Angelo Schalley
- FTP, Linux, Networking, security
Connection tracking is an essential security feature of Iptables. But, what is connection tracking?
It is the ability to maintain connection information in memory. This is new feature added in 2.4.xx Linux kernel. Eariler only commercial firewall has this feature but now it is part of Linux. It can remember connection states such as established & new connections along with protocol types, source and destination ip address. You can allow or deny access based upon state. Following are the states:
Read more on Iptables connection tracking…
Configure iptables ftp port 21 and 22 including passive ports
- No Comments
- Dec, 18, 2010
- Angelo Schalley
- FTP, Linux, Networking, security
How do I open port 21 using Linux iptables firewall?
Use iptables administration tool for IPv4 packet filtering and NAT under Linux to open tcp port 21 (FTP). Following rule-set assumes that your eth0 network interface is directly connected to the Internet. It has public ip (202.54.1.20). FTP use both port 21 and 20 (port 21 for the command port and port 20 for the data). So following iptables rules take care of both ports (add rules to your iptables based shell script):
Read more on Configure iptables ftp port 21 and 22 including passive ports…