04-11-2020
Normally,
It is a good idea to start from the top, but the method is up to you:
Comment out all the lines except for the top line, flush iptables, reapply and test.
If it works, uncomment one or more lines and try again.
Repeat until you find the offending line or lines.
These 2 Users Gave Thanks to Neo For This Post:
10 More Discussions You Might Find Interesting
1. IP Networking
Hey guys, I have just started using IP tables and was wondering if anyone could direct me to any good online resources as I am totally new to this. Thanks. (1 Reply)
Discussion started by: 182x
1 Replies
2. IP Networking
Trying to create a whitelist to limit bandwidth. My sync speed is 1536/256 kbps.
Simple rules in order:
1. Do not limit (or set to 1536/256) MAC 00:00:00:00:00 (computer is in 192.168.1.0/24).
2. Do not limit (or set to 1536/256) MAC 00:00:00:00:01 (computer is in 192.168.1.0/24).
3. Do not... (1 Reply)
Discussion started by: kripz
1 Replies
3. IP Networking
Thanks in advance
I have to remove ip_tables_name from /proc/net/...
i was trying to do so and getting the following error
cmd : rm ip_tables_names
error : rm: remove regular empty file `ip_tables_names'? y
rm: cannot remove `ip_tables_names': Operation not permitted (4 Replies)
Discussion started by: sudeepiit
4 Replies
4. IP Networking
What should be the iptables rule so that only the subnet 64.61.11.224/255.255.255.248 may access the mysql port 3306 (1 Reply)
Discussion started by: proactiveaditya
1 Replies
5. IP Networking
Hello
We have one linux machine in the office which happens to be an important firewall. I just know the basics and need to make one change
Essentially it is forward mysql traffic to another internal machine.
This is the original rule (forward to 192.20.0.17) which is working
... (0 Replies)
Discussion started by: rina5392
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
On the IPTABLES, I did iptables --flush. I want to start fresh. Now I only want two things. Allow one ip address to this server. Allow port 443 as incoming from every where. Please advice how to do this.
This is what I did so for.
iptables -I INPUT -i eth0 -s 1.2.3.4 -j ACCEPT... (5 Replies)
Discussion started by: samnyc
5 Replies
7. UNIX for Dummies Questions & Answers
Hi, I just build a Linux server, I said yes to enable the firewall. I only choose SSH conneciton. When I check the iptables. I see all of this (see below). I want to reject every thing only allow SSH from subnet 192.168.1.xx. Can you advise, how to do.
Chain RH-Firewall-1-INPUT (2... (2 Replies)
Discussion started by: samnyc
2 Replies
8. IP Networking
photo... (1 Reply)
Discussion started by: beerpong1
1 Replies
9. Red Hat
Hi
I enable the IPtables but port 80 was not working. Below is my active configuration (10 Replies)
Discussion started by: ranjancom2000
10 Replies
10. Ubuntu
Hi
I need help with an iptables configuration, this is what I have
server A
Server B
A and B are using different gateways
i am sending port 22 from A to B, I see the packages coming in B but B is not sending the package to internet. please give me some examples. (0 Replies)
Discussion started by: lmartinez073
0 Replies
LEARN ABOUT NETBSD
scroll
CURSES_SCROLL(3) BSD Library Functions Manual CURSES_SCROLL(3)
NAME
curses_scroll, scrl, wscrl scroll, scrollok, setscrreg, wsetscrreg -- curses window scrolling routines
LIBRARY
Curses Library (libcurses, -lcurses)
SYNOPSIS
#include <curses.h>
int
scrl(int n);
int
wscrl(WINDOW *win, int n);
int
scroll(WINDOW *win);
int
scrollok(WINDOW *win, boolf flag);
int
setscrreg(int top, int bottom);
int
wsetscrreg(WINDOW *win, int top, int bottom);
DESCRIPTION
These functions scroll areas on stdscr or on the specified window.
The scrl() function scrolls stdscr by n lines. If n is positive then then stdscr is scrolled up. n lines are lost from the top of stdscr
and n blank lines are inserted at the bottom. If n is negative then stdscr is scrolled down. n blank lines are inserted at the top of
stdscr and n lines are lost from the bottom.
The wscrl() function is the same as the scrl() function, excepting that it scrolls the window specified by win.
The scroll() function scrolls the window win up by one line.
The scrolling behaviour of a window can be controlled by using the scrollok() function. If the flag argument is TRUE then a line wrap at the
bottom of the window will cause the window to be scrolled up one line, if flag is FALSE then lines that would force a scroll will be trun-
cated.
The setscrreg() function sets up a software scrolling region on stdscr which will define a region of the screen that will be scrolled. The
scrolling of this region is also controlled by the scrollok() function.
The wsetscrreg() function does the same as the setscrreg() function, except that the scrolling region is set on the window specified by win.
If a scrolling region has been set with the setscrreg() or wsetscrreg() functions and the current cursor position is inside the scrolling
region, then only the area inside the scrolling region is scrolled.
RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following
values:
OK The function completed successfully.
ERR An error occurred in the function.
SEE ALSO
curses_deleteln(3), curses_insdelln(3), curses_insertln(3)
STANDARDS
The NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification.
HISTORY
The Curses package appeared in 4.0BSD.
BSD
August 12, 2002 BSD